dcframewnd.h

来自「一个井字棋的游戏 可供人工智能初学者参考 简单的博弈」· C头文件 代码 · 共 73 行

H
73
字号
#if !defined(AFX_DCFRAMEWND_H__8808E2D5_AACD_464F_B9D0_8ABAC1CB1256__INCLUDED_)
#define AFX_DCFRAMEWND_H__8808E2D5_AACD_464F_B9D0_8ABAC1CB1256__INCLUDED_

	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DCFrameWnd.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// DCFrameWnd frame
#include "GameMain.h"
//////////////////////////////////////////////////////////////////////////

class DCFrameWnd : public CFrameWnd
{
	DECLARE_DYNCREATE(DCFrameWnd)
protected:
       // protected constructor used by dynamic creation

// Attributes
public:

	DCFrameWnd();    
// Operations
public:
	GameMain m_game;

	int mouse_x;
	int mouse_y;
	int tmp_x;
	int tmp_y;

	int tmp_input;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(DCFrameWnd)
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~DCFrameWnd();

	// Generated message map functions
	//{{AFX_MSG(DCFrameWnd)
	afx_msg void OnMenuAbout();
	afx_msg void OnMenuExit();
	afx_msg void OnPaint();
	afx_msg void OnMenu0();
	afx_msg void OnMenu1();
	afx_msg void OnMenu2();
	afx_msg void OnMenu3();
	afx_msg void OnMenu4();
	afx_msg void OnMenu5();
	afx_msg void OnMenuAiFirst();
	afx_msg void OnMenuHelp();
	afx_msg void OnMenuPlayerFirst();
	afx_msg void OnMenu6();
	afx_msg void OnMenu7();
	afx_msg void OnMenu8();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_DCFRAMEWND_H__8808E2D5_AACD_464F_B9D0_8ABAC1CB1256__INCLUDED_)

⌨️ 快捷键说明

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