endselect(3G) endselect(3G)
endselect - turns off selecting mode
long endselect(buffer)
short buffer[];
buffer expects a buffer into which to write hits.
FUNCTION RETURN VALUE
The returned function values is the number of hits made while selection
mode was active. Each time there is a hit, the system writes the name
stack to buffer.
If the value returned is negative, the buffer is not large enough to hold
all the hits that occurred.
endselect turns off selection mode. The buffer stores any hits generated
by drawing routines between gselect and endselect. Every hit that occurs
causes the entire contents of the name stack to be recorded in the
buffer, preceded by the number of names in the stack. Thus, if the name
stack contains 5, 9, 17 when a hit occurs, the numbers 3, 5, 9, 17 are
added to the buffer.
gselect, loadname, initnames pushname, popname
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111 [ Back ]
|