From b3822fcfb19bfdcf775fbc6ff2f89a817d16cb4c Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 15 Nov 2002 02:30:14 +0000 Subject: make stuff draw on expose events --- otk/widget.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'otk/widget.hh') diff --git a/otk/widget.hh b/otk/widget.hh index 85eefe79..1651a507 100644 --- a/otk/widget.hh +++ b/otk/widget.hh @@ -27,6 +27,8 @@ public: virtual void update(void); + void expose(const XExposeEvent &e); + inline Window getWindow(void) const { return _window; } inline const OtkWidget *getParent(void) const { return _parent; } inline const OtkWidgetList &getChildren(void) const { return _children; } @@ -124,6 +126,7 @@ private: bool _fixed_width; bool _fixed_height; +protected: bool _dirty; }; -- cgit v1.2.3