📄 mainfrm.h
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__6A16381F_755B_463D_AFB4_C81DF4CE5737__INCLUDED_)
#define AFX_MAINFRM_H__6A16381F_755B_463D_AFB4_C81DF4CE5737__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ConvexHullView.h"
//##ModelId=443378C7025E
class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
//##ModelId=443378C70265
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// Attributes
public:
// Operations
public:
//##ModelId=443378C7026E
CConvexHullView *GetActiveConvexHullView() { return (CConvexHullView*)GetActiveView(); };
//##ModelId=443378C7026F
CStatusBar *GetStatusBar() { return &m_wndStatusBar; }
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
//##ModelId=443378C70270
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
//##ModelId=443378C70273
virtual ~CMainFrame();
#ifdef _DEBUG
//##ModelId=443378C70278
virtual void AssertValid() const;
//##ModelId=443378C7027A
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // control bar embedded members
//##ModelId=443378C70296
CStatusBar m_wndStatusBar;
//##ModelId=443378C702A1
CToolBar m_wndToolBar;
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
//##ModelId=443378C702A5
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
//##ModelId=443378C702AA
afx_msg void OnUpdateZoomAdjust(CCmdUI* pCmdUI);
//##ModelId=443378C702AD
afx_msg void OnZoomAdjust();
//##ModelId=443378C702B5
afx_msg void OnDemoRun();
//##ModelId=443378C702B7
afx_msg void OnUpdateDemoRun(CCmdUI* pCmdUI);
//##ModelId=443378C702BF
afx_msg void OnZoomIn();
//##ModelId=443378C702C1
afx_msg void OnUpdateZoomIn(CCmdUI* pCmdUI);
//##ModelId=443378C702C9
afx_msg void OnZoomOut();
//##ModelId=443378C702CB
afx_msg void OnUpdateZoomOut(CCmdUI* pCmdUI);
//##ModelId=443378C702D3
afx_msg void OnPutPoint();
//##ModelId=443378C702D5
afx_msg void OnUpdatePutPoint(CCmdUI* pCmdUI);
//##ModelId=443378C702DD
afx_msg void OnGetConvexHull();
//##ModelId=443378C702DF
afx_msg void OnUpdateGetConvexHull(CCmdUI* pCmdUI);
//##ModelId=443378C702E7
afx_msg void OnDemoPause();
//##ModelId=443378C702E9
afx_msg void OnUpdateDemoPause(CCmdUI* pCmdUI);
//##ModelId=443378C702F0
afx_msg void OnUpdateDeletePoint(CCmdUI* pCmdUI);
//##ModelId=443378C702F3
afx_msg void OnDeletePoint();
//##ModelId=443378C702FA
afx_msg void OnAddRandomPoints();
//##ModelId=443378C702FC
afx_msg void OnUpdateAddRandomPoints(CCmdUI* pCmdUI);
//##ModelId=443378C70304
afx_msg void OnErasePoints();
//##ModelId=443378C70306
afx_msg void OnUpdateErasePoints(CCmdUI* pCmdUI);
//##ModelId=443378C7030E
afx_msg void OnInputPoints();
//##ModelId=443378C70310
afx_msg void OnUpdateInputPoints(CCmdUI* pCmdUI);
//##ModelId=443378C70313
afx_msg void OnUpdateEraseAllPoints(CCmdUI* pCmdUI);
//##ModelId=443378C7031A
afx_msg void OnEraseAllPoints();
//##ModelId=443378C7031C
afx_msg void OnUpdateFileExport(CCmdUI* pCmdUI);
//##ModelId=443378C70323
afx_msg void OnFileExport();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H__6A16381F_755B_463D_AFB4_C81DF4CE5737__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -