DlgPgShadow.h 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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_DLGPGSHADOW_H__A1A8F835_D928_11D2_8513_004095812ACC__INCLUDED_)
  13. #define AFX_DLGPGSHADOW_H__A1A8F835_D928_11D2_8513_004095812ACC__INCLUDED_
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif // _MSC_VER > 1000
  17. // DlgPgShadow.h : header file
  18. //
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CDlgPgShadow dialog
  21. class CDlgPgShadow : public CPropertyPage
  22. {
  23. DECLARE_DYNCREATE(CDlgPgShadow)
  24. // Construction
  25. public:
  26. CDlgPgShadow();
  27. ~CDlgPgShadow();
  28. BOOL OnIdle(LONG lCount);
  29. void InitComboBoxes(void);
  30. CUpdateableRT m_udPolygonSelection;
  31. // Dialog Data
  32. //{{AFX_DATA(CDlgPgShadow)
  33. enum { IDD = IDD_PG_SHADOW };
  34. CComboBox m_ctrlComboGradient;
  35. CCtrlEditBoolean m_bDarkCorners;
  36. CCtrlEditBoolean m_bNoDynamicLights;
  37. CCtrlEditBoolean m_bDontReceiveShadows;
  38. CCtrlEditBoolean m_bDynamicLightsOnly;
  39. CCtrlEditBoolean m_bHasDirectionalAmbient;
  40. CCtrlEditBoolean m_bHasPreciseShadows;
  41. CCtrlEditBoolean m_bNoPlaneDiffusion;
  42. CCtrlEditBoolean m_bHasDirectionalShadows;
  43. CCtrlEditBoolean m_NoShadow;
  44. CCtrlEditBoolean m_IsLightBeamPassable;
  45. CColoredButton m_ctrlShadowColor;
  46. CComboBox m_comboShadowBlend;
  47. CComboBox m_ctrlComboClusterSize;
  48. CComboBox m_ComboIllumination;
  49. //}}AFX_DATA
  50. // Overrides
  51. // ClassWizard generate virtual function overrides
  52. //{{AFX_VIRTUAL(CDlgPgShadow)
  53. public:
  54. virtual BOOL PreTranslateMessage(MSG* pMsg);
  55. protected:
  56. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  57. //}}AFX_VIRTUAL
  58. // Implementation
  59. protected:
  60. // Generated message map functions
  61. //{{AFX_MSG(CDlgPgShadow)
  62. virtual BOOL OnInitDialog();
  63. afx_msg void OnSelchangeShadowClusterSizeCombo();
  64. afx_msg void OnSelchangeIlluminationCombo();
  65. afx_msg void OnDropdownIlluminationCombo();
  66. afx_msg void OnSelchangeShadowBlendCombo();
  67. afx_msg void OnDropdownShadowBlendCombo();
  68. afx_msg void OnDropdownClusterSizeCombo();
  69. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  70. afx_msg void OnDropdownGradientCombo();
  71. afx_msg void OnSelchangeGradientCombo();
  72. //}}AFX_MSG
  73. DECLARE_MESSAGE_MAP()
  74. BOOL OnToolTipNotify( UINT id, NMHDR * pNMHDR, LRESULT * pResult );
  75. };
  76. //{{AFX_INSERT_LOCATION}}
  77. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  78. #endif // !defined(AFX_DLGPGSHADOW_H__A1A8F835_D928_11D2_8513_004095812ACC__INCLUDED_)