]>
Commit | Line | Data |
---|---|---|
1fc25a89 | 1 | ///////////////////////////////////////////////////////////////////////////// |
f4ec6bd2 | 2 | // Name: contrib/samples/ogl/studio/project.h |
1fc25a89 JS |
3 | // Purpose: Studio project classes |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: 27/7/98 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) Julian Smart | |
f4ec6bd2 | 9 | // Licence: wxWindows licence |
1fc25a89 JS |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
12 | #ifndef _STUDIO_PROJECT_H_ | |
13 | #define _STUDIO_PROJECT_H_ | |
14 | ||
f4ec6bd2 WS |
15 | #include "wx/treectrl.h" |
16 | #include "wx/imaglist.h" | |
1fc25a89 JS |
17 | |
18 | /* | |
19 | * This is the project tree control. | |
20 | */ | |
21 | ||
22 | class csProjectTreeCtrl: public wxTreeCtrl | |
23 | { | |
24 | ||
25 | DECLARE_CLASS(csProjectTreeCtrl) | |
26 | public: | |
27 | ||
28 | csProjectTreeCtrl(wxWindow *parent, const wxWindowID id, const wxPoint& pos, const wxSize& size, | |
29 | long style = wxTR_HAS_BUTTONS|wxTR_LINES_AT_ROOT); | |
30 | ||
31 | ~csProjectTreeCtrl(); | |
32 | ||
e70e15cc | 33 | wxImageList *GetImageList() const { return (wxImageList *)&m_imageList; } |
1fc25a89 | 34 | protected: |
e70e15cc | 35 | wxImageList m_imageList; |
1fc25a89 JS |
36 | |
37 | DECLARE_EVENT_TABLE() | |
38 | }; | |
39 | ||
40 | #endif | |
41 | // _STUDIO_PROJECT_H_ |