📄 gamedlg.h
字号:
// gameDlg.h : header file
//
#if !defined(AFX_GAMEDLG_H__BEAC1ACB_5B70_4945_88EC_868CE1411C47__INCLUDED_)
#define AFX_GAMEDLG_H__BEAC1ACB_5B70_4945_88EC_868CE1411C47__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
typedef struct { int Type; int x;int y; int group;int ZZ;} OBJECT;
/////////////////////////////////////////////////////////////////////////////
// CGameDlg dialog
class CGameDlg : public CDialog
{
// Construction
public:
int WentTo();
int Check( CPoint p, CRect rect);
void ReDraw();
void MoveOn(int n);
void OnDraw(CDC* pDC);
void cout(int a,int x,int y);
int check1();int check2();int check3();
void Show(OBJECT object);
void Clear(int a,int b);
void ClearUp();
void ObjectGroup(OBJECT object);
void DeleteGroup(OBJECT object);
void ChangeShape(OBJECT object);
void PreView();
void KeepData();
void InPut(OBJECT object,int t[]);
void one(OBJECT object);
void one(OBJECT object,int a,int b);
void one(int Type,int i,int j);
void Shape();
CGameDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CGameDlg)
enum { IDD = IDD_GAME_DIALOG };
CComboBox m_str;
CStatic m_Out;
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGameDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CGameDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnBackcolor();
afx_msg void OnButton1();
afx_msg void OnDown();
afx_msg void OnLeft();
afx_msg void OnRight();
afx_msg void OnUp();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnDestroy();
afx_msg void OnButton2();
afx_msg void OnButton3();
afx_msg void OnButton4();
afx_msg void OnButton5();
afx_msg void OnMyself();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GAMEDLG_H__BEAC1ACB_5B70_4945_88EC_868CE1411C47__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -