From 99cd843fc6dc7a7f55b6c90fd1162f233853aad2 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 8 Feb 2003 07:33:48 +0000 Subject: Brand spankin new widgets for otk (Label and Button). Add a new Size class. Rect, Point, and Size are immutable classes. Size uses *UNSIGNED* ints. This is causing me headaches * a bajillion right now, so we'll see about that. --- otk/appwidget.hh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'otk/appwidget.hh') diff --git a/otk/appwidget.hh b/otk/appwidget.hh index b305dbae..b2ea44aa 100644 --- a/otk/appwidget.hh +++ b/otk/appwidget.hh @@ -11,14 +11,13 @@ class Application; class AppWidget : public Widget { public: - AppWidget(Application *app, Direction direction = Horizontal, - Cursor cursor = 0, int bevel_width = 1); + AppWidget(Application *app, Direction direction = Horizontal, int bevel = 0); virtual ~AppWidget(); - virtual void setStyle(RenderStyle *style); - - virtual void show(void); - virtual void hide(void); + virtual void render(); + + virtual void show(); + virtual void hide(); virtual void clientMessageHandler(const XClientMessageEvent &e); -- cgit v1.2.3