summaryrefslogtreecommitdiff
path: root/otk/application.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/application.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/application.hh')
-rw-r--r--otk/application.hh8
1 files changed, 3 insertions, 5 deletions
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;