Public Member Functions | |
team_mode_controller (const std::string &name, tgamestate_inspector::model &m, int side) | |
void | show_stuff_list () |
void | handle_stuff_list_selection () |
virtual void | update_view_from_model () |
Public Member Functions inherited from gui2::single_mode_controller | |
single_mode_controller (const std::string &name, tgamestate_inspector::model &m) | |
virtual | ~single_mode_controller () |
std::string | name () const |
Private Attributes | |
int | side_ |
Additional Inherited Members | |
Protected Attributes inherited from gui2::single_mode_controller | |
tgamestate_inspector::model & | model_ |
std::string | name_ |
Definition at line 524 of file gamestate_inspector.cpp.
|
inline |
Definition at line 527 of file gamestate_inspector.cpp.
|
inlinevirtual |
Implements gui2::single_mode_controller.
Definition at line 554 of file gamestate_inspector.cpp.
References config::add_child(), schema_validation::at(), c, config::clear_children(), unit_map::end(), ai::manager::get_active_ai_overview_for_side(), ai::manager::get_active_ai_structure_for_side(), gui2::tlistbox::get_selected_row(), i, gui2::single_mode_controller::model_, game_config::images::selected, gui2::tgamestate_inspector::model::set_inspect_window_text(), side_, gui2::tgamestate_inspector::model::stuff_list, resources::teams, ai::manager::to_config(), and resources::units.
Referenced by update_view_from_model().
|
inlinevirtual |
Implements gui2::single_mode_controller.
Definition at line 534 of file gamestate_inspector.cpp.
References gui2::tgamestate_inspector::model::add_row_to_stuff_list(), gui2::tgamestate_inspector::model::clear_stuff_list(), gui2::single_mode_controller::model_, and gui2::tgamestate_inspector::model::set_inspect_window_text().
Referenced by update_view_from_model().
|
inlinevirtual |
Implements gui2::single_mode_controller.
Definition at line 668 of file gamestate_inspector.cpp.
References handle_stuff_list_selection(), and show_stuff_list().
|
private |
Definition at line 675 of file gamestate_inspector.cpp.
Referenced by handle_stuff_list_selection().