X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fbutton.hh;fp=otk%2Fbutton.hh;h=dd3c78b95644af7c75eda053ce1d7d2f6e15fcbc;hb=d8d9b42777ace234f3471918e1210062578f8188;hp=fd2e5e4494f8fb91f75d3777d04b84ebe5236821;hpb=0ba441fe8f379ec506000f7fa29f867cb6bc0d51;p=chaz%2Fopenbox diff --git a/otk/button.hh b/otk/button.hh index fd2e5e44..dd3c78b9 100644 --- a/otk/button.hh +++ b/otk/button.hh @@ -13,18 +13,18 @@ public: Button(Widget *parent); ~Button(); - inline const Texture *getPressedFocusTexture(void) const + inline const RenderTexture *getPressedFocusTexture(void) const { return _pressed_focus_tx; } - void setPressedFocusTexture(Texture *texture) + void setPressedFocusTexture(RenderTexture *texture) { _pressed_focus_tx = texture; } - inline const Texture *getPressedUnfocusTexture(void) const + inline const RenderTexture *getPressedUnfocusTexture(void) const { return _pressed_unfocus_tx; } - void setPressedUnfocusTexture(Texture *texture) + void setPressedUnfocusTexture(RenderTexture *texture) { _pressed_unfocus_tx = texture; } - void setTexture(Texture *texture); - void setUnfocusTexture(Texture *texture); + void setTexture(RenderTexture *texture); + void setUnfocusTexture(RenderTexture *texture); inline bool isPressed(void) const { return _pressed; } void press(unsigned int mouse_button); @@ -40,11 +40,11 @@ private: bool _pressed; unsigned int _mouse_button; - Texture *_pressed_focus_tx; - Texture *_pressed_unfocus_tx; + RenderTexture *_pressed_focus_tx; + RenderTexture *_pressed_unfocus_tx; - Texture *_unpr_focus_tx; - Texture *_unpr_unfocus_tx; + RenderTexture *_unpr_focus_tx; + RenderTexture *_unpr_unfocus_tx; }; }