X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Frenderstyle.cc;h=41745ea07e7899dae00934980d7b770a443c81e6;hb=44d653e3e8d042bf3f1d68108a8197a895888da8;hp=a2cfae215a8d8d26f97527e60775a47ae611ec9a;hpb=28b8f67562bb7eb15134f2bf7a8394f0a009b9ba;p=chaz%2Fopenbox 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;