summaryrefslogtreecommitdiff
path: root/otk/otk.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-14 23:05:59 +0000
committerDana Jansens <danakj@orodu.net>2003-02-14 23:05:59 +0000
commit7fe3301e7ea905a8a76d54c22751f3d8a346e28b (patch)
tree8b81be235862807c55393d35eb5830779afeecb1 /otk/otk.cc
parent299dc47a6b6379bba77fc489ef6825dcfe18faf5 (diff)
Add the "obsetroot" tool. Use it to set the root background.
Diffstat (limited to 'otk/otk.cc')
-rw-r--r--otk/otk.cc25
1 files changed, 25 insertions, 0 deletions
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;
+}
+
+}