Serious-Engine/Sources/WorldEditor/DlgTEOperationSettings.h
2016-03-11 18:20:51 -06:00

79 lines
2.4 KiB
C++

/* Copyright (c) 2002-2012 Croteam Ltd.
This program is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU General Public License as published by
the Free Software Foundation
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 General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
#if !defined(AFX_DLGTEOPERATIONSETTINGS_H__81F7BA10_AB5C_4B29_B028_F45E397EAF40__INCLUDED_)
#define AFX_DLGTEOPERATIONSETTINGS_H__81F7BA10_AB5C_4B29_B028_F45E397EAF40__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgTEOperationSettings.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDlgTEOperationSettings dialog
CTString GetFilterName(INDEX iFilter);
class CDlgTEOperationSettings : public CDialog
{
// Construction
public:
CDlgTEOperationSettings(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDlgTEOperationSettings)
enum { IDD = IDD_TE_OPTION_SETTINGS };
CComboBox m_ctrlGenerationMethod;
CComboBox m_ctrlFilter;
float m_fClampAltitude;
float m_fNoiseAltitude;
float m_fPaintPower;
float m_fPosterizeStep;
float m_fSmoothPower;
float m_fFilterPower;
CString m_strContinousNoiseTexture;
CString m_strDistributionNoiseTexture;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgTEOperationSettings)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgTEOperationSettings)
virtual BOOL OnInitDialog();
afx_msg void OnViewNoiseTexture();
afx_msg void OnBrowseContinousNoise();
afx_msg void OnBrowseDistributionNoise();
afx_msg void OnViewDistributionNoiseTexture();
afx_msg void OnGenerationSettings();
afx_msg void OnDropdownGenerationAlgorithm();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGTEOPERATIONSETTINGS_H__81F7BA10_AB5C_4B29_B028_F45E397EAF40__INCLUDED_)