diff options
author | Einar Johan Trøan Sømåen | 2013-04-17 21:43:35 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-04-18 10:13:02 +0200 |
commit | d926b47186813faed167ed7b82f879b54ff2ee3e (patch) | |
tree | 7534e96dcfcd35957523315da1d50b3de74812b7 /engines/wintermute/ad/ad_response.h | |
parent | e4ec07a6a1e6ad9f5f72912332ec47742b832f7f (diff) | |
download | scummvm-rg350-d926b47186813faed167ed7b82f879b54ff2ee3e.tar.gz scummvm-rg350-d926b47186813faed167ed7b82f879b54ff2ee3e.tar.bz2 scummvm-rg350-d926b47186813faed167ed7b82f879b54ff2ee3e.zip |
WINTERMUTE: Constify AdResponse/AdResponseBox/AdResponseContext.
Diffstat (limited to 'engines/wintermute/ad/ad_response.h')
-rw-r--r-- | engines/wintermute/ad/ad_response.h | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/engines/wintermute/ad/ad_response.h b/engines/wintermute/ad/ad_response.h index 2119067d3e..57cd302e9d 100644 --- a/engines/wintermute/ad/ad_response.h +++ b/engines/wintermute/ad/ad_response.h @@ -43,17 +43,29 @@ public: bool setIconHover(const char *filename); bool setIconPressed(const char *filename); void setText(const char *text); - int32 _iD; + void setID(int32 id); + BaseSprite *getIcon() const; + BaseSprite *getIconHover() const; + BaseSprite *getIconPressed() const; + BaseFont *getFont() const; + int32 getID() const; + + const char *getText() const; + const char *getTextOrig() const; + + AdResponse(BaseGame *inGame); + virtual ~AdResponse(); + TResponseType _responseType; +private: BaseSprite *_icon; BaseSprite *_iconHover; BaseSprite *_iconPressed; BaseFont *_font; + + int32 _iD; + char *_text; char *_textOrig; - AdResponse(BaseGame *inGame); - virtual ~AdResponse(); - TResponseType _responseType; - }; } // end of namespace Wintermute |