5#ifndef _FL_TREE_ITEM_ARRAY_H
6#define _FL_TREE_ITEM_ARRAY_H
52 Fl_Tree_Item **_items;
56 void enlarge(
int count);
74 void swap(
int ax,
int bx) {
75 Fl_Tree_Item *asave = _items[ax];
76 _items[ax] = _items[bx];
82 void remove(
int index);
int total() const
Return the total items in the array, or 0 if empty.
Definition Fl_Tree_Item_Array.H:70
void swap(int ax, int bx)
Swap the two items at index positions ax and bx.
Definition Fl_Tree_Item_Array.H:74
Fl_Tree_Item * operator[](int i)
Return the item and index i.
Definition Fl_Tree_Item_Array.H:62
Fl_Tree_Item_Array(int new_chunksize=10)
Constructor; creates an empty array.
Definition Fl_Tree_Item_Array.cxx:40
const Fl_Tree_Item * operator[](int i) const
Const version of operator[](int i)
Definition Fl_Tree_Item_Array.H:66
Tree item.
Definition Fl_Tree_Item.H:59