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

#include <combobox.hpp>

Inheritance diagram for gui2::implementation::tbuilder_combobox:
Inheritance graph

Public Member Functions

 tbuilder_combobox (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
 

Private Attributes

std::string retval_id_
 
int retval_
 
std::vector< std::stringoptions_
 

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...
 
- 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
 
- Protected Member Functions inherited from reference_counted_object
void turn_reference_counting_off () const
 

Detailed Description

Definition at line 166 of file combobox.hpp.

Constructor & Destructor Documentation

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

Definition at line 278 of file combobox.cpp.

References config::child_range(), and options_.

Member Function Documentation

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

Member Data Documentation

std::vector<std::string> gui2::implementation::tbuilder_combobox::options_
private

Definition at line 178 of file combobox.hpp.

Referenced by build(), and tbuilder_combobox().

int gui2::implementation::tbuilder_combobox::retval_
private

Definition at line 177 of file combobox.hpp.

Referenced by build().

std::string gui2::implementation::tbuilder_combobox::retval_id_
private

Definition at line 176 of file combobox.hpp.

Referenced by build().


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