src/Graphics/GUIStyle.hh
author Tero Marttila <terom@fixme.fi>
Wed, 21 Jan 2009 01:57:24 +0200
branchnew_graphics
changeset 410 41fd46cffc52
child 412 721c60072091
permissions -rw-r--r--
start working out the Graphics/* code, this is a long way from compiling, let alone working
#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