X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fbutton.hh;h=e32cd028d4ed7d8a10a6cd54276b9d70cee7b34f;hb=7df3b620e21777dbefa24f381c1a95fafed1c16e;hp=48a0f8136df861bc8b3d68bb9d3225e428a89f44;hpb=6d68ac2256dc212dc0f2dd8a15d013d6ce3fc4b8;p=chaz%2Fopenbox diff --git a/otk/button.hh b/otk/button.hh index 48a0f813..e32cd028 100644 --- a/otk/button.hh +++ b/otk/button.hh @@ -1,3 +1,6 @@ +#ifndef __button_hh +#define __button_hh + #include "focuswidget.hh" //#include "pixmap.hh" @@ -33,8 +36,11 @@ public: void press(void); void release(void); - virtual void update(void); - virtual bool expose(const XExposeEvent &e); + void update(void); + int exposeHandler(const XExposeEvent &e); + int configureHandler(const XConfigureEvent &e); + int buttonPressHandler(const XButtonEvent &e); + int buttonReleaseHandler(const XButtonEvent &e); private: @@ -51,3 +57,5 @@ private: }; } + +#endif