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

81 lines
2.2 KiB
C++

/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */
#if !defined(AFX_DLGPGSECTOR_H__92165BC6_C826_11D1_8244_000000000000__INCLUDED_)
#define AFX_DLGPGSECTOR_H__92165BC6_C826_11D1_8244_000000000000__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// DlgPgSector.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDlgPgSector dialog
class CDlgPgSector : public CPropertyPage
{
DECLARE_DYNCREATE(CDlgPgSector)
// Construction
public:
CDlgPgSector();
~CDlgPgSector();
BOOL OnIdle(LONG lCount);
COLOR m_colLastSectorAmbientColor;
BOOL m_bLastSectorAmbientColorMixed;
CUpdateableRT m_udSectorsData;
// Dialog Data
//{{AFX_DATA(CDlgPgSector)
enum { IDD = IDD_PG_SECTOR };
CCtrlEditFlags m_ctrlClassificationFlags;
CCtrlEditFlags m_ctrlVisibilityFlags;
CComboBox m_comboEnvironmentType;
CComboBox m_comboHaze;
CComboBox m_comboFog;
CComboBox m_comboForceField;
CComboBox m_comboContentType;
CColoredButton m_SectorAmbientColor;
int m_iBrowseModeRadio;
CString m_strSectorName;
int m_radioInclude;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CDlgPgSector)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgPgSector)
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnDropdownContentTypeCombo();
afx_msg void OnSelchangeContentTypeCombo();
afx_msg void OnSelchangeForceFieldCombo();
afx_msg void OnDropdownForceFieldCombo();
afx_msg void OnDropdownFogCombo();
afx_msg void OnSelchangeFogCombo();
afx_msg void OnDropdownHazeCombo();
afx_msg void OnSelchangeHazeCombo();
afx_msg void OnDropdownStaticEnvironmentType();
afx_msg void OnSelchangeStaticEnvironmentType();
afx_msg void OnSectorInclude();
afx_msg void OnSectorExclude();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGPGSECTOR_H__92165BC6_C826_11D1_8244_000000000000__INCLUDED_)