Select the entire map. More...
#include <action.hpp>


Public Member Functions | |
| editor_action_select_all () | |
| editor_action_select_all * | clone () const |
| Action cloning. | |
| editor_action_deselect * | perform (map_context &mc) const |
| Perform the action, returning an undo action that, when performed, shall reverse any effects of this action. | |
| void | perform_without_undo (map_context &mc) const |
| Perform the action without creating an undo action. | |
| const char * | get_name () const |
Select the entire map.
Definition at line 337 of file action.hpp.
| editor::editor_action_select_all::editor_action_select_all | ( | ) | [inline] |
Definition at line 340 of file action.hpp.
| editor_action_select_all * editor::editor_action_select_all::clone | ( | ) | const [virtual] |
| const char* editor::editor_action_select_all::get_name | ( | ) | const [inline, virtual] |
Reimplemented from editor::editor_action.
Definition at line 346 of file action.hpp.
| editor_action_deselect * editor::editor_action_select_all::perform | ( | map_context & | mc | ) | const [virtual] |
Perform the action, returning an undo action that, when performed, shall reverse any effects of this action.
The undo action object is owned by the caller. Default behaviour is to create a whole-map undo, call the perform_without_undo function and return the undo object.
Reimplemented from editor::editor_action.
Definition at line 322 of file action.cpp.
| void editor::editor_action_select_all::perform_without_undo | ( | map_context & | ) | const [virtual] |
Perform the action without creating an undo action.
Implements editor::editor_action.
Definition at line 334 of file action.cpp.
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:19:26 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |