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_ROTATE_PAGE_H__EE4CBECA_CB0B_418B_8F72_CC02AB397E10__INCLUDED_)
18 #define AFX_VEGETABLE_ROTATE_PAGE_H__EE4CBECA_CB0B_418B_8F72_CC02AB397E10__INCLUDED_
22 #endif // _MSC_VER > 1000
23 // vegetable_rotate_page.h : header file
32 class CVegetableNoiseValueDlg
;
36 /////////////////////////////////////////////////////////////////////////////
37 // CVegetableRotatePage dialog
39 class CVegetableRotatePage
: public CPropertyPage
41 DECLARE_DYNCREATE(CVegetableRotatePage
)
45 CVegetableRotatePage();
46 ~CVegetableRotatePage();
47 void initVegetableDlg(CVegetableDlg
*vegetableDlg
) {_VegetableDlg
= vegetableDlg
;}
50 //{{AFX_DATA(CVegetableRotatePage)
51 enum { IDD
= IDD_VEGETABLE_ROTATE_DLG
};
52 // NOTE - ClassWizard will add data members here.
53 // DO NOT EDIT what you see in these blocks of generated code !
58 // ClassWizard generate virtual function overrides
59 //{{AFX_VIRTUAL(CVegetableRotatePage)
61 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
66 /** set the vegetble to edit. NULL will disable all the controls.
67 * Called by CVegetableDlg.
69 void setVegetableToEdit(NL3D::CVegetable
*vegetable
);
74 // Generated message map functions
75 //{{AFX_MSG(CVegetableRotatePage)
76 virtual BOOL
OnInitDialog();
80 // The "father" VegetableDlg.
81 CVegetableDlg
*_VegetableDlg
;
84 // The NoiseValue edition.
85 CVegetableNoiseValueDlg
*_RxDlg
;
86 CVegetableNoiseValueDlg
*_RyDlg
;
87 CVegetableNoiseValueDlg
*_RzDlg
;
90 // The vegetable to edit.
91 NL3D::CVegetable
*_Vegetable
;
95 //{{AFX_INSERT_LOCATION}}
96 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
98 #endif // !defined(AFX_VEGETABLE_ROTATE_PAGE_H__EE4CBECA_CB0B_418B_8F72_CC02AB397E10__INCLUDED_)