X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fbutton.hh;fp=otk%2Fbutton.hh;h=a4b3a978763a7685b5df854d1231f910839b7a2a;hb=b7dba88a0addfa232781427891b615a6bc3147c6;hp=6908322e608c1dcd601805b781fed70a4f0de97c;hpb=b3822fcfb19bfdcf775fbc6ff2f89a817d16cb4c;p=chaz%2Fopenbox 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;