#include <Color.h>
List of all members.
Static Public Attributes |
static Color | White = Color(255,255,255) |
static Color | Black = Color( 0, 0, 0) |
static Color | Gray = Color(128,128,128) |
static Color | LightGray = Color(192,192,192) |
static Color | DarkGray = Color( 64, 64, 64) |
static Color | BrightRed = Color(255, 0, 0) |
static Color | BrightBlue = Color( 0, 0,255) |
static Color | BrightGreen = Color( 0,255, 0) |
static Color | DarkRed = Color(128, 0, 0) |
static Color | DarkBlue = Color( 0, 0,128) |
static Color | DarkGreen = Color( 0,128, 0) |
static Color | Yellow = Color(255,255, 0) |
static Color | Cyan = Color( 0,255,255) |
static Color | Magenta = Color(255, 0,255) |
static Color | Tan = Color(180,150,120) |
static Color | Brown = Color(128,100, 80) |
static Color | Violet = Color(128, 0,128) |
static Color | Orange = Color(255,150, 20) |
Detailed Description
Definition at line 57 of file Color.h.
Member Enumeration Documentation
- Enumerator:
RMask |
|
GMask |
|
BMask |
|
AMask |
|
RGBMask |
|
Definition at line 66 of file Color.h.
- Enumerator:
-
Definition at line 65 of file Color.h.
- Enumerator:
RShift |
|
GShift |
|
BShift |
|
AShift |
|
Definition at line 71 of file Color.h.
Constructor & Destructor Documentation
Color::Color |
( |
const Color & |
c | ) |
|
|
inline |
Color::Color |
( |
BYTE |
r, |
|
|
BYTE |
g, |
|
|
BYTE |
b, |
|
|
BYTE |
a = 255 |
|
) |
| |
|
inline |
Color::Color |
( |
BYTE |
index | ) |
|
Member Function Documentation
DWORD Color::Alpha |
( |
| ) |
const |
|
inline |
DWORD Color::Blue |
( |
| ) |
const |
|
inline |
void Color::BuildBlendTable |
( |
| ) |
|
|
static |
void Color::BuildShadeTable |
( |
| ) |
|
|
static |
Color Color::dim |
( |
double |
scale | ) |
const |
Color Color::Faded |
( |
| ) |
const |
float Color::fAlpha |
( |
| ) |
const |
|
inline |
float Color::fBlue |
( |
| ) |
const |
|
inline |
float Color::fGreen |
( |
| ) |
const |
|
inline |
DWORD Color::Formatted |
( |
| ) |
const |
DWORD Color::FormattedBlend |
( |
DWORD |
c1, |
|
|
DWORD |
c2 |
|
) |
| |
|
static |
float Color::fRed |
( |
| ) |
const |
|
inline |
static double Color::GetFade |
( |
| ) |
|
|
inlinestatic |
static Color Color::GetFadeColor |
( |
| ) |
|
|
inlinestatic |
static const ColorFormat& Color::GetTextureFormat |
( |
int |
alpha_level = 0 | ) |
|
|
inlinestatic |
DWORD Color::Green |
( |
| ) |
const |
|
inline |
BYTE Color::Index |
( |
| ) |
const |
|
inline |
BYTE Color::IndexedBlend |
( |
BYTE |
dst | ) |
const |
|
inline |
int Color::operator!= |
( |
const Color & |
c | ) |
const |
|
inline |
Color Color::operator* |
( |
double |
scale | ) |
const |
Color Color::operator+ |
( |
DWORD |
d | ) |
const |
int Color::operator== |
( |
const Color & |
c | ) |
const |
|
inline |
DWORD Color::Red |
( |
| ) |
const |
|
inline |
void Color::SavePalette |
( |
const char * |
basename | ) |
|
|
static |
void Color::SaveShadeTable |
( |
const char * |
basename | ) |
|
|
static |
void Color::Set |
( |
DWORD |
value | ) |
|
|
inline |
void Color::Set |
( |
BYTE |
r, |
|
|
BYTE |
g, |
|
|
BYTE |
b, |
|
|
BYTE |
a = 255 |
|
) |
| |
|
inline |
void Color::SetAlpha |
( |
BYTE |
a | ) |
|
|
inline |
void Color::SetBlue |
( |
BYTE |
b | ) |
|
|
inline |
void Color::SetFade |
( |
double |
f, |
|
|
Color |
c = Black , |
|
|
int |
build_shade = false |
|
) |
| |
|
static |
void Color::SetGreen |
( |
BYTE |
g | ) |
|
|
inline |
void Color::SetPalette |
( |
PALETTEENTRY * |
pal, |
|
|
int |
palsize, |
|
|
BYTE * |
invpal = 0 |
|
) |
| |
|
static |
void Color::SetRed |
( |
BYTE |
r | ) |
|
|
inline |
Color Color::ShadeColor |
( |
int |
shade | ) |
const |
DWORD Color::Shaded |
( |
int |
shade | ) |
const |
DWORD Color::TextureFormat |
( |
int |
keep_alpha = 0 | ) |
const |
static const char* Color::TYPENAME |
( |
| ) |
|
|
inlinestatic |
DWORD Color::Unfaded |
( |
| ) |
const |
Color Color::Unformat |
( |
DWORD |
formatted_color | ) |
|
|
static |
void Color::UseTextureFormat |
( |
const ColorFormat & |
cf, |
|
|
int |
alpha_level = 0 |
|
) |
| |
|
static |
void Color::UseVideo |
( |
Video * |
v | ) |
|
|
static |
DWORD Color::Value |
( |
| ) |
const |
|
inline |
void Color::WithTextureFormat |
( |
int |
alpha_level = 0 | ) |
|
|
static |
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files: