editor_undo.cpp File Reference

#include "editor_undo.hpp"

Include dependency graph for editor_undo.cpp:

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


Detailed Description

Definition in file editor_undo.cpp.


Variable Documentation

const unsigned int undo_limit = 100 [static]


Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs