www.pudn.com > OpenGL实现三维绘图.rar > XProject.h
#if !defined(AFX_XPROJECT_H__B65FEF34_0772_4E45_8B2A_5A100746C151__INCLUDED_)
#define AFX_XPROJECT_H__B65FEF34_0772_4E45_8B2A_5A100746C151__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// XProject.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CXProject view
class CMainFrame;
class CXProject : public CView
{
protected:
CXProject(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CXProject)
// Attributes
public:
CMainFrame *m_pFr;
// Operations
public:
void XProjection(CDC *pDC);
void DrawXCoordinate(CDC *pDC);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CXProject)
public:
virtual void OnInitialUpdate();
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CXProject();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CXProject)
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_XPROJECT_H__B65FEF34_0772_4E45_8B2A_5A100746C151__INCLUDED_)