
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 | |
| model & | model_ |
| sm_controller_ptr_vector | sm_controllers_ |
Definition at line 449 of file gamestate_inspector.cpp.
| typedef std::vector< boost::shared_ptr<single_mode_controller> > gui2::tgamestate_inspector::controller::sm_controller_ptr_vector |
Definition at line 451 of file gamestate_inspector.cpp.
| 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.

| boost::shared_ptr<single_mode_controller> gui2::tgamestate_inspector::controller::get_sm_controller | ( | ) | [inline] |
Definition at line 471 of file gamestate_inspector.cpp.
References gui2::tlistbox::get_selected_row(), model_, game_config::images::selected, sm_controllers_, and gui2::tgamestate_inspector::model::stuff_types_list.
Referenced by handle_stuff_list_item_clicked(), handle_stuff_types_list_item_clicked(), and update_view_from_model().


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


| void gui2::tgamestate_inspector::controller::handle_stuff_types_list_item_clicked | ( | ) | [inline] |
Definition at line 513 of file gamestate_inspector.cpp.
References gui2::tgamestate_inspector::model::clear_stuff_list(), get_sm_controller(), model_, and gui2::tgamestate_inspector::model::set_inspect_window_text().
Referenced by gui2::tgamestate_inspector::view::handle_stuff_types_list_item_clicked().


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


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


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


Definition at line 523 of file gamestate_inspector.cpp.
Referenced by controller(), get_sm_controller(), handle_stuff_list_item_clicked(), handle_stuff_types_list_item_clicked(), show_stuff_types_list(), and show_title().
Definition at line 524 of file gamestate_inspector.cpp.
Referenced by controller(), get_sm_controller(), and show_stuff_types_list().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:22:16 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |