#include <rich_label.hpp>
Public Member Functions | |
| resolution (const config &cfg) | |
Public Member Functions inherited from gui2::resolution_definition | |
| resolution_definition (const config &cfg) | |
Public Attributes | |
| color_t | text_color_enabled |
| color_t | text_color_disabled |
| color_t | link_color |
| std::string | font_family |
| int | font_size |
| std::string | font_style |
| std::map< std::string, color_t > | colors |
Public Attributes inherited from gui2::resolution_definition | |
| unsigned | window_width |
| unsigned | window_height |
| unsigned | min_width |
| unsigned | min_height |
| unsigned | default_width |
| unsigned | default_height |
| unsigned | max_width |
| unsigned | max_height |
| std::vector< linked_group_definition > | linked_groups |
| unsigned | text_extra_width |
| unsigned | text_extra_height |
| typed_formula< unsigned > | text_font_size |
| font::family_class | text_font_family |
| font::pango_text::FONT_STYLE | text_font_style |
| std::vector< state_definition > | state |
Definition at line 319 of file rich_label.hpp.
|
explicit |
Definition at line 942 of file rich_label.cpp.
References cfg, colors, color_t::from_rgba_string(), missing_mandatory_wml_tag(), config::optional_child(), gui2::resolution_definition::state, and VALIDATE_WML_CHILD.
| std::map<std::string, color_t> gui2::rich_label_definition::resolution::colors |
Definition at line 328 of file rich_label.hpp.
Referenced by resolution().
| std::string gui2::rich_label_definition::resolution::font_family |
Definition at line 325 of file rich_label.hpp.
| int gui2::rich_label_definition::resolution::font_size |
Definition at line 326 of file rich_label.hpp.
| std::string gui2::rich_label_definition::resolution::font_style |
Definition at line 327 of file rich_label.hpp.
| color_t gui2::rich_label_definition::resolution::link_color |
Definition at line 324 of file rich_label.hpp.
| color_t gui2::rich_label_definition::resolution::text_color_disabled |
Definition at line 323 of file rich_label.hpp.
| color_t gui2::rich_label_definition::resolution::text_color_enabled |
Definition at line 323 of file rich_label.hpp.