#include <stacked_widget.hpp>


Public Member Functions | |
| tstacked_widget () | |
| bool | get_active () const |
| Inherited from tcontrol. | |
| unsigned | get_state () const |
| Inherited from tcontrol. | |
| void | layout_children () |
| Inherited from tscrollbar_container. | |
Private Member Functions | |
| void | finalize (std::vector< tbuilder_grid_const_ptr > widget_builder) |
| Finishes the building initialization of the widget. | |
| const std::string & | get_control_type () const |
| Inherited from tcontrol. | |
| void | set_self_active (const bool) |
| Inherited from tcontainer_. | |
Private Attributes | |
| tgenerator_ * | generator_ |
| Contains a pointer to the generator. | |
Friends | |
| struct | implementation::tbuilder_stacked_widget |
| class | tdebug_layout_graph |
Definition at line 29 of file stacked_widget.hpp.
| gui2::tstacked_widget::tstacked_widget | ( | ) |
Definition at line 32 of file stacked_widget.cpp.
References gui2::tgenerator_::build(), and gui2::tgenerator_::independent.

| void gui2::tstacked_widget::finalize | ( | std::vector< tbuilder_grid_const_ptr > | widget_builder | ) | [private] |
Finishes the building initialization of the widget.
| widget_builder | The builder to build the contents of the widget. |
Definition at line 81 of file stacked_widget.cpp.
References gui2::tgenerator_::create_item(), generator_, gui2::tgenerator_::get_item_count(), gui2::tcontainer_::grid(), and gui2::tgenerator_::select_item().

| bool gui2::tstacked_widget::get_active | ( | ) | const [inline, virtual] |
Inherited from tcontrol.
Implements gui2::tcontrol.
Definition at line 42 of file stacked_widget.hpp.
| const std::string & gui2::tstacked_widget::get_control_type | ( | ) | const [private, virtual] |
Inherited from tcontrol.
Implements gui2::tcontrol.
Definition at line 96 of file stacked_widget.cpp.
References type.
| unsigned gui2::tstacked_widget::get_state | ( | ) | const [inline, virtual] |
Inherited from tcontrol.
Implements gui2::tcontrol.
Definition at line 45 of file stacked_widget.hpp.
| void gui2::tstacked_widget::layout_children | ( | ) | [virtual] |
Inherited from tscrollbar_container.
Reimplemented from gui2::tcontainer_.
Definition at line 40 of file stacked_widget.cpp.
References generator_, gui2::tgenerator_::get_item_count(), gui2::tgenerator_::item(), and gui2::tgrid::layout_children().

| void gui2::tstacked_widget::set_self_active | ( | const | bool | ) | [inline, private, virtual] |
Inherited from tcontainer_.
Implements gui2::tcontainer_.
Definition at line 73 of file stacked_widget.hpp.
friend struct implementation::tbuilder_stacked_widget [friend] |
Definition at line 32 of file stacked_widget.hpp.
friend class tdebug_layout_graph [friend] |
Reimplemented from gui2::tcontainer_.
Definition at line 33 of file stacked_widget.hpp.
tgenerator_* gui2::tstacked_widget::generator_ [private] |
Contains a pointer to the generator.
The pointer is not owned by this class, it's stored in the content_grid_ of the tscrollbar_container super class and freed when it's grid is freed.
Definition at line 67 of file stacked_widget.hpp.
Referenced by finalize(), and layout_children().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:23:24 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |