KiCad PCB EDA Suite
|
A holder to handle a list of undo (or redo) commands. More...
#include <undo_redo_container.h>
Public Member Functions | |
UNDO_REDO_CONTAINER () | |
~UNDO_REDO_CONTAINER () | |
void | PushCommand (PICKED_ITEMS_LIST *aCommand) |
PICKED_ITEMS_LIST * | PopCommand () |
void | ClearCommandList () |
Public Attributes | |
std::vector< PICKED_ITEMS_LIST * > | m_CommandsList |
A holder to handle a list of undo (or redo) commands.
Definition at line 329 of file undo_redo_container.h.
UNDO_REDO_CONTAINER::UNDO_REDO_CONTAINER | ( | ) |
Definition at line 328 of file undo_redo_container.cpp.
UNDO_REDO_CONTAINER::~UNDO_REDO_CONTAINER | ( | ) |
Definition at line 333 of file undo_redo_container.cpp.
References ClearCommandList().
void UNDO_REDO_CONTAINER::ClearCommandList | ( | ) |
Definition at line 339 of file undo_redo_container.cpp.
References m_CommandsList.
Referenced by SCH_EDIT_FRAME::ClearUndoORRedoList(), SYMBOL_EDIT_FRAME::ClearUndoORRedoList(), PL_EDITOR_FRAME::ClearUndoORRedoList(), PCB_BASE_EDIT_FRAME::ClearUndoORRedoList(), and ~UNDO_REDO_CONTAINER().
PICKED_ITEMS_LIST * UNDO_REDO_CONTAINER::PopCommand | ( | ) |
Definition at line 354 of file undo_redo_container.cpp.
References m_CommandsList.
Referenced by EDA_BASE_FRAME::PopCommandFromRedoList(), and EDA_BASE_FRAME::PopCommandFromUndoList().
void UNDO_REDO_CONTAINER::PushCommand | ( | PICKED_ITEMS_LIST * | aCommand | ) |
Definition at line 348 of file undo_redo_container.cpp.
References m_CommandsList.
Referenced by EDA_BASE_FRAME::PushCommandToRedoList(), and EDA_BASE_FRAME::PushCommandToUndoList().
std::vector<PICKED_ITEMS_LIST*> UNDO_REDO_CONTAINER::m_CommandsList |
Definition at line 341 of file undo_redo_container.h.
Referenced by ClearCommandList(), SCH_EDIT_FRAME::ClearUndoORRedoList(), SYMBOL_EDIT_FRAME::ClearUndoORRedoList(), PL_EDITOR_FRAME::ClearUndoORRedoList(), PCB_BASE_EDIT_FRAME::ClearUndoORRedoList(), EDA_BASE_FRAME::GetRedoActionDescription(), EDA_BASE_FRAME::GetRedoCommandCount(), EDA_BASE_FRAME::GetUndoActionDescription(), EDA_BASE_FRAME::GetUndoCommandCount(), PopCommand(), PushCommand(), and SCH_EDIT_FRAME::RecalculateConnections().