]> icculus.org git repositories - taylor/freespace2.git/blob - include/objecttree.h
Initial revision
[taylor/freespace2.git] / include / objecttree.h
1 // ObjectTree.h : header file
2 //
3 #ifndef _OBJECTTREE_H
4 #define _OBJECTTREE_H
5
6 #include "model.h"
7
8 /////////////////////////////////////////////////////////////////////////////
9 // CObjectTree dialog
10
11 class CObjectTree : public CDialog
12 {
13 // Construction
14 public:
15         char m_title[128];
16
17         void MyCreate(void * pv);
18         void add_model(polymodel *pm, int submodel, HTREEITEM parent );
19         void ExpandAll();
20         void CollapseAll();
21
22         CObjectTree(CWnd* pParent = NULL);   // standard constructor
23
24 // Dialog Data
25         //{{AFX_DATA(CObjectTree)
26         enum { IDD = IDD_DIALOG1 };
27         CStatic m_txt_pof_info;
28         CStatic m_txt_detail6;
29         CStatic m_txt_detail5;
30         CStatic m_txt_detail4;
31         CStatic m_txt_detail3;
32         CStatic m_txt_detail1;
33         CStatic m_txt_detail2;
34         CStatic m_txt_bspgen_version;
35         CStatic m_txt_movement_axis;
36         CStatic m_txt_movement_type;
37         CStatic m_txt_name;
38         CStatic m_txt_num_polies;
39         CStatic m_txt_num_verts;
40         CTreeCtrl       m_tree;
41         //}}AFX_DATA
42
43
44         void * m_pv;
45
46
47 // Overrides
48         // ClassWizard generated virtual function overrides
49         //{{AFX_VIRTUAL(CObjectTree)
50         protected:
51         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
52         //}}AFX_VIRTUAL
53
54 // Implementation
55 protected:
56
57         // Generated message map functions
58         //{{AFX_MSG(CObjectTree)
59         virtual BOOL OnInitDialog();
60         afx_msg void OnSelchangedTree1(NMHDR* pNMHDR, LRESULT* pResult);
61         //}}AFX_MSG
62         DECLARE_MESSAGE_MAP()
63 };
64
65 #endif
66