X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fbutton.hh;h=5924e9b0ebe18783e9b10521c9f23acaccb25127;hb=70eb03ad50e1a71fd64c8cb1ebabbff311850553;hp=c5b9d963e86b42acc7a2b6c94e990770cead9409;hpb=d4d15160fe81353a9f7958c1feb1821abe179a70;p=chaz%2Fopenbox diff --git a/otk/button.hh b/otk/button.hh index c5b9d963..5924e9b0 100644 --- a/otk/button.hh +++ b/otk/button.hh @@ -29,9 +29,11 @@ public: void press(unsigned int mouse_button); void release(unsigned int mouse_button); - int buttonPressHandler(const XButtonEvent &e); - int buttonReleaseHandler(const XButtonEvent &e); + void buttonPressHandler(const XButtonEvent &e); + void buttonReleaseHandler(const XButtonEvent &e); + virtual void setStyle(Style *style); + private: bool _pressed;