summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-17 14:00:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-17 14:00:25 +0300
commitdbf6fd812e5eff87a8fc38c4f5635845493885b1 (patch)
treefd7479749b2d0b61249783b1b0d9080278a9bceb /src/gui/popups
parenta9b9e09cfecc1ede11647bbbc09ddc198d783947 (diff)
downloadmanaplus-dbf6fd812e5eff87a8fc38c4f5635845493885b1.tar.gz
manaplus-dbf6fd812e5eff87a8fc38c4f5635845493885b1.tar.bz2
manaplus-dbf6fd812e5eff87a8fc38c4f5635845493885b1.tar.xz
manaplus-dbf6fd812e5eff87a8fc38c4f5635845493885b1.zip
Create public variable for textpopup.
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/textpopup.cpp2
-rw-r--r--src/gui/popups/textpopup.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/popups/textpopup.cpp b/src/gui/popups/textpopup.cpp
index 5eff7fd4a..b7e17fece 100644
--- a/src/gui/popups/textpopup.cpp
+++ b/src/gui/popups/textpopup.cpp
@@ -29,6 +29,8 @@
#include "debug.h"
+TextPopup *textPopup = nullptr;
+
TextPopup::TextPopup() :
Popup("TextPopup", "textpopup.xml"),
mText()
diff --git a/src/gui/popups/textpopup.h b/src/gui/popups/textpopup.h
index c36b94838..4d8c2cc5e 100644
--- a/src/gui/popups/textpopup.h
+++ b/src/gui/popups/textpopup.h
@@ -78,4 +78,6 @@ class TextPopup final : public Popup
Label *mText[TEXTPOPUPCOUNT];
};
+extern TextPopup *textPopup;
+
#endif // GUI_POPUPS_TEXTPOPUP_H