1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2010 Winch Gate Property Limited
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
18 #if !defined(AFX_CONSTRAINT_MESH_DLG_H__AF195682_84F3_4269_BB39_BDE74391B7DA__INCLUDED_)
19 #define AFX_CONSTRAINT_MESH_DLG_H__AF195682_84F3_4269_BB39_BDE74391B7DA__INCLUDED_
27 class CPSConstraintMesh
;
30 /////////////////////////////////////////////////////////////////////////////
31 // CConstraintMeshDlg dialog
33 class CConstraintMeshDlg
: public CDialog
37 CConstraintMeshDlg(NL3D::CPSConstraintMesh
*cm
, CWnd
* pParent
= NULL
); // standard constructor
39 /// init the dialog at the given position
40 void init(sint x
, sint y
, CWnd
*pParent
);
44 //{{AFX_DATA(CConstraintMeshDlg)
45 enum { IDD
= IDD_CONSTRAINT_MESH_DLG
};
46 BOOL m_ForceStage0Modulation
;
47 BOOL m_ForceStage1Modulation
;
48 BOOL m_ForceStage2Modulation
;
49 BOOL m_ForceStage3Modulation
;
50 BOOL m_ForceVertexColorLighting
;
55 // ClassWizard generated virtual function overrides
56 //{{AFX_VIRTUAL(CConstraintMeshDlg)
58 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
63 NL3D::CPSConstraintMesh
*_CM
; // the constraint mesh being edited
64 // Generated message map functions
65 //{{AFX_MSG(CConstraintMeshDlg)
66 virtual BOOL
OnInitDialog();
67 afx_msg
void OnForceStage0Modulation();
68 afx_msg
void OnForceStage1Modulation();
69 afx_msg
void OnForceStage2Modulation();
70 afx_msg
void OnForceStage3Modulation();
71 afx_msg
void OnForceVertexColorLighting();
76 //{{AFX_INSERT_LOCATION}}
77 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
79 #endif // !defined(AFX_CONSTRAINT_MESH_DLG_H__AF195682_84F3_4269_BB39_BDE74391B7DA__INCLUDED_)