Mercurial > emacs
comparison src/gtkutil.h @ 50270:fa50953c02dc
Finally (?) fix flicker in scroll bar.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Sun, 23 Mar 2003 00:59:23 +0000 |
parents | 334078c4c044 |
children | 695cf19ef79e |
comparison
equal
deleted
inserted
replaced
50269:7efe7c1f00f5 | 50270:fa50953c02dc |
---|---|
28 #include <gtk/gtk.h> | 28 #include <gtk/gtk.h> |
29 #include "frame.h" | 29 #include "frame.h" |
30 | 30 |
31 /* Minimum and maximum values used for GTK scroll bars */ | 31 /* Minimum and maximum values used for GTK scroll bars */ |
32 | 32 |
33 #define XG_SB_MIN 0 | 33 #define XG_SB_MIN 1 |
34 #define XG_SB_MAX 10000000 | 34 #define XG_SB_MAX 10000000 |
35 #define XG_SB_RANGE (XG_SB_MAX-XG_SB_MIN) | |
35 | 36 |
36 /* Key for data that is valid for menus in a frame */ | 37 /* Key for data that is valid for menus in a frame */ |
37 #define XG_FRAME_DATA "emacs_frame" | 38 #define XG_FRAME_DATA "emacs_frame" |
38 | 39 |
39 /* Key for data that is the last scrollbar value */ | 40 /* Key for data that is the last scrollbar value */ |
163 extern void xg_update_scrollbar_pos P_ ((FRAME_PTR f, | 164 extern void xg_update_scrollbar_pos P_ ((FRAME_PTR f, |
164 int scrollbar_id, | 165 int scrollbar_id, |
165 int top, | 166 int top, |
166 int left, | 167 int left, |
167 int width, | 168 int width, |
168 int height)); | 169 int height, |
170 int real_left, | |
171 int canon_width)); | |
169 | 172 |
170 extern void xg_set_toolkit_scroll_bar_thumb P_ ((struct scroll_bar *bar, | 173 extern void xg_set_toolkit_scroll_bar_thumb P_ ((struct scroll_bar *bar, |
171 int portion, | 174 int portion, |
172 int position, | 175 int position, |
173 int whole)); | 176 int whole)); |