5 #ifndef _FL_TREE_ITEM_ARRAY_H 
    6 #define _FL_TREE_ITEM_ARRAY_H 
   52 #if FLTK_ABI_VERSION >= 10303 
   58   void enlarge(
int count);
 
   76 #if FLTK_ABI_VERSION >= 10301 
   78   void swap(
int ax, 
int bx);
 
   81   void swap(
int ax, 
int bx) {
 
   83     _items[ax] = _items[bx];
 
   87   int move(
int to, 
int from);
 
   88   int deparent(
int pos);
 
   94   void remove(
int index);
 
   96 #if FLTK_ABI_VERSION >= 10303 
   97   void manage_item_destroy(
int val) {
 
  101     if ( val ) _flags |= MANAGE_ITEM; 
else _flags &= ~MANAGE_ITEM;
 
  103   int manage_item_destroy()
 const {
 
  104     return _flags & MANAGE_ITEM ? 1 : 0;
 
Fl_Tree_Item * operator[](int i)
Return the item and index i. 
Definition: Fl_Tree_Item_Array.H:64
void swap(int ax, int bx)
Swap the two items at index positions ax and bx. 
Definition: Fl_Tree_Item_Array.H:81
const Fl_Tree_Item * operator[](int i) const 
Const version of operator[](int i) 
Definition: Fl_Tree_Item_Array.H:68
Tree widget item. 
Definition: Fl_Tree_Item.H:67
int total() const 
Return the total items in the array, or 0 if empty. 
Definition: Fl_Tree_Item_Array.H:72
Manages an array of Fl_Tree_Item pointers. 
Definition: Fl_Tree_Item_Array.H:47