5 #ifndef _FL_TREE_ITEM_ARRAY_H
6 #define _FL_TREE_ITEM_ARRAY_H
52 void enlarge(
int count);
70 #if FLTK_ABI_VERSION >= 10301
72 void swap(
int ax,
int bx);
75 void swap(
int ax,
int bx) {
77 _items[ax] = _items[bx];
84 void remove(
int index);
Fl_Tree_Item * operator[](int i)
Return the item and index i.
Definition: Fl_Tree_Item_Array.H:58
void swap(int ax, int bx)
Swap the two items at index positions ax and bx.
Definition: Fl_Tree_Item_Array.H:75
const Fl_Tree_Item * operator[](int i) const
Const version of operator[](int i)
Definition: Fl_Tree_Item_Array.H:62
Tree item.
Definition: Fl_Tree_Item.H:54
int total() const
Return the total items in the array, or 0 if empty.
Definition: Fl_Tree_Item_Array.H:66
Manages an array of Fl_Tree_Item pointers.
Definition: Fl_Tree_Item_Array.H:47