summaryrefslogtreecommitdiff
path: root/include/glwidgets.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/glwidgets.h')
-rw-r--r--include/glwidgets.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/glwidgets.h b/include/glwidgets.h
index 1894924..0ee9cea 100644
--- a/include/glwidgets.h
+++ b/include/glwidgets.h
@@ -6,14 +6,14 @@
namespace mogltk {
class widget : public Base {
public:
- widget();
virtual ~widget();
+ bool PointerEvent(int x, int y);
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_father;
+ static widget * cur_root, * focused;
};
};