Public Types | Public Member Functions | Private Attributes

gui2::tgamestate_inspector::controller Class Reference

Collaboration diagram for gui2::tgamestate_inspector::controller:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::vector
< boost::shared_ptr
< single_mode_controller > > 
sm_controller_ptr_vector

Public Member Functions

 controller (model &m)
boost::shared_ptr
< single_mode_controller
get_sm_controller ()
void show_stuff_types_list ()
void show_title ()
void update_view_from_model ()
void handle_stuff_list_item_clicked ()
void handle_stuff_types_list_item_clicked ()

Private Attributes

modelmodel_
sm_controller_ptr_vector sm_controllers_

Detailed Description

Definition at line 449 of file gamestate_inspector.cpp.


Member Typedef Documentation

Definition at line 451 of file gamestate_inspector.cpp.


Constructor & Destructor Documentation

gui2::tgamestate_inspector::controller::controller ( model m  )  [inline]

Definition at line 452 of file gamestate_inspector.cpp.

References model_, sm_controllers_, str_cast(), and resources::teams.

Here is the call graph for this function:


Member Function Documentation

boost::shared_ptr<single_mode_controller> gui2::tgamestate_inspector::controller::get_sm_controller (  )  [inline]
void gui2::tgamestate_inspector::controller::handle_stuff_list_item_clicked (  )  [inline]

Definition at line 505 of file gamestate_inspector.cpp.

References get_sm_controller(), model_, and gui2::tgamestate_inspector::model::set_inspect_window_text().

Referenced by gui2::tgamestate_inspector::view::handle_stuff_list_item_clicked().

Here is the call graph for this function:

Here is the caller graph for this function:

void gui2::tgamestate_inspector::controller::handle_stuff_types_list_item_clicked (  )  [inline]
void gui2::tgamestate_inspector::controller::show_stuff_types_list (  )  [inline]

Definition at line 481 of file gamestate_inspector.cpp.

References gui2::tgamestate_inspector::model::add_row_to_stuff_types_list(), gui2::tgamestate_inspector::model::clear_stuff_types_list(), model_, and sm_controllers_.

Referenced by gui2::tgamestate_inspector::view::pre_show().

Here is the call graph for this function:

Here is the caller graph for this function:

void gui2::tgamestate_inspector::controller::show_title (  )  [inline]

Definition at line 490 of file gamestate_inspector.cpp.

References gui2::tgamestate_inspector::model::inspector_name, model_, gui2::tgamestate_inspector::model::name, and gui2::tcontrol::set_label().

Referenced by update_view_from_model().

Here is the call graph for this function:

Here is the caller graph for this function:

void gui2::tgamestate_inspector::controller::update_view_from_model (  )  [inline]

Definition at line 496 of file gamestate_inspector.cpp.

References get_sm_controller(), and show_title().

Referenced by gui2::tgamestate_inspector::view::pre_show().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 524 of file gamestate_inspector.cpp.

Referenced by controller(), get_sm_controller(), and show_stuff_types_list().


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

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