📄 mazeview.h
字号:
// MazeView.h : interface of the CMazeView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAZEVIEW_H__1AEDD236_D1B0_47B1_B324_B1C6EB795384__INCLUDED_)
#define AFX_MAZEVIEW_H__1AEDD236_D1B0_47B1_B324_B1C6EB795384__INCLUDED_
//#include "Shape.h"
#include "TopRight.h"
#include "Cross1.h"
#include "Erect.h"
#include "Across.h"
#include "TopLeft.h"
#include "BottomLeft.h"
#include "BottomRight1.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMazeView : public CView
{
protected: // create from serialization only
CMazeView();
DECLARE_DYNCREATE(CMazeView)
// Attributes
public:
CMazeDoc* GetDocument();
// Operations
public:
CObject *pObject;
CObList *pList;
int Flag;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMazeView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnInitialUpdate();
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 ~CMazeView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CMazeView)
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void Oncross();
afx_msg void Onselect();
afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void Onacross();
afx_msg void Onerect();
afx_msg void OnTopRight();
afx_msg void OnTopLeft();
afx_msg void OnBottomLeft();
afx_msg void OnBottomRight();
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in MazeView.cpp
inline CMazeDoc* CMazeView::GetDocument()
{ return (CMazeDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAZEVIEW_H__1AEDD236_D1B0_47B1_B324_B1C6EB795384__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -