diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-20 06:11:12 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-20 06:11:12 +0000 |
| commit | d8d9b42777ace234f3471918e1210062578f8188 (patch) | |
| tree | 915e9aa986ba44dda4c357bc834c68b4dc550525 /otk/button.hh | |
| parent | 0ba441fe8f379ec506000f7fa29f867cb6bc0d51 (diff) | |
widegt using new render system
Diffstat (limited to 'otk/button.hh')
| -rw-r--r-- | otk/button.hh | 20 |
1 files changed, 10 insertions, 10 deletions
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; }; } |
