frame_boring.h

来自「这是一款2d游戏引擎」· C头文件 代码 · 共 54 行

H
54
字号
/*  $Id: frame_boring.h,v 1.6 2004/01/02 15:42:43 mbn 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: Boring"
//! header=guistyleboring.h

#ifndef header_frame_boring
#define header_frame_boring

#if _MSC_VER > 1000
#pragma once
#endif

#include "../GUI/frame.h"
#include "../GUI/component_style.h"

class CL_Surface;
class CL_StyleManager_Boring;

//: Frame default style.
//- !group=GUI/Style: Boring!
//- !header=guistyleboring.h!
class CL_Frame_Boring : public CL_ComponentStyle
{
//! Construction:
public:
	//: Constructor
	CL_Frame_Boring(
		CL_Frame *frame, 
		CL_StyleManager_Boring *style);

	//: Destructor
	virtual ~CL_Frame_Boring();

//! Implementation:
private:
	CL_Slot slot_paint;

	void on_paint();

	CL_Frame *frame;

	CL_StyleManager_Boring *style;
	CL_ResourceManager *resources;
};

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?