aboutsummaryrefslogtreecommitdiffstats
path: root/src/termchar.h
diff options
context:
space:
mode:
authorEli Zaretskii2008-08-23 16:48:24 +0000
committerEli Zaretskii2008-08-23 16:48:24 +0000
commitce4bd1b0348ecb529d7ee6bde8031fd2079f0ded (patch)
tree339c842c0281e36077a0e408fb4e8093f9fb351e /src/termchar.h
parent1fb3ba8105c5a9cd7231e9db7934759eab5f2622 (diff)
downloademacs-ce4bd1b0348ecb529d7ee6bde8031fd2079f0ded.tar.gz
emacs-ce4bd1b0348ecb529d7ee6bde8031fd2079f0ded.zip
(FRAME_TTY): Support output_msdos_raw.
(struct tty_display_info) [MSDOS]: Add fields related to mouse highlight.
Diffstat (limited to 'src/termchar.h')
-rw-r--r--src/termchar.h31
1 files changed, 30 insertions, 1 deletions
diff --git a/src/termchar.h b/src/termchar.h
index 0e562375b20..2bac6c68212 100644
--- a/src/termchar.h
+++ b/src/termchar.h
@@ -70,6 +70,34 @@ struct tty_display_info
70 struct frame *previous_frame; 70 struct frame *previous_frame;
71 int previous_color_mode; 71 int previous_color_mode;
72 72
73#ifdef MSDOS
74 /* These variables describe the range of text currently shown in its
75 mouse-face, together with the window they apply to. As long as
76 the mouse stays within this range, we need not redraw anything on
77 its account. Rows and columns are glyph matrix positions in
78 MOUSE_FACE_WINDOW. */
79 int mouse_face_beg_row, mouse_face_beg_col;
80 int mouse_face_end_row, mouse_face_end_col;
81 int mouse_face_past_end;
82 Lisp_Object mouse_face_window;
83 int mouse_face_face_id;
84
85 /* 1 if a mouse motion event came and we didn't handle it right away because
86 gc was in progress. */
87 int mouse_face_deferred_gc;
88
89 /* FRAME and X, Y position of mouse when last checked for
90 highlighting. X and Y can be negative or out of range for the frame. */
91 struct frame *mouse_face_mouse_frame;
92 int mouse_face_mouse_x, mouse_face_mouse_y;
93
94 /* Nonzero means defer mouse-motion highlighting. */
95 int mouse_face_defer;
96
97 /* Nonzero means that the mouse highlight should not be shown. */
98 int mouse_face_hidden;
99#endif /* !MSDOS */
100
73 /* Strings, numbers and flags taken from the termcap entry. */ 101 /* Strings, numbers and flags taken from the termcap entry. */
74 102
75 char *TS_ins_line; /* "al" */ 103 char *TS_ins_line; /* "al" */
@@ -192,7 +220,8 @@ extern struct tty_display_info *tty_list;
192 220
193 221
194#define FRAME_TTY(f) \ 222#define FRAME_TTY(f) \
195 ((f)->output_method == output_termcap \ 223 (((f)->output_method == output_termcap \
224 || (f)->output_method == output_msdos_raw) \
196 ? (f)->terminal->display_info.tty \ 225 ? (f)->terminal->display_info.tty \
197 : (abort(), (struct tty_display_info *) 0)) 226 : (abort(), (struct tty_display_info *) 0))
198 227