DlgPgPolygon.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. // DlgPgPolygon.h : header file
  13. //
  14. #ifndef DLGPGPOLYGON_H
  15. #define DLGPGPOLYGON_H 1
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CDlgPgPolygon dialog
  18. class CDlgPgPolygon : public CPropertyPage
  19. {
  20. DECLARE_DYNCREATE(CDlgPgPolygon)
  21. // Construction
  22. public:
  23. CDlgPgPolygon();
  24. ~CDlgPgPolygon();
  25. BOOL OnIdle(LONG lCount);
  26. void InitComboBoxes(void);
  27. FLOAT m_fPretenderDistance;
  28. BOOL m_bPretenderDistance;
  29. CUpdateableRT m_udPolygonSelection;
  30. // Dialog Data
  31. //{{AFX_DATA(CDlgPgPolygon)
  32. enum { IDD = IDD_PG_POLYGON };
  33. CCtrlEditBoolean m_IsDoubleSided;
  34. CCtrlEditBoolean m_bShootThru;
  35. CCtrlEditBoolean m_IsTransparent;
  36. CCtrlEditBoolean m_bStairs;
  37. CCtrlEditBoolean m_IsOccluder;
  38. CComboBox m_ComboMirror;
  39. CCtrlEditBoolean m_IsOldPortal;
  40. CCtrlEditBoolean m_bIsDetail;
  41. CCtrlEditBoolean m_IsInvisible;
  42. CCtrlEditBoolean m_IsTranslucent;
  43. CCtrlEditBoolean m_IsPassable;
  44. CCtrlEditBoolean m_IsPortal;
  45. CComboBox m_ComboFriction;
  46. //}}AFX_DATA
  47. // Overrides
  48. // ClassWizard generate virtual function overrides
  49. //{{AFX_VIRTUAL(CDlgPgPolygon)
  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(CDlgPgPolygon)
  59. virtual BOOL OnInitDialog();
  60. afx_msg void OnSelchangeFrictionCombo();
  61. afx_msg void OnDropdownFrictionCombo();
  62. afx_msg void OnSelchangeMirrorCombo();
  63. afx_msg void OnDropdownMirrorCombo();
  64. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  65. //}}AFX_MSG
  66. DECLARE_MESSAGE_MAP()
  67. };
  68. #endif // DLGPGPOLYGON_H