Linux multi-monitor fullscreen support
[ryzomcore.git] / nel / tools / 3d / object_viewer / vegetable_wind_dlg.h
blob434367fcabadf01a2ab59a7c245be11f520d9557
1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
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.
8 //
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_
20 #if _MSC_VER > 1000
21 #pragma once
22 #endif // _MSC_VER > 1000
23 // vegetable_wind_dlg.h : header file
27 class CObjectViewer;
30 /////////////////////////////////////////////////////////////////////////////
31 // CVegetableWindDlg dialog
33 class CVegetableWindDlg : public CDialog
35 // Construction
36 public:
37 CVegetableWindDlg(CObjectViewer *objViewer, CWnd* pParent = NULL); // standard constructor
39 // Dialog Data
40 //{{AFX_DATA(CVegetableWindDlg)
41 enum { IDD = IDD_VEGETABLE_WIND };
42 CStatic StaticPower;
43 CStatic StaticFrequency;
44 CStatic StaticBendStart;
45 CSliderCtrl SliderPower;
46 CSliderCtrl SliderFrequency;
47 CSliderCtrl SliderBendStart;
48 //}}AFX_DATA
51 // Overrides
52 // ClassWizard generated virtual function overrides
53 //{{AFX_VIRTUAL(CVegetableWindDlg)
54 protected:
55 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
56 //}}AFX_VIRTUAL
58 // Implementation
59 protected:
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);
69 //}}AFX_MSG
70 DECLARE_MESSAGE_MAP()
72 CObjectViewer *_ObjViewer;
74 // update sliders and static according to objViewer wind setup
75 void updateView();
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_)