summaryrefslogtreecommitdiff
path: root/include/glwidgets.h
diff options
context:
space:
mode:
authorpixel <pixel>2003-11-14 17:21:14 +0000
committerpixel <pixel>2003-11-14 17:21:14 +0000
commitfae0c2bfe95a122de0f165791690dc18928a931c (patch)
tree1f8056a480702d72c4f871ad7375a575510bb7ff /include/glwidgets.h
parentd7575bef1e530eac004c973b0384a12561f0bb8b (diff)
Started working on widgets.
Diffstat (limited to 'include/glwidgets.h')
-rw-r--r--include/glwidgets.h33
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