diff options
Diffstat (limited to 'engines/wintermute/Ad/AdInventoryBox.h')
-rw-r--r-- | engines/wintermute/Ad/AdInventoryBox.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/wintermute/Ad/AdInventoryBox.h b/engines/wintermute/Ad/AdInventoryBox.h index 857abd5d35..f6beae2d46 100644 --- a/engines/wintermute/Ad/AdInventoryBox.h +++ b/engines/wintermute/Ad/AdInventoryBox.h @@ -45,18 +45,18 @@ public: int _itemHeight;
int _itemWidth;
bool _visible;
- virtual ERRORCODE display();
+ virtual bool display();
CUIButton *_closeButton;
int _spacing;
int _scrollOffset;
Rect32 _itemsArea;
- ERRORCODE listen(CBScriptHolder *param1, uint32 param2);
+ bool listen(CBScriptHolder *param1, uint32 param2);
CUIWindow *_window;
CAdInventoryBox(CBGame *inGame);
virtual ~CAdInventoryBox();
- ERRORCODE loadFile(const char *filename);
- ERRORCODE loadBuffer(byte *buffer, bool complete = true);
- virtual ERRORCODE saveAsText(CBDynBuffer *buffer, int indent);
+ bool loadFile(const char *filename);
+ bool loadBuffer(byte *buffer, bool complete = true);
+ virtual bool saveAsText(CBDynBuffer *buffer, int indent);
};
} // end of namespace WinterMute
|