diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/palette.cpp | 1 | ||||
-rw-r--r-- | src/gui/palette.h | 1 | ||||
-rw-r--r-- | src/gui/setup_colors.cpp | 1 | ||||
-rw-r--r-- | src/gui/widgets/tab.cpp | 2 |
4 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/palette.cpp b/src/gui/palette.cpp index c1b9dd7f..52288d51 100644 --- a/src/gui/palette.cpp +++ b/src/gui/palette.cpp @@ -84,6 +84,7 @@ Palette::Palette() : addColor(PROGRESS_BAR, 0xffffff, STATIC, indent + _("Progress Bar Labels")); addColor(BUTTON, 0x000000, STATIC, indent + _("Buttons")); addColor(BUTTON_DISABLED, 0x000000, STATIC, indent + _("Disabled Buttons")); + addColor(TAB, 0x000000, STATIC, indent + _("Tabs")); addColor(BACKGROUND, 0xffffff, STATIC, _("Background")); diff --git a/src/gui/palette.h b/src/gui/palette.h index 094bbd03..c68a4e1c 100644 --- a/src/gui/palette.h +++ b/src/gui/palette.h @@ -59,6 +59,7 @@ class Palette : public gcn::ListModel ENTRY(PROGRESS_BAR)\ ENTRY(BUTTON)\ ENTRY(BUTTON_DISABLED)\ + ENTRY(TAB)\ ENTRY(BACKGROUND)\ ENTRY(HIGHLIGHT)\ ENTRY(TAB_HIGHLIGHT)\ diff --git a/src/gui/setup_colors.cpp b/src/gui/setup_colors.cpp index 7ad13cba..7e8b8946 100644 --- a/src/gui/setup_colors.cpp +++ b/src/gui/setup_colors.cpp @@ -264,6 +264,7 @@ void Setup_Colors::valueChanged(const gcn::SelectionEvent &event) break; case Palette::BUTTON: case Palette::BUTTON_DISABLED: + case Palette::TAB: case Palette::TAB_HIGHLIGHT: mTextPreview->setFont(gui->getFont()); mTextPreview->setTextColor(col); diff --git a/src/gui/widgets/tab.cpp b/src/gui/widgets/tab.cpp index f2231fca..26bcc636 100644 --- a/src/gui/widgets/tab.cpp +++ b/src/gui/widgets/tab.cpp @@ -63,7 +63,7 @@ static TabData const data[TAB_COUNT] = { ImageRect Tab::tabImg[TAB_COUNT]; Tab::Tab() : gcn::Tab(), - mTabColor(&guiPalette->getColor(Palette::TEXT)) + mTabColor(&guiPalette->getColor(Palette::TAB)) { init(); } |