summaryrefslogtreecommitdiff
path: root/src/gui/windowmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-19 14:28:01 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-19 14:28:01 +0300
commit5cec54e00bc05fb32bc9b08727641f9d48fefee6 (patch)
treeb65f3cd272c0252b742578dcc8a0d94c59e6e0b4 /src/gui/windowmanager.cpp
parentb7848fe5475f622f06681e73db66d525271cb47a (diff)
downloadManaVerse-5cec54e00bc05fb32bc9b08727641f9d48fefee6.tar.gz
ManaVerse-5cec54e00bc05fb32bc9b08727641f9d48fefee6.tar.bz2
ManaVerse-5cec54e00bc05fb32bc9b08727641f9d48fefee6.tar.xz
ManaVerse-5cec54e00bc05fb32bc9b08727641f9d48fefee6.zip
Add miltiline popup based on textbox.
Diffstat (limited to 'src/gui/windowmanager.cpp')
-rw-r--r--src/gui/windowmanager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windowmanager.cpp b/src/gui/windowmanager.cpp
index 06bfc8673..bd68f09bc 100644
--- a/src/gui/windowmanager.cpp
+++ b/src/gui/windowmanager.cpp
@@ -35,6 +35,7 @@
#include "gui/popups/itempopup.h"
#include "gui/popups/popupmenu.h"
#include "gui/popups/spellpopup.h"
+#include "gui/popups/textboxpopup.h"
#include "gui/popups/textpopup.h"
#include "gui/windows/didyouknowwindow.h"
@@ -103,6 +104,8 @@ void WindowManager::createWindows()
beingPopup->postInit();
textPopup = new TextPopup;
textPopup->postInit();
+ textBoxPopup = new TextBoxPopup;
+ textBoxPopup->postInit();
itemPopup = new ItemPopup;
itemPopup->postInit();
spellPopup = new SpellPopup;
@@ -111,6 +114,7 @@ void WindowManager::createWindows()
void WindowManager::deleteWindows()
{
+ delete2(textBoxPopup);
delete2(textPopup);
delete2(beingPopup);
delete2(itemPopup);