From 7fe3301e7ea905a8a76d54c22751f3d8a346e28b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 14 Feb 2003 23:05:59 +0000 Subject: Add the "obsetroot" tool. Use it to set the root background. --- otk/renderstyle.hh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'otk/renderstyle.hh') 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 +#include 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 -- cgit v1.2.3