%---------------- Functions ------------

\chapter{Coloradjust.mui/Coloradjust.mui}
\rule{\textwidth}{1mm}
\vspace{0.5cm}
\begin{deflist}{MMMMMMMM}
\item[\bf FUNCTION]
Coloradjust class creates some gadgets that allow adjusting
a single color. Depending on the operating system, different
kinds of gadgets are be used. Kickstart 2.x users might only
receive an RGB slider triple, Kickstart 3.x users could get
an additional colorwheel if available. However, the outfit
of this class is not important for you as a programmer.
\end{deflist}


\subsection{Coloradjust.mui/MUIA\_Coloradjust\_Blue}
\rule{\textwidth}{1mm}
\vspace{0.5cm}
\begin{deflist}{MMMMMMMM}
\item[\bf NAME]
\begin{description}
\item[MUIA\_Coloradjust\_Blue]  -- (V4 ) [ISG], ULONG
\end{description}

\item[\bf FUNCTION]
Set or get the 32-bit blue component of the adjusted color.
Values range from 0 (no blue) to \$ffffffff (full blue).

\item[\bf SEE ALSO]
MUIA\_Coloradjust\_Green, MUIA\_Coloradjust\_Red,
MUIA\_Coloradjust\_RGB, MUIA\_Coloradjust\_ModeID
\end{deflist}


\subsection{Coloradjust.mui/MUIA\_Coloradjust\_Green}
\rule{\textwidth}{1mm}
\vspace{0.5cm}
\begin{deflist}{MMMMMMMM}
\item[\bf NAME]
\begin{description}
\item[MUIA\_Coloradjust\_Green]  -- (V4 ) [ISG], ULONG
\end{description}

\item[\bf FUNCTION]
Set or get the 32-bit green component of the adjusted color.
Values range from 0 (no green) to \$ffffffff (full green).

\item[\bf SEE ALSO]
MUIA\_Coloradjust\_Red, MUIA\_Coloradjust\_Blue,
MUIA\_Coloradjust\_RGB, MUIA\_Coloradjust\_ModeID
\end{deflist}


\subsection{Coloradjust.mui/MUIA\_Coloradjust\_ModeID}
\rule{\textwidth}{1mm}
\vspace{0.5cm}
\begin{deflist}{MMMMMMMM}
\item[\bf NAME]
\begin{description}
\item[MUIA\_Coloradjust\_ModeID]  -- (V4 ) [ISG], ULONG
\end{description}

\item[\bf FUNCTION]
This attribute tells the coloradjust object for which
screen mode the color shall be adjusted. The object
queries the display data base for some mode attributes
(such as supported number of red/green/blue bits) and
adjusts its display accordingly, giving the user an
idea of what colors are supported.

Omitting this attribute does not affect the functionality
of a coloradjust object. The user will still be able to
adjust a color. However, if you know the ModeID, you
should supply it.

\item[\bf SEE ALSO]
MUIA\_Coloradjust\_RGB

\item[\bf EXAMPLE]
\begin{flushleft}
\begin{verbatim}
set(cadj,MUIA_Coloradjust_ModeID,GetVPModeID(viewport));
\end{verbatim}
\end{flushleft}
\end{deflist}


\subsection{Coloradjust.mui/MUIA\_Coloradjust\_RGB}
\rule{\textwidth}{1mm}
\vspace{0.5cm}
\begin{deflist}{MMMMMMMM}
\item[\bf NAME]
\begin{description}
\item[MUIA\_Coloradjust\_RGB]  -- (V4 ) [ISG], ULONG *
\end{description}

\item[\bf FUNCTION]
Set or get the red/green/blue values all at once.
You pass in / receive a pointer to three longwords
containing the 32-bit red, green and blue values.

\item[\bf EXAMPLE]
\begin{flushleft}
\begin{verbatim}
ULONG rgb[3] = { 0xa000000,0xdeadbeaf,0x42424242 };
set(cadj,MUIA_Coloradjust_RGB,rgb);

ULONG *rgb;
get(cadj,MUIA_Coloradjust_RGB,&rgb);
printf("red=%08lx green=%08lx blue=%08lx\n",rgb[0],rgb[1],rgb[2]);
\end{verbatim}
\end{flushleft}
\item[\bf SEE ALSO]
MUIA\_Coloradjust\_Green, MUIA\_Coloradjust\_Blue,
MUIA\_Coloradjust\_Red, MUIA\_Coloradjust\_ModeID
\end{deflist}


\subsection{Coloradjust.mui/MUIA\_Coloradjust\_Red}
\rule{\textwidth}{1mm}
\vspace{0.5cm}
\begin{deflist}{MMMMMMMM}
\item[\bf NAME]
\begin{description}
\item[MUIA\_Coloradjust\_Red]  -- (V4 ) [ISG], ULONG
\end{description}

\item[\bf FUNCTION]
Set or get the 32-bit red component of the adjusted color.
Values range from 0 (no red) to \$ffffffff (full red).

\item[\bf SEE ALSO]
MUIA\_Coloradjust\_Green, MUIA\_Coloradjust\_Blue,
MUIA\_Coloradjust\_RGB, MUIA\_Coloradjust\_ModeID
\end{deflist}


%---------------- End of File ----------
