Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
setcolor
◄Description► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Include: FGRAPH.FI, FGRAPH.FD
Type: INTEGER*2 FUNCTION
Routine: setcolor( color )
INTEGER*2 color
Returns: the previous color index, or -1 if an error occurs.
See also: arc, ellipse, floodfill, getcolor, lineto, outgtext,
pie, rectangle, selectpalette, setbkcolor, setpixel,
settextcolor
-♦-