int dirOpen (tSubMenu *SM, char *dir, dirPick select, int baseID, int maxItem)

Function dirOpen

Documentation

Function dirOpen. Scan the specified directory for appropriate files to add to the menu. Check to see if the maximum allowed files have been displayed. Due to the current state of the GUI-3D code, no more than 8 files may be displayed on the menu at any time. Future revisions may involve multiple menus which would allow a user to select from more than eight files.

Returns:
True if items were found in the directory.
Parameters:
SM - Reference to the current menu.
dir - The directory being read.
select - The function through which item selection for the menu will be done.
baseID - ID of the menu item selected.
maxItem - Maximum number of items to be displayed at any one time (currently, max must be no more than eight).
See Also:
menuCallBack

alphabetic index hierarchy of classes


M4cave Sound Visualization

Contacts

M4cave Reference Manual
Help With Doc++

generated by doc++