diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-13 15:28:25 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-13 15:28:25 +0000 |
commit | 59cfa10fc0492e912713a282ba05b48afcbe2854 (patch) | |
tree | 023a4dbffc4a1858631582ecf8870feb330f0aaf /src/gui/char_select.h | |
parent | 682d6a9e44e583c088ed5970d69ef6bd9db7fd23 (diff) | |
download | mana-client-59cfa10fc0492e912713a282ba05b48afcbe2854.tar.gz mana-client-59cfa10fc0492e912713a282ba05b48afcbe2854.tar.bz2 mana-client-59cfa10fc0492e912713a282ba05b48afcbe2854.tar.xz mana-client-59cfa10fc0492e912713a282ba05b48afcbe2854.zip |
Got rid of last Allegro dialog: converted yes_no dialog to ConfirmDialog class
Diffstat (limited to 'src/gui/char_select.h')
-rw-r--r-- | src/gui/char_select.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gui/char_select.h b/src/gui/char_select.h index f1675cb1..ac3909bb 100644 --- a/src/gui/char_select.h +++ b/src/gui/char_select.h @@ -29,6 +29,7 @@ #include "../main.h" #include "../net/network.h" #include "gui.h" +#include "confirm_dialog.h" #include "playerbox.h" #include <guichan/allegro.hpp> @@ -61,6 +62,18 @@ class CharSelectDialog : public Window, public gcn::ActionListener { */ void serverCharSelect(); + /** + * Listener for confirming character deletion. + */ + class CharDeleteConfirm : public ConfirmDialog + { + public: + CharDeleteConfirm(CharSelectDialog *master); + void action(const std::string &eventId); + private: + CharSelectDialog *master; + }; + public: /** * Constructor. |