summaryrefslogtreecommitdiff
path: root/otk/button.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-11-15 02:38:52 +0000
committerDana Jansens <danakj@orodu.net>2002-11-15 02:38:52 +0000
commitb7dba88a0addfa232781427891b615a6bc3147c6 (patch)
tree70697fba47ef84c8226d634c1eaf19134472f026 /otk/button.hh
parentb3822fcfb19bfdcf775fbc6ff2f89a817d16cb4c (diff)
try make drawing work better but its busted
Diffstat (limited to 'otk/button.hh')
-rw-r--r--otk/button.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/otk/button.hh b/otk/button.hh
index 6908322e..a4b3a978 100644
--- a/otk/button.hh
+++ b/otk/button.hh
@@ -33,14 +33,15 @@ public:
void press(void);
void release(void);
- void update(void);
+ virtual void update(void);
+ virtual void expose(const XExposeEvent &e);
private:
std::string _text;
//OtkPixmap _pixmap;
bool _pressed;
-// bool _dirty;
+ bool _dirty;
BTexture *_pressed_focus_tx;
BTexture *_pressed_unfocus_tx;