forked from AuroraMiddleware/gtk
better non-XP handle boxes
This commit is contained in:
parent
ce940e61a5
commit
b75882291f
@ -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>
|
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.
|
* 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,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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,
|
parent_class->draw_handle (style, window, state_type, shadow_type, area, widget,
|
||||||
detail, x, y, width, height, orientation);
|
detail, x, y, width, height, orientation);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user