aboutsummaryrefslogtreecommitdiff
path: root/gui/dialog.h
diff options
context:
space:
mode:
authorJohannes Schickel2006-04-19 01:05:28 +0000
committerJohannes Schickel2006-04-19 01:05:28 +0000
commit30787714d30e9202890922ec10833e695bc8a3bf (patch)
treeb2a699d793bbafd7a5fade0f366b3ec3636f4ffe /gui/dialog.h
parentec7e734adb2133a653f500636b101fc09ab6e4ae (diff)
downloadscummvm-rg350-30787714d30e9202890922ec10833e695bc8a3bf.tar.gz
scummvm-rg350-30787714d30e9202890922ec10833e695bc8a3bf.tar.bz2
scummvm-rg350-30787714d30e9202890922ec10833e695bc8a3bf.zip
Started to prepare the gui for runtime resolution switches.
(some little things could be missing yet though) svn-id: r22017
Diffstat (limited to 'gui/dialog.h')
-rw-r--r--gui/dialog.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gui/dialog.h b/gui/dialog.h
index 794aaa2395..a2471ea59a 100644
--- a/gui/dialog.h
+++ b/gui/dialog.h
@@ -62,6 +62,8 @@ public:
void releaseFocus();
+ virtual void handleScreenChanged();
+
protected:
virtual void open();
virtual void close();
@@ -77,9 +79,10 @@ protected:
virtual void handleKeyUp(uint16 ascii, int keycode, int modifiers);
virtual void handleMouseMoved(int x, int y, int button);
virtual void handleCommand(CommandSender *sender, uint32 cmd, uint32 data);
- virtual void handleScreenChanged();
Widget *findWidget(int x, int y); // Find the widget at pos x,y if any
+ Widget *findWidget(const char *name);
+ void deleteWidget(Widget *widget);
ButtonWidget *addButton(GuiObject *boss, int x, int y, const Common::String &label, uint32 cmd, char hotkey, WidgetSize ws = kDefaultWidgetSize);