X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Fundostack.h;fp=cinelerra-5.1%2Fcinelerra%2Fundostack.h;h=f54cb0da34de7fe9392da8c6cfccf6e274e056ca;hb=ae3fc4be2e74120251506615bb29b853c6e10ff6;hp=5893c4cac68a026171e65729e8d27d934c84c07e;hpb=a88121d876acc81c5a28dbd2cc71e7c6856e2ac0;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/undostack.h b/cinelerra-5.1/cinelerra/undostack.h index 5893c4ca..f54cb0da 100644 --- a/cinelerra-5.1/cinelerra/undostack.h +++ b/cinelerra-5.1/cinelerra/undostack.h @@ -95,16 +95,16 @@ public: UndoStack(); ~UndoStack(); +// get current undo/redo stack item + UndoStackItem *get_current_undo(); + UndoStackItem *get_current_redo(); + // Create a new undo entry and put on the stack. // The current pointer points to the new entry. // delete future undos if in the middle // delete undos older than UNDOLEVELS if last UndoStackItem* push(); -// move to the previous undo entry - void pull(); - - // move to the next undo entry for a redo UndoStackItem* pull_next();