1
0
forked from 0ad/0ad
0ad/source/sced/ui/UnitPropertiesDlgBar.h
notpete e555221221 Moved UI specific code to it's own directory.
This was SVN commit r331.
2004-05-31 20:37:59 +00:00

41 lines
906 B
C++
Executable File

#ifndef _UNITPROPERTIESDLGBAR_H
#define _UNITPROPERTIESDLGBAR_H
#include "ObjectEntry.h"
class CUnitPropertiesDlgBar : public CDialogBar
{
public:
CUnitPropertiesDlgBar();
~CUnitPropertiesDlgBar();
BOOL Create(CWnd * pParentWnd, UINT nIDTemplate, UINT nStyle, UINT nID);
BOOL Create(CWnd * pParentWnd, LPCTSTR lpszTemplateName, UINT nStyle, UINT nID);
void OnUpdateCmdUI(CFrameWnd* pTarget, BOOL bDisableIfNoHndler);
void SetObject(CObjectEntry* obj);
protected:
BOOL OnInitDialog();
void UpdateEditorData();
void UpdatePropertiesDlg();
// object being edited
CObjectEntry* m_Object;
// Generated message map functions
//{{AFX_MSG(CUnitPropertiesDlgBar)
afx_msg void OnButtonBack();
afx_msg void OnButtonRefresh();
afx_msg void OnButtonTextureBrowse();
afx_msg void OnButtonModelBrowse();
afx_msg void OnButtonAnimationBrowse();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif