summaryrefslogtreecommitdiff
path: root/otk/application.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-20 07:07:13 +0000
committerDana Jansens <danakj@orodu.net>2003-01-20 07:07:13 +0000
commit0348a2f3abd2334f5f5812c5fb45c1b4fffb46a5 (patch)
treef19e07f899a3e390dbc8f2484d6b1426defcbb47 /otk/application.cc
parentcfd8f9a65848c5e7b0514999581512069a4f98f6 (diff)
add rendercolor class, with a cache of gcs for the colors
Diffstat (limited to 'otk/application.cc')
-rw-r--r--otk/application.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/otk/application.cc b/otk/application.cc
index f101a5a3..e325a582 100644
--- a/otk/application.cc
+++ b/otk/application.cc
@@ -9,6 +9,7 @@
#include "widget.hh"
#include "timer.hh"
#include "property.hh"
+#include "rendercolor.hh"
extern "C" {
#ifdef HAVE_STDLIB_H
@@ -32,6 +33,7 @@ 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);
@@ -45,6 +47,7 @@ Application::~Application()
delete _style_conf;
delete _img_ctrl;
delete _style;
+ RenderColor::destroy();
Timer::destroy();
}