diff options
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 0ba88cf2e8..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); - int _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 |