The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
gui2::implementation::builder_styled_widget Struct Reference

#include <styled_widget.hpp>

Inheritance diagram for gui2::implementation::builder_styled_widget:
Inheritance graph

Public Member Functions

 builder_styled_widget (const config &cfg)
 
virtual widgetbuild (const replacements_map &replacements) const override
 
- Public Member Functions inherited from gui2::builder_widget
 builder_widget (const config &cfg)
 
virtual ~builder_widget ()
 
virtual widgetbuild () const =0
 

Public Attributes

std::string definition
 Parameters for the styled_widget. More...
 
t_string label_string
 
t_string tooltip
 
t_string help
 
bool use_tooltip_on_label_overflow
 
bool use_markup
 
- Public Attributes inherited from gui2::builder_widget
std::string id
 Parameters for the widget. More...
 
std::string linked_group
 
int debug_border_mode
 
color_t debug_border_color
 

Additional Inherited Members

- Public Types inherited from gui2::builder_widget
typedef std::map< std::string,
std::shared_ptr
< builder_widget > > 
replacements_map
 The replacements type is used to define replacement types. More...
 

Detailed Description

Definition at line 506 of file styled_widget.hpp.

Constructor & Destructor Documentation

gui2::implementation::builder_styled_widget::builder_styled_widget ( const config cfg)

Definition at line 651 of file styled_widget.cpp.

References _(), DBG_GUI_P, definition, label_string, and VALIDATE_WITH_DEV_MESSAGE.

Member Function Documentation

widget * gui2::implementation::builder_styled_widget::build ( const replacements_map replacements) const
overridevirtual

Implements gui2::builder_widget.

Definition at line 675 of file styled_widget.cpp.

References gui2::builder_widget::build().

Member Data Documentation

std::string gui2::implementation::builder_styled_widget::definition

Parameters for the styled_widget.

Definition at line 516 of file styled_widget.hpp.

Referenced by gui2::implementation::builder_password_box::build(), gui2::implementation::builder_scrollbar_panel::build(), gui2::implementation::builder_progress_bar::build(), gui2::implementation::builder_vertical_scrollbar::build(), gui2::implementation::builder_panel::build(), gui2::implementation::builder_horizontal_scrollbar::build(), gui2::implementation::builder_spacer::build(), gui2::implementation::builder_size_lock::build(), gui2::implementation::builder_image::build(), gui2::implementation::builder_drawing::build(), gui2::implementation::builder_unit_preview_pane::build(), gui2::implementation::builder_minimap::build(), gui2::implementation::builder_scroll_label::build(), gui2::implementation::builder_repeating_button::build(), gui2::implementation::builder_button::build(), gui2::implementation::builder_toggle_button::build(), gui2::implementation::builder_menu_button::build(), gui2::implementation::builder_label::build(), gui2::implementation::builder_addon_list::build(), gui2::implementation::builder_stacked_widget::build(), gui2::implementation::builder_tree_view::build(), gui2::implementation::builder_toggle_panel::build(), gui2::implementation::builder_multimenu_button::build(), gui2::implementation::builder_multi_page::build(), gui2::implementation::builder_slider::build(), gui2::implementation::builder_chatbox::build(), gui2::implementation::builder_text_box::build(), gui2::implementation::builder_listbox::build(), gui2::implementation::builder_horizontal_listbox::build(), gui2::implementation::builder_grid_listbox::build(), and builder_styled_widget().

t_string gui2::implementation::builder_styled_widget::help

Definition at line 519 of file styled_widget.hpp.

t_string gui2::implementation::builder_styled_widget::label_string
t_string gui2::implementation::builder_styled_widget::tooltip

Definition at line 518 of file styled_widget.hpp.

bool gui2::implementation::builder_styled_widget::use_markup

Definition at line 521 of file styled_widget.hpp.

bool gui2::implementation::builder_styled_widget::use_tooltip_on_label_overflow

Definition at line 520 of file styled_widget.hpp.


The documentation for this struct was generated from the following files: