Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-10-19 13:45:07 +0000
committerStijn Buys <ingar@osirion.org>2008-10-19 13:45:07 +0000
commit56cdfd3822d2800abdd2f912ab7f76a5764793a7 (patch)
tree2656c7ef694117e0554ae4a47bb09629c78ed8af /src/ui/palette.h
parente6f1fad441a7737549f463ebac1c9de062b5173d (diff)
scrollpane widget, updated chatbox
Diffstat (limited to 'src/ui/palette.h')
-rw-r--r--src/ui/palette.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/ui/palette.h b/src/ui/palette.h
index 41eee03..1ef49c7 100644
--- a/src/ui/palette.h
+++ b/src/ui/palette.h
@@ -19,11 +19,15 @@ public:
Palette();
~Palette();
- enum Color { Foreground=0, Background=1, Highlight=2, Border=3, Pointer=4, Active=5 };
+ enum Color { Foreground=0, Background=1, Highlight=2, Border=3, Pointer=4, Active=5, Debug=6 };
+ /// set foreground color
void set_foreground(math::Color const &color);
+ /// set highlight color
void set_highlight(math::Color const &color);
+
+ void set_text(math::Color const &color);
void set_background(math::Color const &color);
@@ -32,6 +36,8 @@ public:
void set_pointer(math::Color const &color);
void set_active(math::Color const &color);
+
+ void set_debug(math::Color const &olor);
inline const math::Color &foreground() const {
return palette_foreground;
@@ -40,6 +46,10 @@ public:
inline const math::Color &highlight() const {
return palette_highlight;
}
+
+ inline const math::Color &text() const {
+ return palette_text;
+ }
inline const math::Color &background() const {
return palette_background;
@@ -57,6 +67,10 @@ public:
return palette_active;
}
+ inline const math::Color &debug() const {
+ return palette_debug;
+ }
+
const math::Color &color(Palette::Color palettecolor) const;
private:
@@ -67,6 +81,8 @@ private:
math::Color palette_pointer;
math::Color palette_active;
math::Color palette_border;
+ math::Color palette_debug;
+ math::Color palette_text;
};
}