|
|
Copyright 1991 David Jurgens |
MSC: short far _remapallpalette( long far *colors )
MSC: long far _remappalette( short pixnum, long color )
- prototype in graph.h
- colors = color number array containing one color per video
mode color
- pixnum = pixel to change
- color = new color number
Valid colors are:
_BLACK _BLUE _BRIGHTWHITE _BROWN
_CYAN _GRAY _GREEN _LIGHTBLUE
_LIGHTCYAN _LIGHTGREEN _LIGHTMAGENTA _LIGHTRED
_YELLOW _MAGENTA _RED _WHITE
- _remapallpalette() remaps all pixel values; _remappalette()
affects on the pixel specified by pixnum
- _remapallpalette() returns -1 on success; zero otherwise
- _remappalette() previous color value of "pixnum" on success; -1
otherwise
|
|
Esc or Alt-X to exit |
_remapallpalette |
Home/PgUp/PgDn/End ←↑↓→ |