summaryrefslogtreecommitdiff
path: root/otk/widget.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-11-15 02:30:14 +0000
committerDana Jansens <danakj@orodu.net>2002-11-15 02:30:14 +0000
commitb3822fcfb19bfdcf775fbc6ff2f89a817d16cb4c (patch)
treed4ab5a38fb0e697c10f8e789895ef94fb6a76545 /otk/widget.hh
parented4696f6910047ae596a874ef3f1f85b5390aadb (diff)
make stuff draw on expose events
Diffstat (limited to 'otk/widget.hh')
-rw-r--r--otk/widget.hh3
1 files changed, 3 insertions, 0 deletions
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;
};