#include "editor_undo.hpp"
Go to the source code of this file.
Namespaces | |
namespace | map_editor |
Functions | |
void | map_editor::add_undo_action (const map_undo_action &action) |
Add an undo action to the undo stack. | |
bool | map_editor::exist_undo_actions () |
Return true if there exist any undo actions in the undo stack. | |
bool | map_editor::exist_redo_actions () |
Return true if there exist any redo actions in the redo stack. | |
map_undo_action | map_editor::pop_undo_action () |
Remove, store in the redo stack and return the last undo action stored. | |
map_undo_action | map_editor::pop_redo_action () |
Remove, store in the undo stack and return the last redo action stored. | |
void | map_editor::clear_undo_actions () |
Clear all stored information about performed actions. | |
Variables | |
const unsigned int | undo_limit = 100 |
map_editor::map_undo_list | undo_stack |
map_editor::map_undo_list | redo_stack |
Definition in file editor_undo.cpp.
map_editor::map_undo_list redo_stack [static] |
Definition at line 23 of file editor_undo.cpp.
Referenced by map_editor::add_undo_action(), map_editor::clear_undo_actions(), map_editor::exist_redo_actions(), map_editor::pop_redo_action(), and map_editor::pop_undo_action().
const unsigned int undo_limit = 100 [static] |
Definition at line 21 of file editor_undo.cpp.
Referenced by map_editor::add_undo_action(), map_editor::pop_redo_action(), and map_editor::pop_undo_action().
map_editor::map_undo_list undo_stack [static] |
Definition at line 22 of file editor_undo.cpp.
Referenced by map_editor::add_undo_action(), map_editor::clear_undo_actions(), map_editor::exist_undo_actions(), map_editor::pop_redo_action(), and map_editor::pop_undo_action().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |