DlgPgSector.h 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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_DLGPGSECTOR_H__92165BC6_C826_11D1_8244_000000000000__INCLUDED_)
  13. #define AFX_DLGPGSECTOR_H__92165BC6_C826_11D1_8244_000000000000__INCLUDED_
  14. #if _MSC_VER >= 1000
  15. #pragma once
  16. #endif // _MSC_VER >= 1000
  17. // DlgPgSector.h : header file
  18. //
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CDlgPgSector dialog
  21. class CDlgPgSector : public CPropertyPage
  22. {
  23. DECLARE_DYNCREATE(CDlgPgSector)
  24. // Construction
  25. public:
  26. CDlgPgSector();
  27. ~CDlgPgSector();
  28. BOOL OnIdle(LONG lCount);
  29. COLOR m_colLastSectorAmbientColor;
  30. BOOL m_bLastSectorAmbientColorMixed;
  31. CUpdateableRT m_udSectorsData;
  32. // Dialog Data
  33. //{{AFX_DATA(CDlgPgSector)
  34. enum { IDD = IDD_PG_SECTOR };
  35. CCtrlEditFlags m_ctrlClassificationFlags;
  36. CCtrlEditFlags m_ctrlVisibilityFlags;
  37. CComboBox m_comboEnvironmentType;
  38. CComboBox m_comboHaze;
  39. CComboBox m_comboFog;
  40. CComboBox m_comboForceField;
  41. CComboBox m_comboContentType;
  42. CColoredButton m_SectorAmbientColor;
  43. int m_iBrowseModeRadio;
  44. CString m_strSectorName;
  45. int m_radioInclude;
  46. //}}AFX_DATA
  47. // Overrides
  48. // ClassWizard generate virtual function overrides
  49. //{{AFX_VIRTUAL(CDlgPgSector)
  50. public:
  51. virtual BOOL PreTranslateMessage(MSG* pMsg);
  52. protected:
  53. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  54. //}}AFX_VIRTUAL
  55. // Implementation
  56. protected:
  57. // Generated message map functions
  58. //{{AFX_MSG(CDlgPgSector)
  59. afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  60. afx_msg void OnDropdownContentTypeCombo();
  61. afx_msg void OnSelchangeContentTypeCombo();
  62. afx_msg void OnSelchangeForceFieldCombo();
  63. afx_msg void OnDropdownForceFieldCombo();
  64. afx_msg void OnDropdownFogCombo();
  65. afx_msg void OnSelchangeFogCombo();
  66. afx_msg void OnDropdownHazeCombo();
  67. afx_msg void OnSelchangeHazeCombo();
  68. afx_msg void OnDropdownStaticEnvironmentType();
  69. afx_msg void OnSelchangeStaticEnvironmentType();
  70. afx_msg void OnSectorInclude();
  71. afx_msg void OnSectorExclude();
  72. //}}AFX_MSG
  73. DECLARE_MESSAGE_MAP()
  74. };
  75. //{{AFX_INSERT_LOCATION}}
  76. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  77. #endif // !defined(AFX_DLGPGSECTOR_H__92165BC6_C826_11D1_8244_000000000000__INCLUDED_)