From 0348a2f3abd2334f5f5812c5fb45c1b4fffb46a5 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 20 Jan 2003 07:07:13 +0000 Subject: add rendercolor class, with a cache of gcs for the colors --- otk/application.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'otk/application.cc') 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(); } -- cgit v1.2.3