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

📄 window_zz.h

📁 这是一款2d游戏引擎
💻 H
字号:

#ifndef header_window_style_zz
#define header_window_style_zz

#if _MSC_VER > 1000
#pragma once
#endif

#include <ClanLib/gui.h>

class CL_Window;
class CL_ComponentOptions;
class CL_StyleManager_ZZ;
class CL_ResourceManager;
class CL_ComponentMoveHandler;

class CL_Window_ZZ : public CL_ComponentStyle
{
public:
	CL_Window_ZZ(CL_Window *window,	CL_StyleManager_ZZ *style);

	virtual ~CL_Window_ZZ();

private:
	void on_paint();
	void on_quit();

	CL_Slot slot_paint;
	CL_Slot slot_quit;

	CL_Button *button_quit;
	CL_Window *window;
	CL_ComponentMoveHandler * move_handler;
	CL_ResourceManager *resources;
	CL_StyleManager_ZZ *style;
    CL_Font * title_font;

    CL_Rect rc_title;
    CL_Rect rc_main;
    bool first_paint;
};

#endif

⌨️ 快捷键说明

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