Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATMenu::Remove
CATResult CATMenu::Remove ( CATMENUITEM *&  item  )  [virtual]

Remove() removes the specified menu item and its children.

Parameters:
item - ref to ptr of menu item to remove. set to 0 afterwards
Returns:
CAT_SUCCESS if found and removed.

Definition at line 277 of file CATMenu.cpp.

References CAT_ERR_INVALID_PARAM, CAT_ERR_LIST_ITEM_NOT_FOUND, CAT_SUCCESS, CATRESULT, CATMENUITEM::Children, ClearMenuItem(), fMenuDirty, fRootList, and CATMENUITEM::Parent.


Generated on Mon Feb 11 04:10:45 2008 for Game Accessibility Suite by doxygen 1.5.4