📄 gamesection.h
字号:
// GameSection.h: interface for the CGameSection class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_GAMESECTION_H__76357C02_8018_4289_8FE1_12A9E01C7E3E__INCLUDED_)
#define AFX_GAMESECTION_H__76357C02_8018_4289_8FE1_12A9E01C7E3E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CGameSection
{
public:
CGameSection();
virtual ~CGameSection();
virtual void KeyDown(UINT nChar){};
virtual void KeyUp(UINT nChar){};
virtual void Reshape(int w, int h){};
virtual void Init(int=0,int=0){};
virtual void End(){};
virtual int Draw(){return 0;};
virtual void Update(int dt){};
int ScreenW;
int ScreenH;
};
#endif // !defined(AFX_GAMESECTION_H__76357C02_8018_4289_8FE1_12A9E01C7E3E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -