Mercurial > hg > xemacs-beta
comparison src/window.h @ 442:abe6d1db359e r21-2-36
Import from CVS: tag r21-2-36
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:35:02 +0200 |
parents | 8de8e3f6228a |
children | 576fb035e263 |
comparison
equal
deleted
inserted
replaced
441:72a7cfa4a488 | 442:abe6d1db359e |
---|---|
182 | 182 |
183 /* If redisplay in this window goes beyond this buffer position, | 183 /* If redisplay in this window goes beyond this buffer position, |
184 must run the redisplay-end-trigger-functions. */ | 184 must run the redisplay-end-trigger-functions. */ |
185 Lisp_Object redisplay_end_trigger; | 185 Lisp_Object redisplay_end_trigger; |
186 | 186 |
187 /* Set by the extent code when extents in the gutter are changed. */ | |
188 int gutter_extent_modiff[4]; | |
189 | |
187 /* Set by redisplay to the last position seen. This is used | 190 /* Set by redisplay to the last position seen. This is used |
188 to implement the redisplay-end-trigger-functions. */ | 191 to implement the redisplay-end-trigger-functions. */ |
189 Bufpos last_redisplay_pos; | 192 Bufpos last_redisplay_pos; |
190 | 193 |
191 #define WINDOW_SLOT_DECLARATION | 194 #define WINDOW_SLOT_DECLARATION |
382 int invalidate_vertical_divider_cache_in_window (struct window *w, | 385 int invalidate_vertical_divider_cache_in_window (struct window *w, |
383 void *u_n_u_s_e_d); | 386 void *u_n_u_s_e_d); |
384 int window_divider_width (struct window *w); | 387 int window_divider_width (struct window *w); |
385 | 388 |
386 #define WINDOW_FRAME(w) ((w)->frame) | 389 #define WINDOW_FRAME(w) ((w)->frame) |
390 #define WINDOW_XFRAME(w) XFRAME (WINDOW_FRAME (w)) | |
387 #define WINDOW_BUFFER(w) ((w)->buffer) | 391 #define WINDOW_BUFFER(w) ((w)->buffer) |
392 #define WINDOW_XBUFFER(w) XBUFFER (WINDOW_BUFFER (w)) | |
388 #define WINDOW_DEVICE(w) FRAME_DEVICE (XFRAME (WINDOW_FRAME (w))) | 393 #define WINDOW_DEVICE(w) FRAME_DEVICE (XFRAME (WINDOW_FRAME (w))) |
394 #define WINDOW_XDEVICE(w) XDEVICE (WINDOW_DEVICE (w)) | |
389 #define WINDOW_CONSOLE(w) DEVICE_CONSOLE (XDEVICE (WINDOW_DEVICE (w))) | 395 #define WINDOW_CONSOLE(w) DEVICE_CONSOLE (XDEVICE (WINDOW_DEVICE (w))) |
396 #define WINDOW_XCONSOLE(w) XCONSOLE (WINDOW_CONSOLE (w)) | |
390 | 397 |
391 /* XEmacs window size and positioning macros. */ | 398 /* XEmacs window size and positioning macros. */ |
392 #define WINDOW_TOP(w) ((w)->pixel_top) | 399 #define WINDOW_TOP(w) ((w)->pixel_top) |
393 #define WINDOW_TEXT_TOP(w) (WINDOW_TOP (w) + window_top_gutter_height (w)) | 400 #define WINDOW_TEXT_TOP(w) (WINDOW_TOP (w) + window_top_gutter_height (w)) |
394 #define WINDOW_TEXT_TOP_CLIP(w) ((w)->top_yoffset) | 401 #define WINDOW_TEXT_TOP_CLIP(w) ((w)->top_yoffset) |