From 7fe3301e7ea905a8a76d54c22751f3d8a346e28b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 14 Feb 2003 23:05:59 +0000 Subject: Add the "obsetroot" tool. Use it to set the root background. --- otk/otk.cc | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 otk/otk.cc (limited to 'otk/otk.cc') diff --git a/otk/otk.cc b/otk/otk.cc new file mode 100644 index 00000000..130e3b77 --- /dev/null +++ b/otk/otk.cc @@ -0,0 +1,25 @@ +#include "display.hh" +#include "timer.hh" +#include "renderstyle.hh" +#include "property.hh" + +namespace otk { + +void initialize() +{ + new Display(); + Timer::initialize(); + RenderColor::initialize(); + RenderStyle::initialize(); + Property::initialize(); +} + +void destroy() +{ + RenderStyle::destroy(); + RenderColor::destroy(); + Timer::destroy(); + delete display; +} + +} -- cgit v1.2.3