stylemanager_silver.h
来自「这是一款2d游戏引擎」· C头文件 代码 · 共 61 行
H
61 行
/* $Id: stylemanager_silver.h,v 1.7 2004/01/05 15:46:25 sphair Exp $
ClanGUI, copyrights by various people. Have a look in the CREDITS file.
This sourcecode is distributed using the Library GNU Public Licence,
version 2 or (at your option) any later version. Please read LICENSE
for details.
*/
//! clanGUI="Style: Silver"
//! header=guistylesilver.h
#ifndef header_stylemanager_silver
#define header_stylemanager_silver
#if _MSC_VER > 1000
#pragma once
#endif
#include "../GUI/stylemanager.h"
class CL_ResourceManager;
class CL_Component;
class CL_Rect;
class CL_Color;
//: Style manager that uses the default clanlib gui style.
//- !group=GUI/Style: Silver!
//- !header=guistylesilver.h!
class CL_StyleManager_Silver : public CL_StyleManager
{
//! Construction:
public:
//: Construct a default style manager using the specified resources.
CL_StyleManager_Silver(CL_ResourceManager *resources);
//: Destructor.
virtual ~CL_StyleManager_Silver();
//! Attributes:
public:
//! Operations:
public:
//! Overrideables:
public:
//: Connect component styles to component.
//: The 'type' parameter indicates what type the component is.
virtual void connect_styles(
const std::string &type,
CL_Component *component);
//! Implementation:
private:
// Disallow copy contruction of style managers.
CL_StyleManager_Silver(const CL_StyleManager_Silver ©) : CL_StyleManager(0) { return; }
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?