diff options
| author | Karoly Lorentey | 2005-10-12 16:14:04 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-10-12 16:14:04 +0000 |
| commit | 734b679135207a8623dc460eb8d108befe080d46 (patch) | |
| tree | dcf30cc27a815776015688ca275b66671c6406dc /src/dispextern.h | |
| parent | 0ff21b4e57b1dc7c714c21c9eea1a4906630ecf2 (diff) | |
| parent | cc9e7d9176843a243ca4217229302c1b396dbb6e (diff) | |
| download | emacs-734b679135207a8623dc460eb8d108befe080d46.tar.gz emacs-734b679135207a8623dc460eb8d108befe080d46.zip | |
Merged from miles@gnu.org--gnu-2005 (patch 578-592)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-578
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-579
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-580
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-581
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-582
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-583
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-584
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-585
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-586
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-587
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-588
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-589
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-590
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-591
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-592
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-424
Diffstat (limited to 'src/dispextern.h')
| -rw-r--r-- | src/dispextern.h | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index dda23310ffa..078726aa5c8 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -1177,10 +1177,18 @@ struct glyph_string | |||
| 1177 | stipple pattern. */ | 1177 | stipple pattern. */ |
| 1178 | unsigned stippled_p : 1; | 1178 | unsigned stippled_p : 1; |
| 1179 | 1179 | ||
| 1180 | /* 1 means only the foreground of this glyph string must be drawn, | 1180 | #define OVERLAPS_PRED (1 << 0) |
| 1181 | and we should use the physical height of the line this glyph | 1181 | #define OVERLAPS_SUCC (1 << 1) |
| 1182 | string appears in as clip rect. */ | 1182 | #define OVERLAPS_BOTH (OVERLAPS_PRED | OVERLAPS_SUCC) |
| 1183 | unsigned for_overlaps_p : 1; | 1183 | #define OVERLAPS_ERASED_CURSOR (1 << 2) |
| 1184 | /* Non-zero means only the foreground of this glyph string must be | ||
| 1185 | drawn, and we should use the physical height of the line this | ||
| 1186 | glyph string appears in as clip rect. If the value is | ||
| 1187 | OVERLAPS_ERASED_CURSOR, the clip rect is restricted to the rect | ||
| 1188 | of the erased cursor. OVERLAPS_PRED and OVERLAPS_SUCC mean we | ||
| 1189 | draw overlaps with the preceding and the succeeding rows, | ||
| 1190 | respectively. */ | ||
| 1191 | unsigned for_overlaps : 3; | ||
| 1184 | 1192 | ||
| 1185 | /* The GC to use for drawing this glyph string. */ | 1193 | /* The GC to use for drawing this glyph string. */ |
| 1186 | #if defined(HAVE_X_WINDOWS) || defined(MAC_OS) | 1194 | #if defined(HAVE_X_WINDOWS) || defined(MAC_OS) |
| @@ -2261,7 +2269,7 @@ struct redisplay_interface | |||
| 2261 | This function is called from redraw_overlapping_rows after | 2269 | This function is called from redraw_overlapping_rows after |
| 2262 | desired rows have been made current. */ | 2270 | desired rows have been made current. */ |
| 2263 | void (*fix_overlapping_area) P_ ((struct window *w, struct glyph_row *row, | 2271 | void (*fix_overlapping_area) P_ ((struct window *w, struct glyph_row *row, |
| 2264 | enum glyph_row_area area)); | 2272 | enum glyph_row_area area, int)); |
| 2265 | 2273 | ||
| 2266 | #ifdef HAVE_WINDOW_SYSTEM | 2274 | #ifdef HAVE_WINDOW_SYSTEM |
| 2267 | 2275 | ||
| @@ -2598,6 +2606,8 @@ int estimate_mode_line_height P_ ((struct frame *, enum face_id)); | |||
| 2598 | void pixel_to_glyph_coords P_ ((struct frame *, int, int, int *, int *, | 2606 | void pixel_to_glyph_coords P_ ((struct frame *, int, int, int *, int *, |
| 2599 | NativeRectangle *, int)); | 2607 | NativeRectangle *, int)); |
| 2600 | int glyph_to_pixel_coords P_ ((struct window *, int, int, int *, int *)); | 2608 | int glyph_to_pixel_coords P_ ((struct window *, int, int, int *, int *)); |
| 2609 | void remember_mouse_glyph P_ ((struct frame *, int, int, NativeRectangle *)); | ||
| 2610 | |||
| 2601 | void mark_window_display_accurate P_ ((Lisp_Object, int)); | 2611 | void mark_window_display_accurate P_ ((Lisp_Object, int)); |
| 2602 | void redisplay_preserve_echo_area P_ ((int)); | 2612 | void redisplay_preserve_echo_area P_ ((int)); |
| 2603 | void set_cursor_from_row P_ ((struct window *, struct glyph_row *, | 2613 | void set_cursor_from_row P_ ((struct window *, struct glyph_row *, |
| @@ -2655,7 +2665,7 @@ extern int x_stretch_cursor_p; | |||
| 2655 | extern struct cursor_pos output_cursor; | 2665 | extern struct cursor_pos output_cursor; |
| 2656 | 2666 | ||
| 2657 | extern void x_fix_overlapping_area P_ ((struct window *, struct glyph_row *, | 2667 | extern void x_fix_overlapping_area P_ ((struct window *, struct glyph_row *, |
| 2658 | enum glyph_row_area)); | 2668 | enum glyph_row_area, int)); |
| 2659 | extern void draw_phys_cursor_glyph P_ ((struct window *, | 2669 | extern void draw_phys_cursor_glyph P_ ((struct window *, |
| 2660 | struct glyph_row *, | 2670 | struct glyph_row *, |
| 2661 | enum draw_glyphs_face)); | 2671 | enum draw_glyphs_face)); |
| @@ -2673,6 +2683,8 @@ extern void x_clear_cursor P_ ((struct window *)); | |||
| 2673 | extern void x_draw_vertical_border P_ ((struct window *w)); | 2683 | extern void x_draw_vertical_border P_ ((struct window *w)); |
| 2674 | 2684 | ||
| 2675 | extern void frame_to_window_pixel_xy P_ ((struct window *, int *, int *)); | 2685 | extern void frame_to_window_pixel_xy P_ ((struct window *, int *, int *)); |
| 2686 | extern int get_glyph_string_clip_rects P_ ((struct glyph_string *, | ||
| 2687 | NativeRectangle *, int)); | ||
| 2676 | extern void get_glyph_string_clip_rect P_ ((struct glyph_string *, | 2688 | extern void get_glyph_string_clip_rect P_ ((struct glyph_string *, |
| 2677 | NativeRectangle *nr)); | 2689 | NativeRectangle *nr)); |
| 2678 | extern Lisp_Object find_hot_spot P_ ((Lisp_Object, int, int)); | 2690 | extern Lisp_Object find_hot_spot P_ ((Lisp_Object, int, int)); |