test_aggview.h

来自「agg图形库在WINCE下的一个DEMO」· C头文件 代码 · 共 67 行

H
67
字号
// test_aggView.h : interface of the CTest_aggView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_TEST_AGGVIEW_H__0AC596F3_FAAC_4EA6_B2B6_C2B0B5260619__INCLUDED_)
#define AFX_TEST_AGGVIEW_H__0AC596F3_FAAC_4EA6_B2B6_C2B0B5260619__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

class CTest_aggView : public CView
{
protected: // create from serialization only
	CTest_aggView();
	DECLARE_DYNCREATE(CTest_aggView)

// Attributes
public:
	CTest_aggDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTest_aggView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CTest_aggView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CTest_aggView)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in test_aggView.cpp
inline CTest_aggDoc* CTest_aggView::GetDocument()
   { return (CTest_aggDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TEST_AGGVIEW_H__0AC596F3_FAAC_4EA6_B2B6_C2B0B5260619__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?