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