Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
actions-undo-document.cpp File Reference

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
 

Detailed Description

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.

Function Documentation

◆ add_actions_undo_document()

void add_actions_undo_document ( SPDocument document)

◆ enable_undo_actions()

void enable_undo_actions ( SPDocument document,
bool  undo,
bool  redo 
)

◆ redo()

◆ undo()

Variable Documentation

◆ raw_data_undo_document

std::vector<std::vector<Glib::ustring> > raw_data_undo_document
Initial value:
=
{
{"doc.undo", N_("Undo"), SECTION, N_("Undo last action")},
{"doc.redo", N_("Redo"), SECTION, N_("Do again the last undone action")},
}
const Glib::ustring SECTION

Definition at line 92 of file actions-undo-document.cpp.

Referenced by add_actions_undo_document().

◆ SECTION

const Glib::ustring SECTION = NC_("Action Section", "Edit Document")

Definition at line 90 of file actions-undo-document.cpp.