1 // Copyright 2001-2018 Crytek GmbH / Crytek Group. All rights reserved.
3 #ifndef __SELECTANIMATIONDIALOG_H__
4 #define __SELECTANIMATIONDIALOG_H__
6 #include "Dialogs/GenericSelectItemDialog.h"
8 struct ICharacterInstance
;
10 class CSelectAnimationDialog
: public CGenericSelectItemDialog
12 DECLARE_DYNAMIC(CSelectAnimationDialog
)
13 CSelectAnimationDialog(CWnd
* pParent
= NULL
); // standard constructor
14 virtual ~CSelectAnimationDialog() {}
16 void SetCharacterInstance(ICharacterInstance
* pCharacterInstance
);
17 CString
GetSelectedItem();
20 virtual BOOL
OnInitDialog();
22 // Derived Dialogs should override this
23 virtual void GetItems(std::vector
<SItem
>& outItems
);
25 // Called whenever an item gets selected
26 virtual void ItemSelected();
28 ICharacterInstance
* m_pCharacterInstance
;
31 #endif //__SELECTANIMATIONDIALOG_H__