www.pudn.com > OpenGL实现三维绘图.rar > YProject.h
#if !defined(AFX_YPROJECT_H__98ECF158_13FF_4EFA_AE35_E8A0F13C930F__INCLUDED_)
#define AFX_YPROJECT_H__98ECF158_13FF_4EFA_AE35_E8A0F13C930F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// YProject.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CYProject view
class CMainFrame;
class CYProject : public CView
{
protected:
CYProject(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CYProject)
// Attributes
public:
CMainFrame *m_pFr;
// Operations
public:
void YProjection(CDC* pDC);
void DrawYCoordinate(CDC* pDC);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CYProject)
public:
virtual void OnInitialUpdate();
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CYProject();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CYProject)
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_YPROJECT_H__98ECF158_13FF_4EFA_AE35_E8A0F13C930F__INCLUDED_)