]> Creatis software - creaImageIO.git/blob - src2/creaImageIOWxTreeView.h
*** empty log message ***
[creaImageIO.git] / src2 / creaImageIOWxTreeView.h
1 #ifndef __creaImageIOWxTreeView_h_INCLUDED__
2 #define __creaImageIOWxTreeView_h_INCLUDED__
3
4 #ifdef USE_WXWIDGETS
5
6 #include <creaImageIOTreeView.h>
7 #include <creaWx.h>
8
9 #include <wx/listctrl.h>
10
11 namespace creaImageIO
12 {
13   /**
14    * \ingroup View
15    */
16   //=====================================================================
17   
18   //=====================================================================
19   /// Abstract class that handles the view of a Tree through its TreeHandler
20   class WxTreeView : public wxPanel, virtual public TreeView
21     {
22     public:
23       /// Ctor
24       WxTreeView(TreeHandler*, wxWindow* parent, const wxWindowID id);
25       /// Virtual destructor
26       virtual ~WxTreeView();
27
28       
29       /// Something like that ...
30       virtual void UpdateView();
31       
32
33     private:
34       /// The vector of wxListCtrl : one for each level of the tree
35       std::vector<wxListCtrl*> mListCtrl;
36       
37     };
38     // EO class WxTreeView
39     //=====================================================================
40   
41 } // EO namespace creaImageIO
42
43
44 #endif // USE_WIDGETS
45 // EOF
46 #endif