Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/palette.cc')
-rw-r--r--src/ui/palette.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/ui/palette.cc b/src/ui/palette.cc
index 04d7f00..cb6ee91 100644
--- a/src/ui/palette.cc
+++ b/src/ui/palette.cc
@@ -11,8 +11,9 @@ namespace ui {
Palette::Palette()
{
- palette_foreground.assign(1.0f, 1.0f);
- palette_background.assign(0.8f, 0.5f);
+ palette_foreground.assign(0.8f, 1.0f);
+ palette_highlight.assign(1.0f, 1.0f);
+ palette_background.assign(0.5f, 0.5f);
palette_border.assign(0.0f, 8.0f, 0.0f);
}
@@ -25,6 +26,11 @@ void Palette::set_foreground(math::Color const &color)
palette_foreground.assign(color);
}
+void Palette::set_highlight(math::Color const &color)
+{
+ palette_highlight.assign(color);
+}
+
void Palette::set_background(math::Color const &color)
{
palette_background.assign(color);