src/Graphics/GUIStyle.hh
branchnew_graphics
changeset 410 41fd46cffc52
child 412 721c60072091
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/Graphics/GUIStyle.hh	Wed Jan 21 01:57:24 2009 +0200
@@ -0,0 +1,36 @@
+#ifndef GRAPHICS_GUI_STYLE_HH
+#define GRAPHICS_GUI_STYLE_HH
+
+#include <ClanLib/gui.h>
+#include <ClanLib/guistyleboring.h>
+
+namespace graphics
+{
+
+/**
+ * Our CL_StyleManager used for drawing ClanLib's GUI components
+ */    
+class GUIStyle : public CL_StyleManager_Boring {
+public:
+    /**
+     * Construct GUI style
+     */
+    GUIStyle (CL_ResourceManager *resources) :
+        CL_StyleManager_Boring(resources)
+    {
+
+    }
+    
+    /**
+     * Handle attaching style objects to components
+     */
+    virtual void connect_styles (const std::string &type, CL_Component *owner) {
+
+        // default to parent impl
+        CL_StyleManager_Boring::connect_styles(type, component);
+    }
+};
+
+}
+
+#endif