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/application.hh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'otk/application.hh') diff --git a/otk/application.hh b/otk/application.hh index 6f1cebc6..848b7985 100644 --- a/otk/application.hh +++ b/otk/application.hh @@ -4,7 +4,6 @@ #include "eventdispatcher.hh" #include "display.hh" -#include "renderstyle.hh" namespace otk { @@ -17,20 +16,19 @@ public: Application(int argc, char **argv); virtual ~Application(); + inline int screen() const { return _screen; } + virtual void run(void); // more bummy cool functionality void setDockable(bool dockable) { _dockable = dockable; } inline bool isDockable(void) const { return _dockable; } - inline RenderStyle *getStyle(void) const { return _style; } - // more accessors - private: void loadStyle(void); Display _display; - RenderStyle *_style; + int _screen; bool _dockable; int _appwidget_count; -- cgit v1.2.3