new graphics code compiles... no, it doesn't work yet
#ifndef GRAPHICS_GUI_STYLE_HH
#define GRAPHICS_GUI_STYLE_HH
#include "GUI.hh"
#include <ClanLib/guistylesilver.h>
namespace graphics
{
/**
* Our CL_StyleManager used for drawing ClanLib's GUI components
*/
class GUIStyle : public CL_StyleManager_Silver {
public:
/**
* Construct GUI style
*/
GUIStyle (CL_ResourceManager *resources) :
CL_StyleManager_Silver(resources)
{
}
/**
* Handle attaching style objects to components
*/
virtual void connect_styles (const std::string &type, CL_Component *component) {
// default to parent impl
CL_StyleManager_Silver::connect_styles(type, component);
}
};
}
#endif