📄 searchpathview.h
字号:
// SearchPathView.h : interface of the CSearchPathView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_SEARCHPATHVIEW_H__91AB741F_4D4C_45A3_945F_425DE5914085__INCLUDED_)
#define AFX_SEARCHPATHVIEW_H__91AB741F_4D4C_45A3_945F_425DE5914085__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include<fstream.h>
#include"Water.h"
#include"AStar.h"
#include"Wave.h"
#include"ASStar.h"
#include"BothWave.h"
class CSearchPathView : public CView
{
protected: // create from serialization only
CSearchPathView();
DECLARE_DYNCREATE(CSearchPathView)
// Attributes
public:
CSearchPathDoc* GetDocument();
// Operations
private:
CAStar *AStar;
CWater *Water;
CWave *Wave;
CASStar *ASStar;
CBothWave *BothWave;
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSearchPathView)
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 ~CSearchPathView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CSearchPathView)
afx_msg void OnListAstar();
afx_msg void OnListWater();
afx_msg void OnMap1();
afx_msg void OnMap2();
afx_msg void OnMap3();
afx_msg void OnMap4();
afx_msg void OnMap5();
afx_msg void OnMap6();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnListWave();
afx_msg void OnListAsstar();
afx_msg void OnLISTBothWAVE();
afx_msg void OnMakemap();
afx_msg void OnSetBE();
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnSaveMap();
afx_msg void OnShowNode();
afx_msg void OnShowPath();
afx_msg void OnReadMap();
afx_msg void OnSaveMap1();
afx_msg void OnSaveMap2();
afx_msg void OnSaveMap3();
afx_msg void OnSaveMap4();
afx_msg void OnSaveMap5();
afx_msg void OnShowShade();
afx_msg void OnDemoAStar();
afx_msg void OnDemoWave();
afx_msg void OnDemoBothWave();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void OnInitialUpdate();
int m_showMode;
int m_ModeOfMakeMap;
int m_ifLBTUp;
int m_ifMakemap;
int m_SearchSort;
bool m_ifDouble;
int m_ifOpen;
public:
int m_numSaveMap;
};
#ifndef _DEBUG // debug version in SearchPathView.cpp
inline CSearchPathDoc* CSearchPathView::GetDocument()
{ return (CSearchPathDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SEARCHPATHVIEW_H__91AB741F_4D4C_45A3_945F_425DE5914085__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -