Public Member Functions | |
unit_mode_controller (const std::string &name, tgamestate_inspector::model &m) | |
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 |
Additional Inherited Members | |
Protected Attributes inherited from gui2::single_mode_controller | |
tgamestate_inspector::model & | model_ |
std::string | name_ |
Definition at line 444 of file gamestate_inspector.cpp.
|
inline |
Definition at line 447 of file gamestate_inspector.cpp.
|
inlinevirtual |
Implements gui2::single_mode_controller.
Definition at line 489 of file gamestate_inspector.cpp.
References unit_map::end(), gui2::tlistbox::get_selected_row(), i, gui2::single_mode_controller::model_, game_config::images::selected, gui2::tgamestate_inspector::model::set_inspect_window_text(), gui2::tgamestate_inspector::model::stuff_list, resources::units, and write().
Referenced by update_view_from_model().
|
inlinevirtual |
Implements gui2::single_mode_controller.
Definition at line 453 of file gamestate_inspector.cpp.
References gui2::tgamestate_inspector::model::add_row_to_stuff_list(), gui2::tgamestate_inspector::model::clear_stuff_list(), unit_map::end(), resources::filter_con, filter_context::get_disp_context(), i, gui2::single_mode_controller::model_, gui2::tgamestate_inspector::model::set_inspect_window_text(), game_config::tc_info(), display_context::teams(), and resources::units.
Referenced by update_view_from_model().
|
inlinevirtual |
Implements gui2::single_mode_controller.
Definition at line 516 of file gamestate_inspector.cpp.
References handle_stuff_list_selection(), and show_stuff_list().