#include <theme.hpp>
Public Member Functions | |
| status_item (std::size_t sw, std::size_t sh, const config &cfg) | |
| const std::string & | prefix () const |
| const std::string & | postfix () const |
| const label * | get_label () const |
| std::size_t | font_size () const |
| color_t | font_rgb () const |
| bool | font_rgb_set () const |
| virtual rect & | location (const rect &screen) const |
Public Member Functions inherited from theme::object | |
| object () | |
| object (std::size_t sw, std::size_t sh, const config &cfg) | |
| virtual | ~object () |
| virtual rect & | location (const rect &screen) const |
| const rect & | get_location () const |
| const std::string & | get_id () const |
| void | modify_location (const _rect &rect) |
| void | modify_location (const std::string &rect_str, rect rect_ref) |
Private Attributes | |
| std::string | prefix_ |
| std::string | postfix_ |
| label | label_ |
| std::size_t | font_ |
| bool | font_rgb_set_ |
| color_t | font_rgb_ |
Additional Inherited Members | |
Public Types inherited from theme::object | |
| enum | ANCHORING { FIXED , TOP_ANCHORED , PROPORTIONAL , BOTTOM_ANCHORED } |
|
explicit |
Definition at line 465 of file theme.cpp.
References cfg, font_, font_rgb_, font_rgb_set_, color_t::from_rgb_string(), config::has_attribute(), label, label_, config::optional_child(), and sw.
|
inline |
Definition at line 139 of file theme.hpp.
References font_rgb_.
Referenced by display::draw_report().
|
inline |
Definition at line 140 of file theme.hpp.
References font_rgb_set_.
Referenced by display::draw_report().
|
inline |
|
inline |
Definition at line 136 of file theme.hpp.
References theme::label::empty(), and label_.
| rect & theme::object::location |
Definition at line 52 of file theme.cpp.
Referenced by display::refresh_report().
|
inline |
Definition at line 133 of file theme.hpp.
References postfix_.
Referenced by display::refresh_report().
|
inline |
Definition at line 132 of file theme.hpp.
References prefix_.
Referenced by display::refresh_report().
|
private |
Definition at line 145 of file theme.hpp.
Referenced by font_size(), and status_item().
|
private |
Definition at line 147 of file theme.hpp.
Referenced by font_rgb(), and status_item().
|
private |
Definition at line 146 of file theme.hpp.
Referenced by font_rgb_set(), and status_item().
|
private |
Definition at line 144 of file theme.hpp.
Referenced by get_label(), and status_item().
|
private |
|
private |