.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "CG3_SETCOLREG" "" "06 October 2005" "" ""
.SH NAME
cg3_setcolreg \- Optional function. Sets a color register.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int cg3_setcolreg (unsigned \fIregno\fB, unsigned \fIred\fB, unsigned \fIgreen\fB, unsigned \fIblue\fB, unsigned \fItransp\fB, struct fb_info * \fIinfo\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIregno\fB\fR
boolean, 0 copy local, 1 \fBget_user\fR function
.TP
\fB\fIred\fB\fR
frame buffer colormap structure
.TP
\fB\fIgreen\fB\fR
The green value which can be up to 16 bits wide
.TP
\fB\fIblue\fB\fR
The blue value which can be up to 16 bits wide.
.TP
\fB\fItransp\fB\fR
If supported the alpha value which can be up to 16 bits wide.
.TP
\fB\fIinfo\fB\fR
frame buffer info structure
.SH "DESCRIPTION"
.PP
The cg3 palette is loaded with 4 color values at each time
.SH "SO YOU END UP WITH"
.PP
(rgb)(r), (gb)(rg), (b)(rgb), and so on.
We keep a sw copy of the hw cmap to assist us in this esoteric
loading procedure.