#include <widget_definition.hpp>
Public Member Functions | |
resolution_definition (const config &cfg) | |
Public Attributes | |
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 43 of file widget_definition.hpp.
|
explicit |
Definition at line 32 of file widget_definition.cpp.
References DBG_GUI_P, linked_groups, gui2::parse_linked_group_definitions(), window_height, and window_width.
unsigned gui2::resolution_definition::default_height |
Definition at line 54 of file widget_definition.hpp.
unsigned gui2::resolution_definition::default_width |
Definition at line 53 of file widget_definition.hpp.
std::vector<linked_group_definition> gui2::resolution_definition::linked_groups |
Definition at line 59 of file widget_definition.hpp.
Referenced by resolution_definition().
unsigned gui2::resolution_definition::max_height |
Definition at line 57 of file widget_definition.hpp.
unsigned gui2::resolution_definition::max_width |
Definition at line 56 of file widget_definition.hpp.
unsigned gui2::resolution_definition::min_height |
Definition at line 51 of file widget_definition.hpp.
unsigned gui2::resolution_definition::min_width |
Definition at line 50 of file widget_definition.hpp.
std::vector<state_definition> gui2::resolution_definition::state |
Definition at line 68 of file widget_definition.hpp.
Referenced by gui2::addon_list_definition::resolution::resolution(), gui2::button_definition::resolution::resolution(), gui2::chatbox_definition::resolution::resolution(), gui2::combobox_definition::resolution::resolution(), gui2::drawing_definition::resolution::resolution(), gui2::horizontal_scrollbar_definition::resolution::resolution(), gui2::image_definition::resolution::resolution(), gui2::label_definition::resolution::resolution(), gui2::listbox_definition::resolution::resolution(), gui2::matrix_definition::resolution::resolution(), gui2::menu_button_definition::resolution::resolution(), gui2::minimap_definition::resolution::resolution(), gui2::multiline_text_definition::resolution::resolution(), gui2::multimenu_button_definition::resolution::resolution(), gui2::panel_definition::resolution::resolution(), gui2::progress_bar_definition::resolution::resolution(), gui2::repeating_button_definition::resolution::resolution(), gui2::rich_label_definition::resolution::resolution(), gui2::scroll_label_definition::resolution::resolution(), gui2::scroll_text_definition::resolution::resolution(), gui2::scrollbar_panel_definition::resolution::resolution(), gui2::size_lock_definition::resolution::resolution(), gui2::slider_definition::resolution::resolution(), gui2::spinner_definition::resolution::resolution(), gui2::stacked_widget_definition::resolution::resolution(), gui2::tab_container_definition::resolution::resolution(), gui2::text_box_definition::resolution::resolution(), gui2::toggle_button_definition::resolution::resolution(), gui2::toggle_panel_definition::resolution::resolution(), gui2::tree_view_definition::resolution::resolution(), gui2::unit_preview_pane_definition::resolution::resolution(), and gui2::vertical_scrollbar_definition::resolution::resolution().
unsigned gui2::resolution_definition::text_extra_height |
Definition at line 62 of file widget_definition.hpp.
unsigned gui2::resolution_definition::text_extra_width |
Definition at line 61 of file widget_definition.hpp.
font::family_class gui2::resolution_definition::text_font_family |
Definition at line 65 of file widget_definition.hpp.
typed_formula<unsigned> gui2::resolution_definition::text_font_size |
Definition at line 63 of file widget_definition.hpp.
font::pango_text::FONT_STYLE gui2::resolution_definition::text_font_style |
Definition at line 66 of file widget_definition.hpp.
unsigned gui2::resolution_definition::window_height |
Definition at line 48 of file widget_definition.hpp.
Referenced by resolution_definition().
unsigned gui2::resolution_definition::window_width |
Definition at line 47 of file widget_definition.hpp.
Referenced by resolution_definition().