Mercurial > emacs
annotate lwlib/lwlib-Xlw.h @ 109296:f6f0d450d542
Fix ghost buffer boundary indicators in fringes (Bug#5634, Bug#6325).
* dispextern.h (FRINGE_HEIGHT_BITS): New define.
(struct glyph_row): New members left_fringe_offset and
right_fringe_offset.
* xterm.c (x_draw_fringe_bitmap): Don't clip bottom aligned bitmap
specially.
* w32term.c (w32_draw_fringe_bitmap): Likewise.
* nsterm.m (ns_draw_fringe_bitmap): Likewise.
* fringe.c (draw_fringe_bitmap_1): Don't clip bitmap here.
Take account of bitmap offset.
(draw_window_fringes): Take account of window vscroll.
(update_window_fringes): Likewise. Extend top-aligned top indicator
or bottom-aligned bottom indicator to adjacent rows if it doesn't fit
in one row. Don't set redraw_fringe_bitmaps_p outside row comparison.
Set left_fringe_offset and right_fringe_offset (Bug#5634, Bug#6325).
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Mon, 05 Jul 2010 18:58:31 +0900 |
parents | 695cf19ef79e |
children | 375f2633d815 e16f43875a48 |
rev | line source |
---|---|
5626 | 1 #ifndef LWLIB_XLW_H |
2 #define LWLIB_XLW_H | |
3 | |
5627
7ff2d6076466
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
4 #include "lwlib-int.h" |
5626 | 5 |
6 extern widget_creation_entry xlw_creation_table []; | |
7 extern widget_creation_function xlw_create_dialog; | |
8 | |
9 Boolean | |
29466 | 10 lw_lucid_widget_p __P ((Widget widget)); |
5626 | 11 |
12 void | |
29466 | 13 xlw_update_one_widget __P ((widget_instance* instance, Widget widget, |
14 widget_value* val, Boolean deep_p)); | |
5626 | 15 |
16 void | |
29466 | 17 xlw_update_one_value __P ((widget_instance* instance, Widget widget, |
18 widget_value* val)); | |
5626 | 19 |
20 void | |
29466 | 21 xlw_destroy_instance __P ((widget_instance* instance)); |
5626 | 22 |
23 void | |
29466 | 24 xlw_pop_instance __P ((widget_instance* instance, Boolean up)); |
5626 | 25 |
26 void | |
29466 | 27 xlw_popup_menu __P ((Widget widget, XEvent * event)); |
5626 | 28 |
29 #endif /* LWLIB_XLW_H */ | |
52401 | 30 |
31 /* arch-tag: e5b1511d-8992-4dad-b947-a2440d8f10a2 | |
32 (do not change this comment) */ |