\hypertarget{Color_8cpp}{\section{trunk/bwapi/\-B\-W\-A\-P\-I\-L\-I\-B/\-Source/\-Color.cpp \-File \-Reference}
\label{Color_8cpp}\index{trunk/bwapi/\-B\-W\-A\-P\-I\-L\-I\-B/\-Source/\-Color.\-cpp@{trunk/bwapi/\-B\-W\-A\-P\-I\-L\-I\-B/\-Source/\-Color.\-cpp}}
}
{\ttfamily \#include $<$\-B\-W\-A\-P\-I/\-Color.\-h$>$}\*
{\ttfamily \#include $<$list$>$}\*
{\ttfamily \#include $<$\-Util/\-Foreach.\-h$>$}\*
{\ttfamily \#include $<$windows.\-h$>$}\*
{\ttfamily \#include \char`\"{}../../\-Debug.\-h\char`\"{}}\*
{\ttfamily \#include $<$limits$>$}\*
\-Include dependency graph for \-Color.\-cpp\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{Color_8cpp__incl}
\end{center}
\end{figure}
\subsection*{\-Namespaces}
\begin{DoxyCompactItemize}
\item 
namespace \hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I}
\item 
namespace \hyperlink{namespaceBWAPI_1_1Colors}{\-B\-W\-A\-P\-I\-::\-Colors}
\end{DoxyCompactItemize}
\subsection*{\-Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{Color_8cpp_a717d3390373fd5b1060d8352766243bb}{\-M\-A\-X\-U\-I\-N\-T}~std\-::numeric\-\_\-limits$<$unsigned \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int}$>$\-::max()
\end{DoxyCompactItemize}
\subsection*{\-Functions}
\begin{DoxyCompactItemize}
\item 
unsigned \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{namespaceBWAPI_1_1Colors_a018ded6a063e5e50d14b7dc9afe20f0b}{\-B\-W\-A\-P\-I\-::\-Colors\-::get\-Best\-Id\-For} (unsigned \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} red, unsigned \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} green, unsigned \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} blue)
\item 
void \hyperlink{namespaceBWAPI_1_1Colors_a5f4dab89bbe87425b5b3398a548b413c}{\-B\-W\-A\-P\-I\-::\-Colors\-::init} ()
\item 
\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{namespaceBWAPI_adeb277a2de73843d8db3b9a0766847bd}{\-B\-W\-A\-P\-I\-::get\-R\-G\-B\-Index} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} red, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} green, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} blue)
\end{DoxyCompactItemize}
\subsection*{\-Variables}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{namespaceBWAPI_aff20f4973ceb064ad18de651b041089a}{\-B\-W\-A\-P\-I\-::rgb\-Initialized} = false
\item 
unsigned \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{namespaceBWAPI_a30b4bebcad95954b230a356af4278c27}{\-B\-W\-A\-P\-I\-::palette} \mbox{[}256\mbox{]}
\item 
const \-Color \hyperlink{namespaceBWAPI_1_1Colors_a98104792768bac919f63dba31218fe5f}{\-B\-W\-A\-P\-I\-::\-Colors\-::\-Red} (111)
\item 
const \-Color \hyperlink{namespaceBWAPI_1_1Colors_a1ad24587c122108961d803c912ff8f72}{\-B\-W\-A\-P\-I\-::\-Colors\-::\-Blue} (165)
\item 
const \-Color \hyperlink{namespaceBWAPI_1_1Colors_a4a4a6122a3e2c5ba98888b95175ad9f3}{\-B\-W\-A\-P\-I\-::\-Colors\-::\-Teal} (159)
\item 
const \-Color \hyperlink{namespaceBWAPI_1_1Colors_af3a427483fc380b16f4998d67de05859}{\-B\-W\-A\-P\-I\-::\-Colors\-::\-Purple} (164)
\item 
const \-Color \hyperlink{namespaceBWAPI_1_1Colors_a269fc9ed757d0e59169714e46d0ac01c}{\-B\-W\-A\-P\-I\-::\-Colors\-::\-Orange} (179)
\item 
const \-Color \hyperlink{namespaceBWAPI_1_1Colors_a85c8af45840658b69d4dde58d52a8805}{\-B\-W\-A\-P\-I\-::\-Colors\-::\-Brown} (19)
\item 
const \-Color \hyperlink{namespaceBWAPI_1_1Colors_a7af30a93810a8e613922c5bd07365d4e}{\-B\-W\-A\-P\-I\-::\-Colors\-::\-White} (255)
\item 
const \-Color \hyperlink{namespaceBWAPI_1_1Colors_af76478b07b4feef07541408c596783db}{\-B\-W\-A\-P\-I\-::\-Colors\-::\-Yellow} (135)
\item 
const \-Color \hyperlink{namespaceBWAPI_1_1Colors_ad03cc4e0c93eebb05672a1621bca29ab}{\-B\-W\-A\-P\-I\-::\-Colors\-::\-Green} (117)
\item 
const \-Color \hyperlink{namespaceBWAPI_1_1Colors_a1708e3fdf9c88547c2c9d0205ae42c73}{\-B\-W\-A\-P\-I\-::\-Colors\-::\-Cyan} (128)
\item 
const \-Color \hyperlink{namespaceBWAPI_1_1Colors_a87a11d714c52375af5240d0f7f3970f2}{\-B\-W\-A\-P\-I\-::\-Colors\-::\-Black} (0)
\item 
const \-Color \hyperlink{namespaceBWAPI_1_1Colors_ab78ebaa1e20baf7c60b9bdec9ecd8382}{\-B\-W\-A\-P\-I\-::\-Colors\-::\-Grey} (74)
\item 
\hyperlink{Types_8h_a4ae1dab0fb4b072a66584546209e7d58}{\-B\-Y\-T\-E} \hyperlink{namespaceBWAPI_1_1Colors_a5169f7ce8a0c43589760c63d772b285b}{\-B\-W\-A\-P\-I\-::\-Colors\-::closest} \mbox{[}64\mbox{]}\mbox{[}64\mbox{]}\mbox{[}64\mbox{]}
\end{DoxyCompactItemize}


\subsection{\-Define \-Documentation}
\hypertarget{Color_8cpp_a717d3390373fd5b1060d8352766243bb}{\index{\-Color.\-cpp@{\-Color.\-cpp}!\-M\-A\-X\-U\-I\-N\-T@{\-M\-A\-X\-U\-I\-N\-T}}
\index{\-M\-A\-X\-U\-I\-N\-T@{\-M\-A\-X\-U\-I\-N\-T}!Color.cpp@{\-Color.\-cpp}}
\subsubsection[{\-M\-A\-X\-U\-I\-N\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-M\-A\-X\-U\-I\-N\-T}~std\-::numeric\-\_\-limits$<$unsigned {\bf int}$>$\-::max()}}\label{Color_8cpp_a717d3390373fd5b1060d8352766243bb}
