mapeditdlg.h

来自「一款45度2D游戏地图编辑器和大家一起分享啊!」· C头文件 代码 · 共 61 行

H
61
字号
#include "afxwin.h"
#if !defined(AFX_MAPEDITDLG_H__4994B0A5_2A05_4B1B_923B_132717B002DE__INCLUDED_)
#define AFX_MAPEDITDLG_H__4994B0A5_2A05_4B1B_923B_132717B002DE__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MapEditDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CMapEditDlg dialog

class CMapEditDlg : public CDialog
{
// Construction
public:	
	DECLARE_DYNCREATE(CMapEditDlg)
	CMapEditDlg(CWnd* pParent = NULL);   // standard constructor
	int littlemapw;
	int littlemaph;
	int viewx;
	int viewy;
	bool keyDown;
	void DrawLittleMap();
// Dialog Data
	//{{AFX_DATA(CMapEditDlg)
	enum { IDD = IDD_MAPCLUB };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMapEditDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CMapEditDlg)
		// NOTE: the ClassWizard will add member functions here
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnSize(UINT nType, int cx, int cy);
	CStatic m_littlemap;
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnPaint();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAPEDITDLG_H__4994B0A5_2A05_4B1B_923B_132717B002DE__INCLUDED_)

⌨️ 快捷键说明

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