www.pudn.com > 3DEDITOR.rar > DLGMATERIAL.H


#if !defined(AFX_DLGMATERIAL_H__B3DDABC1_7087_11D1_9A9F_0000C000004A__INCLUDED_) 
#define AFX_DLGMATERIAL_H__B3DDABC1_7087_11D1_9A9F_0000C000004A__INCLUDED_ 
 
#if _MSC_VER >= 1000 
#pragma once 
#endif // _MSC_VER >= 1000 
// DlgMaterial.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// DlgMaterial dialog 
 
class DlgMaterial : public CDialog 
{ 
// Construction 
public: 
	DlgMaterial(CWnd* pParent = NULL);   // standard constructor 
 
	friend CMy3DEditorView; 
 
	material *curmat; 
	RECT winpos2; 
	CMy3DEditorDoc *doc; 
	void Close(); 
 
	void FillDlg(); 
	void FillColors(); 
	void LoadMap(struct mapping *); 
// Dialog Data 
	//{{AFX_DATA(DlgMaterial) 
	enum { IDD = IDD_MATERIAL }; 
	CComboBox	m_names; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(DlgMaterial) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(DlgMaterial) 
	virtual BOOL OnInitDialog(); 
	virtual void OnOK(); 
	virtual void OnCancel(); 
	afx_msg void OnClose(); 
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point); 
	afx_msg void OnSelchangeName(); 
	afx_msg void OnPaint(); 
	afx_msg void OnKillfocusOpacity(); 
	afx_msg void OnKillfocusSelfillum(); 
	afx_msg void OnKillfocusShininess(); 
	afx_msg void OnKillfocusStrength(); 
	afx_msg void OnButOpacity(); 
	afx_msg void OnButSelfillum(); 
	afx_msg void OnButBump(); 
	afx_msg void OnButText1(); 
	afx_msg void OnKillfocusReflection(); 
	afx_msg void OnKillfocusRefraction(); 
	afx_msg void OnKillfocusAmBump(); 
	afx_msg void OnKillfocusAmOpacity(); 
	afx_msg void OnKillfocusAmSelfillum(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Developer Studio will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DLGMATERIAL_H__B3DDABC1_7087_11D1_9A9F_0000C000004A__INCLUDED_)