.TH vga_setpalvec() "" "" "VGA Function"
.PC "Set a range of colors in the current palette"
.B "#include <vga.h>"
\fBint vga_setpalvec(\fIstart\^\fB, \fInum\^\fB, \fIpal\^\fB)\fR
\fBint \fIstart\^\fB, \fInum\^\fB, *\fIpal\^\fB;\fR
.PP
Function
.B vga_setpalvec()
sets a range of colors within the current palette.
.I start
gives the number in the current palette at which to begin setting colors, and
.I num
gives the number of entries to set.
.PP
.I pal
points to an array of integers that hold the colors to which the palette
entries will be set.
There should be three integers for each entry to be set:
one for the red gun, one for the green, and one for the blue.
.SH "See Also"
.B
libvga,
vga_setpalette()
.R
