diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-01-30 02:04:39 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-01-30 02:04:39 +0000 |
commit | 093d95683bfcbbff6e0ddd87414e2cd723f17dc9 (patch) | |
tree | c6d07ce0bb312c7e4d7e165ee5c1cb348a6e44fa /src/gui/confirm_dialog.h | |
parent | 69ccb03b44f324f17d02b9e27e71c34850f71139 (diff) | |
download | mana-093d95683bfcbbff6e0ddd87414e2cd723f17dc9.tar.gz mana-093d95683bfcbbff6e0ddd87414e2cd723f17dc9.tar.bz2 mana-093d95683bfcbbff6e0ddd87414e2cd723f17dc9.tar.xz mana-093d95683bfcbbff6e0ddd87414e2cd723f17dc9.zip |
A few cleanups and simplifications.
Diffstat (limited to 'src/gui/confirm_dialog.h')
-rw-r--r-- | src/gui/confirm_dialog.h | 22 |
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 |