DlgTEOperationSettings.h 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /* Copyright (c) 2002-2012 Croteam Ltd.
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of version 2 of the GNU General Public License as published by
  4. the Free Software Foundation
  5. This program is distributed in the hope that it will be useful,
  6. but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. GNU General Public License for more details.
  9. You should have received a copy of the GNU General Public License along
  10. with this program; if not, write to the Free Software Foundation, Inc.,
  11. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
  12. #if !defined(AFX_DLGTEOPERATIONSETTINGS_H__81F7BA10_AB5C_4B29_B028_F45E397EAF40__INCLUDED_)
  13. #define AFX_DLGTEOPERATIONSETTINGS_H__81F7BA10_AB5C_4B29_B028_F45E397EAF40__INCLUDED_
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif // _MSC_VER > 1000
  17. // DlgTEOperationSettings.h : header file
  18. //
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CDlgTEOperationSettings dialog
  21. CTString GetFilterName(INDEX iFilter);
  22. class CDlgTEOperationSettings : public CDialog
  23. {
  24. // Construction
  25. public:
  26. CDlgTEOperationSettings(CWnd* pParent = NULL); // standard constructor
  27. // Dialog Data
  28. //{{AFX_DATA(CDlgTEOperationSettings)
  29. enum { IDD = IDD_TE_OPTION_SETTINGS };
  30. CComboBox m_ctrlGenerationMethod;
  31. CComboBox m_ctrlFilter;
  32. float m_fClampAltitude;
  33. float m_fNoiseAltitude;
  34. float m_fPaintPower;
  35. float m_fPosterizeStep;
  36. float m_fSmoothPower;
  37. float m_fFilterPower;
  38. CString m_strContinousNoiseTexture;
  39. CString m_strDistributionNoiseTexture;
  40. //}}AFX_DATA
  41. // Overrides
  42. // ClassWizard generated virtual function overrides
  43. //{{AFX_VIRTUAL(CDlgTEOperationSettings)
  44. protected:
  45. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  46. //}}AFX_VIRTUAL
  47. // Implementation
  48. protected:
  49. // Generated message map functions
  50. //{{AFX_MSG(CDlgTEOperationSettings)
  51. virtual BOOL OnInitDialog();
  52. afx_msg void OnViewNoiseTexture();
  53. afx_msg void OnBrowseContinousNoise();
  54. afx_msg void OnBrowseDistributionNoise();
  55. afx_msg void OnViewDistributionNoiseTexture();
  56. afx_msg void OnGenerationSettings();
  57. afx_msg void OnDropdownGenerationAlgorithm();
  58. //}}AFX_MSG
  59. DECLARE_MESSAGE_MAP()
  60. };
  61. //{{AFX_INSERT_LOCATION}}
  62. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  63. #endif // !defined(AFX_DLGTEOPERATIONSETTINGS_H__81F7BA10_AB5C_4B29_B028_F45E397EAF40__INCLUDED_)