Commit b7588229 authored by cinamod's avatar cinamod

better non-XP handle boxes

parent ce940e61
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.
......
......@@ -1259,8 +1259,15 @@ draw_handle (GtkStyle *style,
}
}
parent_class->draw_handle (style, window, state_type, shadow_type, area, widget,
detail, x, y, width, height, orientation);
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment