Public Member Functions | Private Member Functions | Private Attributes | Friends

gui2::tstacked_widget Class Reference

#include <stacked_widget.hpp>

Inheritance diagram for gui2::tstacked_widget:
Inheritance graph
[legend]
Collaboration diagram for gui2::tstacked_widget:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Definition at line 29 of file stacked_widget.hpp.


Constructor & Destructor Documentation

gui2::tstacked_widget::tstacked_widget (  ) 

Definition at line 32 of file stacked_widget.cpp.

References gui2::tgenerator_::build(), and gui2::tgenerator_::independent.

Here is the call graph for this function:


Member Function Documentation

void gui2::tstacked_widget::finalize ( std::vector< tbuilder_grid_const_ptr widget_builder  )  [private]

Finishes the building initialization of the widget.

Parameters:
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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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.


Friends And Related Function Documentation

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.


Member Data Documentation

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().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:23:24 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs