📄 地图编辑器dlg.h
字号:
// 地图编辑器Dlg.h : header file
//
#if !defined(AFX_DLG_H__3196C026_582F_11D8_8221_00E04C4000C5__INCLUDED_)
#define AFX_DLG_H__3196C026_582F_11D8_8221_00E04C4000C5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CMyDlg dialog
#include "../游戏类库/编辑.h"
#include "newmap.h"
class CMyDlg : public CDialog
{
// Construction
public:
CMyDlg(CWnd* pParent = NULL); // standard constructor
gmedit m_game; //定义类调用名
newmap m_newmap;//新建文件
int down,dowx,dowy;//按左键标志,坐标
int tim; //刷屏时间
int fidtim; //寻路时间
int no; //加入选择号
HCURSOR m_Cur; //当前光标
int dorj; //选择0动物或1景物
HWND hMCI;
// Dialog Data
//{{AFX_DATA(CMyDlg)
enum { IDD = IDD_MY_DIALOG };
CScrollBar m_hscroll;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyDlg)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMyDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnCancel();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
virtual void OnOK();
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnButton3();
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnButton4();
afx_msg void OnButton5();
afx_msg void OnButton1();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLG_H__3196C026_582F_11D8_8221_00E04C4000C5__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -