KiCad PCB EDA Suite
|
#include <board_commit.h>
Public Member Functions | |
BOARD_COMMIT (TOOL_MANAGER *aToolMgr) | |
BOARD_COMMIT (EDA_DRAW_FRAME *aFrame) | |
BOARD_COMMIT (PCB_TOOL_BASE *aTool) | |
virtual | ~BOARD_COMMIT () |
BOARD * | GetBoard () const |
virtual void | Push (const wxString &aMessage=wxT("A commit"), int aCommitFlags=0) override |
Revert the commit by restoring the modified items state. More... | |
virtual void | Revert () override |
COMMIT & | Stage (EDA_ITEM *aItem, CHANGE_TYPE aChangeType) override |
COMMIT & | Stage (std::vector< EDA_ITEM * > &container, CHANGE_TYPE aChangeType) override |
COMMIT & | Stage (const PICKED_ITEMS_LIST &aItems, UNDO_REDO aModFlag=UNDO_REDO::UNSPECIFIED) override |
Execute the changes. More... | |
COMMIT & | Add (EDA_ITEM *aItem) |
Notify observers that aItem has been added. More... | |
COMMIT & | Added (EDA_ITEM *aItem) |
Remove a new item from the model. More... | |
COMMIT & | Remove (EDA_ITEM *aItem) |
Notify observers that aItem has been removed. More... | |
COMMIT & | Removed (EDA_ITEM *aItem) |
Modify a given item in the model. More... | |
COMMIT & | Modify (EDA_ITEM *aItem) |
Create an undo entry for an item that has been already modified. More... | |
COMMIT & | Modified (EDA_ITEM *aItem, EDA_ITEM *aCopy) |
template<class Range > | |
COMMIT & | StageItems (const Range &aRange, CHANGE_TYPE aChangeType) |
Add a change of the item aItem of type aChangeType to the change list. More... | |
bool | Empty () const |
Returns status of an item. More... | |
int | GetStatus (EDA_ITEM *aItem) |
Protected Member Functions | |
void | clear () |
COMMIT & | createModified (EDA_ITEM *aItem, EDA_ITEM *aCopy, int aExtraFlags=0) |
virtual void | makeEntry (EDA_ITEM *aItem, CHANGE_TYPE aType, EDA_ITEM *aCopy=nullptr) |
COMMIT_LINE * | findEntry (EDA_ITEM *aItem) |
Search for an entry describing change for a particular item. More... | |
CHANGE_TYPE | convert (UNDO_REDO aType) const |
Protected Attributes | |
std::set< EDA_ITEM * > | m_changedItems |
std::vector< COMMIT_LINE > | m_changes |
Private Member Functions | |
EDA_ITEM * | parentObject (EDA_ITEM *aItem) const override |
EDA_ITEM * | makeImage (EDA_ITEM *aItem) const override |
void | dirtyIntersectingZones (BOARD_ITEM *item, int aChangeType) |
Private Attributes | |
TOOL_MANAGER * | m_toolMgr |
bool | m_isFootprintEditor |
bool | m_isBoardEditor |
Definition at line 45 of file board_commit.h.
BOARD_COMMIT::BOARD_COMMIT | ( | TOOL_MANAGER * | aToolMgr | ) |
Definition at line 42 of file board_commit.cpp.
BOARD_COMMIT::BOARD_COMMIT | ( | EDA_DRAW_FRAME * | aFrame | ) |
Definition at line 58 of file board_commit.cpp.
References FRAME_FOOTPRINT_EDITOR, FRAME_PCB_EDITOR, TOOLS_HOLDER::GetToolManager(), EDA_BASE_FRAME::IsType(), m_isBoardEditor, m_isFootprintEditor, and m_toolMgr.
BOARD_COMMIT::BOARD_COMMIT | ( | PCB_TOOL_BASE * | aTool | ) |
Definition at line 50 of file board_commit.cpp.
References TOOL_BASE::GetManager(), PCB_TOOL_BASE::IsBoardEditor(), PCB_TOOL_BASE::IsFootprintEditor(), m_isBoardEditor, m_isFootprintEditor, and m_toolMgr.
|
virtual |
Definition at line 66 of file board_commit.cpp.
Notify observers that aItem has been added.
Definition at line 78 of file commit.h.
References CHT_ADD, and COMMIT::Stage().
Referenced by PCB_GROUP::AddChildrenToCommit(), PCB_POINT_EDITOR::addCorner(), FOOTPRINT_VIEWER_FRAME::AddFootprintToPCB(), BOARD_NETLIST_UPDATER::addNewFootprint(), ZONE_CREATE_HELPER::commitZone(), MICROWAVE_TOOL::createInductorBetween(), CONVERT_TOOL::CreatePolys(), DRAWING_TOOL::DrawArc(), DRAWING_TOOL::DrawBoardCharacteristics(), DRAWING_TOOL::DrawCircle(), DRAWING_TOOL::DrawDimension(), DRAWING_TOOL::DrawLine(), DRAWING_TOOL::DrawRectangle(), DRAWING_TOOL::drawShape(), DRAWING_TOOL::DrawSpecificationStackup(), DRAWING_TOOL::DrawVia(), PCB_EDIT_FRAME::ExchangeFootprint(), PAD_TOOL::explodePad(), DRAWING_TOOL::InteractivePlaceWithPreview(), ARRAY_CREATOR::Invoke(), GRAPHICS_CLEANER::mergeRects(), ZONE_CREATE_HELPER::performZoneCutout(), BOARD_EDITOR_CONTROL::PlaceFootprint(), DRAWING_TOOL::PlaceImportedGraphics(), INTERACTIVE_PLACER_BASE::PlaceItem(), PAD_TOOL::PlacePad(), DRAWING_TOOL::PlaceText(), PCB_EDIT_FRAME::ResolveDRCExclusions(), FOOTPRINT_EDIT_FRAME::SaveFootprintToBoard(), BOARD_NETLIST_UPDATER::updateComponentPadConnections(), and BOARD_EDITOR_CONTROL::ZoneDuplicate().
Remove a new item from the model.
Definition at line 84 of file commit.h.
References CHT_ADD, CHT_DONE, and COMMIT::Stage().
Referenced by TEARDROP_MANAGER::addTeardropsOnTracks(), PCB_EDIT_FRAME::RunActionPlugin(), and TEARDROP_MANAGER::SetTeardrops().
|
inlineprotectedinherited |
Definition at line 156 of file commit.h.
References COMMIT::m_changedItems, and COMMIT::m_changes.
|
protectedinherited |
Definition at line 184 of file commit.cpp.
References CHANGED, CHT_ADD, CHT_MODIFY, CHT_REMOVE, DELETED, KI_FALLTHROUGH, and NEWITEM.
Referenced by COMMIT::Stage().
|
protectedinherited |
Definition at line 131 of file commit.cpp.
References CHT_MODIFY, COMMIT::m_changedItems, COMMIT::makeEntry(), and COMMIT::parentObject().
Referenced by COMMIT::Modified(), and COMMIT::Stage().
|
private |
Definition at line 141 of file board_commit.cpp.
References LSET::AllCuMask(), CHT_MODIFY, EDA_ITEM::ClearFlags(), dirtyIntersectingZones(), ZONE_FILLER_TOOL::DirtyZone(), Edge_Cuts, EDA_ITEM::GetBoundingBox(), EDA_ITEM::GetFlags(), BOARD_ITEM::GetLayerSet(), TOOL_MANAGER::GetModel(), TOOL_MANAGER::GetTool(), IS_MODIFIED_CHILD, m_toolMgr, Margin, PCB_FOOTPRINT_T, PCB_FP_ZONE_T, PCB_GROUP_T, PCB_ZONE_T, LSET::PhysicalLayersMask(), EDA_ITEM::Type(), and BOARD::Zones().
Referenced by dirtyIntersectingZones(), and Push().
|
inlineinherited |
Returns status of an item.
Definition at line 139 of file commit.h.
References COMMIT::m_changes.
Referenced by DIALOG_CLEANUP_GRAPHICS::doCleanup(), DIALOG_CLEANUP_TRACKS_AND_VIAS::doCleanup(), and Push().
|
protectedinherited |
Search for an entry describing change for a particular item.
Definition at line 172 of file commit.cpp.
References COMMIT::m_changes.
Referenced by COMMIT::GetStatus().
BOARD * BOARD_COMMIT::GetBoard | ( | ) | const |
Definition at line 71 of file board_commit.cpp.
References TOOL_MANAGER::GetModel(), and m_toolMgr.
Referenced by GRAPHICS_CLEANER::CleanupBoard().
|
inherited |
Definition at line 123 of file commit.cpp.
References COMMIT::findEntry(), COMMIT::COMMIT_LINE::m_type, and COMMIT::parentObject().
Referenced by BOARD_NETLIST_UPDATER::updateComponentPadConnections(), and BOARD_NETLIST_UPDATER::updateFootprintParameters().
|
protectedvirtualinherited |
Definition at line 148 of file commit.cpp.
References CHT_MODIFY, CHT_TYPE, alg::delete_if(), COMMIT::m_changedItems, COMMIT::m_changes, COMMIT::COMMIT_LINE::m_copy, COMMIT::COMMIT_LINE::m_item, and COMMIT::COMMIT_LINE::m_type.
Referenced by COMMIT::createModified(), and COMMIT::Stage().
Implements COMMIT.
Definition at line 667 of file board_commit.cpp.
References EDA_ITEM::Clone(), and BOARD_ITEM::SetParentGroup().
Referenced by Push().
Definition at line 110 of file commit.h.
References COMMIT::createModified().
Referenced by COMMIT::Stage(), BOARD_NETLIST_UPDATER::updateComponentPadConnections(), and BOARD_NETLIST_UPDATER::updateFootprintParameters().
Create an undo entry for an item that has been already modified.
Requires a copy done before the modification.
Definition at line 103 of file commit.h.
References CHT_MODIFY, and COMMIT::Stage().
Referenced by PCB_POINT_EDITOR::addCorner(), AR_AUTOPLACER::AutoplaceFootprints(), doPushPadProperties(), DRAWING_TOOL::DrawVia(), PAD_TOOL::EnumeratePads(), PAD_TOOL::explodePad(), ZONE_FILLER::Fill(), ARRAY_CREATOR::Invoke(), TRACKS_CLEANER::mergeCollinearSegments(), mergeZones(), BOARD_EDITOR_CONTROL::modifyLockSelected(), FOOTPRINT_EDIT_FRAME::OnEditItemRequest(), PAD_TOOL::pastePadProperties(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::processItem(), CN_CONNECTIVITY_ALGO::propagateConnections(), DIALOG_BOARD_REANNOTATE::ReannotateBoard(), PAD_TOOL::RecombinePad(), PCB_POINT_EDITOR::removeCorner(), GROUP_TOOL::RemoveFromGroup(), DRAWING_TOOL::SetAnchor(), BOARD_EDITOR_CONTROL::TrackWidthDec(), BOARD_EDITOR_CONTROL::TrackWidthInc(), DIALOG_DIMENSION_PROPERTIES::TransferDataFromWindow(), DIALOG_FOOTPRINT_PROPERTIES::TransferDataFromWindow(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::TransferDataFromWindow(), DIALOG_GRAPHIC_ITEM_PROPERTIES::TransferDataFromWindow(), DIALOG_GROUP_PROPERTIES::TransferDataFromWindow(), DIALOG_PAD_PROPERTIES::TransferDataFromWindow(), DIALOG_TARGET_PROPERTIES::TransferDataFromWindow(), DIALOG_TEXTBOX_PROPERTIES::TransferDataFromWindow(), DIALOG_TRACK_VIA_PROPERTIES::TransferDataFromWindow(), BOARD_NETLIST_UPDATER::updateCopperZoneNets(), DIALOG_UNUSED_PAD_LAYERS::updatePadsAndVias(), PCB_PROPERTIES_PANEL::valueChanged(), BOARD_EDITOR_CONTROL::ViaSizeDec(), BOARD_EDITOR_CONTROL::ViaSizeInc(), ZONE_FILLER_TOOL::ZoneUnfill(), and ZONE_FILLER_TOOL::ZoneUnfillAll().
Implements COMMIT.
Definition at line 639 of file board_commit.cpp.
References EDA_ITEM::GetParent(), PCB_FP_DIM_ALIGNED_T, PCB_FP_DIM_CENTER_T, PCB_FP_DIM_LEADER_T, PCB_FP_DIM_ORTHOGONAL_T, PCB_FP_DIM_RADIAL_T, PCB_FP_SHAPE_T, PCB_FP_TEXT_T, PCB_FP_TEXTBOX_T, PCB_FP_ZONE_T, PCB_PAD_T, PCB_ZONE_T, and EDA_ITEM::Type().
|
overridevirtual |
Revert the commit by restoring the modified items state.
Implements COMMIT.
Definition at line 201 of file board_commit.cpp.
References BOARD::Add(), KIGFX::VIEW::Add(), PCB_GROUP::AddItem(), APPEND_UNDO, PCB_BASE_FRAME::AppendCopyToUndoList(), AS_GLOBAL, B_Mask, BULK, BULK_INSERT, CHANGED, CHT_ADD, CHT_DONE, CHT_FLAGS, CHT_MODIFY, CHT_REMOVE, CHT_TYPE, COMMIT::clear(), EDA_ITEM::ClearFlags(), BOARD_ITEM_CONTAINER::Delete(), DELETED, dirtyIntersectingZones(), COMMIT::Empty(), F_Mask, BOARD::FinalizeBulkAdd(), BOARD::FinalizeBulkRemove(), BOARD::Footprints(), PCB_BASE_FRAME::GetCanvas(), BOARD::GetConnectivity(), PCB_SELECTION_TOOL::GetEnteredGroup(), BOARD::GetFirstFootprint(), EDA_ITEM::GetFlags(), TOOL_MANAGER::GetModel(), BOARD_ITEM::GetParent(), BOARD_ITEM::GetParentGroup(), PCB_BASE_FRAME::GetPcbNewSettings(), TOOL_MANAGER::GetTool(), TOOL_MANAGER::GetToolHolder(), TOOL_MANAGER::GetView(), EDA_ITEM::HasFlag(), PCB_BASE_FRAME::HideSolderMask(), IS_MODIFIED_CHILD, PCB_GROUP::IsGroupableType(), BOARD_ITEM::IsOnLayer(), EDA_ITEM::IsSelected(), PCBNEW_SETTINGS::m_AutoRefillZones, COMMIT::m_changes, COMMIT::COMMIT_LINE::m_copy, PCBNEW_SETTINGS::m_Display, m_isBoardEditor, m_isFootprintEditor, COMMIT::COMMIT_LINE::m_item, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_Live3DRefresh, m_toolMgr, COMMIT::COMMIT_LINE::m_type, makeImage(), NEWITEM, BOARD::OnItemsChanged(), PCB_BASE_FRAME::OnModify(), PCB_ARC_T, PCB_BITMAP_T, PCB_DIM_ALIGNED_T, PCB_DIM_CENTER_T, PCB_DIM_LEADER_T, PCB_DIM_ORTHOGONAL_T, PCB_DIM_RADIAL_T, PCB_FOOTPRINT_T, PCB_FP_DIM_ALIGNED_T, PCB_FP_DIM_CENTER_T, PCB_FP_DIM_LEADER_T, PCB_FP_DIM_ORTHOGONAL_T, PCB_FP_DIM_RADIAL_T, PCB_FP_SHAPE_T, PCB_FP_TEXT_T, PCB_FP_TEXTBOX_T, PCB_FP_ZONE_T, PCB_GROUP_T, PCB_MARKER_T, PCB_NETINFO_T, PCB_PAD_T, PCB_SHAPE_T, PCB_TARGET_T, PCB_TEXT_T, PCB_TEXTBOX_T, PCB_TRACE_T, PCB_VIA_T, PCB_ZONE_T, TOOL_MANAGER::PostEvent(), TOOL_MANAGER::ProcessEvent(), PICKED_ITEMS_LIST::PushItem(), PCB_DRAW_PANEL_GAL::RedrawRatsnest(), BOARD::Remove(), FOOTPRINT::Remove(), KIGFX::VIEW::Remove(), PCB_GROUP::RemoveItem(), SELECTION_TOOL::RemoveItemFromSel(), TOOL_MANAGER::RunAction(), PCB_BASE_FRAME::SaveCopyInUndoList(), EVENTS::SelectedItemsModified, ITEM_PICKER::SetLink(), EDA_ITEM::SetParent(), SKIP_CONNECTIVITY, SKIP_SET_DIRTY, SKIP_UNDO, STRUCT_DELETED, TA_MODEL_CHANGE, TC_MESSAGE, text, FP_TEXT::TEXT_is_DIVERS, EDA_ITEM::Type(), EVENTS::UnselectedEvent, UNSPECIFIED, KIGFX::VIEW::Update(), PCB_BASE_FRAME::Update3DView(), BOARD::UpdateRatsnestExclusions(), ZONE_FILL_OP, PCB_ACTIONS::zoneFillDirty, and BOARD::Zones().
Referenced by PCB_POINT_EDITOR::addCorner(), FOOTPRINT_VIEWER_FRAME::AddFootprintToPCB(), ALIGN_DISTRIBUTE_TOOL::AlignBottom(), ALIGN_DISTRIBUTE_TOOL::AlignCenterX(), ALIGN_DISTRIBUTE_TOOL::AlignCenterY(), ALIGN_DISTRIBUTE_TOOL::AlignTop(), AUTOPLACE_TOOL::autoplace(), ZONE_FILLER_TOOL::CheckAllZones(), ZONE_CREATE_HELPER::commitZone(), MICROWAVE_TOOL::createInductorBetween(), CONVERT_TOOL::CreatePolys(), ALIGN_DISTRIBUTE_TOOL::DistributeHorizontally(), ALIGN_DISTRIBUTE_TOOL::DistributeVertically(), ALIGN_DISTRIBUTE_TOOL::doAlignLeft(), ALIGN_DISTRIBUTE_TOOL::doAlignRight(), DIALOG_CLEANUP_GRAPHICS::doCleanup(), DIALOG_CLEANUP_TRACKS_AND_VIAS::doCleanup(), DIALOG_GLOBAL_DELETION::DoGlobalDeletions(), PCB_TOOL_BASE::doInteractiveItemPlacement(), DRAWING_TOOL::DrawArc(), DRAWING_TOOL::DrawBoardCharacteristics(), DRAWING_TOOL::DrawCircle(), DRAWING_TOOL::DrawDimension(), DRAWING_TOOL::DrawLine(), DRAWING_TOOL::DrawRectangle(), DRAWING_TOOL::drawShape(), DRAWING_TOOL::DrawSpecificationStackup(), PCB_EDIT_FRAME::Edit_Zone_Params(), PAD_TOOL::EditPad(), PAD_TOOL::EnumeratePads(), PAD_TOOL::explodePad(), ZONE_FILLER_TOOL::FillAllZones(), KI_TEST::FillZones(), DRAWING_TOOL::InteractivePlaceWithPreview(), ARRAY_CREATOR::Invoke(), BOARD_EDITOR_CONTROL::modifyLockSelected(), FOOTPRINT_EDIT_FRAME::OnEditItemRequest(), DIALOG_EXCHANGE_FOOTPRINTS::OnOKClicked(), PCB_POINT_EDITOR::OnSelectionChange(), PCB_EDIT_FRAME::OpenProjectFiles(), PAD_TOOL::pastePadProperties(), ZONE_CREATE_HELPER::performZoneCutout(), BOARD_EDITOR_CONTROL::PlaceFootprint(), DRAWING_TOOL::PlaceImportedGraphics(), DRAWING_TOOL::PlaceText(), PAD_TOOL::pushPadSettings(), DIALOG_BOARD_REANNOTATE::ReannotateBoard(), PCB_POINT_EDITOR::removeCorner(), GROUP_TOOL::RemoveFromGroup(), TEARDROP_MANAGER::RemoveTeardrops(), PCB_EDIT_FRAME::ResolveDRCExclusions(), PCB_EDIT_FRAME::RunActionPlugin(), FOOTPRINT_EDIT_FRAME::SaveFootprintToBoard(), DRAWING_TOOL::SetAnchor(), TEARDROP_MANAGER::SetTeardrops(), BOARD_EDITOR_CONTROL::TrackWidthDec(), BOARD_EDITOR_CONTROL::TrackWidthInc(), DIALOG_DIMENSION_PROPERTIES::TransferDataFromWindow(), DIALOG_FOOTPRINT_PROPERTIES::TransferDataFromWindow(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::TransferDataFromWindow(), DIALOG_GRAPHIC_ITEM_PROPERTIES::TransferDataFromWindow(), DIALOG_GROUP_PROPERTIES::TransferDataFromWindow(), DIALOG_PAD_PROPERTIES::TransferDataFromWindow(), DIALOG_TARGET_PROPERTIES::TransferDataFromWindow(), DIALOG_TEXTBOX_PROPERTIES::TransferDataFromWindow(), BOARD_NETLIST_UPDATER::UpdateNetlist(), PCB_PROPERTIES_PANEL::valueChanged(), BOARD_EDITOR_CONTROL::ViaSizeDec(), BOARD_EDITOR_CONTROL::ViaSizeInc(), BOARD_EDITOR_CONTROL::ZoneDuplicate(), ZONE_FILLER_TOOL::ZoneFill(), ZONE_FILLER_TOOL::ZoneFillDirty(), BOARD_EDITOR_CONTROL::ZoneMerge(), ZONE_FILLER_TOOL::ZoneUnfill(), and ZONE_FILLER_TOOL::ZoneUnfillAll().
Notify observers that aItem has been removed.
Definition at line 90 of file commit.h.
References CHT_REMOVE, and COMMIT::Stage().
Referenced by GRAPHICS_CLEANER::cleanupShapes(), CONVERT_TOOL::CreatePolys(), DIALOG_GLOBAL_DELETION::DoGlobalDeletions(), PCB_EDIT_FRAME::ExchangeFootprint(), GRAPHICS_CLEANER::mergeRects(), mergeZones(), ZONE_CREATE_HELPER::performZoneCutout(), PAD_TOOL::RecombinePad(), PCB_POINT_EDITOR::removeCorner(), and BOARD_NETLIST_UPDATER::UpdateNetlist().
Modify a given item in the model.
Must be called before modification is performed.
Definition at line 96 of file commit.h.
References CHT_DONE, CHT_REMOVE, and COMMIT::Stage().
Referenced by TRACKS_CLEANER::deleteDanglingTracks(), TRACKS_CLEANER::mergeCollinearSegments(), TRACKS_CLEANER::removeItems(), TEARDROP_MANAGER::RemoveTeardrops(), PCB_EDIT_FRAME::RunActionPlugin(), and BOARD_NETLIST_UPDATER::UpdateNetlist().
|
overridevirtual |
Implements COMMIT.
Definition at line 676 of file board_commit.cpp.
References BOARD::Add(), KIGFX::VIEW::Add(), BULK, CHT_ADD, CHT_DONE, CHT_FLAGS, CHT_MODIFY, CHT_REMOVE, CHT_TYPE, COMMIT::clear(), copy, BOARD::FinalizeBulkAdd(), BOARD::FinalizeBulkRemove(), BOARD::GetConnectivity(), TOOL_MANAGER::GetModel(), TOOL_MANAGER::GetTool(), TOOL_MANAGER::GetView(), group, BOARD::IncrementTimeStamp(), INSERT, COMMIT::m_changes, COMMIT::COMMIT_LINE::m_copy, m_isFootprintEditor, COMMIT::COMMIT_LINE::m_item, m_toolMgr, COMMIT::COMMIT_LINE::m_type, BOARD::OnItemChanged(), BOARD::OnItemsChanged(), PCB_GROUP_T, PCB_SELECTION_TOOL::RebuildSelection(), BOARD::Remove(), KIGFX::VIEW::Remove(), BOARD_ITEM::SetParentGroup(), BOARD_ITEM::SwapItemData(), EDA_ITEM::Type(), and BOARD::UpdateRatsnestExclusions().
Referenced by AUTOPLACE_TOOL::autoplace(), ZONE_FILLER_TOOL::CheckAllZones(), PAD_TOOL::EnumeratePads(), ZONE_FILLER_TOOL::FillAllZones(), mergeZones(), PCB_POINT_EDITOR::OnSelectionChange(), BOARD_EDITOR_CONTROL::PlaceFootprint(), ZONE_FILLER_TOOL::ZoneFill(), and ZONE_FILLER_TOOL::ZoneFillDirty().
|
overridevirtual |
Execute the changes.
Reimplemented from COMMIT.
Definition at line 135 of file board_commit.cpp.
References COMMIT::Stage().
|
overridevirtual |
Reimplemented from COMMIT.
Definition at line 77 of file board_commit.cpp.
References CHT_MODIFY, EDA_ITEM::ClearFlags(), EDA_ITEM::GetParent(), IS_MODIFIED_CHILD, PCB_FOOTPRINT_T, PCB_GROUP_T, EDA_ITEM::SetFlags(), COMMIT::Stage(), and EDA_ITEM::Type().
Referenced by ALIGN_DISTRIBUTE_TOOL::AlignBottom(), ALIGN_DISTRIBUTE_TOOL::AlignCenterX(), ALIGN_DISTRIBUTE_TOOL::AlignCenterY(), ALIGN_DISTRIBUTE_TOOL::AlignTop(), ALIGN_DISTRIBUTE_TOOL::doAlignLeft(), ALIGN_DISTRIBUTE_TOOL::doAlignRight(), ALIGN_DISTRIBUTE_TOOL::doDistributeCentersHorizontally(), ALIGN_DISTRIBUTE_TOOL::doDistributeCentersVertically(), ALIGN_DISTRIBUTE_TOOL::doDistributeGapsHorizontally(), ALIGN_DISTRIBUTE_TOOL::doDistributeGapsVertically(), and PCB_EDIT_FRAME::Edit_Zone_Params().
|
overridevirtual |
Reimplemented from COMMIT.
Definition at line 129 of file board_commit.cpp.
References COMMIT::Stage().
|
inlineinherited |
Add a change of the item aItem of type aChangeType to the change list.
Definition at line 117 of file commit.h.
References COMMIT::Stage().
Referenced by PCB_POINT_EDITOR::OnSelectionChange().
|
protectedinherited |
Definition at line 179 of file commit.h.
Referenced by COMMIT::clear(), COMMIT::createModified(), COMMIT::makeEntry(), and COMMIT::Stage().
|
protectedinherited |
Definition at line 180 of file commit.h.
Referenced by COMMIT::clear(), COMMIT::Empty(), COMMIT::findEntry(), COMMIT::makeEntry(), Push(), Revert(), and COMMIT::~COMMIT().
|
private |
Definition at line 75 of file board_commit.h.
Referenced by BOARD_COMMIT(), and Push().
|
private |
Definition at line 74 of file board_commit.h.
Referenced by BOARD_COMMIT(), Push(), and Revert().
|
private |
Definition at line 73 of file board_commit.h.
Referenced by BOARD_COMMIT(), dirtyIntersectingZones(), GetBoard(), Push(), and Revert().