#include <command_executor.hpp>
Protected Member Functions | |
virtual display & | get_display ()=0 |
Protected Member Functions inherited from hotkey::command_executor | |
virtual | ~command_executor () |
Static Protected Attributes | |
static const int | zoom_amount = 4 |
Definition at line 141 of file command_executor.hpp.
|
protectedpure virtual |
Implemented in editor::editor_controller, and play_controller::hotkey_handler.
Referenced by get_video(), lua_console(), map_screenshot(), recalculate_minimap(), set_button_state(), zoom_default(), zoom_in(), and zoom_out().
|
virtual |
Implements hotkey::command_executor.
Definition at line 706 of file command_executor.cpp.
References get_display(), and display::video().
Referenced by lua_console(), and map_screenshot().
|
virtual |
Reimplemented from hotkey::command_executor.
Definition at line 710 of file command_executor.cpp.
References gui2::tlua_interpreter::display(), gui2::tlua_interpreter::GAME, get_display(), get_video(), and hotkey::command_executor::lua_console().
|
virtual |
Reimplemented from hotkey::command_executor.
Definition at line 736 of file command_executor.cpp.
References _(), get_display(), get_video(), and display::screenshot().
void hotkey::command_executor_default::quit_to_main_menu | ( | ) |
|
virtual |
Reimplemented from hotkey::command_executor.
Definition at line 702 of file command_executor.cpp.
References get_display(), and display::recalculate_minimap().
|
virtual |
Reimplemented from hotkey::command_executor.
Definition at line 640 of file command_executor.cpp.
References hotkey::ACTION_DESELECTED, hotkey::ACTION_OFF, hotkey::ACTION_ON, hotkey::ACTION_SELECTED, hotkey::ACTION_STATELESS, theme::actions(), hotkey::command_executor::can_execute_command(), filesystem::file_exists(), display::find_action_button(), display::find_menu_button(), hotkey::command_executor::get_action_state(), get_display(), hotkey::get_hotkey_command(), display::get_theme(), i, hotkey::hotkey_command::id, theme::menus(), and game_config::path.
Referenced by editor::editor_controller::display_redraw_callback(), editor::editor_controller::left_click(), editor::editor_controller::left_mouse_up(), editor::editor_controller::right_click(), and editor::editor_controller::right_mouse_up().
|
virtual |
Reimplemented from hotkey::command_executor.
Definition at line 732 of file command_executor.cpp.
References get_display(), and display::set_default_zoom().
|
virtual |
Reimplemented from hotkey::command_executor.
Definition at line 724 of file command_executor.cpp.
References get_display(), display::set_zoom(), and zoom_amount.
|
virtual |
Reimplemented from hotkey::command_executor.
Definition at line 728 of file command_executor.cpp.
References get_display(), display::set_zoom(), and zoom_amount.
|
staticprotected |
Definition at line 144 of file command_executor.hpp.
Referenced by editor::editor_controller::execute_command(), zoom_in(), and zoom_out().