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

79 lines
2.3 KiB
C++

/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */
#if !defined(AFX_DLGBROWSEBYCLASS_H__A1C15CF4_D8A2_11D1_8270_000000000000__INCLUDED_)
#define AFX_DLGBROWSEBYCLASS_H__A1C15CF4_D8A2_11D1_8270_000000000000__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// DlgBrowseByClass.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDlgBrowseByClass dialog
class CDlgBrowseByClass : public CDialog
{
// Construction
public:
CDlgBrowseByClass(CWnd* pParent = NULL); // standard constructor
~CDlgBrowseByClass();
void AddEntity( CEntity *pen);
void FillListWithEntities(void);
void InitializePluggins(void);
void InitializeListColumns(void);
CTString GetItemValue(CEntity *pen, INDEX iColumn, BOOL &bNumber);
CDynamicContainer<class CEntity> *GetCurrentContainer(void);
BOOL m_bCenterSelected;
// Dialog Data
//{{AFX_DATA(CDlgBrowseByClass)
enum { IDD = IDD_BROWSE_BY_CLASS };
CComboBox m_ctrlPluggins;
CListCtrl m_listEntities;
CString m_strEntitiesInVolume;
BOOL m_bShowVolume;
BOOL m_bShowImportants;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgBrowseByClass)
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(CDlgBrowseByClass)
virtual BOOL OnInitDialog();
afx_msg void OnDblclkEntityList(NMHDR* pNMHDR, LRESULT* pResult);
virtual void OnOK();
afx_msg void OnColumnclickEntityList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRclickEntityList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnClickEntityList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRemove();
afx_msg void OnLeave();
afx_msg void OnSelectAll();
afx_msg void OnFeedVolume();
afx_msg void OnRevert();
afx_msg void OnSelectSectors();
afx_msg void OnDeleteBrowseByClass();
afx_msg void OnDisplayVolume();
afx_msg void OnSelendokPluggins();
afx_msg void OnDisplayImportants();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGBROWSEBYCLASS_H__A1C15CF4_D8A2_11D1_8270_000000000000__INCLUDED_)