]> Dogcows Code - chaz/openbox/blobdiff - otk/renderstyle.hh
Add the "obsetroot" tool. Use it to set the root background.
[chaz/openbox] / otk / renderstyle.hh
index 69c26a7fa189ecf5666e20c3dba0f01cde283462..0f512148e94e6f503885b13528726a13b541680c 100644 (file)
@@ -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
This page took 0.02252 seconds and 4 git commands to generate.