diff options
Diffstat (limited to 'gui/dialog.h')
-rw-r--r-- | gui/dialog.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gui/dialog.h b/gui/dialog.h index 8558a3841b..04496a233e 100644 --- a/gui/dialog.h +++ b/gui/dialog.h @@ -25,6 +25,8 @@ #include "widget.h" // For CommandReceiver class NewGui; +class ButtonWidget; +class PushButtonWidget; // Some "common" commands sent to handleCommand() enum { @@ -74,8 +76,8 @@ protected: Widget* findWidget(int x, int y); // Find the widget at pos x,y if any - Widget* addButton(int x, int y, const ScummVM::String &label, uint32 cmd, char hotkey); - Widget* addPushButton(int x, int y, const ScummVM::String &label, uint32 cmd, char hotkey); + ButtonWidget* addButton(int x, int y, const ScummVM::String &label, uint32 cmd, char hotkey); + PushButtonWidget* addPushButton(int x, int y, const ScummVM::String &label, uint32 cmd, char hotkey); }; #endif |