diff options
author | Einar Johan Trøan Sømåen | 2013-04-18 18:04:51 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-04-18 18:04:51 +0200 |
commit | 6c55213cd5a63ff198a25573ad38672e7faa02ce (patch) | |
tree | e91f4fda30f287f5fc9a6da4a581489f81a7ab73 /engines/wintermute/ui/ui_window.h | |
parent | b6242d0ea5603f73b488ed144ee3807b89829072 (diff) | |
download | scummvm-rg350-6c55213cd5a63ff198a25573ad38672e7faa02ce.tar.gz scummvm-rg350-6c55213cd5a63ff198a25573ad38672e7faa02ce.tar.bz2 scummvm-rg350-6c55213cd5a63ff198a25573ad38672e7faa02ce.zip |
WINTERMUTE: Add 'override' to most Script-related functions.
Diffstat (limited to 'engines/wintermute/ui/ui_window.h')
-rw-r--r-- | engines/wintermute/ui/ui_window.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/wintermute/ui/ui_window.h b/engines/wintermute/ui/ui_window.h index ae035c65c7..70799cea25 100644 --- a/engines/wintermute/ui/ui_window.h +++ b/engines/wintermute/ui/ui_window.h @@ -68,10 +68,10 @@ public: bool enableWidget(const char *name, bool enable = true); Rect32 _titleRect; Rect32 _dragRect; - virtual bool display(int offsetX = 0, int offsetY = 0); + virtual bool display(int offsetX = 0, int offsetY = 0) override; UIWindow(BaseGame *inGame); virtual ~UIWindow(); - virtual bool handleKeypress(Common::Event *event, bool printable = false); + virtual bool handleKeypress(Common::Event *event, bool printable = false) override; BaseArray<UIObject *> _widgets; TTextAlign _titleAlign; bool loadFile(const char *filename); @@ -80,12 +80,12 @@ public: BaseFont *_fontInactive; BaseSprite *_imageInactive; virtual bool listen(BaseScriptHolder *param1, uint32 param2); - virtual bool saveAsText(BaseDynamicBuffer *buffer, int indent); + virtual bool saveAsText(BaseDynamicBuffer *buffer, int indent) override; // scripting interface - virtual ScValue *scGetProperty(const Common::String &name); - virtual bool scSetProperty(const char *name, ScValue *value); - virtual bool scCallMethod(ScScript *script, ScStack *stack, ScStack *thisStack, const char *name); + virtual ScValue *scGetProperty(const Common::String &name) override; + 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(); }; |