src/Graphics/GUIStyle.hh
branchnew_graphics
changeset 412 721c60072091
parent 410 41fd46cffc52
--- a/src/Graphics/GUIStyle.hh	Wed Jan 21 03:33:35 2009 +0200
+++ b/src/Graphics/GUIStyle.hh	Wed Jan 21 23:07:22 2009 +0200
@@ -1,8 +1,9 @@
 #ifndef GRAPHICS_GUI_STYLE_HH
 #define GRAPHICS_GUI_STYLE_HH
 
-#include <ClanLib/gui.h>
-#include <ClanLib/guistyleboring.h>
+#include "GUI.hh"
+
+#include <ClanLib/guistylesilver.h>
 
 namespace graphics
 {
@@ -10,13 +11,13 @@
 /**
  * Our CL_StyleManager used for drawing ClanLib's GUI components
  */    
-class GUIStyle : public CL_StyleManager_Boring {
+class GUIStyle : public CL_StyleManager_Silver {
 public:
     /**
      * Construct GUI style
      */
     GUIStyle (CL_ResourceManager *resources) :
-        CL_StyleManager_Boring(resources)
+        CL_StyleManager_Silver(resources)
     {
 
     }
@@ -24,10 +25,10 @@
     /**
      * Handle attaching style objects to components
      */
-    virtual void connect_styles (const std::string &type, CL_Component *owner) {
+    virtual void connect_styles (const std::string &type, CL_Component *component) {
 
         // default to parent impl
-        CL_StyleManager_Boring::connect_styles(type, component);
+        CL_StyleManager_Silver::connect_styles(type, component);
     }
 };