menu_item *menu_base::get_item(int index)
{
- bounds_return(index, 0, _items->elements(), NIL);
+ bounds_return(index, 0, _items->elements(), NULL_POINTER);
return dynamic_cast<menu_item *>(_items->borrow(index));
}
menu_base *menu_base::get_submenu(int index)
{
- bounds_return(index, 0, _menus->elements(), NIL);
+ bounds_return(index, 0, _menus->elements(), NULL_POINTER);
return dynamic_cast<menu_base *>(_menus->borrow(index));
}
{
//hmmm: implement this too....
if (!trigger){}
-return NIL;
+return NULL_POINTER;
}
void menu_base::activate()