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

📄 honnoiview.h

📁 汉罗塔
💻 H
字号:
// HonnoiView.h : interface of the CHonnoiView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_HONNOIVIEW_H__D6AD2C07_9E89_42DD_8BFF_79A7340E24C5__INCLUDED_)
#define AFX_HONNOIVIEW_H__D6AD2C07_9E89_42DD_8BFF_79A7340E24C5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "HonnoiSeat.h"
#include "HonnoiTray.h"
#include "SHEZHI.h"
class CHonnoiView : public CView
{
protected: // create from serialization only
	CHonnoiView();
	DECLARE_DYNCREATE(CHonnoiView)

// Attributes
public:
	void move_a_disk(int N, int s, int e);
	void honnoi(int N, int s, int e, int t);
	CHonnoiDoc* GetDocument();
	CHonnoiSeat *HonnoiSeat;
	CHonnoiTray *HonnoiTray;
	int Total;
	int Needle[4];
	bool Start;
	bool shezhi;
	int Time;
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CHonnoiView)
	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:
	virtual ~CHonnoiView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CHonnoiView)
	afx_msg void OnStart();
	afx_msg void OnShezhi();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void Draw();
};

#ifndef _DEBUG  // debug version in HonnoiView.cpp
inline CHonnoiDoc* CHonnoiView::GetDocument()
   { return (CHonnoiDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_HONNOIVIEW_H__D6AD2C07_9E89_42DD_8BFF_79A7340E24C5__INCLUDED_)

⌨️ 快捷键说明

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