mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-16 21:53:01 +00:00
1
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
// $NoKeywords: $
|
||||
//
|
||||
//=============================================================================//
|
||||
// PrefabsDlg.h : header file
|
||||
//
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CPrefabsDlg dialog
|
||||
|
||||
#include "Prefabs.h"
|
||||
|
||||
class CPrefabsDlg : public CDialog
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
CPrefabsDlg(CWnd* pParent = NULL); // standard constructor
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CPrefabsDlg)
|
||||
enum { IDD = IDD_PREFABS };
|
||||
CListCtrl m_Objects;
|
||||
CEdit m_ObjectNotes;
|
||||
CStatic m_LibraryNotes;
|
||||
CComboBox m_Libraries;
|
||||
//}}AFX_DATA
|
||||
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CPrefabsDlg)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
int iCurObject;
|
||||
int iCurLibrary;
|
||||
BOOL bCurLibraryModified;
|
||||
void SetCurObject(int);
|
||||
int GetCurObject() { return iCurObject; }
|
||||
CPrefabLibrary * GetCurrentLibrary(int *piSel = NULL);
|
||||
CPrefab * GetCurrentObject(int *piSel = NULL);
|
||||
void AddToObjectList(CPrefab *pPrefab, int iItem = -1,
|
||||
BOOL bReplace = FALSE);
|
||||
CImageList PrefabImages;
|
||||
void EditObjectInfo();
|
||||
void EditObjectData();
|
||||
|
||||
afx_msg BOOL HandleEditObjectPopup(UINT nID);
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CPrefabsDlg)
|
||||
afx_msg void OnAddlibrary();
|
||||
afx_msg void OnAddobject();
|
||||
afx_msg void OnEditlibrary();
|
||||
afx_msg void OnEditobject();
|
||||
afx_msg void OnExportobject();
|
||||
afx_msg void OnSelchangeLibraries();
|
||||
afx_msg void OnRemovelibrary();
|
||||
afx_msg void OnRemoveobject();
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnItemchangedObjects(NMHDR* pNMHDR, LRESULT* pResult);
|
||||
afx_msg void OnEndlabeleditObjects(NMHDR* pNMHDR, LRESULT* pResult);
|
||||
afx_msg void OnClose();
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
Reference in New Issue
Block a user