
------------------------------------------------------------------------------
1.19 Set all color palette of VGA characters. <Main>
------------------------------------------------------------------------------
[Name]
crt_setallpalette
[Syntax]
#include <crt.h>
#include <graph.h>
int crt_setallpalette( unsigned long *colors ) ;
[Arguments]
colors Pointer to the color value array.
[Return]
Returns zero if successful. If any error (not a VGA display device),
returns non-zero value.
[Description]
Sets the color values to the all color palette for character.
Store 16 color values in "color". The format of the color value is
same as data used in "crt_setpalette" function. This function
stores 16 color values to the all 16 color palettes, and set the
palette priority as "Composite".
This function doesn't affect the color palettes of the other screen
and the color palettes of graphics.
All palette are set as the system initial values by specifying NULL
in "color". The system initial values is listed in the description of
"crt_setpalette" function.