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

📄 test.h

📁 一个非常有用的开源代码
💻 H
字号:
// ********************************************************
// This is demo code. You may derive from, use, modify, and
// distribute it without limitation for any purpose.
// Obviously you don't get a warranty or an assurance of
// fitness for a particular purpose with this code. Your
// welcome to remove this header and claim original
// authorship. I really don't care.
// ********************************************************

#ifndef __TEST_H__
#define __TEST_H__

#include "Gui.h"

class TestController;



class TestView : public ViewBase
{
protected:
	GImage* m_pImage;

public:
	TestView(TestController* pController);
	virtual ~TestView();

	virtual void OnChar(char c);
	virtual void OnMouseDown(int x, int y);
	virtual void OnMouseUp(int x, int y);
	virtual bool OnMousePos(int x, int y);

protected:
	virtual void Draw(SDL_Surface *pScreen);
};










class TestController : public ControllerBase
{
protected:

public:
	TestController();
	virtual ~TestController();

	void RunModal();
};

#endif // __MAINMENU_H__

⌨️ 快捷键说明

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