⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 4_1view.h

📁 俄罗斯方块
💻 H
字号:
// 4_1View.h : interface of the CMy4_1View class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_4_1VIEW_H__947603ED_CE52_11D5_B2C4_5254AB2BD63E__INCLUDED_)
#define AFX_4_1VIEW_H__947603ED_CE52_11D5_B2C4_5254AB2BD63E__INCLUDED_

#include "Russia.h"	// Added by ClassView
#include "Russiab.h"	// Added by ClassView
#include "Russia0.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CMy4_1View : public CView
{
protected: // create from serialization only
	CMy4_1View();
	DECLARE_DYNCREATE(CMy4_1View)

// Attributes
public:
	CMy4_1Doc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMy4_1View)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	CRussia0 russia0;

	int player;//几个人
	int view;//哪种界面
	CRussia russia2;
	CRussia russia;//俄罗斯类
	bool start;//开始
	CBitmap fenmian;//封面
	CBitmap xuanze[3];//选择三种图形
	int ixuanze;//选择哪一种游戏
	BOOL m_bPause;//暂停

	virtual ~CMy4_1View();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	afx_msg void OnContextMenu(CWnd*, CPoint point);
	//{{AFX_MSG(CMy4_1View)
	afx_msg void OnMenuStart();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnMenuPause();
	afx_msg void OnUpdateMenuPause(CCmdUI* pCmdUI);
	afx_msg void OnView1();
	afx_msg void OnView2();
	afx_msg void OnUpdateView1(CCmdUI* pCmdUI);
	afx_msg void OnUpdateView2(CCmdUI* pCmdUI);
	afx_msg void OnMenuDstart();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnMenuTstart();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in 4_1View.cpp
inline CMy4_1Doc* CMy4_1View::GetDocument()
   { return (CMy4_1Doc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_4_1VIEW_H__947603ED_CE52_11D5_B2C4_5254AB2BD63E__INCLUDED_)

⌨️ 快捷键说明

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