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