#include <theme.hpp>
Public Member Functions | |
label () | |
label (const config &cfg) | |
const std::string & | text () const |
const std::string & | icon () const |
bool | empty () const |
size_t | font_size () const |
Uint32 | font_rgb () const |
bool | font_rgb_set () const |
Private Attributes | |
std::string | text_ |
std::string | icon_ |
size_t | font_ |
bool | font_rgb_set_ |
Uint32 | font_rgb_ |
Definition at line 105 of file theme.hpp.
theme::label::label | ( | const config & | cfg | ) | [explicit] |
Definition at line 415 of file theme.cpp.
References b, DefaultFontRGB, DefaultFontSize, font_, font_rgb_, font_rgb_set_, g, r, size, and utils::split().
const std::string& theme::label::text | ( | ) | const [inline] |
const std::string& theme::label::icon | ( | ) | const [inline] |
bool theme::label::empty | ( | ) | const [inline] |
size_t theme::label::font_size | ( | ) | const [inline] |
Uint32 theme::label::font_rgb | ( | ) | const [inline] |
bool theme::label::font_rgb_set | ( | ) | const [inline] |
std::string theme::label::text_ [private] |
std::string theme::label::icon_ [private] |
size_t theme::label::font_ [private] |
bool theme::label::font_rgb_set_ [private] |
Uint32 theme::label::font_rgb_ [private] |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |