summaryrefslogtreecommitdiff
path: root/otk/appwidget.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-08 07:33:48 +0000
committerDana Jansens <danakj@orodu.net>2003-02-08 07:33:48 +0000
commit99cd843fc6dc7a7f55b6c90fd1162f233853aad2 (patch)
tree42b25c02cbf984fe29b378e9d0dbfbca1436c87b /otk/appwidget.hh
parentd2df40965bbf042e062b65d6adc12bc158d503eb (diff)
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.
Diffstat (limited to 'otk/appwidget.hh')
-rw-r--r--otk/appwidget.hh11
1 files changed, 5 insertions, 6 deletions
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);