2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 /*****************************************************************************
10 #include <dos/dosextens.h>
11 #include <proto/icon.h>
13 extern struct Library
*IconBase
;
24 Looks for 'entry' in the tooltypes array 'tt'. If not found
25 'defaultstring' is returned, otherwise the string corresponding to
26 'entry' is returned. Say the tooltype Settings=SaveonExit exists
27 within the array, then a pointer to "SaveonExit" is returned when
28 ArgString(tt, "Settings") is done.
31 tt -- the tooltype array to search in
32 entry -- the string to look for in the tooltype array
35 Pointer to the string corresponding to 'entry' in the tooltype
36 array, or 'defaultstring' if 'entry' was not found.
50 28.04.98 SDuvan implemented
52 *****************************************************************************/
56 if((match
= FindToolType(tt
, entry
)) == NULL
)