mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 19:49:55 +00:00
102 lines
2.8 KiB
C
102 lines
2.8 KiB
C
|
// NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
||
|
// Copyright (C) 2010 Winch Gate Property Limited
|
||
|
//
|
||
|
// This program is free software: you can redistribute it and/or modify
|
||
|
// it under the terms of the GNU Affero General Public License as
|
||
|
// published by the Free Software Foundation, either version 3 of the
|
||
|
// License, or (at your option) any later version.
|
||
|
//
|
||
|
// This program is distributed in the hope that it will be useful,
|
||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
// GNU Affero General Public License for more details.
|
||
|
//
|
||
|
// You should have received a copy of the GNU Affero General Public License
|
||
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||
|
|
||
|
#if !defined(AFX_VEGETABLE_SCALE_PAGE_H__420A39C3_E7DD_4C7F_9527_9A7B8DB6E101__INCLUDED_)
|
||
|
#define AFX_VEGETABLE_SCALE_PAGE_H__420A39C3_E7DD_4C7F_9527_9A7B8DB6E101__INCLUDED_
|
||
|
|
||
|
#if _MSC_VER > 1000
|
||
|
#pragma once
|
||
|
#endif // _MSC_VER > 1000
|
||
|
// vegetable_scale_page.h : header file
|
||
|
//
|
||
|
|
||
|
namespace NL3D
|
||
|
{
|
||
|
class CVegetable;
|
||
|
}
|
||
|
|
||
|
|
||
|
class CVegetableNoiseValueDlg;
|
||
|
class CDirectEditableRangeFloat;
|
||
|
class CVegetableDlg;
|
||
|
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// CVegetableScalePage dialog
|
||
|
|
||
|
class CVegetableScalePage : public CPropertyPage
|
||
|
{
|
||
|
DECLARE_DYNCREATE(CVegetableScalePage)
|
||
|
|
||
|
// Construction
|
||
|
public:
|
||
|
CVegetableScalePage();
|
||
|
~CVegetableScalePage();
|
||
|
void initVegetableDlg(CVegetableDlg *vegetableDlg) {_VegetableDlg= vegetableDlg;}
|
||
|
|
||
|
// Dialog Data
|
||
|
//{{AFX_DATA(CVegetableScalePage)
|
||
|
enum { IDD = IDD_VEGETABLE_SCALE_DLG };
|
||
|
// NOTE - ClassWizard will add data members here.
|
||
|
// DO NOT EDIT what you see in these blocks of generated code !
|
||
|
//}}AFX_DATA
|
||
|
|
||
|
|
||
|
// Overrides
|
||
|
// ClassWizard generate virtual function overrides
|
||
|
//{{AFX_VIRTUAL(CVegetableScalePage)
|
||
|
protected:
|
||
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||
|
//}}AFX_VIRTUAL
|
||
|
|
||
|
|
||
|
public:
|
||
|
/** set the vegetble to edit. NULL will disable all the controls.
|
||
|
* Called by CVegetableDlg.
|
||
|
*/
|
||
|
void setVegetableToEdit(NL3D::CVegetable *vegetable);
|
||
|
|
||
|
|
||
|
// Implementation
|
||
|
protected:
|
||
|
// Generated message map functions
|
||
|
//{{AFX_MSG(CVegetableScalePage)
|
||
|
virtual BOOL OnInitDialog();
|
||
|
//}}AFX_MSG
|
||
|
DECLARE_MESSAGE_MAP()
|
||
|
|
||
|
// The "father" VegetableDlg.
|
||
|
CVegetableDlg *_VegetableDlg;
|
||
|
|
||
|
|
||
|
// The NoiseValue edition.
|
||
|
CVegetableNoiseValueDlg *_SxyDlg;
|
||
|
CVegetableNoiseValueDlg *_SzDlg;
|
||
|
|
||
|
// BendFreqFactor
|
||
|
CDirectEditableRangeFloat *_BendFreqFactorDlg;
|
||
|
|
||
|
|
||
|
// The vegetable to edit.
|
||
|
NL3D::CVegetable *_Vegetable;
|
||
|
|
||
|
};
|
||
|
|
||
|
//{{AFX_INSERT_LOCATION}}
|
||
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||
|
|
||
|
#endif // !defined(AFX_VEGETABLE_SCALE_PAGE_H__420A39C3_E7DD_4C7F_9527_9A7B8DB6E101__INCLUDED_)
|