X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Fmainundo.h;h=a0d3006dc02d1cab1c49d736cec9ae70d0c3aa11;hb=24d4cd640db4007db78cb2e927c56ffe60ffb11c;hp=8b5af5adeaa5a40e0cc5c99deec8016119d426a4;hpb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/mainundo.h b/cinelerra-5.1/cinelerra/mainundo.h index 8b5af5ad..a0d3006d 100644 --- a/cinelerra-5.1/cinelerra/mainundo.h +++ b/cinelerra-5.1/cinelerra/mainundo.h @@ -37,9 +37,6 @@ public: MainUndo(MWindow *mwindow); ~MainUndo(); - - - // For tweeking operations: // If a pair of update_undo_before and update_undo_after are called // within a certain time limit and the creator is nonzero and equal, @@ -56,6 +53,9 @@ public: int undo(); int redo(); +// load_flags for the next undo/redo stack item + int undo_load_flags(); + int redo_load_flags(); void dump(FILE *fp=stdout); private: // Entry point for all update commands @@ -69,9 +69,8 @@ private: // compression more efficient. // So even numbers are before and odd numbers are after UndoStack *undo_stack; - - - + UndoStackItem *next_undo(); + UndoStackItem *next_redo(); // loads undo from the stringfile to the project int load_undo_before(FileXML *file, uint32_t load_flags);