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


#if !defined(AFX_DLGMAPPING_H__9D0D16E0_68D1_11D2_9262_000021799871__INCLUDED_) 
#define AFX_DLGMAPPING_H__9D0D16E0_68D1_11D2_9262_000021799871__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// DlgMapping.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// DlgMapping dialog 
 
class DlgMapping : public CDialog 
{ 
// Construction 
public: 
	DlgMapping(CWnd* pParent = NULL);   // standard constructor 
	 
	CMy3DEditorDoc *doc; 
	object *obj; 
	RECT rect; 
	RECT winpos4; 
	unsigned char *buf; 
	int bufsx,bufsy,vsel,face,zoom; 
 
	void Close(); 
	void DrawPicture(CDC *dc,picture *p,int ssx,int ssy); 
	void DrawPolygons(CDC *dc); 
	void DrawElement(CDC *dc,ftlist *e); 
	int FindVertex(ftlist *e,int x,int y); 
 
// Dialog Data 
	//{{AFX_DATA(DlgMapping) 
	enum { IDD = IDD_MAPPING }; 
		// NOTE: the ClassWizard will add data members here 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(DlgMapping) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(DlgMapping) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnClose(); 
	virtual void OnOK(); 
	virtual void OnCancel(); 
	afx_msg void OnPaint(); 
	afx_msg void OnSize(UINT nType, int cx, int cy); 
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point); 
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point); 
	afx_msg void OnMouseMove(UINT nFlags, CPoint point); 
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DLGMAPPING_H__9D0D16E0_68D1_11D2_9262_000021799871__INCLUDED_)