comparison src/redisplay.h @ 2:ac2d302a0011 r19-15b2

Import from CVS: tag r19-15b2
author cvs
date Mon, 13 Aug 2007 08:46:35 +0200
parents 376386a54a3c
children e121b013d1f0
comparison
equal deleted inserted replaced
1:c0c6a60d29db 2:ac2d302a0011
24 24
25 #ifndef _XEMACS_REDISPLAY_H_ 25 #ifndef _XEMACS_REDISPLAY_H_
26 #define _XEMACS_REDISPLAY_H_ 26 #define _XEMACS_REDISPLAY_H_
27 27
28 /* Redisplay DASSERT types */ 28 /* Redisplay DASSERT types */
29 #define DB_DISP_POS 1 29 #define DB_DISP_POS 1
30 #define DB_DISP_TEXT_LAYOUT 2 30 #define DB_DISP_TEXT_LAYOUT 2
31 #define DB_DISP_REDISPLAY 4 31 #define DB_DISP_REDISPLAY 4
32 32
33 /* These are the possible return values from pixel_to_glyph_translation. */ 33 /* These are the possible return values from pixel_to_glyph_translation. */
34 #define OVER_MODELINE 0 34 #define OVER_MODELINE 0
35 #define OVER_TEXT 1 35 #define OVER_TEXT 1
36 #define OVER_OUTSIDE 2 36 #define OVER_OUTSIDE 2
247 Charcount num_chars; /* # of chars on line 247 Charcount num_chars; /* # of chars on line
248 including expansion of tabs 248 including expansion of tabs
249 and control chars */ 249 and control chars */
250 int cursor_elt; /* rune block of TEXT display 250 int cursor_elt; /* rune block of TEXT display
251 block cursor is at or -1 */ 251 block cursor is at or -1 */
252 char used_prop_data; /* can't incrementally updated if line 252 char used_prop_data; /* can't incrementally update if line
253 used propogation data */ 253 used propogation data */
254 254
255 layout_bounds bounds; /* line boundary positions */ 255 layout_bounds bounds; /* line boundary positions */
256 256
257 char modeline; /* t if this line is a modeline */ 257 char modeline; /* t if this line is a modeline */
296 Lisp_Object object; /* buffer or string */ 296 Lisp_Object object; /* buffer or string */
297 struct frame *frm; 297 struct frame *frm;
298 Bytind pos, end; 298 Bytind pos, end;
299 extent_dynarr *extents; 299 extent_dynarr *extents;
300 glyph_block_dynarr *begin_glyphs, *end_glyphs; 300 glyph_block_dynarr *begin_glyphs, *end_glyphs;
301 int invisible:1; 301 unsigned int invisible:1;
302 int invisible_ellipses:1; 302 unsigned int invisible_ellipses:1;
303 int previously_invisible:1; 303 unsigned int previously_invisible:1;
304 int invisible_ellipses_already_displayed:1; 304 unsigned int invisible_ellipses_already_displayed:1;
305 }; 305 };
306 306
307 307
308 /*************************************************************************/ 308 /*************************************************************************/
309 /* change flags */ 309 /* change flags */
453 clipped. */ 453 clipped. */
454 extern int scroll_on_clipped_lines; 454 extern int scroll_on_clipped_lines;
455 455
456 extern Lisp_Object Vglobal_mode_string; 456 extern Lisp_Object Vglobal_mode_string;
457 457
458 /* The following two variables are defined in emacs.c are are used 458 /* The following two variables are defined in emacs.c and are used
459 to convey information discovered on the command line way early 459 to convey information discovered on the command line way early
460 (before *anything* is initialized). */ 460 (before *anything* is initialized). */
461 461
462 /* If non-zero, a window-system was specified on the command line. 462 /* If non-zero, a window-system was specified on the command line.
463 Defined in emacs.c. */ 463 Defined in emacs.c. */
488 Bufpos point); 488 Bufpos point);
489 int line_at_center (struct window *w, int type, Bufpos start, Bufpos point); 489 int line_at_center (struct window *w, int type, Bufpos start, Bufpos point);
490 int window_half_pixpos (struct window *w); 490 int window_half_pixpos (struct window *w);
491 void redisplay_echo_area (void); 491 void redisplay_echo_area (void);
492 void free_display_structs (struct window_mirror *mir); 492 void free_display_structs (struct window_mirror *mir);
493 char *generate_formatted_string (struct window *w, Lisp_Object format_str, 493 Bufbyte *generate_formatted_string (struct window *w, Lisp_Object format_str,
494 Lisp_Object result_str, face_index findex, 494 Lisp_Object result_str, face_index findex,
495 int type); 495 int type);
496 int real_current_modeline_height (struct window *w); 496 int real_current_modeline_height (struct window *w);
497 int pixel_to_glyph_translation (struct frame *f, int x_coord, 497 int pixel_to_glyph_translation (struct frame *f, int x_coord,
498 int y_coord, int *col, int *row, 498 int y_coord, int *col, int *row,
499 int *obj_x, int *obj_y, 499 int *obj_x, int *obj_y,
500 struct window **w, Bufpos *bufpos, 500 struct window **w, Bufpos *bufpos,