📄 snakemapdlg.h
字号:
// snakemapDlg.h : header file
//
#if !defined(AFX_SNAKEMAPDLG_H__B120D34B_6679_4784_8E01_039151E9A422__INCLUDED_)
#define AFX_SNAKEMAPDLG_H__B120D34B_6679_4784_8E01_039151E9A422__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CSnakemapDlg dialog
class CSnakemapDlg : public CDialog
{
// Construction
public:
CFile* openedfile;
int curY;
int curX;
BYTE map[480];
CSnakemapDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSnakemapDlg)
enum { IDD = IDD_SNAKEMAP_DIALOG };
CListBox m_lvlist;
int m_item1;
int m_dir;
BYTE m_snake1x;
BYTE m_snake1y;
BYTE m_snake2x;
BYTE m_snake2y;
BYTE m_snake3x;
BYTE m_snake3y;
BYTE m_snakecolor1;
BYTE m_snakecolor2;
int m_earth;
CString m_curName;
int m_speed;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSnakemapDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CSnakemapDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnRadio3();
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnChangeEdit2();
afx_msg void OnChangeEdit3();
afx_msg void OnChangeEdit4();
afx_msg void OnChangeEdit5();
afx_msg void OnChangeEdit6();
afx_msg void OnChangeEdit7();
afx_msg void OnAppAbout();
afx_msg void OnMenuitem32776();
afx_msg void OnMenuitem32775();
afx_msg void OnMenuitem32771();
afx_msg void OnMenuitem32777();
afx_msg void OnSelchangeList1();
afx_msg void OnMenuitem32772();
afx_msg void OnChangeEdit9();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SNAKEMAPDLG_H__B120D34B_6679_4784_8E01_039151E9A422__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -