Public Member Functions | |
unit_mode_controller (gamestate_inspector::controller &c) | |
void | show_list (tree_view_node &node) |
void | show_unit (tree_view_node &node) |
void | show_var (tree_view_node &node) |
void | show_array (tree_view_node &node) |
Public Member Functions inherited from gui2::dialogs::single_mode_controller | |
single_mode_controller (gamestate_inspector::controller &c) | |
virtual | ~single_mode_controller () |
Additional Inherited Members | |
Protected Member Functions inherited from gui2::dialogs::single_mode_controller | |
gamestate_inspector::model & | model () |
gamestate_inspector::view & | view () |
const config & | vars () const |
const game_events::manager & | events () const |
const display_context & | dc () const |
Protected Attributes inherited from gui2::dialogs::single_mode_controller | |
gamestate_inspector::controller & | c |
Definition at line 263 of file gamestate_inspector.cpp.
|
inline |
Definition at line 266 of file gamestate_inspector.cpp.
void gui2::dialogs::unit_mode_controller::show_array | ( | tree_view_node & | node | ) |
Definition at line 687 of file gamestate_inspector.cpp.
References unit_map::begin(), gui2::dialogs::single_mode_controller::dc(), gui2::tree_view_node::describe_path(), gui2::tree_view_node::find(), i, gui2::dialogs::single_mode_controller::model(), n, gui2::dialogs::gamestate_inspector::model::set_data(), display_context::units(), and w.
Referenced by show_unit().
void gui2::dialogs::unit_mode_controller::show_list | ( | tree_view_node & | node | ) |
Definition at line 623 of file gamestate_inspector.cpp.
References gui2::dialogs::add_unit_entry(), gui2::dialogs::single_mode_controller::c, gui2::dialogs::gamestate_inspector::model::clear_data(), gui2::tree_view_node::count_children(), gui2::dialogs::single_mode_controller::dc(), unit_map::end(), i, gui2::dialogs::single_mode_controller::model(), gui2::dialogs::gamestate_inspector::controller::set_node_callback(), show_unit(), gui2::dialogs::gamestate_inspector::view::stuff_list_entry(), display_context::units(), and gui2::dialogs::single_mode_controller::view().
Referenced by gui2::dialogs::gamestate_inspector::controller::build_stuff_list().
void gui2::dialogs::unit_mode_controller::show_unit | ( | tree_view_node & | node | ) |
Definition at line 638 of file gamestate_inspector.cpp.
References unit_map::begin(), gui2::dialogs::single_mode_controller::c, gui2::tree_view_node::count_children(), gui2::dialogs::single_mode_controller::dc(), gui2::tree_view_node::describe_path(), i, gui2::dialogs::single_mode_controller::model(), gui2::dialogs::gamestate_inspector::model::set_data(), gui2::dialogs::gamestate_inspector::controller::set_node_callback(), show_array(), show_var(), display_context::units(), and gui2::dialogs::single_mode_controller::view().
Referenced by show_list().
void gui2::dialogs::unit_mode_controller::show_var | ( | tree_view_node & | node | ) |
Definition at line 676 of file gamestate_inspector.cpp.
References unit_map::begin(), gui2::dialogs::single_mode_controller::dc(), gui2::tree_view_node::describe_path(), gui2::tree_view_node::find(), i, gui2::dialogs::single_mode_controller::model(), gui2::dialogs::gamestate_inspector::model::set_data(), display_context::units(), and w.
Referenced by show_unit().