Inkscape
Vector Graphics Editor
|
Actions for Undo/Redo tied to document. More...
Go to the source code of this file.
Functions | |
void | undo (SPDocument *document) |
void | redo (SPDocument *document) |
void | enable_undo_actions (SPDocument *document, bool undo, bool redo) |
void | add_actions_undo_document (SPDocument *document) |
Variables | |
const Glib::ustring | SECTION = NC_("Action Section", "Edit Document") |
std::vector< std::vector< Glib::ustring > > | raw_data_undo_document |
Actions for Undo/Redo tied to document.
Authors: Tavmjong Bah
Copyright (C) 2021 Authors
Released under GNU GPL v2+, read the file 'COPYING' for more information.
Definition in file actions-undo-document.cpp.
void add_actions_undo_document | ( | SPDocument * | document | ) |
Definition at line 101 of file actions-undo-document.cpp.
References SPDocument::getActionGroup(), InkscapeApplication::instance(), raw_data_undo_document, redo(), and undo().
Referenced by SPDocument::SPDocument().
void enable_undo_actions | ( | SPDocument * | document, |
bool | undo, | ||
bool | redo | ||
) |
Definition at line 69 of file actions-undo-document.cpp.
References SPDocument::getActionGroup(), redo(), show_output(), and undo().
Referenced by Inkscape::BooleanBuilder::redraw_items(), and Inkscape::EventLog::updateUndoVerbs().
void redo | ( | SPDocument * | document | ) |
Definition at line 50 of file actions-undo-document.cpp.
References desktop, SPDesktop::getCanvas(), InkscapeApplication::instance(), Inkscape::UI::Widget::Canvas::is_dragging(), and Inkscape::DocumentUndo::redo().
Referenced by add_actions_undo_document(), and enable_undo_actions().
void undo | ( | SPDocument * | document | ) |
Definition at line 31 of file actions-undo-document.cpp.
References desktop, SPDesktop::getCanvas(), InkscapeApplication::instance(), Inkscape::UI::Widget::Canvas::is_dragging(), and Inkscape::DocumentUndo::undo().
Referenced by add_actions_undo_document(), Inkscape::DocumentUndo::cancel(), and enable_undo_actions().
std::vector<std::vector<Glib::ustring> > raw_data_undo_document |
Definition at line 92 of file actions-undo-document.cpp.
Referenced by add_actions_undo_document().
const Glib::ustring SECTION = NC_("Action Section", "Edit Document") |
Definition at line 90 of file actions-undo-document.cpp.