X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fbutton.hh;h=17ddce03befae988effdbbfabd130a2164ed5be2;hb=5a139f7263e33b499836f5df9ac37400e02c32f9;hp=5924e9b0ebe18783e9b10521c9f23acaccb25127;hpb=f890d31d6bf41db5c565e4f1b25132a6df1bd044;p=chaz%2Fopenbox diff --git a/otk/button.hh b/otk/button.hh index 5924e9b0..17ddce03 100644 --- a/otk/button.hh +++ b/otk/button.hh @@ -12,18 +12,18 @@ public: OtkButton(OtkWidget *parent); ~OtkButton(); - inline const BTexture *getPressedFocusTexture(void) const + inline const otk::BTexture *getPressedFocusTexture(void) const { return _pressed_focus_tx; } - void setPressedFocusTexture(BTexture *texture) + void setPressedFocusTexture(otk::BTexture *texture) { _pressed_focus_tx = texture; } - inline const BTexture *getPressedUnfocusTexture(void) const + inline const otk::BTexture *getPressedUnfocusTexture(void) const { return _pressed_unfocus_tx; } - void setPressedUnfocusTexture(BTexture *texture) + void setPressedUnfocusTexture(otk::BTexture *texture) { _pressed_unfocus_tx = texture; } - void setTexture(BTexture *texture); - void setUnfocusTexture(BTexture *texture); + void setTexture(otk::BTexture *texture); + void setUnfocusTexture(otk::BTexture *texture); inline bool isPressed(void) const { return _pressed; } void press(unsigned int mouse_button); @@ -32,7 +32,7 @@ public: void buttonPressHandler(const XButtonEvent &e); void buttonReleaseHandler(const XButtonEvent &e); - virtual void setStyle(Style *style); + virtual void setStyle(otk::Style *style); private: