#include <command_executor.hpp>
Public Member Functions | |
void | set_button_state () |
void | recalculate_minimap () |
void | lua_console () |
void | zoom_in () |
void | zoom_out () |
void | zoom_default () |
void | map_screenshot () |
void | quit_to_main_menu () |
Public Member Functions inherited from hotkey::command_executor | |
virtual void | cycle_units () |
virtual void | cycle_back_units () |
virtual void | end_turn () |
virtual void | goto_leader () |
virtual void | unit_hold_position () |
virtual void | end_unit_turn () |
virtual void | undo () |
virtual void | redo () |
virtual void | terrain_description () |
virtual void | unit_description () |
virtual void | rename_unit () |
virtual void | save_game () |
virtual void | save_replay () |
virtual void | save_map () |
virtual void | load_game () |
virtual void | toggle_ellipses () |
virtual void | toggle_grid () |
virtual void | status_table () |
virtual void | recall () |
virtual void | recruit () |
virtual void | repeat_recruit () |
virtual void | speak () |
virtual void | whisper () |
virtual void | shout () |
virtual void | create_unit () |
virtual void | change_side () |
virtual void | kill_unit () |
virtual void | preferences () |
virtual void | objectives () |
virtual void | unit_list () |
virtual void | show_statistics () |
virtual void | stop_network () |
virtual void | start_network () |
virtual void | label_terrain (bool) |
virtual void | clear_labels () |
virtual void | label_settings () |
virtual void | show_enemy_moves (bool) |
virtual void | toggle_shroud_updates () |
virtual void | update_shroud_now () |
virtual void | continue_move () |
virtual void | search () |
virtual void | show_help () |
virtual void | show_chat_log () |
virtual void | user_command () |
virtual void | custom_command () |
virtual void | ai_formula () |
virtual void | clear_messages () |
virtual void | change_language () |
virtual void | play_replay () |
virtual void | reset_replay () |
virtual void | stop_replay () |
virtual void | replay_next_turn () |
virtual void | replay_next_side () |
virtual void | replay_next_move () |
virtual void | replay_show_everything () |
virtual void | replay_show_each () |
virtual void | replay_show_team1 () |
virtual void | replay_skip_animation () |
virtual void | replay_exit () |
virtual void | whiteboard_toggle () |
virtual void | whiteboard_execute_action () |
virtual void | whiteboard_execute_all_actions () |
virtual void | whiteboard_delete_action () |
virtual void | whiteboard_bump_up_action () |
virtual void | whiteboard_bump_down_action () |
virtual void | whiteboard_suppose_dead () |
virtual void | select_hex () |
virtual void | deselect_hex () |
virtual void | move_action () |
virtual void | select_and_action () |
virtual void | select_teleport () |
virtual void | touch_hex () |
virtual void | left_mouse_click () |
virtual void | right_mouse_click () |
virtual void | toggle_accelerated_speed () |
virtual void | scroll_up (bool) |
virtual void | scroll_down (bool) |
virtual void | scroll_left (bool) |
virtual void | scroll_right (bool) |
virtual void | surrender_quit_game () |
virtual std::string | get_action_image (const hotkey::ui_command &) const |
virtual ACTION_STATE | get_action_state (const hotkey::ui_command &) const |
std::string | get_menu_image (display &disp, const std::string &command, int index=-1) const |
void | get_menu_images (display &, std::vector< config > &items) |
void | surrender_game () |
virtual void | show_menu (const std::vector< config > &items_arg, int xloc, int yloc, bool context_menu, display &gui) |
void | execute_action (const std::vector< std::string > &items_arg, int xloc, int yloc, bool context_menu, display &gui) |
virtual bool | can_execute_command (const hotkey::ui_command &command) const =0 |
void | queue_command (const SDL_Event &event, int index=-1) |
bool | run_queued_commands () |
void | execute_quit_command () |
void | handle_keyup () |
Protected Member Functions | |
virtual display & | get_display ()=0 |
Protected Member Functions inherited from hotkey::command_executor | |
virtual | ~command_executor () |
virtual bool | do_execute_command (const hotkey::ui_command &command, bool press=true, bool release=false) |
Definition at line 214 of file command_executor.hpp.
|
protectedpure virtual |
Implemented in play_controller::hotkey_handler, and editor::editor_controller.
Referenced by lua_console(), recalculate_minimap(), set_button_state(), zoom_default(), zoom_in(), and zoom_out().
|
virtual |
Reimplemented from hotkey::command_executor.
Definition at line 767 of file command_executor.cpp.
References gui2::dialogs::lua_interpreter::display(), gui2::dialogs::lua_interpreter::GAME, get_display(), and hotkey::command_executor::lua_console().
|
virtual |
Reimplemented from hotkey::command_executor.
Definition at line 803 of file command_executor.cpp.
References _(), and gui2::dialogs::make_screenshot().
void hotkey::command_executor_default::quit_to_main_menu | ( | ) |
|
virtual |
Reimplemented from hotkey::command_executor.
Definition at line 762 of file command_executor.cpp.
References get_display(), and display::recalculate_minimap().
|
virtual |
Reimplemented from hotkey::command_executor.
Definition at line 667 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(), display::get_theme(), i, theme::menus(), game_config::path, and tooltip.
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 796 of file command_executor.cpp.
References get_display(), and display::toggle_default_zoom().
|
virtual |
Reimplemented from hotkey::command_executor.
Definition at line 782 of file command_executor.cpp.
References get_display(), and display::set_zoom().
|
virtual |
Reimplemented from hotkey::command_executor.
Definition at line 789 of file command_executor.cpp.
References get_display(), and display::set_zoom().