The Battle for Wesnoth  1.13.4+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::tbuilder_horizontal_listbox Struct Reference

#include <listbox.hpp>

Inheritance diagram for gui2::implementation::tbuilder_horizontal_listbox:
Inheritance graph

Public Member Functions

 tbuilder_horizontal_listbox (const config &cfg)
 
twidgetbuild () const
 
- Public Member Functions inherited from gui2::implementation::tbuilder_control
 tbuilder_control (const config &cfg)
 
virtual twidgetbuild (const treplacements &replacements) const override
 
void init_control (tcontrol *control) const
 
- Public Member Functions inherited from gui2::tbuilder_widget
 tbuilder_widget (const config &cfg)
 
virtual ~tbuilder_widget ()
 
- Public Member Functions inherited from reference_counted_object
 reference_counted_object ()
 
 reference_counted_object (const reference_counted_object &)
 
reference_counted_objectoperator= (const reference_counted_object &)
 
virtual ~reference_counted_object ()
 
void add_ref () const
 
void dec_ref () const
 
int refcount () const
 

Public Attributes

tscrollbar_container::tscrollbar_mode vertical_scrollbar_mode
 
tscrollbar_container::tscrollbar_mode horizontal_scrollbar_mode
 
tbuilder_grid_ptr list_builder
 
std::vector< string_maplist_data
 Listbox data. More...
 
- Public Attributes inherited from gui2::implementation::tbuilder_control
std::string definition
 Parameters for the control. More...
 
t_string label
 
t_string tooltip
 
t_string help
 
bool use_tooltip_on_label_overflow
 
- Public Attributes inherited from gui2::tbuilder_widget
std::string id
 Parameters for the widget. More...
 
std::string linked_group
 
int debug_border_mode
 
unsigned debug_border_color
 

Additional Inherited Members

- Public Types inherited from gui2::tbuilder_widget
typedef std::map< std::string,
boost::intrusive_ptr
< tbuilder_widget > > 
treplacements
 The replacements type is used to define replacement types. More...
 
- Protected Member Functions inherited from reference_counted_object
void turn_reference_counting_off () const
 

Detailed Description

Definition at line 401 of file listbox.hpp.

Constructor & Destructor Documentation

gui2::implementation::tbuilder_horizontal_listbox::tbuilder_horizontal_listbox ( const config cfg)
explicit

Definition at line 1015 of file listbox.cpp.

References _(), config::child(), config::child_range(), i, list_builder, list_data, and VALIDATE.

Member Function Documentation

twidget * gui2::implementation::tbuilder_horizontal_listbox::build ( ) const
virtual

Member Data Documentation

tscrollbar_container::tscrollbar_mode gui2::implementation::tbuilder_horizontal_listbox::horizontal_scrollbar_mode

Definition at line 410 of file listbox.hpp.

Referenced by build().

tbuilder_grid_ptr gui2::implementation::tbuilder_horizontal_listbox::list_builder

Definition at line 412 of file listbox.hpp.

Referenced by build(), and tbuilder_horizontal_listbox().

std::vector<string_map> gui2::implementation::tbuilder_horizontal_listbox::list_data

Listbox data.

Contains a vector with the data to set in every cell, it's used to serialize the data in the config, so the config is no longer required.

Definition at line 420 of file listbox.hpp.

Referenced by build(), and tbuilder_horizontal_listbox().

tscrollbar_container::tscrollbar_mode gui2::implementation::tbuilder_horizontal_listbox::vertical_scrollbar_mode

Definition at line 409 of file listbox.hpp.

Referenced by build().


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