📄 graphicsview.h
字号:
#if !defined(AFX_GRAPHICSVIEW_H__8F76A125_6C21_4D49_AE35_F7ED3CBD949D__INCLUDED_)
#define AFX_GRAPHICSVIEW_H__8F76A125_6C21_4D49_AE35_F7ED3CBD949D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// GraphicsView.h : header file
//
#include "PipelineDoc.h"
/////////////////////////////////////////////////////////////////////////////
// GraphicsView view
class GraphicsView : public CScrollView
{
private:
CRect m_rectPrint;
protected:
GraphicsView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(GraphicsView)
// Attributes
public:
CPipelineDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(GraphicsView)
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual void OnInitialUpdate(); // first time after construct
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~GraphicsView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(GraphicsView)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
#ifndef _DEBUG // debug version in PipelineView.cpp
inline CPipelineDoc* GraphicsView::GetDocument()
{ return (CPipelineDoc*)m_pDocument; }
#endif
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GRAPHICSVIEW_H__8F76A125_6C21_4D49_AE35_F7ED3CBD949D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -