// ogl3d03View.h : interface of the COgl3d03View class
//
/////////////////////////////////////////////////////////////////////////////
#include <gl\gl.h>
#include <gl\glu.h>
#if !defined(AFX_OGL3D03VIEW_H__E3AA5A4C_74D4_11D7_B5B9_00106090150C__INCLUDED_)
#define AFX_OGL3D03VIEW_H__E3AA5A4C_74D4_11D7_B5B9_00106090150C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class COgl3d03View : public CView
{
protected: // create from serialization only
COgl3d03View();
DECLARE_DYNCREATE(COgl3d03View)
// Attributes
public:
COgl3d03Doc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(COgl3d03View)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~COgl3d03View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
void DrawWithOpenGL();
HGLRC m_hRC;
//{{AFX_MSG(COgl3d03View)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in ogl3d03View.cpp
inline COgl3d03Doc* COgl3d03View::GetDocument()
{ return (COgl3d03Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_OGL3D03VIEW_H__E3AA5A4C_74D4_11D7_B5B9_00106090150C__INCLUDED_)