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.cc30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/ui/palette.cc b/src/ui/palette.cc
index 2dec462..6492dc3 100644
--- a/src/ui/palette.cc
+++ b/src/ui/palette.cc
@@ -11,20 +11,20 @@ namespace ui
{
Palette::Palette() :
- palette_foreground(1.0f, 1.0f),
- palette_background(0.5f, 0.75f),
- palette_border(0.0f, 0.8f, 0.0f, 0.5f),
- palette_text(0.75f, 1.0f),
- palette_highlight(1.0f, 1.0f, 0.5f),
- palette_disabled(0.5f, 0.5f, 0.5f, 1.0f),
- palette_pointer(0.0f, 0.75f, 0.0f, 1.0f),
- palette_active(0.0f, 1.0f, 0.0f, 1.0f),
- palette_debug(0.50f, 0.75f),
- palette_mission(1.0f, 0.5f, 1.0f, 1.0f),
- palette_bold(1.0f, 1.0f),
- palette_fancy(0.0f, 1.0f, 0.0f, 1.0f),
- palette_warning(1.0f, 1.0f, 0.0f, 1.0f),
- palette_error(1.0f, 0.0f, 0.0f, 1.0f)
+ palette_foreground(1.0f, 1.0f),
+ palette_background(0.5f, 0.75f),
+ palette_border(0.0f, 0.8f, 0.0f, 0.5f),
+ palette_text(0.75f, 1.0f),
+ palette_highlight(1.0f, 1.0f, 0.5f),
+ palette_disabled(0.5f, 0.5f, 0.5f, 1.0f),
+ palette_pointer(0.0f, 0.75f, 0.0f, 1.0f),
+ palette_active(0.0f, 1.0f, 0.0f, 1.0f),
+ palette_debug(0.50f, 0.75f),
+ palette_mission(1.0f, 0.5f, 1.0f, 1.0f),
+ palette_bold(1.0f, 1.0f),
+ palette_fancy(0.0f, 1.0f, 0.0f, 1.0f),
+ palette_warning(1.0f, 1.0f, 0.0f, 1.0f),
+ palette_error(1.0f, 0.0f, 0.0f, 1.0f)
{
}
@@ -35,7 +35,7 @@ Palette::~Palette()
const math::Color &Palette::color(Color palettecolor) const
{
- switch(palettecolor) {
+ switch (palettecolor) {
case Foreground:
return foreground();
break;