editor_undo.hpp File Reference

#include "global.hpp"
#include "map.hpp"
#include <queue>
#include <vector>
#include <set>

Include dependency graph for editor_undo.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  map_editor

Classes

class  map_editor::map_undo_action
 A saved action that may be undone. More...

Typedefs

typedef std::deque
< map_undo_action > 
map_editor::map_undo_list

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.


Detailed Description

Definition in file editor_undo.hpp.


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