FACT++  1.0
UChar_t MGImage::Color ( int  col)
static

Definition at line 259 of file MGImage.cc.

References kBlue, kGreen, kRed, kWhite, and kYellow.

Referenced by DisableSyncMode().

260 {
261  switch (col)
262  {
263  case kBlack: return 0;
264  case kWhite: return 0xff;
265  case kYellow: return 0x0f;
266  case kRed: return 2;
267  case kGreen: return 2<<2;
268  case kBlue: return 2<<4;
269  default:
270  return 0;
271  }
272 }
Set color White.
Definition: WindowLog.h:23
Set color Green.
Definition: WindowLog.h:18
Set color Yellow.
Definition: WindowLog.h:19
Set color Red.
Definition: WindowLog.h:17
Set color Blue.
Definition: WindowLog.h:20

+ Here is the caller graph for this function: