#include <theme.hpp>
Public Member Functions | |
status_item (const config &cfg) | |
const std::string & | prefix () const |
const std::string & | postfix () const |
const label * | get_label () const |
size_t | font_size () const |
Uint32 | font_rgb () const |
bool | font_rgb_set () const |
Private Attributes | |
std::string | prefix_ |
std::string | postfix_ |
label | label_ |
size_t | font_ |
bool | font_rgb_set_ |
Uint32 | font_rgb_ |
Definition at line 128 of file theme.hpp.
theme::status_item::status_item | ( | const config & | cfg | ) | [explicit] |
Definition at line 448 of file theme.cpp.
References b, config::child(), DefaultFontRGB, DefaultFontSize, font_, font_rgb_, font_rgb_set_, g, label_, r, size, and utils::split().
const std::string& theme::status_item::prefix | ( | ) | const [inline] |
Definition at line 136 of file theme.hpp.
References prefix_.
Referenced by display::refresh_report().
const std::string& theme::status_item::postfix | ( | ) | const [inline] |
Definition at line 137 of file theme.hpp.
References postfix_.
Referenced by display::refresh_report().
const label* theme::status_item::get_label | ( | ) | const [inline] |
size_t theme::status_item::font_size | ( | ) | const [inline] |
Definition at line 142 of file theme.hpp.
References font_.
Referenced by display::refresh_report().
Uint32 theme::status_item::font_rgb | ( | ) | const [inline] |
Definition at line 143 of file theme.hpp.
References font_rgb_.
Referenced by display::refresh_report().
bool theme::status_item::font_rgb_set | ( | ) | const [inline] |
Definition at line 144 of file theme.hpp.
References font_rgb_set_.
Referenced by display::refresh_report().
std::string theme::status_item::prefix_ [private] |
std::string theme::status_item::postfix_ [private] |
label theme::status_item::label_ [private] |
size_t theme::status_item::font_ [private] |
bool theme::status_item::font_rgb_set_ [private] |
Uint32 theme::status_item::font_rgb_ [private] |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |