📄 stylemanager_silver.h
字号:
/* $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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -