#include <theme.hpp>


Public Member Functions | |
| label () | |
| label (const config &cfg) | |
| const std::string & | text () const |
| void | set_text (const std::string &text) |
| 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 104 of file theme.hpp.
| theme::label::label | ( | const config & | cfg | ) | [explicit] |
Definition at line 423 of file theme.cpp.
References font_, font_rgb_, font_rgb_set_, config::has_attribute(), and utils::split().

| bool theme::label::empty | ( | ) | const [inline] |
Definition at line 116 of file theme.hpp.
Referenced by theme::status_item::get_label().

| Uint32 theme::label::font_rgb | ( | ) | const [inline] |
Definition at line 119 of file theme.hpp.
References font_rgb_.
Referenced by draw_label().

| bool theme::label::font_rgb_set | ( | ) | const [inline] |
Definition at line 120 of file theme.hpp.
References font_rgb_set_.
Referenced by draw_label().

| size_t theme::label::font_size | ( | ) | const [inline] |
Definition at line 118 of file theme.hpp.
References font_.
Referenced by draw_label().

| const std::string& theme::label::icon | ( | ) | const [inline] |
Definition at line 114 of file theme.hpp.
References icon_.
Referenced by draw_label().

| void theme::label::set_text | ( | const std::string & | text | ) | [inline] |
Definition at line 113 of file theme.hpp.
References text_.
Referenced by theme::modify_label().

| const std::string& theme::label::text | ( | ) | const [inline] |
Definition at line 112 of file theme.hpp.
References text_.
Referenced by draw_label().

size_t theme::label::font_ [private] |
Definition at line 123 of file theme.hpp.
Referenced by font_size(), and label().
Uint32 theme::label::font_rgb_ [private] |
Definition at line 125 of file theme.hpp.
Referenced by font_rgb(), and label().
bool theme::label::font_rgb_set_ [private] |
Definition at line 124 of file theme.hpp.
Referenced by font_rgb_set(), and label().
std::string theme::label::icon_ [private] |
std::string theme::label::text_ [private] |
Definition at line 122 of file theme.hpp.
Referenced by empty(), set_text(), and text().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:16:43 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |