KiCad PCB EDA Suite
|
#include <undo_redo_container.h>
Public Member Functions | |
ITEM_PICKER () | |
ITEM_PICKER (BASE_SCREEN *aScreen, EDA_ITEM *aItem, UNDO_REDO aStatus=UNDO_REDO::UNSPECIFIED) | |
EDA_ITEM * | GetItem () const |
void | SetItem (EDA_ITEM *aItem) |
KICAD_T | GetItemType () const |
void | SetStatus (UNDO_REDO aStatus) |
UNDO_REDO | GetStatus () const |
void | SetFlags (EDA_ITEM_FLAGS aFlags) |
EDA_ITEM_FLAGS | GetFlags () const |
void | SetLink (EDA_ITEM *aItem) |
EDA_ITEM * | GetLink () const |
BASE_SCREEN * | GetScreen () const |
Private Attributes | |
EDA_ITEM_FLAGS | m_pickerFlags |
UNDO_REDO | m_undoRedoStatus |
EDA_ITEM * | m_pickedItem |
KICAD_T | m_pickedItemType |
EDA_ITEM * | m_link |
BASE_SCREEN * | m_screen |
Definition at line 79 of file undo_redo_container.h.
ITEM_PICKER::ITEM_PICKER | ( | ) |
Definition at line 30 of file undo_redo_container.cpp.
References m_link, m_pickerFlags, m_screen, m_undoRedoStatus, and SetItem().
ITEM_PICKER::ITEM_PICKER | ( | BASE_SCREEN * | aScreen, |
EDA_ITEM * | aItem, | ||
UNDO_REDO | aStatus = UNDO_REDO::UNSPECIFIED |
||
) |
Definition at line 40 of file undo_redo_container.cpp.
References m_link, m_pickerFlags, m_screen, m_undoRedoStatus, and SetItem().
|
inline |
Definition at line 99 of file undo_redo_container.h.
References m_pickerFlags.
Referenced by PICKED_ITEMS_LIST::ClearListAndDeleteItems().
|
inline |
Definition at line 87 of file undo_redo_container.h.
References m_pickedItem.
Referenced by PICKED_ITEMS_LIST::ClearListAndDeleteItems(), PL_EDITOR_FRAME::GetLayoutFromRedoList(), PL_EDITOR_FRAME::GetLayoutFromUndoList(), SYMBOL_EDIT_FRAME::GetSymbolFromRedoList(), SYMBOL_EDIT_FRAME::GetSymbolFromUndoList(), PL_EDITOR_FRAME::RollbackFromUndo(), and SYMBOL_EDIT_FRAME::RollbackSymbolFromUndo().
|
inline |
Definition at line 91 of file undo_redo_container.h.
References m_pickedItemType.
|
inline |
Definition at line 103 of file undo_redo_container.h.
References m_link.
Referenced by PICKED_ITEMS_LIST::ClearListAndDeleteItems().
|
inline |
Definition at line 105 of file undo_redo_container.h.
References m_screen.
|
inline |
Definition at line 95 of file undo_redo_container.h.
References m_undoRedoStatus.
Referenced by PICKED_ITEMS_LIST::ClearListAndDeleteItems(), SYMBOL_EDIT_FRAME::GetSymbolFromRedoList(), and SYMBOL_EDIT_FRAME::GetSymbolFromUndoList().
|
inline |
Definition at line 97 of file undo_redo_container.h.
References m_pickerFlags.
Referenced by SCH_EDIT_FRAME::SaveCopyInUndoList().
void ITEM_PICKER::SetItem | ( | EDA_ITEM * | aItem | ) |
Definition at line 50 of file undo_redo_container.cpp.
References m_pickedItem, m_pickedItemType, EDA_ITEM::Type(), and TYPE_NOT_INIT.
Referenced by ITEM_PICKER().
|
inline |
Definition at line 101 of file undo_redo_container.h.
References m_link.
Referenced by PCB_BASE_FRAME::PlaceFootprint(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::processItem(), BOARD_COMMIT::Push(), SCHEMATIC_COMMIT::pushSchEdit(), PCB_BASE_EDIT_FRAME::saveCopyInUndoList(), SCH_EDIT_FRAME::SaveCopyInUndoList(), SaveCopyOfZones(), and PCB_EDIT_FRAME::SetTrackSegmentWidth().
|
inline |
Definition at line 93 of file undo_redo_container.h.
References m_undoRedoStatus.
|
private |
Definition at line 116 of file undo_redo_container.h.
Referenced by GetLink(), ITEM_PICKER(), and SetLink().
|
private |
Definition at line 111 of file undo_redo_container.h.
|
private |
Definition at line 114 of file undo_redo_container.h.
Referenced by GetItemType(), and SetItem().
|
private |
Definition at line 108 of file undo_redo_container.h.
Referenced by GetFlags(), ITEM_PICKER(), and SetFlags().
|
private |
Definition at line 123 of file undo_redo_container.h.
Referenced by GetScreen(), and ITEM_PICKER().
|
private |
Definition at line 110 of file undo_redo_container.h.
Referenced by GetStatus(), ITEM_PICKER(), and SetStatus().