summaryrefslogtreecommitdiff
path: root/src/gui/confirm_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/confirm_dialog.h
parent69ccb03b44f324f17d02b9e27e71c34850f71139 (diff)
downloadmana-client-093d95683bfcbbff6e0ddd87414e2cd723f17dc9.tar.gz
mana-client-093d95683bfcbbff6e0ddd87414e2cd723f17dc9.tar.bz2
mana-client-093d95683bfcbbff6e0ddd87414e2cd723f17dc9.tar.xz
mana-client-093d95683bfcbbff6e0ddd87414e2cd723f17dc9.zip
A few cleanups and simplifications.
Diffstat (limited to 'src/gui/confirm_dialog.h')
-rw-r--r--src/gui/confirm_dialog.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/gui/confirm_dialog.h b/src/gui/confirm_dialog.h
index 8f444057..e3638439 100644
--- a/src/gui/confirm_dialog.h
+++ b/src/gui/confirm_dialog.h
@@ -44,32 +44,12 @@ class ConfirmDialog : public Window, public gcn::ActionListener {
* @see Window::Window
*/
ConfirmDialog(const std::string &title, const std::string &msg,
- gcn::ActionListener *listener = NULL);
-
- /**
- * Constructor with parent reference.
- *
- * @see Window::Window
- */
- ConfirmDialog(Window *window, const std::string &title,
- const std::string &msg,
- gcn::ActionListener *listener = NULL);
+ gcn::ActionListener *listener = NULL, Window *parent = NULL);
/**
* Called when receiving actions from the widgets.
*/
void action(const std::string& eventId);
-
- gcn::Button *yesButton;
- gcn::Button *noButton;
-
- private:
- /**
- * Initializes the dialog.
- */
- void init(const std::string &msg, gcn::ActionListener *listener);
-
- gcn::Label *textLabel;
};
#endif