diff options
Diffstat (limited to 'src/gui/textdialog.h')
-rw-r--r-- | src/gui/textdialog.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/textdialog.h b/src/gui/textdialog.h index edfe85b6..b04851ac 100644 --- a/src/gui/textdialog.h +++ b/src/gui/textdialog.h @@ -43,6 +43,9 @@ public: */ TextDialog(const std::string &title, const std::string &msg, Window *parent = NULL); + + + ~TextDialog(); /** * Called when receiving actions from the widgets. @@ -58,8 +61,12 @@ public: * Set the OK button action id */ void setOKButtonActionId(const std::string &name); + + static const bool isActive() { return instances > 0; } private: + static int instances; + TextField *mTextField; gcn::Button *mOkButton; }; |