Invert the selection. More...
#include <action.hpp>


Public Member Functions | |
| editor_action_select_inverse () | |
| editor_action_select_inverse * | clone () const |
| Action cloning. | |
| editor_action_select_inverse * | 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 |
Invert the selection.
Definition at line 367 of file action.hpp.
| editor::editor_action_select_inverse::editor_action_select_inverse | ( | ) | [inline] |
Definition at line 370 of file action.hpp.
| editor_action_select_inverse * editor::editor_action_select_inverse::clone | ( | ) | const [virtual] |
Action cloning.
Implements editor::editor_action.
Definition at line 357 of file action.cpp.
References editor::editor_map::clear_selection(), editor::map_context::get_map(), and editor::map_context::set_everything_changed().

| const char* editor::editor_action_select_inverse::get_name | ( | ) | const [inline, virtual] |
Reimplemented from editor::editor_action.
Definition at line 376 of file action.hpp.
| editor_action_select_inverse * editor::editor_action_select_inverse::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 361 of file action.cpp.
| void editor::editor_action_select_inverse::perform_without_undo | ( | map_context & | ) | const [virtual] |
Perform the action without creating an undo action.
Implements editor::editor_action.
Definition at line 366 of file action.cpp.
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:19:27 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |