summaryrefslogtreecommitdiff
path: root/src/gui/widgets/label.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-29 01:20:29 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-29 01:22:57 +0300
commit82e111b764205e9f070c2af0562433800b9eabea (patch)
tree57c54780203ec2d3a3e79f476eda838dadacdd14 /src/gui/widgets/label.cpp
parente09cff19fba98786e2bbc551066cbb11d189f687 (diff)
downloadplus-82e111b764205e9f070c2af0562433800b9eabea.tar.gz
plus-82e111b764205e9f070c2af0562433800b9eabea.tar.bz2
plus-82e111b764205e9f070c2af0562433800b9eabea.tar.xz
plus-82e111b764205e9f070c2af0562433800b9eabea.zip
Add label own color.
Parameter "LABEL" in colors.xml
Diffstat (limited to 'src/gui/widgets/label.cpp')
-rw-r--r--src/gui/widgets/label.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/label.cpp b/src/gui/widgets/label.cpp
index dde7ddca3..c0d708975 100644
--- a/src/gui/widgets/label.cpp
+++ b/src/gui/widgets/label.cpp
@@ -27,13 +27,13 @@
Label::Label()
{
- setForegroundColor(Theme::getThemeColor(Theme::TEXT));
+ setForegroundColor(Theme::getThemeColor(Theme::LABEL));
}
Label::Label(const std::string &caption) :
gcn::Label(caption)
{
- setForegroundColor(Theme::getThemeColor(Theme::TEXT));
+ setForegroundColor(Theme::getThemeColor(Theme::LABEL));
}
void Label::draw(gcn::Graphics *graphics)