10 #ifndef __treeitem_hpp__ 21 unsigned char const* i_str,
22 void *
const io_user_data= 0);
26 unsigned char const* i_str,
27 void *
const io_user_data= 0);
44 unsigned int const i_level);
76 #define __treeitem_hpp__ treeitem * m_parent
Definition: treeitem.hpp:57
static void set_links(treeitem *const io_item, treeitem *const io_parent, treeitem *const io_prev, unsigned int const i_level)
sets linkage between tree items
Definition: treeitem.cpp:236
unsigned char * m_text
Definition: treeitem.hpp:52
virtual ~treeitem()
destructor
Definition: treeitem.cpp:44
unsigned int m_level
Definition: treeitem.hpp:60
struct array m_child
Definition: treeitem.hpp:56
treeitem * m_next
Definition: treeitem.hpp:58
A dynamic array that holds pointers to objects.
treeitem *const prev() const
returns the previous item
Definition: treeitem.cpp:200
unsigned int m_len
Definition: treeitem.hpp:53
bool add(unsigned char const *i_str, void *const io_user_data=0)
add a child item to the tree
Definition: treeitem.cpp:69
int m_pos_y
Definition: treeitem.hpp:54
container to hold objects
Definition: array.h:14
treeitem * m_prev
Definition: treeitem.hpp:59
unsigned int m_open
Definition: treeitem.hpp:51
treeitem *const next() const
returns the next item
Definition: treeitem.cpp:141
void * m_user_data
Definition: treeitem.hpp:55
treeitem widget class
Definition: treeitem.hpp:15
tree widget class
Definition: tree.hpp:15