#include <surface.h>
Public Member Functions | |
| DI_Color () | |
| DI_Color (const SDL_Color &c) | |
| DI_Color (Uint32 c) | |
| DI_Color (Uint8 r, Uint8 g, Uint8 b) | |
| DI_Color & | operator= (const SDL_Color &c) |
| DI_Color & | operator= (Uint32 c) |
| Uint32 | MapRGB (SDL_PixelFormat *format) const |
| Uint32 | MapRGBA (SDL_PixelFormat *format, Uint8 a) const |
| bool | operator!= (const DI_Color &c) const |
| bool | operator== (const DI_Color &c) const |
Definition at line 30 of file surface.h.
| DI_Color::DI_Color | ( | ) |
Definition at line 33 of file surface.cpp.
| DI_Color::DI_Color | ( | const SDL_Color & | c | ) |
Definition at line 39 of file surface.cpp.
| DI_Color::DI_Color | ( | Uint32 | c | ) |
Definition at line 43 of file surface.cpp.
| DI_Color::DI_Color | ( | Uint8 | r, | |
| Uint8 | g, | |||
| Uint8 | b | |||
| ) |
Definition at line 47 of file surface.cpp.
| DI_Color & DI_Color::operator= | ( | const SDL_Color & | c | ) |
Definition at line 51 of file surface.cpp.
| DI_Color & DI_Color::operator= | ( | Uint32 | c | ) |
Definition at line 59 of file surface.cpp.
| Uint32 DI_Color::MapRGB | ( | SDL_PixelFormat * | format | ) | const [inline] |
| Uint32 DI_Color::MapRGBA | ( | SDL_PixelFormat * | format, | |
| Uint8 | a | |||
| ) | const [inline] |
Definition at line 47 of file surface.h.
Referenced by DamageBarWidget::eventBlit(), and WholeMapRenderer::renderVisibility().
| bool DI_Color::operator!= | ( | const DI_Color & | c | ) | const [inline] |
| bool DI_Color::operator== | ( | const DI_Color & | c | ) | const [inline] |
1.5.1