#include <mainundo.h>
Public Member Functions | |
| MainUndo (MWindow *mwindow) | |
| ~MainUndo () | |
| void | push_undo_item (UndoStackItem *item) |
| void | update_undo (char *description, uint32_t load_flags, void *creator=0, int changes_made=1) |
| void | push_state (char *description, uint32_t load_flags, void *creator) |
| void | reset_creators () |
| int | undo () |
| int | redo () |
Private Member Functions | |
| void | capture_state () |
| void | prune_undo () |
| bool | ignore_push (char *description, uint32_t load_flags, void *creator) |
Private Attributes | |
| List< UndoStackItem > | undo_stack |
| List< UndoStackItem > | redo_stack |
| MainUndoStackItem * | new_entry |
| MWindow * | mwindow |
| Timer * | last_update |
| char * | data_after |
Friends | |
| class | MainUndoStackItem |
Definition at line 16 of file mainundo.h.
|
|
Definition at line 44 of file mainundo.C. References capture_state(), data_after, last_update, and new_entry. |
|
|
Definition at line 55 of file mainundo.C. References data_after, and last_update. |
|
|
Definition at line 97 of file mainundo.C. References data_after, MWindow::edl, mwindow, MWindow::plugindb, EDL::save_xml(), FileXML::string, and FileXML::terminate_string(). Referenced by MainUndo(), push_state(), push_undo_item(), redo(), undo(), and update_undo(). |
|
||||||||||||||||
|
Definition at line 111 of file mainundo.C. References last_update, redo_stack, and undo_stack. Referenced by push_state(), and update_undo(). |
|
|
Definition at line 204 of file mainundo.C. References UndoStackItem::get_size(), undo_stack, UNDOMEMORY, and UNDOMINLEVELS. Referenced by push_undo_item(). |
|
||||||||||||||||
|
Definition at line 128 of file mainundo.C. References capture_state(), MainSession::changes_made, data_after, ignore_push(), MainUndoStackItem, mwindow, new_entry, push_undo_item(), MWindow::session, and MainUndoStackItem::set_data_before(). |
|
|
Definition at line 78 of file mainundo.C. References capture_state(), MainSession::changes_made, UndoStackItem::description, MWindow::gui, MWindowGUI::mainmenu, mwindow, prune_undo(), MainMenu::redo, redo_stack, MWindow::session, MainMenu::undo, undo_stack, Redo::update_caption(), and Undo::update_caption(). Referenced by push_state(), MWindow::set_inpoint(), MWindow::set_outpoint(), MWindow::toggle_label(), and update_undo(). |
|
|
Definition at line 176 of file mainundo.C. References capture_state(), UndoStackItem::description, MWindow::gui, MWindowGUI::mainmenu, mwindow, MainMenu::redo, redo_stack, reset_creators(), MainMenu::undo, UndoStackItem::undo(), undo_stack, Redo::update_caption(), and Undo::update_caption(). Referenced by MWindow::redo_entry(). |
|
|
Definition at line 285 of file mainundo.C. References UndoStackItem::set_creator(), and undo_stack. |
|
|
Definition at line 149 of file mainundo.C. References capture_state(), UndoStackItem::description, MWindow::gui, MWindowGUI::mainmenu, mwindow, MainMenu::redo, redo_stack, reset_creators(), MainMenu::undo, UndoStackItem::undo(), undo_stack, Undo::update_caption(), and Redo::update_caption(). Referenced by MWindow::undo_entry(). |
|
||||||||||||||||||||
|
|
Definition at line 54 of file mainundo.h. Referenced by push_state(), and update_undo(). |
|
|
Definition at line 48 of file mainundo.h. Referenced by capture_state(), MainUndo(), push_state(), MainUndoStackItem::undo(), update_undo(), and ~MainUndo(). |
|
|
Definition at line 47 of file mainundo.h. Referenced by ignore_push(), MainUndo(), and ~MainUndo(). |
|
|
Definition at line 46 of file mainundo.h. Referenced by capture_state(), MainUndoStackItem::load_from_undo(), push_state(), push_undo_item(), redo(), and undo(). |
|
|
Definition at line 44 of file mainundo.h. Referenced by MainUndo(), push_state(), and update_undo(). |
|
|
Definition at line 43 of file mainundo.h. Referenced by ignore_push(), push_undo_item(), redo(), and undo(). |
|
|
Definition at line 42 of file mainundo.h. Referenced by ignore_push(), prune_undo(), push_undo_item(), redo(), reset_creators(), and undo(). |
1.4.4