aboutsummaryrefslogtreecommitdiff
path: root/gui/dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/dialog.h')
-rw-r--r--gui/dialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/dialog.h b/gui/dialog.h
index 63b1544950..45deb91f3f 100644
--- a/gui/dialog.h
+++ b/gui/dialog.h
@@ -54,6 +54,9 @@ public:
{}
virtual ~Dialog();
+ virtual void open();
+ virtual void close();
+
virtual void draw();
virtual void handleTickle(); // Called periodically (in every guiloop() )
@@ -71,7 +74,6 @@ public:
protected:
Widget* findWidget(int x, int y); // Find the widget at pos x,y if any
- void close();
void addResText(int x, int y, int w, int h, int resID);
void addButton(int x, int y, int w, int h, const char *label, uint32 cmd, char hotkey);