.TH vga_setmode() "" "" "VGA Function"
.PC "Select graphics mode"
.B "#include <vga.h>"
\fBint vga_setmode(\fImode\^\fB)\fR
\fBint \fImode\^\fB;\fR
.PP
Function
.B vga_setmode()
sets the graphics mode to
.IR mode .
.B libvga
recognizes the following modes, as defined in header file
.BR vga.h :
.DS
.ta 0.5i 2.0i
	\fBTEXT\fR	0
	\fBG320x200x16\fR	1
	\fBG640x200x16\fR	2
	\fBG640x350x16\fR	3
	\fBG640x480x16\fR	4
	\fBG320x200x256\fR	5
	\fBG320x240x256\fR	6
	\fBG320x400x256\fR	7
	\fBG360x480x256\fR	8
.DE
.SH "See Also"
.B
libvga,
vga.h
.R
