📄 eightnumview.h
字号:
// EightNumView.h : interface of the CEightNumView class
//
#pragma once
#include "State.h"
#include "StateList.h"
class CEightNumView : public CView
{
protected: // create from serialization only
CEightNumView();
DECLARE_DYNCREATE(CEightNumView)
// Attributes
public:
CEightNumDoc* GetDocument() const;
// Operations
public:
// Overrides
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
// Implementation
public:
virtual ~CEightNumView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
CState* currentState;
CState initState, destState;
CStateList Open, Closed;
bool inited, found, showing;
BOOL showImmediate;
int interval;
public:
void Expand();
void RandomDest();
// Generated message map functions
protected:
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnActionSearch();
afx_msg void OnActionShowsteps();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnUpdateActionSearch(CCmdUI *pCmdUI);
afx_msg void OnUpdateActionShowsteps(CCmdUI *pCmdUI);
afx_msg void OnActionNewdestination();
afx_msg void OnUpdateActionNewdestination(CCmdUI *pCmdUI);
afx_msg void OnSetupPreferences();
};
#ifndef _DEBUG // debug version in EightNumView.cpp
inline CEightNumDoc* CEightNumView::GetDocument() const
{ return reinterpret_cast<CEightNumDoc*>(m_pDocument); }
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -