summaryrefslogtreecommitdiff
path: root/otk/renderstyle.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-23 07:26:32 +0000
committerDana Jansens <danakj@orodu.net>2003-01-23 07:26:32 +0000
commit9a64438a5a53624e5f5c7c3dbb5123e246693e5e (patch)
tree82c2559946ff9fe3cef8686623d9d43c1a0bb7dc /otk/renderstyle.cc
parentbf3a40ad66d20b85c21233fce909c22f8dcf0bf8 (diff)
set the root window, to a color for now
Diffstat (limited to 'otk/renderstyle.cc')
-rw-r--r--otk/renderstyle.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/otk/renderstyle.cc b/otk/renderstyle.cc
index a2cfae21..41745ea0 100644
--- a/otk/renderstyle.cc
+++ b/otk/renderstyle.cc
@@ -14,6 +14,8 @@ RenderStyle::RenderStyle(int screen, const std::string &stylefile)
: _screen(screen),
_file(stylefile)
{
+ _root_color = new RenderColor(_screen, 0x272a2f);
+
_text_color_focus = new RenderColor(_screen, 0x272a2f);
_text_color_unfocus = new RenderColor(_screen, 0x676869);
@@ -220,6 +222,8 @@ RenderStyle::RenderStyle(int screen, const std::string &stylefile)
RenderStyle::~RenderStyle()
{
+ delete _root_color;
+
delete _text_color_focus;
delete _text_color_unfocus;