graphicsview.h

来自「计算机体系结构中关于通用5级流水线的模拟实现程序」· C头文件 代码 · 共 60 行

H
60
字号
#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 + =
减小字号Ctrl + -
显示快捷键?