summaryrefslogtreecommitdiff
path: root/otk/renderstyle.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-14 23:05:59 +0000
committerDana Jansens <danakj@orodu.net>2003-02-14 23:05:59 +0000
commit7fe3301e7ea905a8a76d54c22751f3d8a346e28b (patch)
tree8b81be235862807c55393d35eb5830779afeecb1 /otk/renderstyle.hh
parent299dc47a6b6379bba77fc489ef6825dcfe18faf5 (diff)
Add the "obsetroot" tool. Use it to set the root background.
Diffstat (limited to 'otk/renderstyle.hh')
-rw-r--r--otk/renderstyle.hh7
1 files changed, 4 insertions, 3 deletions
diff --git a/otk/renderstyle.hh b/otk/renderstyle.hh
index 69c26a7f..0f512148 100644
--- a/otk/renderstyle.hh
+++ b/otk/renderstyle.hh
@@ -8,6 +8,7 @@
#include "ustring.hh"
#include <list>
+#include <string>
namespace otk {
@@ -49,7 +50,7 @@ private:
int _screen;
ustring _file;
- RenderColor *_root_color;
+ std::string _root_args;
RenderColor *_text_color_focus;
RenderColor *_text_color_unfocus;
@@ -97,7 +98,7 @@ public:
inline int screen() const { return _screen; }
- inline RenderColor *rootColor() const { return _root_color; }
+ inline const std::string& rootArgs() const { return _root_args; }
inline RenderColor *textFocusColor() const { return _text_color_focus; }
inline RenderColor *textUnfocusColor() const { return _text_color_unfocus; }
@@ -153,4 +154,4 @@ public:
}
-#endif // __rendertexture_hh
+#endif // __renderstyle_hh