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

📄 mainwin.h

📁 用MFC写的RPG游戏
💻 H
字号:
//
//	Script player main window
//
//		Copyright (c) 2000-2001 Chihiro.SAKAMOTO (HyperWorks)
//
#ifndef __MainWin_h__
#define __MainWin_h__

#include "Window.h"
#include "dc.h"
#include "Image.h"
#include "DrawImage.h"
#include "Sprite.h"

//
//	主窗口类别
//
class CMainWin: public CWindow {
  public:
	LRESULT WindowProc(UINT uMsg, WPARAM wParam, LPARAM lParam);

	void OnCommand(UINT notifyCode, UINT id, HWND ctrl);

  protected:
	virtual BOOL PreCreateWindow(CREATESTRUCT &cs);

	BOOL OnCreate(CREATESTRUCT *cs);
	void OnClose();
	void OnPaint();

  protected:
	CDrawImage	ViewImage;				// 显示
	CImage		Back;					// 背景
	CImage		SpriteImage;			// 贴图零件的图像
	CSprite		Sprite[4];				// 贴图零件(sprite)
} ;

#endif

⌨️ 快捷键说明

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