diff options
author | Raymond Penners <pennersr@src.gnome.org> | 2003-10-20 17:38:53 +0000 |
---|---|---|
committer | Raymond Penners <pennersr@src.gnome.org> | 2003-10-20 17:38:53 +0000 |
commit | c7353d84eefc443adf1c0651c91f868773708e51 (patch) | |
tree | 72ba368622d4ca987c6852e31e82dff9f2ed8c55 /modules | |
parent | aac8660254db9bfab9f02e4e1972e741ece24d43 (diff) | |
download | gtk+-c7353d84eefc443adf1c0651c91f868773708e51.tar.gz |
Scrollbar grippers
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/engines/ms-windows/ChangeLog.old | 4 | ||||
-rwxr-xr-x | modules/engines/ms-windows/wimp_style.c | 8 |
2 files changed, 11 insertions, 1 deletions
diff --git a/modules/engines/ms-windows/ChangeLog.old b/modules/engines/ms-windows/ChangeLog.old index f7a30bc1cc..75fe2a0d67 100755 --- a/modules/engines/ms-windows/ChangeLog.old +++ b/modules/engines/ms-windows/ChangeLog.old @@ -1,3 +1,7 @@ +2003-10-20 Raymond Penners <raymond@dotsphinx.com>
+
+ * src/wimp_style.c: Added grippers to XP scrollbars.
+
2003-10-20 Dom Lachowicz <cinamod@hotmail.com>
* configure.in: Bump version to the next release number (0.5.1)
diff --git a/modules/engines/ms-windows/wimp_style.c b/modules/engines/ms-windows/wimp_style.c index 74b8434b03..b78afa7b7c 100755 --- a/modules/engines/ms-windows/wimp_style.c +++ b/modules/engines/ms-windows/wimp_style.c @@ -1145,12 +1145,18 @@ draw_box (GtkStyle *style, if (GTK_IS_SCROLLBAR(widget)) { GtkScrollbar * scrollbar = GTK_SCROLLBAR(widget); + gboolean is_v = GTK_IS_VSCROLLBAR(widget); if (xp_theme_draw(window, - (GTK_IS_VSCROLLBAR(widget)) + is_v ? XP_THEME_ELEMENT_SCROLLBAR_V : XP_THEME_ELEMENT_SCROLLBAR_H, style, x, y, width, height, state_type, area)) { + xp_theme_draw(window, + is_v + ? XP_THEME_ELEMENT_GRIP_V + : XP_THEME_ELEMENT_GRIP_H, + style, x, y, width, height, state_type, area); return; } } |