diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-22 04:38:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-22 04:38:03 +0300 |
commit | 8257d7d35e0dd915512df06cafb810f4611be06a (patch) | |
tree | 7d4449df4e7b9e27bd1e069eb0132931dfd2a5f1 /src/gui/textpopup.cpp | |
parent | dddfb405de9d04f50d3a95cc3b0ebc3e49884a65 (diff) | |
download | mv-8257d7d35e0dd915512df06cafb810f4611be06a.tar.gz mv-8257d7d35e0dd915512df06cafb810f4611be06a.tar.bz2 mv-8257d7d35e0dd915512df06cafb810f4611be06a.tar.xz mv-8257d7d35e0dd915512df06cafb810f4611be06a.zip |
Fix some theme font colors in different gui elements.
Add new color ITEM_NOT_EQUIPPED.
Diffstat (limited to 'src/gui/textpopup.cpp')
-rw-r--r-- | src/gui/textpopup.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gui/textpopup.cpp b/src/gui/textpopup.cpp index 7f1e0e6b8..1ff601154 100644 --- a/src/gui/textpopup.cpp +++ b/src/gui/textpopup.cpp @@ -26,6 +26,9 @@ #include "gui/gui.h" #include "gui/palette.h" +#include "gui/theme.h" + +#include "gui/widgets/label.h" #include "graphics.h" #include "units.h" @@ -34,7 +37,6 @@ #include "utils/stringutils.h" #include <guichan/font.hpp> -#include <guichan/widgets/label.hpp> #include "debug.h" @@ -43,13 +45,13 @@ TextPopup::TextPopup(): { const int fontHeight = getFont()->getHeight(); - mText1 = new gcn::Label; + mText1 = new Label; mText1->setPosition(getPadding(), getPadding()); - mText2 = new gcn::Label; + mText2 = new Label; mText2->setPosition(getPadding(), fontHeight + 2 * getPadding()); - mText3 = new gcn::Label; + mText3 = new Label; mText3->setPosition(getPadding(), (2 * fontHeight) + 2 * getPadding()); add(mText1); |