Serious-Engine/Sources/WorldEditor/dlgworldsettings.h
2016-03-11 15:57:17 +02:00

68 lines
1.8 KiB
C++

/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */
// DlgWorldSettings.h : header file
//
#ifndef DLGWORLDSETTINGS_H
#define DLGWORLDSETTINGS_H 1
/////////////////////////////////////////////////////////////////////////////
// CDlgWorldSettings dialog
class CDlgWorldSettings : public CDialog
{
// Construction
public:
CDlgWorldSettings(CWnd* pParent = NULL); // standard constructor
void SetupBcgSettings( BOOL bOnNewDocument); // setups background settings dialog
// Dialog Data
//{{AFX_DATA(CDlgWorldSettings)
enum { IDD = IDD_WORLD_SETTINGS };
CColoredButton m_BackgroundColor;
CString m_fnBackgroundPicture;
CString m_strMissionDescription;
float m_fFrontViewCenterX;
float m_fFrontViewCenterY;
float m_fFrontViewHeight;
CString m_strFrontViewPicture;
float m_fFrontViewWidth;
float m_fRightViewCenterX;
float m_fRightViewCenterY;
float m_fRightViewHeight;
CString m_strRightViewPicture;
float m_fRightViewWidth;
float m_fTopViewCenterX;
float m_fTopViewCenterY;
float m_fTopViewHeight;
CString m_strTopViewPicture;
float m_fTopViewWidth;
CString m_strBackdropObject;
CString m_strLevelName;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgWorldSettings)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnOK();
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgWorldSettings)
afx_msg void OnBrowseBackgroundPicture();
virtual BOOL OnInitDialog();
afx_msg void OnBrowseFrontViewPicture();
afx_msg void OnBrowseRightViewPicture();
afx_msg void OnBrowseTopViewPicture();
afx_msg void OnBrowseBackdropObject();
afx_msg void OnApply();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif // DLGWORLDSETTINGS_H