diff options
author | Einar Johan Trøan Sømåen | 2012-08-31 14:21:33 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-08-31 14:21:33 +0200 |
commit | 764ca7a51a27210ca7a66a6ab2f01714029af09c (patch) | |
tree | 8dca562ceb2279450028199735b1914384c0613c /engines/wintermute/ui/ui_button.h | |
parent | 2039ea6b8df36c960ff25ae56930357d40e95d1d (diff) | |
download | scummvm-rg350-764ca7a51a27210ca7a66a6ab2f01714029af09c.tar.gz scummvm-rg350-764ca7a51a27210ca7a66a6ab2f01714029af09c.tar.bz2 scummvm-rg350-764ca7a51a27210ca7a66a6ab2f01714029af09c.zip |
WINTERMUTE: Fix some of the clang++ warnings listed by LordHoto
Diffstat (limited to 'engines/wintermute/ui/ui_button.h')
-rw-r--r-- | engines/wintermute/ui/ui_button.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/wintermute/ui/ui_button.h b/engines/wintermute/ui/ui_button.h index 61cdef476e..88ba8dafc7 100644 --- a/engines/wintermute/ui/ui_button.h +++ b/engines/wintermute/ui/ui_button.h @@ -44,7 +44,8 @@ public: uint32 _oneTimePressTime;
DECLARE_PERSISTENT(UIButton, UIObject)
void press();
- virtual bool display(int offsetX = 0, int offsetY = 0);
+ virtual bool display() { return display(0, 0); }
+ virtual bool display(int offsetX, int offsetY);
bool _press;
bool _hover;
void correctSize();
|