Mercurial > hg > xemacs-beta
comparison src/redisplay.h @ 384:bbff43aa5eb7 r21-2-7
Import from CVS: tag r21-2-7
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:08:24 +0200 |
parents | 8626e4521993 |
children | aabb7f5b1c81 |
comparison
equal
deleted
inserted
replaced
383:6a50c6a581a5 | 384:bbff43aa5eb7 |
---|---|
348 hscroll, control-arrow, etc) is in need of updating | 348 hscroll, control-arrow, etc) is in need of updating |
349 somewhere. */ | 349 somewhere. */ |
350 extern int glyphs_changed; | 350 extern int glyphs_changed; |
351 extern int glyphs_changed_set; | 351 extern int glyphs_changed_set; |
352 | 352 |
353 /* True if any displayed subwindow is in need of updating | |
354 somewhere. */ | |
355 extern int subwindows_changed; | |
356 extern int subwindows_changed_set; | |
357 | |
353 /* True if an icon is in need of updating somewhere. */ | 358 /* True if an icon is in need of updating somewhere. */ |
354 extern int icon_changed; | 359 extern int icon_changed; |
355 extern int icon_changed_set; | 360 extern int icon_changed_set; |
356 | 361 |
357 /* True if a menubar is in need of updating somewhere. */ | 362 /* True if a menubar is in need of updating somewhere. */ |
415 #define MARK_MENUBAR_CHANGED MARK_TYPE_CHANGED (menubar) | 420 #define MARK_MENUBAR_CHANGED MARK_TYPE_CHANGED (menubar) |
416 #define MARK_MODELINE_CHANGED MARK_TYPE_CHANGED (modeline) | 421 #define MARK_MODELINE_CHANGED MARK_TYPE_CHANGED (modeline) |
417 #define MARK_POINT_CHANGED MARK_TYPE_CHANGED (point) | 422 #define MARK_POINT_CHANGED MARK_TYPE_CHANGED (point) |
418 #define MARK_TOOLBAR_CHANGED MARK_TYPE_CHANGED (toolbar) | 423 #define MARK_TOOLBAR_CHANGED MARK_TYPE_CHANGED (toolbar) |
419 #define MARK_GLYPHS_CHANGED MARK_TYPE_CHANGED (glyphs) | 424 #define MARK_GLYPHS_CHANGED MARK_TYPE_CHANGED (glyphs) |
425 #define MARK_SUBWINDOWS_CHANGED MARK_TYPE_CHANGED (subwindows) | |
420 | 426 |
421 /* Anytime a console, device or frame is added or deleted we need to reset | 427 /* Anytime a console, device or frame is added or deleted we need to reset |
422 these flags. */ | 428 these flags. */ |
423 #define RESET_CHANGED_SET_FLAGS \ | 429 #define RESET_CHANGED_SET_FLAGS \ |
424 do { \ | 430 do { \ |
429 menubar_changed_set = 0; \ | 435 menubar_changed_set = 0; \ |
430 modeline_changed_set = 0; \ | 436 modeline_changed_set = 0; \ |
431 point_changed_set = 0; \ | 437 point_changed_set = 0; \ |
432 toolbar_changed_set = 0; \ | 438 toolbar_changed_set = 0; \ |
433 glyphs_changed_set = 0; \ | 439 glyphs_changed_set = 0; \ |
440 subwindows_changed_set = 0; \ | |
434 } while (0) | 441 } while (0) |
435 | 442 |
436 | 443 |
437 /*************************************************************************/ | 444 /*************************************************************************/ |
438 /* redisplay global variables */ | 445 /* redisplay global variables */ |
545 | 552 |
546 /* defined in redisplay-output.c */ | 553 /* defined in redisplay-output.c */ |
547 int get_next_display_block (layout_bounds bounds, | 554 int get_next_display_block (layout_bounds bounds, |
548 display_block_dynarr *dba, int start_pos, | 555 display_block_dynarr *dba, int start_pos, |
549 int *next_start); | 556 int *next_start); |
557 void redisplay_output_subwindow (struct window *w, struct display_line *dl, | |
558 Lisp_Object image_instance, int xpos, | |
559 int xoffset, int start_pixpos, int width, | |
560 face_index findex, int cursor_start, | |
561 int cursor_width, int cursor_height); | |
562 void redisplay_clear_region (Lisp_Object window, face_index findex, int x, | |
563 int y, int width, int height); | |
550 void redisplay_clear_bottom_of_window (struct window *w, | 564 void redisplay_clear_bottom_of_window (struct window *w, |
551 display_line_dynarr *ddla, | 565 display_line_dynarr *ddla, |
552 int min_start, int max_end); | 566 int min_start, int max_end); |
553 void redisplay_update_line (struct window *w, int first_line, | 567 void redisplay_update_line (struct window *w, int first_line, |
554 int last_line, int update_values); | 568 int last_line, int update_values); |