diff options
author | Ira Rice <irarice@gmail.com> | 2008-10-28 14:31:05 +0000 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-10-28 14:31:05 +0000 |
commit | a5c89d99f3a75bfa0d7a8605f310747772bb690b (patch) | |
tree | 4c8936e851305d8d567f24dfeef9f2559fb707b6 /src/gui/confirm_dialog.h | |
parent | b00a8da8f954cd8116bd7a5375f70550bdcb9009 (diff) | |
download | mana-a5c89d99f3a75bfa0d7a8605f310747772bb690b.tar.gz mana-a5c89d99f3a75bfa0d7a8605f310747772bb690b.tar.bz2 mana-a5c89d99f3a75bfa0d7a8605f310747772bb690b.tar.xz mana-a5c89d99f3a75bfa0d7a8605f310747772bb690b.zip |
Fixed up confirm dialogues so that they also can utilize the text
wrapping code, like the ok dialogues.
Diffstat (limited to 'src/gui/confirm_dialog.h')
-rw-r--r-- | src/gui/confirm_dialog.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/confirm_dialog.h b/src/gui/confirm_dialog.h index b8e385f6..65f33cac 100644 --- a/src/gui/confirm_dialog.h +++ b/src/gui/confirm_dialog.h @@ -26,6 +26,9 @@ #include <guichan/actionlistener.hpp> +#include "button.h" +#include "scrollarea.h" +#include "textbox.h" #include "window.h" #include "../guichanfwd.h" @@ -45,10 +48,17 @@ class ConfirmDialog : public Window, public gcn::ActionListener { ConfirmDialog(const std::string &title, const std::string &msg, Window *parent = NULL); + unsigned int getNumRows(); + /** * Called when receiving actions from the widgets. */ void action(const gcn::ActionEvent &event); + + private: + TextBox *mTextBox; + ScrollArea *mTextArea; + gcn::Button *okButton; }; #endif |