aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ad/ad_response_box.h
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-07-21 21:01:47 +0200
committerEinar Johan Trøan Sømåen2012-07-21 21:01:47 +0200
commitb5a07fef8ebf29f7f44b15d9b34799c7e115fdad (patch)
tree76599c7b51aa6ad0447cb6ff6847f9eba54a679a /engines/wintermute/ad/ad_response_box.h
parent2e82471240804df65acdf51c43ea044cbb81ae68 (diff)
downloadscummvm-rg350-b5a07fef8ebf29f7f44b15d9b34799c7e115fdad.tar.gz
scummvm-rg350-b5a07fef8ebf29f7f44b15d9b34799c7e115fdad.tar.bz2
scummvm-rg350-b5a07fef8ebf29f7f44b15d9b34799c7e115fdad.zip
WINTERMUTE: Get rid of the C-prefix for class-definitions.
Diffstat (limited to 'engines/wintermute/ad/ad_response_box.h')
-rw-r--r--engines/wintermute/ad/ad_response_box.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/engines/wintermute/ad/ad_response_box.h b/engines/wintermute/ad/ad_response_box.h
index 7c611ef2d6..f77ff3360c 100644
--- a/engines/wintermute/ad/ad_response_box.h
+++ b/engines/wintermute/ad/ad_response_box.h
@@ -34,23 +34,23 @@
namespace WinterMute {
-class CUIButton;
-class CUIWindow;
-class CUIObject;
-class CAdResponse;
-class CAdResponseBox : public CBObject {
+class UIButton;
+class UIWindow;
+class UIObject;
+class AdResponse;
+class AdResponseBox : public BaseObject {
public:
- CBObject *getNextAccessObject(CBObject *CurrObject);
- CBObject *getPrevAccessObject(CBObject *CurrObject);
- bool getObjects(CBArray<CUIObject *, CUIObject *> &objects, bool interactiveOnly);
+ BaseObject *getNextAccessObject(BaseObject *CurrObject);
+ BaseObject *getPrevAccessObject(BaseObject *CurrObject);
+ bool getObjects(BaseArray<UIObject *, UIObject *> &objects, bool interactiveOnly);
- bool handleResponse(CAdResponse *response);
+ bool handleResponse(AdResponse *response);
void setLastResponseText(const char *text, const char *textOrig);
char *_lastResponseText;
char *_lastResponseTextOrig;
- DECLARE_PERSISTENT(CAdResponseBox, CBObject)
- CScScript *_waitingScript;
- virtual bool listen(CBScriptHolder *param1, uint32 param2);
+ DECLARE_PERSISTENT(AdResponseBox, BaseObject)
+ ScScript *_waitingScript;
+ virtual bool listen(BaseScriptHolder *param1, uint32 param2);
typedef enum {
EVENT_PREV,
EVENT_NEXT,
@@ -61,25 +61,25 @@ public:
bool display();
int _spacing;
int _scrollOffset;
- CBFont *_fontHover;
- CBFont *_font;
+ BaseFont *_fontHover;
+ BaseFont *_font;
bool createButtons();
bool invalidateButtons();
void clearButtons();
void clearResponses();
- CAdResponseBox(CBGame *inGame);
- virtual ~CAdResponseBox();
- CBArray<CAdResponse *, CAdResponse *> _responses;
- CBArray<CUIButton *, CUIButton *> _respButtons;
- CUIWindow *_window;
- CUIWindow *_shieldWindow;
+ AdResponseBox(BaseGame *inGame);
+ virtual ~AdResponseBox();
+ BaseArray<AdResponse *, AdResponse *> _responses;
+ BaseArray<UIButton *, UIButton *> _respButtons;
+ UIWindow *_window;
+ UIWindow *_shieldWindow;
bool _horizontal;
Rect32 _responseArea;
int _verticalAlign;
TTextAlign _align;
bool loadFile(const char *filename);
bool loadBuffer(byte *buffer, bool complete = true);
- virtual bool saveAsText(CBDynBuffer *buffer, int indent);
+ virtual bool saveAsText(BaseDynamicBuffer *buffer, int indent);
};
} // end of namespace WinterMute