.TH vga_getpalvec() "" "" "VGA Function"
.PC "Get multiple colors from the current palette"
.B "#include <vga.h>"
\fBint vga_getpalvec(\fIstart\^\fB, \fInum\^\fB, \fIpal\^\fB)\fR
\fBint \fIstart\^\fB, \fInum\^\fB, *\fIpal\^\fB;\fR
.PP
Function
.B vga_getpalvec()
lets you read a range of colors from the current palette.
.I start
gives the number of palette entry from which reading begins, and
.I num
gives the number of entries to read.
.PP
.I pal
points to an array of integers into which
.I vga_getpalvec()
writes the colors it reads.
This array should contain three integers for each color read:
one for the red value, one for the green, and one for the blue.
.SH "See Also"
.B
libvga,
vga_getpalette(),
vga_setpalvec()
.R
