#include <color_range.hpp>
Public Member Functions | |
color_range (Uint32 mid, Uint32 max=0x00FFFFFF, Uint32 min=0x00000000, Uint32 rep=0x00808080) | |
color_range (const std::vector< Uint32 > &v) | |
color_range () | |
Uint32 | mid () const |
Uint32 | max () const |
Uint32 | min () const |
Uint32 | rep () const |
bool | operator< (const color_range &b) const |
bool | operator== (const color_range &b) const |
int | index () const |
Private Attributes | |
Uint32 | mid_ |
Uint32 | max_ |
Uint32 | min_ |
Uint32 | rep_ |
Definition at line 37 of file color_range.hpp.
color_range::color_range | ( | Uint32 | mid, | |
Uint32 | max = 0x00FFFFFF , |
|||
Uint32 | min = 0x00000000 , |
|||
Uint32 | rep = 0x00808080 | |||
) | [inline] |
Definition at line 40 of file color_range.hpp.
color_range::color_range | ( | const std::vector< Uint32 > & | v | ) | [inline] |
Definition at line 41 of file color_range.hpp.
color_range::color_range | ( | ) | [inline] |
Definition at line 48 of file color_range.hpp.
Uint32 color_range::mid | ( | ) | const [inline] |
Definition at line 49 of file color_range.hpp.
References mid_.
Referenced by operator<(), operator==(), and recolor_range().
Uint32 color_range::max | ( | ) | const [inline] |
Definition at line 50 of file color_range.hpp.
References max_.
Referenced by operator<(), operator==(), and recolor_range().
Uint32 color_range::min | ( | ) | const [inline] |
Definition at line 51 of file color_range.hpp.
References min_.
Referenced by operator<(), operator==(), and recolor_range().
Uint32 color_range::rep | ( | ) | const [inline] |
Definition at line 53 of file color_range.hpp.
References rep_.
Referenced by operator<(), and operator==().
bool color_range::operator< | ( | const color_range & | b | ) | const [inline] |
bool color_range::operator== | ( | const color_range & | b | ) | const [inline] |
int color_range::index | ( | ) | const |
Definition at line 164 of file color_range.cpp.
References game_config::color_info(), and gamemap::MAX_PLAYERS.
Referenced by mp::wait::generate_menu(), and mp::connect::side::side().
Uint32 color_range::mid_ [private] |
Uint32 color_range::max_ [private] |
Uint32 color_range::min_ [private] |
Uint32 color_range::rep_ [private] |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |