summaryrefslogtreecommitdiff
path: root/otk/renderstyle.cc
diff options
context:
space:
mode:
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;