⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 treeitem_boring.h

📁 这是一款2d游戏引擎
💻 H
字号:
/*  $Id: treeitem_boring.h,v 1.6 2004/01/03 23:03:22 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: Boring"
//! header=guistyleboring.h

#ifndef header_treeitem_boring
#define header_treeitem_boring

#if _MSC_VER > 1000
#pragma once
#endif

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

class CL_Font;
class CL_StyleManager_Boring;

//: Theme class for CL_TreeItem for Boring theme.
//- !group=GUI/Style: Boring!
//- !header=guistyleboring.h!
class CL_TreeItem_Boring : public CL_ComponentStyle
{
public:
	CL_TreeItem_Boring(
		CL_TreeItem *item,
		CL_StyleManager_Boring *style);

	virtual ~CL_TreeItem_Boring();

	void on_paint();
	void on_get_preferred_size(CL_Size &size);

private:
	CL_Slot slot_paint;
	CL_Slot slot_get_preferred_size;

	CL_TreeItem *item;

	CL_Font *font;

	CL_StyleManager_Boring *style;
	CL_ResourceManager *resources;
};

#endif

⌨️ 快捷键说明

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