From b7dba88a0addfa232781427891b615a6bc3147c6 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 15 Nov 2002 02:38:52 +0000 Subject: try make drawing work better but its busted --- otk/button.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'otk/button.hh') 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; -- cgit v1.2.3