DlgRenderingPreferences.h 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. // DlgRenderingPreferences.h : header file
  13. //
  14. #ifndef DLGRENDERINGPREFERENCES_H
  15. #define DLGRENDERINGPREFERENCES_H 1
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CDlgRenderingPreferences dialog
  18. class CDlgRenderingPreferences : public CDialog
  19. {
  20. // Construction
  21. public:
  22. CDlgRenderingPreferences(INDEX iBuffer, CWnd* pParent = NULL); // standard constructor
  23. void UpdateEditRangeControl();
  24. INDEX m_iBuffer;
  25. // Dialog Data
  26. //{{AFX_DATA(CDlgRenderingPreferences)
  27. enum { IDD = IDD_RENDERING_PREFERENCES };
  28. CComboBox m_comboFlareFX;
  29. CColoredButton m_SelectionColor;
  30. CColoredButton m_GridColor;
  31. CColoredButton m_PaperColor;
  32. CComboBox m_TextureFillType;
  33. CComboBox m_EdgesFillType;
  34. CComboBox m_PolygonFillType;
  35. CComboBox m_VertexFillType;
  36. CColoredButton m_VertexColors;
  37. CColoredButton m_PolygonColors;
  38. CColoredButton m_EdgesColors;
  39. BOOL m_bBoundingBox;
  40. BOOL m_bHidenLines;
  41. BOOL m_bShadows;
  42. BOOL m_bWireFrame;
  43. float m_fRenderingRange;
  44. BOOL m_bAutoRenderingRange;
  45. BOOL m_bRenderEditorModels;
  46. BOOL m_bUseTextureForBcg;
  47. BOOL m_bRenderFieldBrushes;
  48. BOOL m_bRenderFog;
  49. BOOL m_bRenderHaze;
  50. BOOL m_bRenderMirrors;
  51. CString m_strBcgTexture;
  52. float m_fFarClipPlane;
  53. BOOL m_bApplyFarClipInIsometricProjection;
  54. //}}AFX_DATA
  55. // Overrides
  56. // ClassWizard generated virtual function overrides
  57. //{{AFX_VIRTUAL(CDlgRenderingPreferences)
  58. protected:
  59. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  60. //}}AFX_VIRTUAL
  61. // Implementation
  62. protected:
  63. // Generated message map functions
  64. //{{AFX_MSG(CDlgRenderingPreferences)
  65. virtual BOOL OnInitDialog();
  66. afx_msg void OnLoadPreferences();
  67. afx_msg void OnSavePreferences();
  68. afx_msg void OnAutoRenderingRange();
  69. afx_msg void OnBrowseBcgPicture();
  70. //}}AFX_MSG
  71. DECLARE_MESSAGE_MAP()
  72. };
  73. #endif // DLGRENDERINGPREFERENCES_H