summaryrefslogtreecommitdiff
path: root/otk/renderstyle.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-22 22:20:26 +0000
committerDana Jansens <danakj@orodu.net>2003-01-22 22:20:26 +0000
commit75e8fc2705d9c606a702eb7057e9e503be90618b (patch)
treeb69381a6f72496b1b9f3add6a5b8bcee1173948b /otk/renderstyle.hh
parentc487295c75094be3858b76b23fc9863ec9d46b59 (diff)
hardcoded renderstyle
Diffstat (limited to 'otk/renderstyle.hh')
-rw-r--r--otk/renderstyle.hh24
1 files changed, 18 insertions, 6 deletions
diff --git a/otk/renderstyle.hh b/otk/renderstyle.hh
index 0ecb8e4d..c23d45aa 100644
--- a/otk/renderstyle.hh
+++ b/otk/renderstyle.hh
@@ -3,6 +3,8 @@
#define __renderstyle_hh
#include "rendertexture.hh"
+#include "rendercolor.hh"
+#include "font.hh"
#include <string>
@@ -20,11 +22,15 @@ private:
int _screen;
std::string _file;
- RenderColor *_text_focus_color;
- RenderColor *_text_unfocus_color;
+ RenderColor *_text_color_focus;
+ RenderColor *_text_color_unfocus;
+
+ RenderColor *_button_color_focus;
+ RenderColor *_button_color_unfocus;
RenderColor *_frame_border_color;
- int _frame_border_wirth;
+ int _frame_border_width;
+
RenderColor *_client_border_color_focus;
RenderColor *_client_border_color_unfocus;
int _client_border_width;
@@ -59,8 +65,13 @@ public:
inline RenderColor *textFocusColor() const { return _text_color_focus; }
inline RenderColor *textUnfocusColor() const { return _text_color_unfocus; }
+ inline RenderColor *buttonFocusColor() const { return _button_color_focus; }
+ inline RenderColor *buttonUnfocusColor() const
+ { return _button_color_unfocus; }
+
inline RenderColor *frameBorderColor() const { return _frame_border_color; }
- inline int frameBorderWidth() const { return _frame_border_wirth; }
+ inline int frameBorderWidth() const { return _frame_border_width; }
+
inline RenderColor *clientBorderFocusColor() const
{ return _client_border_color_focus; }
inline RenderColor *clientBorderUnfocusColor() const
@@ -75,8 +86,9 @@ public:
inline RenderTexture *labelFocusBackground() const { return _label_focus; }
inline RenderTexture *labelUnfocusBackground() const { return _label_unfocus;}
- inline RenderTexture *handleFocusBackground() const { _handle_focus; }
- inline RenderTexture *handleUnfocusBackground() const { _handle_unfocus; }
+ inline RenderTexture *handleFocusBackground() const { return _handle_focus; }
+ inline RenderTexture *handleUnfocusBackground() const
+ { return _handle_unfocus; }
inline RenderTexture *buttonUnpressFocusBackground() const
{ return _button_unpress_focus; }