X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fbutton.hh;h=e32cd028d4ed7d8a10a6cd54276b9d70cee7b34f;hb=7df3b620e21777dbefa24f381c1a95fafed1c16e;hp=a4b3a978763a7685b5df854d1231f910839b7a2a;hpb=b7dba88a0addfa232781427891b615a6bc3147c6;p=chaz%2Fopenbox diff --git a/otk/button.hh b/otk/button.hh index a4b3a978..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 void 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