summaryrefslogtreecommitdiff
path: root/src/gui/widgets/label.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-08-12 13:28:13 -0600
committerJared Adams <jaxad0127@gmail.com>2010-08-12 13:28:13 -0600
commitbcfe75f0934a5a994c4c49df34eca6ee8ef68e6a (patch)
tree24c6d4552d10ce9339ad945a30538ae053fba076 /src/gui/widgets/label.cpp
parentf983b7381a298be8639e007f835d2aad30a768e2 (diff)
downloadmana-client-bcfe75f0934a5a994c4c49df34eca6ee8ef68e6a.tar.gz
mana-client-bcfe75f0934a5a994c4c49df34eca6ee8ef68e6a.tar.bz2
mana-client-bcfe75f0934a5a994c4c49df34eca6ee8ef68e6a.tar.xz
mana-client-bcfe75f0934a5a994c4c49df34eca6ee8ef68e6a.zip
Fix Label color handling
Diffstat (limited to 'src/gui/widgets/label.cpp')
-rw-r--r--src/gui/widgets/label.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/label.cpp b/src/gui/widgets/label.cpp
index cefddae0..6491504c 100644
--- a/src/gui/widgets/label.cpp
+++ b/src/gui/widgets/label.cpp
@@ -29,10 +29,10 @@ Label::Label()
Label::Label(const std::string &caption) :
gcn::Label(caption)
{
+ setForegroundColor(Theme::getThemeColor(Theme::TEXT));
}
void Label::draw(gcn::Graphics *graphics)
{
- setForegroundColor(Theme::getThemeColor(Theme::TEXT));
gcn::Label::draw(static_cast<gcn::Graphics*>(graphics));
}