OpenGLDiagnostics.h
资源名称:gloop.zip [点击查看]
上传用户:shxiangxiu
上传日期:2007-01-03
资源大小:1101k
文件大小:2k
源码类别:
OpenGL
开发平台:
Visual C++
- /////////////////////////////////////////////////////////////////////////////
- // OpenGLDiagnostics.h : Header file; Defines the class definitions
- //
- // glOOP (OpenGL Object Oriented Programming library)
- // Copyright (c) Craig Fahrnbach 1997, 1998
- //
- // OpenGL is a registered trademark of Silicon Graphics
- //
- //
- // This program is provided for educational and personal use only and
- // is provided without guarantee or warrantee expressed or implied.
- //
- // Commercial use is strickly prohibited without written permission
- // from ImageWare Development.
- //
- // This program is -not- in the public domain.
- //
- /////////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////////
- // COpenGLDiagnostics dialog
- class AFX_EXT_CLASS COpenGLDiagnostics : public CDialog
- {
- // Construction
- public:
- COpenGLDiagnostics(HDC hDC, HGLRC hRC, CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(COpenGLDiagnostics)
- enum { IDD = IDD_OPENGL_DIAGNOSTICS };
- // NOTE: the ClassWizard will add data members here
- CString m_szVendor;
- CString m_szExtensions;
- CString m_szRenderer;
- CString m_szVersion;
- CString m_szGluVendor;
- CString m_szGluExtensions;
- CString m_szError1;
- CString m_szError2;
- CString m_szError3;
- CString m_szError4;
- CString m_szError5;
- CString m_szError6;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(COpenGLDiagnostics)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HDC m_hDC; // Handle to our device context
- HGLRC m_hRC; // Handle to our rendering context
- // Generated message map functions
- //{{AFX_MSG(COpenGLDiagnostics)
- virtual BOOL OnInitDialog();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };