summaryrefslogtreecommitdiff
path: root/src/gui/ok_dialog.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-30 02:04:39 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-30 02:04:39 +0000
commit093d95683bfcbbff6e0ddd87414e2cd723f17dc9 (patch)
treec6d07ce0bb312c7e4d7e165ee5c1cb348a6e44fa /src/gui/ok_dialog.h
parent69ccb03b44f324f17d02b9e27e71c34850f71139 (diff)
downloadMana-093d95683bfcbbff6e0ddd87414e2cd723f17dc9.tar.gz
Mana-093d95683bfcbbff6e0ddd87414e2cd723f17dc9.tar.bz2
Mana-093d95683bfcbbff6e0ddd87414e2cd723f17dc9.tar.xz
Mana-093d95683bfcbbff6e0ddd87414e2cd723f17dc9.zip
A few cleanups and simplifications.
Diffstat (limited to 'src/gui/ok_dialog.h')
-rw-r--r--src/gui/ok_dialog.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/gui/ok_dialog.h b/src/gui/ok_dialog.h
index b5c792b1..4eac77de 100644
--- a/src/gui/ok_dialog.h
+++ b/src/gui/ok_dialog.h
@@ -43,35 +43,12 @@ class OkDialog : public Window, public gcn::ActionListener {
* @see Window::Window
*/
OkDialog(const std::string &title, const std::string &msg,
- gcn::ActionListener *listener = NULL);
-
- /**
- * Constructor with parent reference.
- *
- * @see Window::Window
- */
- OkDialog(Window *window, const std::string &title,
- const std::string &msg,
- gcn::ActionListener *listener = NULL);
-
- /**
- * Destructor.
- */
- ~OkDialog();
+ gcn::ActionListener *listener = NULL, Window *parent = NULL);
/**
* Called when receiving actions from the widgets.
*/
void action(const std::string& eventId);
-
- private:
- /**
- * Initializes the dialog.
- */
- void init(const std::string &msg, gcn::ActionListener *listener);
-
- gcn::Label *textLabel;
- gcn::Button *okButton;
};
#endif