MatOCAD Logo

Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

ItdTreeNode.h

Go to the documentation of this file.
00001 //------------------------------------------------------------------------------
00002 //
00003 // Name:        ItdTreeNode.h
00004 // Author:      Silvestro Jacopo
00005 //
00006 //------------------------------------------------------------------------------
00007 
00008 
00009 //------------------------------------------------------------------------------
00010 //
00011 //                            DEFINE THE OBJECT
00012 //
00013 //------------------------------------------------------------------------------
00014 #ifndef __ItdTreeNode_
00015 #define __ItdTreeNode_
00016 #include <wx/treectrl.h>
00017 
00018 
00020 
00024 class ItdTreeNode: public wxTreeItemData
00025 {
00026 public:
00027     
00029 
00033     wxWindow* GetObj();
00034     
00036 
00040     void SetObj(wxWindow* obj);
00041     
00043 
00047     int GetType();
00048     
00050 
00054     void SetType(int t);
00055     
00056         
00058 
00062     int GetPageN();
00063     
00065 
00069     void SetPageN(int n);
00070 
00072 
00077     ItdTreeNode(wxWindow* obj= NULL, int t=-1, int n=-1);
00078 
00079 private:    
00081     wxWindow* object;
00082     
00084     int type;
00085     
00087     int pagen;
00088 
00089 };
00090 #endif
00091 //------------------------------------------------------------------------------
00092 //
00093 //                              END OF FILE
00094 //
00095 //------------------------------------------------------------------------------
00096  
00097 
00098 

 

SourceForge Logo