]> Dogcows Code - chaz/openbox/blobdiff - otk/application.cc
add rendercolor class, with a cache of gcs for the colors
[chaz/openbox] / otk / application.cc
index fd8689ee83ee95b127a5d9ee52daf7d372021c3b..e325a58218bc824557bcf4b5573a85b4b9bff9f3 100644 (file)
@@ -8,6 +8,8 @@
 #include "eventhandler.hh"
 #include "widget.hh"
 #include "timer.hh"
+#include "property.hh"
+#include "rendercolor.hh"
 
 extern "C" {
 #ifdef HAVE_STDLIB_H
@@ -31,6 +33,8 @@ Application::Application(int argc, char **argv)
   const ScreenInfo *s_info = _display.screenInfo(DefaultScreen(*_display));
 
   Timer::initialize();
+  RenderColor::initialize();
+  Property::initialize();
   _img_ctrl = new ImageControl(s_info, True, 4, 5, 200);
   _style_conf = new Configuration(False);
   _style = new Style(_img_ctrl);
@@ -43,6 +47,7 @@ Application::~Application()
   delete _style_conf;
   delete _img_ctrl;
   delete _style;
+  RenderColor::destroy();
   Timer::destroy();
 }
 
This page took 0.022877 seconds and 4 git commands to generate.