Linux multi-monitor fullscreen support
[ryzomcore.git] / nel / tools / 3d / object_viewer / vegetable_apperance_page.h
blob35c0fef6635bc4a5cf7191242f27430ed3beb8e4
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_VEGETABLEAPPERANCEPAGE_H__BCF1C014_7271_4F83_9E62_F45C434B64F7__INCLUDED_)
18 #define AFX_VEGETABLEAPPERANCEPAGE_H__BCF1C014_7271_4F83_9E62_F45C434B64F7__INCLUDED_
20 #if _MSC_VER > 1000
21 #pragma once
22 #endif // _MSC_VER > 1000
23 // VegetableApperancePage.h : header file
27 #include "vegetable_list_color.h"
30 namespace NL3D
32 class CVegetable;
36 class CVegetableNoiseValueDlg;
37 class CVegetableDlg;
40 /////////////////////////////////////////////////////////////////////////////
41 // CVegetableApperancePage dialog
43 class CVegetableApperancePage : public CPropertyPage
45 DECLARE_DYNCREATE(CVegetableApperancePage)
47 // Construction
48 public:
49 CVegetableApperancePage();
50 ~CVegetableApperancePage();
51 void initVegetableDlg(CVegetableDlg *vegetableDlg) {_VegetableDlg= vegetableDlg;}
53 // Dialog Data
54 //{{AFX_DATA(CVegetableApperancePage)
55 enum { IDD = IDD_VEGETABLE_APPEARANCE_DLG };
56 CVegetableListColor ColorList;
57 //}}AFX_DATA
60 // Overrides
61 // ClassWizard generate virtual function overrides
62 //{{AFX_VIRTUAL(CVegetableApperancePage)
63 protected:
64 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
65 //}}AFX_VIRTUAL
68 public:
69 /** set the vegetble to edit. NULL will disable all the controls.
70 * Called by CVegetableDlg.
72 void setVegetableToEdit(NL3D::CVegetable *vegetable);
75 // Implementation
76 protected:
77 // Generated message map functions
78 //{{AFX_MSG(CVegetableApperancePage)
79 virtual BOOL OnInitDialog();
80 afx_msg void OnButtonVegetableAdd();
81 afx_msg void OnButtonVegetableGetother();
82 afx_msg void OnButtonVegetableInsert();
83 afx_msg void OnButtonVegetableRemove();
84 afx_msg void OnDblclkListVegetableColor();
85 //}}AFX_MSG
86 DECLARE_MESSAGE_MAP()
88 // The "father" VegetableDlg.
89 CVegetableDlg *_VegetableDlg;
92 // The NoiseValue edition.
93 CVegetableNoiseValueDlg *_BendPhaseDlg;
94 CVegetableNoiseValueDlg *_BendFactorDlg;
95 CVegetableNoiseValueDlg *_ColorDlg;
98 // The vegetable to edit.
99 NL3D::CVegetable *_Vegetable;
102 void writeToVegetableColor(NL3D::CVegetable *vegetable);
103 void readFromVegetableColor(NL3D::CVegetable *vegetable);
107 //{{AFX_INSERT_LOCATION}}
108 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
110 #endif // !defined(AFX_VEGETABLEAPPERANCEPAGE_H__BCF1C014_7271_4F83_9E62_F45C434B64F7__INCLUDED_)