X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=otk%2Fbutton.hh;h=a3805aa069f459e1dc904075ce9a0feaeef8b0e4;hb=648c55b829e09c66222a9bbf08d10434622feae2;hp=53d08a8645a145d11d4cfac95fc0a61e212d59b2;hpb=99cd843fc6dc7a7f55b6c90fd1162f233853aad2;p=chaz%2Fopenbox diff --git a/otk/button.hh b/otk/button.hh index 53d08a86..a3805aa0 100644 --- a/otk/button.hh +++ b/otk/button.hh @@ -12,9 +12,6 @@ public: Button(Widget *parent); virtual ~Button(); - virtual inline bool isDefault() const { return _default; } - virtual void setDefault(bool d); - virtual inline bool isPressed() const { return _pressed; } virtual void press(unsigned int mouse_button); @@ -23,10 +20,11 @@ public: virtual void buttonPressHandler(const XButtonEvent &e); virtual void buttonReleaseHandler(const XButtonEvent &e); + virtual void clickHandler(unsigned int button) {(void)button;} + virtual void styleChanged(const RenderStyle &style); private: - bool _default; bool _pressed; unsigned int _mouse_button; };