diff options
author | Tobia Tesan | 2013-09-20 17:39:32 +0200 |
---|---|---|
committer | Tobia Tesan | 2013-09-21 23:22:37 +0200 |
commit | 1869481767b205b3475d9d79e69f69c8cc184b02 (patch) | |
tree | a45511c00fc0b1f3c780911cabae6c208e07b622 /engines/wintermute/ui/ui_button.h | |
parent | 59f4a9e7ac519405a728b9d9a448114c05fe4776 (diff) | |
download | scummvm-rg350-1869481767b205b3475d9d79e69f69c8cc184b02.tar.gz scummvm-rg350-1869481767b205b3475d9d79e69f69c8cc184b02.tar.bz2 scummvm-rg350-1869481767b205b3475d9d79e69f69c8cc184b02.zip |
WINTERMUTE: Setters/getters for UIButton
Diffstat (limited to 'engines/wintermute/ui/ui_button.h')
-rw-r--r-- | engines/wintermute/ui/ui_button.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/engines/wintermute/ui/ui_button.h b/engines/wintermute/ui/ui_button.h index 846121e320..2d7cb012dd 100644 --- a/engines/wintermute/ui/ui_button.h +++ b/engines/wintermute/ui/ui_button.h @@ -57,15 +57,16 @@ public: virtual bool scSetProperty(const char *name, ScValue *value) override; virtual bool scCallMethod(ScScript *script, ScStack *stack, ScStack *thisStack, const char *name) override; virtual const char *scToString() override; - BaseFont *_fontDisable; - BaseFont *_fontPress; - BaseFont *_fontHover; - BaseFont *_fontFocus; + BaseSprite *_imageHover; BaseSprite *_imagePress; BaseSprite *_imageDisable; BaseSprite *_imageFocus; TTextAlign _align; + + void putFontHover(BaseFont *font); + BaseFont *getFontHover(); + void putFontPress(BaseFont *font); private: bool _pixelPerfect; @@ -78,7 +79,10 @@ private: UITiledImage *_backFocus; bool _press; bool _hover; - + BaseFont *_fontDisable; + BaseFont *_fontPress; + BaseFont *_fontHover; + BaseFont *_fontFocus; }; } // End of namespace Wintermute |