dlgworldsettings.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. // DlgWorldSettings.h : header file
  13. //
  14. #ifndef DLGWORLDSETTINGS_H
  15. #define DLGWORLDSETTINGS_H 1
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CDlgWorldSettings dialog
  18. class CDlgWorldSettings : public CDialog
  19. {
  20. // Construction
  21. public:
  22. CDlgWorldSettings(CWnd* pParent = NULL); // standard constructor
  23. void SetupBcgSettings( BOOL bOnNewDocument); // setups background settings dialog
  24. // Dialog Data
  25. //{{AFX_DATA(CDlgWorldSettings)
  26. enum { IDD = IDD_WORLD_SETTINGS };
  27. CColoredButton m_BackgroundColor;
  28. CString m_fnBackgroundPicture;
  29. CString m_strMissionDescription;
  30. float m_fFrontViewCenterX;
  31. float m_fFrontViewCenterY;
  32. float m_fFrontViewHeight;
  33. CString m_strFrontViewPicture;
  34. float m_fFrontViewWidth;
  35. float m_fRightViewCenterX;
  36. float m_fRightViewCenterY;
  37. float m_fRightViewHeight;
  38. CString m_strRightViewPicture;
  39. float m_fRightViewWidth;
  40. float m_fTopViewCenterX;
  41. float m_fTopViewCenterY;
  42. float m_fTopViewHeight;
  43. CString m_strTopViewPicture;
  44. float m_fTopViewWidth;
  45. CString m_strBackdropObject;
  46. CString m_strLevelName;
  47. //}}AFX_DATA
  48. // Overrides
  49. // ClassWizard generated virtual function overrides
  50. //{{AFX_VIRTUAL(CDlgWorldSettings)
  51. protected:
  52. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  53. virtual void OnOK();
  54. //}}AFX_VIRTUAL
  55. // Implementation
  56. protected:
  57. // Generated message map functions
  58. //{{AFX_MSG(CDlgWorldSettings)
  59. afx_msg void OnBrowseBackgroundPicture();
  60. virtual BOOL OnInitDialog();
  61. afx_msg void OnBrowseFrontViewPicture();
  62. afx_msg void OnBrowseRightViewPicture();
  63. afx_msg void OnBrowseTopViewPicture();
  64. afx_msg void OnBrowseBackdropObject();
  65. afx_msg void OnApply();
  66. //}}AFX_MSG
  67. DECLARE_MESSAGE_MAP()
  68. };
  69. #endif // DLGWORLDSETTINGS_H