www.pudn.com > DialogOpenGL.rar > DialogOpenGLDlg.h
// DialogOpenGLDlg.h : header file
//
#if !defined(AFX_DIALOGOPENGLDLG_H__68491D06_FAE7_4965_95EA_82DFFCE60EB4__INCLUDED_)
#define AFX_DIALOGOPENGLDLG_H__68491D06_FAE7_4965_95EA_82DFFCE60EB4__INCLUDED_
#include "OpenGL.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CDialogOpenGLDlg dialog
class CDialogOpenGLDlg : public CDialog
{
// Construction
public:
CDialogOpenGLDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDialogOpenGLDlg)
enum { IDD = IDD_DIALOGOPENGL_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDialogOpenGLDlg)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
COpenGL m_openGL;
HICON m_hIcon;
bool isModelLoaded;
// Generated message map functions
//{{AFX_MSG(CDialogOpenGLDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnFullscreen();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnLoadModel();
afx_msg void OnDeepPlus();
afx_msg void OnDeepMinus();
afx_msg void OnLeft();
afx_msg void OnRight();
afx_msg void OnOutLine();
afx_msg void OnTexture();
afx_msg void OnShow1();
afx_msg void OnShow2();
afx_msg void OnDrawTexture();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DIALOGOPENGLDLG_H__68491D06_FAE7_4965_95EA_82DFFCE60EB4__INCLUDED_)