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_VEGETABLE_WIND_DLG_H__2A8C3E24_6763_4B2C_AFD4_DD6F74D3871E__INCLUDED_)
18 #define AFX_VEGETABLE_WIND_DLG_H__2A8C3E24_6763_4B2C_AFD4_DD6F74D3871E__INCLUDED_
22 #endif // _MSC_VER > 1000
23 // vegetable_wind_dlg.h : header file
30 /////////////////////////////////////////////////////////////////////////////
31 // CVegetableWindDlg dialog
33 class CVegetableWindDlg
: public CDialog
37 CVegetableWindDlg(CObjectViewer
*objViewer
, CWnd
* pParent
= NULL
); // standard constructor
40 //{{AFX_DATA(CVegetableWindDlg)
41 enum { IDD
= IDD_VEGETABLE_WIND
};
43 CStatic StaticFrequency
;
44 CStatic StaticBendStart
;
45 CSliderCtrl SliderPower
;
46 CSliderCtrl SliderFrequency
;
47 CSliderCtrl SliderBendStart
;
52 // ClassWizard generated virtual function overrides
53 //{{AFX_VIRTUAL(CVegetableWindDlg)
55 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
61 // Generated message map functions
62 //{{AFX_MSG(CVegetableWindDlg)
63 afx_msg
void OnReleasedcaptureSliderVegetableWindBendstart(NMHDR
* pNMHDR
, LRESULT
* pResult
);
64 afx_msg
void OnReleasedcaptureSliderVegetableWindFrequency(NMHDR
* pNMHDR
, LRESULT
* pResult
);
65 afx_msg
void OnReleasedcaptureSliderVegetableWindPower(NMHDR
* pNMHDR
, LRESULT
* pResult
);
66 virtual BOOL
OnInitDialog();
67 afx_msg
void OnButtonClose();
68 afx_msg
void OnHScroll(UINT nSBCode
, UINT nPos
, CScrollBar
* pScrollBar
);
72 CObjectViewer
*_ObjViewer
;
74 // update sliders and static according to objViewer wind setup
80 //{{AFX_INSERT_LOCATION}}
81 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
83 #endif // !defined(AFX_VEGETABLE_WIND_DLG_H__2A8C3E24_6763_4B2C_AFD4_DD6F74D3871E__INCLUDED_)