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/>.
17 #if !defined(AFX_TUNE_MRM_DLG_H__909B0EF0_8158_431F_91DC_B77D380DA7A0__INCLUDED_)
18 #define AFX_TUNE_MRM_DLG_H__909B0EF0_8158_431F_91DC_B77D380DA7A0__INCLUDED_
22 #endif // _MSC_VER > 1000
23 // tune_mrm_dlg.h : header file
26 #include "nel/3d/scene.h"
28 /////////////////////////////////////////////////////////////////////////////
31 class CTuneMrmDlg
: public CDialog
35 CTuneMrmDlg(CObjectViewer
*viewer
, NL3D::CScene
*scene
, CWnd
* pParent
= NULL
); // standard constructor
39 //{{AFX_DATA(CTuneMrmDlg)
40 enum { IDD
= IDD_TUNE_MRM_DLG
};
41 CSliderCtrl MaxValueSlider
;
42 CSliderCtrl FaceSlider
;
43 CString ViewCurrentMaxPoly
;
49 // ClassWizard generated virtual function overrides
50 //{{AFX_VIRTUAL(CTuneMrmDlg)
52 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
58 // Generated message map functions
59 //{{AFX_MSG(CTuneMrmDlg)
60 virtual BOOL
OnInitDialog();
61 afx_msg
void OnDestroy();
62 afx_msg
void OnReleasedcaptureTmdSlider(NMHDR
* pNMHDR
, LRESULT
* pResult
);
63 afx_msg
void OnHScroll(UINT nSBCode
, UINT nPos
, CScrollBar
* pScrollBar
);
64 afx_msg
void OnReleasedcaptureTmdSliderMax(NMHDR
* pNMHDR
, LRESULT
* pResult
);
65 afx_msg
void OnClose();
69 void applySlider(UINT sliderCur
, UINT sliderMax
);
71 CObjectViewer
*_ObjViewer
;
75 //{{AFX_INSERT_LOCATION}}
76 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
78 #endif // !defined(AFX_TUNE_MRM_DLG_H__909B0EF0_8158_431F_91DC_B77D380DA7A0__INCLUDED_)