summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/theme.cpp1
-rw-r--r--src/gui/theme.h1
-rw-r--r--src/gui/widgets/checkbox.cpp2
3 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index 990f0d41a..723730e2d 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -662,6 +662,7 @@ static int readColorType(const std::string &type)
"PROGRESS_BAR",
"BUTTON",
"BUTTON_DISABLED",
+ "CHECKBOX",
"TAB",
"PARTY_CHAT_TAB",
"PARTY_SOCIAL_TAB",
diff --git a/src/gui/theme.h b/src/gui/theme.h
index a3b4f6800..15628d9d3 100644
--- a/src/gui/theme.h
+++ b/src/gui/theme.h
@@ -170,6 +170,7 @@ class Theme : public Palette, public ConfigListener
PROGRESS_BAR,
BUTTON,
BUTTON_DISABLED,
+ CHECKBOX,
TAB,
PARTY_CHAT_TAB,
PARTY_SOCIAL_TAB,
diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp
index 04ac998bf..72ca9eb8d 100644
--- a/src/gui/widgets/checkbox.cpp
+++ b/src/gui/widgets/checkbox.cpp
@@ -96,7 +96,7 @@ CheckBox::CheckBox(const std::string &caption, bool selected,
if (listener)
addActionListener(listener);
- setForegroundColor(Theme::getThemeColor(Theme::TEXT));
+ setForegroundColor(Theme::getThemeColor(Theme::CHECKBOX));
}
CheckBox::~CheckBox()