00001
00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024
00025
00026 #if !defined(AFX_ANIMATION_SET_DLG_H__AA6100E2_19FA_11D5_9CD4_0050DAC3A412__INCLUDED_)
00027 #define AFX_ANIMATION_SET_DLG_H__AA6100E2_19FA_11D5_9CD4_0050DAC3A412__INCLUDED_
00028
00029 #if _MSC_VER > 1000
00030 #pragma once
00031 #endif // _MSC_VER > 1000
00032
00033
00034
00035 #include <nel/3d/animation_set.h>
00036
00038
00039
00040 class CAnimationSetDlg : public CDialog
00041 {
00042 friend class CObjectViewer;
00043
00044 public:
00045 CAnimationSetDlg (class CObjectViewer* objView, CWnd* pParent = NULL);
00046
00047
00048
00049 enum { IDD = IDD_ANIMATION_SET };
00050 CTreeCtrl SkelTree;
00051 CTreeCtrl Tree;
00052
00053
00054
00055
00056
00057
00058 protected:
00059 virtual void DoDataExchange(CDataExchange* pDX);
00060
00061
00062
00063 protected:
00064
00065
00066 void loadAnimation (const char* fileName);
00067 void addAnimation (NL3D::CAnimation* pAnim, const char* name);
00068 void loadSkeleton (const char* fileName);
00069
00070
00071 CObjectViewer* _ObjView;
00072 std::vector<std::string> _ListAnimation;
00073 std::vector<std::string> _ListSkeleton;
00074
00075
00076
00077 afx_msg void OnAddAnimation();
00078 afx_msg void OnReset();
00079 afx_msg void OnAddSkelWt();
00080 afx_msg void OnDestroy();
00081
00082 DECLARE_MESSAGE_MAP()
00083 };
00084
00085
00086
00087
00088 #endif // !defined(AFX_ANIMATION_SET_DLG_H__AA6100E2_19FA_11D5_9CD4_0050DAC3A412__INCLUDED_)