GUI_IMAGE_SELECTOR(WIN,X,Y,W,H,IW,IH,EXC,HELP$)
IW,IH = thumbnail
width,height
EXC = 0/1 Exclusive.
0 - multiple images can be selected, 1 - only 1 thumbnail can be
selected
Adds a thumbnail selector to the
Window. The size of each thumbnail is set by IW,IH. Thumbnail
Selectors work on this principal - you make a Selector using the above Function,
you then attach any Images to the Selector using the Functions listed below. The
Selector accesses each Image using an off-set number, ie. the first
passed Image becomes Image 0, the second passed Image becomes Image 1 etc.
Therefore, it is up to you the programmer to keep track of the passed
Images and the order in which they are passed.
Example:
isel.GADGET=GUI_IMAGE_SELECTOR(mywin,10,20,100,100,10,10,1,"Select
Image")
GUI_DIR_TO_SELECTOR("gfx\myimages\",isel)