MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / nextRedoLabel

Method nextRedoLabel

src/app/document_undo.cpp:107–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107std::string DocumentUndo::nextRedoLabel() const
108{
109 const undo::UndoState* state = nextRedo();
110 if (state)
111 return static_cast<const Cmd*>(state->cmd())->label();
112 else
113 return "";
114}
115
116SpritePosition DocumentUndo::nextUndoSpritePosition() const
117{

Callers 1

onExecuteMethod · 0.80

Calls 1

labelMethod · 0.45

Tested by

no test coverage detected