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-12 14:55:10 +0000
committerStijn Buys <ingar@osirion.org>2008-10-12 14:55:10 +0000
commitb417df720584c101f3799874a0c836a543a8d0a8 (patch)
treefb7105ed662f13753a6ab8d3efb047bad04f2316 /src/ui/palette.h
parent18383a5fc596bf9546f14d7393ee66c57720b116 (diff)
user interface updates, work-in-progress
Diffstat (limited to 'src/ui/palette.h')
-rw-r--r--src/ui/palette.h51
1 files changed, 37 insertions, 14 deletions
diff --git a/src/ui/palette.h b/src/ui/palette.h
index edd738f..9d27f95 100644
--- a/src/ui/palette.h
+++ b/src/ui/palette.h
@@ -9,7 +9,8 @@
#include "math/color.h"
-namespace ui {
+namespace ui
+{
class Palette
{
@@ -17,28 +18,50 @@ class Palette
public:
Palette();
~Palette();
-
+
void set_foreground(math::Color const &color);
-
+
void set_highlight(math::Color const &color);
-
+
void set_background(math::Color const &color);
-
+
void set_border(math::Color const &color);
-
- inline math::Color const &foreground() const { return palette_foreground; }
-
- inline math::Color const &highlight() const { return palette_highlight; }
-
- inline math::Color const &background() const { return palette_background; }
-
- inline math::Color const &border() const { return palette_border; }
-
+
+ void set_pointer(math::Color const &color);
+
+ void set_active(math::Color const &color);
+
+ inline math::Color const &foreground() const {
+ return palette_foreground;
+ }
+
+ inline math::Color const &highlight() const {
+ return palette_highlight;
+ }
+
+ inline math::Color const &background() const {
+ return palette_background;
+ }
+
+ inline math::Color const &border() const {
+ return palette_border;
+ }
+
+ inline math::Color const &pointer() const {
+ return palette_pointer;
+ }
+
+ inline math::Color const &active() const {
+ return palette_active;
+ }
+
private:
math::Color palette_foreground;
math::Color palette_highlight;
math::Color palette_background;
+ math::Color palette_pointer;
+ math::Color palette_active;
math::Color palette_border;
};