📄 flowcharterview.h
字号:
// FlowcharterView.h : interface of the CFlowcharterView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_FLOWCHARTERVIEW_H__50CDD008_9534_443D_8161_E058963BE0B8__INCLUDED_)
#define AFX_FLOWCHARTERVIEW_H__50CDD008_9534_443D_8161_E058963BE0B8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "FlowchartEditor/FlowchartEditor.h"
class CFlowcharterView : public CView
{
protected: // create from serialization only
CFlowcharterView();
DECLARE_DYNCREATE(CFlowcharterView)
// Attributes
public:
CFlowcharterDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFlowcharterView)
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 ~CFlowcharterView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CFlowcharterView)
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnButtonBox();
afx_msg void OnButtonCondition();
afx_msg void OnButtonConnector();
afx_msg void OnButtonIo();
afx_msg void OnButtonLine();
afx_msg void OnButtonStart();
afx_msg void OnEditCopy();
afx_msg void OnUpdateEditCopy(CCmdUI* pCmdUI);
afx_msg void OnEditCut();
afx_msg void OnUpdateEditCut(CCmdUI* pCmdUI);
afx_msg void OnEditPaste();
afx_msg void OnUpdateEditPaste(CCmdUI* pCmdUI);
afx_msg void OnEditUndo();
afx_msg void OnUpdateEditUndo(CCmdUI* pCmdUI);
afx_msg void OnExportToMeta();
afx_msg void OnButtonArrow();
afx_msg void OnButtonSnap();
afx_msg void OnUpdateButtonSnap(CCmdUI* pCmdUI);
afx_msg void OnButtonLabel();
afx_msg void OnBreakLink();
afx_msg void OnUpdateBreakLink(CCmdUI* pCmdUI);
afx_msg void OnCreateLink();
afx_msg void OnUpdateCreateLink(CCmdUI* pCmdUI);
afx_msg void OnLinkLabel();
afx_msg void OnUpdateLinkLabel(CCmdUI* pCmdUI);
afx_msg void OnFlipLink();
afx_msg void OnUpdateFlipLink(CCmdUI* pCmdUI);
afx_msg void OnShowProperties();
afx_msg void OnUpdateShowProperties(CCmdUI* pCmdUI);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
// Private data
CFlowchartEditor m_editor;
int m_screenResolutionX;
};
#ifndef _DEBUG // debug version in FlowcharterView.cpp
inline CFlowcharterDoc* CFlowcharterView::GetDocument()
{ return (CFlowcharterDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FLOWCHARTERVIEW_H__50CDD008_9534_443D_8161_E058963BE0B8__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -