better non-XP handle boxes

This commit is contained in:
cinamod 2003-08-28 18:36:17 +00:00
parent ce940e61a5
commit b75882291f
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-08-28 Dom Lachowicz <cinamod@hotmail.com>
* src/wimp_style.c: Change how we draw handle boxes in the non-XP case. This does not yet apply to GtkHandleBoxes
2003-08-26 Dom Lachowicz <cinamod@hotmail.com>
* src/*.c: Tooltips should do XP-style theming. Handle Boxes/Panes do XP style REBAR theming (TODO: non-XP version of the above for handleboxes). Toolbars should draw the REBAR part properly. Preparation for using the Toolbar class. Menubars and Toolbars now are etched-in to mimic Windows' behavior. HandleBoxes' shadow types should also be correct now, compared to OfficeXP applications.

View File

@ -1259,8 +1259,15 @@ draw_handle (GtkStyle *style,
}
}
if (!GTK_IS_HANDLE_BOX(widget)) {
/* grippers are just flat boxes when they're not a toolbar */
parent_class->draw_box (style, window, state_type, shadow_type, area, widget,
detail, x, y, width, height);
} else {
/* TODO: Draw handle boxes as double lines: || */
parent_class->draw_handle (style, window, state_type, shadow_type, area, widget,
detail, x, y, width, height, orientation);
}
}
static void