aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ui/ui_object.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/ui/ui_object.h')
-rw-r--r--engines/wintermute/ui/ui_object.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/wintermute/ui/ui_object.h b/engines/wintermute/ui/ui_object.h
index 8059207a9a..b0a34fe61e 100644
--- a/engines/wintermute/ui/ui_object.h
+++ b/engines/wintermute/ui/ui_object.h
@@ -49,7 +49,8 @@ public:
DECLARE_PERSISTENT(UIObject, BaseObject)
UIObject *_parent;
virtual bool display() { return display(0, 0); }
- virtual bool display(int offsetX = 0, int offsetY = 0);
+ virtual bool display(int offsetX) { return display(offsetX, 0); }
+ virtual bool display(int offsetX, int offsetY);
virtual void correctSize();
bool _sharedFonts;
bool _sharedImages;