X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=otk%2Fbutton.hh;h=f25f731d9d1c63cdcfb63edf529eb7da6a4c4e9c;hb=bcb7dddf94266030a89d87e2cae9e3ec730a8760;hp=6908322e608c1dcd601805b781fed70a4f0de97c;hpb=b3822fcfb19bfdcf775fbc6ff2f89a817d16cb4c;p=chaz%2Fopenbox diff --git a/otk/button.hh b/otk/button.hh index 6908322e..f25f731d 100644 --- a/otk/button.hh +++ b/otk/button.hh @@ -33,14 +33,16 @@ public: void press(void); void release(void); - void update(void); + virtual void update(void); + virtual bool expose(const XExposeEvent &e); + virtual bool configure(const XConfigureEvent &e); private: std::string _text; //OtkPixmap _pixmap; bool _pressed; -// bool _dirty; + bool _dirty; BTexture *_pressed_focus_tx; BTexture *_pressed_unfocus_tx;