Скачиваний:
27
Добавлен:
02.05.2014
Размер:
1.25 Кб
Скачать
/////////////////////////////////////////////////////////////////////////////
// CLightDlg dialog

class CLightDlg : public CDialog
{
// Construction
public:
	void refractionChange(GLfloat type);
  BOOL Create(CView *pView);
	CLightDlg(CWnd* pParent = NULL);   // standard constructor

  CView* m_pView; // указатель на родительское окно LightView

// Dialog Data
	//{{AFX_DATA(CLightDlg)
	enum { IDD = IDD_LIGHTING };
	int		m_air;
	int		m_subdivision;
	BOOL	m_red;
	BOOL	m_green;
	BOOL	m_blue;
	BOOL	m_square;
	BOOL	m_shadows;
	BOOL	m_refraction;
	BOOL	m_sphere;
	BOOL	m_lights;
	//}}AFX_DATA

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLightDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CLightDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnMaterial(UINT nID);
  afx_msg void OnSubDivision(UINT nID);
  afx_msg void OnColors(UINT nID);
	afx_msg void OnSquare();
	afx_msg void OnRefraction();
	afx_msg void OnShadows();
	afx_msg void OnSphere();
	afx_msg void OnLights();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
Соседние файлы в папке Lighting