summaryrefslogtreecommitdiff
path: root/src/gui/ok_dialog.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-08 01:33:53 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-08 01:33:53 +0000
commitee416a5f3de03a689247a290077e7fdf451e1a23 (patch)
treef456df99f954919ac7a425606df51f010aa4ef2d /src/gui/ok_dialog.h
parent4070dda1560bc729c3e272f0a5c03d77391e2661 (diff)
downloadmana-ee416a5f3de03a689247a290077e7fdf451e1a23.tar.gz
mana-ee416a5f3de03a689247a290077e7fdf451e1a23.tar.bz2
mana-ee416a5f3de03a689247a290077e7fdf451e1a23.tar.xz
mana-ee416a5f3de03a689247a290077e7fdf451e1a23.zip
Well improved window container and window widgets a bit, and made a start
on support for modal dialogs. Still some issues to work out. Tell me if you experience something unsettling.
Diffstat (limited to 'src/gui/ok_dialog.h')
-rw-r--r--src/gui/ok_dialog.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/ok_dialog.h b/src/gui/ok_dialog.h
index cc04546b..ad0359b1 100644
--- a/src/gui/ok_dialog.h
+++ b/src/gui/ok_dialog.h
@@ -26,7 +26,6 @@
#include "gui.h"
#include "window.h"
-#include "button.h"
/**
* An 'Ok' button dialog.
@@ -36,14 +35,14 @@
class OkDialog : public Window, public gcn::ActionListener {
public:
/**
- * Constructor
+ * Constructor.
*
* @see Window::Window
*/
- OkDialog(gcn::Container *parent, std::string);
+ OkDialog(const std::string &title, const std::string &msg);
/**
- * Destructor
+ * Destructor.
*/
~OkDialog();