#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 |
Public Member Functions inherited from theme::object | |
object () | |
object (const config &cfg) | |
virtual | ~object () |
SDL_Rect & | location (const SDL_Rect &screen) const |
const SDL_Rect & | get_location () const |
const std::string & | get_id () const |
void | modify_location (const _rect &rect) |
void | modify_location (std::string rect_str, SDL_Rect rect_ref) |
Private Attributes | |
std::string | prefix_ |
std::string | postfix_ |
label | label_ |
size_t | font_ |
bool | font_rgb_set_ |
Uint32 | font_rgb_ |
Additional Inherited Members | |
Public Types inherited from theme::object | |
enum | ANCHORING { FIXED, TOP_ANCHORED, PROPORTIONAL, BOTTOM_ANCHORED } |
|
explicit |
Definition at line 484 of file theme.cpp.
References c, config::child(), font_, font_rgb_, font_rgb_set_, g, config::has_attribute(), label_, and utils::split().
|
inline |
Definition at line 150 of file theme.hpp.
References font_rgb_.
Referenced by display::refresh_report().
|
inline |
Definition at line 151 of file theme.hpp.
References font_rgb_set_.
Referenced by display::refresh_report().
|
inline |
Definition at line 149 of file theme.hpp.
References font_.
Referenced by display::refresh_report().
|
inline |
Definition at line 147 of file theme.hpp.
References theme::label::empty(), and label_.
|
inline |
Definition at line 144 of file theme.hpp.
References postfix_.
Referenced by display::refresh_report().
|
inline |
Definition at line 143 of file theme.hpp.
References prefix_.
Referenced by display::refresh_report().
|
private |
Definition at line 156 of file theme.hpp.
Referenced by font_size(), and status_item().
|
private |
Definition at line 158 of file theme.hpp.
Referenced by font_rgb(), and status_item().
|
private |
Definition at line 157 of file theme.hpp.
Referenced by font_rgb_set(), and status_item().
|
private |
Definition at line 155 of file theme.hpp.
Referenced by get_label(), and status_item().
|
private |
|
private |