diff options
Diffstat (limited to 'src/gui/widgets/label.cpp')
-rw-r--r-- | src/gui/widgets/label.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/label.cpp b/src/gui/widgets/label.cpp index 464ecf69..4c607edf 100644 --- a/src/gui/widgets/label.cpp +++ b/src/gui/widgets/label.cpp @@ -20,7 +20,7 @@ #include "gui/widgets/label.h" -#include "gui/palette.h" +#include "gui/theme.h" Label::Label() { @@ -33,6 +33,6 @@ Label::Label(const std::string &caption) : void Label::draw(gcn::Graphics *graphics) { - setForegroundColor(guiPalette->getColor(Palette::TEXT)); + setForegroundColor(Theme::getThemeColor(Theme::TEXT)); gcn::Label::draw(static_cast<gcn::Graphics*>(graphics)); } |