The Battle for Wesnoth  1.19.5+dev
Public Member Functions | Protected Member Functions | List of all members
hotkey::command_executor_default Class Referenceabstract

#include <command_executor.hpp>

Inheritance diagram for hotkey::command_executor_default:

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 displayget_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)
 

Detailed Description

Definition at line 214 of file command_executor.hpp.

Member Function Documentation

◆ get_display()

virtual display& hotkey::command_executor_default::get_display ( )
protectedpure virtual

◆ lua_console()

void hotkey::command_executor_default::lua_console ( )
virtual

◆ map_screenshot()

void hotkey::command_executor_default::map_screenshot ( )
virtual

Reimplemented from hotkey::command_executor.

Definition at line 803 of file command_executor.cpp.

References _(), and gui2::dialogs::make_screenshot().

◆ quit_to_main_menu()

void hotkey::command_executor_default::quit_to_main_menu ( )

◆ recalculate_minimap()

void hotkey::command_executor_default::recalculate_minimap ( )
virtual

Reimplemented from hotkey::command_executor.

Definition at line 762 of file command_executor.cpp.

References get_display(), and display::recalculate_minimap().

◆ set_button_state()

void hotkey::command_executor_default::set_button_state ( )
virtual

◆ zoom_default()

void hotkey::command_executor_default::zoom_default ( )
virtual

Reimplemented from hotkey::command_executor.

Definition at line 796 of file command_executor.cpp.

References get_display(), and display::toggle_default_zoom().

◆ zoom_in()

void hotkey::command_executor_default::zoom_in ( )
virtual

Reimplemented from hotkey::command_executor.

Definition at line 782 of file command_executor.cpp.

References get_display(), and display::set_zoom().

◆ zoom_out()

void hotkey::command_executor_default::zoom_out ( )
virtual

Reimplemented from hotkey::command_executor.

Definition at line 789 of file command_executor.cpp.

References get_display(), and display::set_zoom().


The documentation for this class was generated from the following files: