diff options
author | pixel <pixel> | 2003-11-14 17:21:14 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-11-14 17:21:14 +0000 |
commit | fae0c2bfe95a122de0f165791690dc18928a931c (patch) | |
tree | 1f8056a480702d72c4f871ad7375a575510bb7ff /include/glwidgets.h | |
parent | d7575bef1e530eac004c973b0384a12561f0bb8b (diff) |
Started working on widgets.
Diffstat (limited to 'include/glwidgets.h')
-rw-r--r-- | include/glwidgets.h | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/include/glwidgets.h b/include/glwidgets.h index 86688ef..b606a14 100644 --- a/include/glwidgets.h +++ b/include/glwidgets.h @@ -1,20 +1,15 @@ -#ifndef __GLWIDGETS_H__ -#define __GLWIDGETS_H__ - -#include <Exceptions.h> - -namespace mogltk { - class widget : public Base { - public: - virtual ~widget(); - bool PointerEvent(int x, int y); +#ifndef __GLWIDGETS_H__
+#define __GLWIDGETS_H__
+
+#include <widgets.h>
+
+namespace mogltk {
+ class glRoot : public Root {
+ public:
+ glRoot(shape *);
protected: - widget(widget * father, int x, int y, int sx, int sy) throw (GeneralException); - private: - int x, y, sx, sy; - widget * father, * next, * prev, * child, * root; - static widget * cur_root, * focused; - }; -}; - -#endif + virtual void draw(); + };
+};
+
+#endif
|