|
KiCad PCB EDA Suite
|
#include <functional>#include <component_classes/component_class_manager.h>#include <macros.h>#include <pcb_edit_frame.h>#include <pcb_track.h>#include <pcb_group.h>#include <pcb_shape.h>#include <pcb_generator.h>#include <footprint.h>#include <lset.h>#include <pad.h>#include <origin_viewitem.h>#include <connectivity/connectivity_data.h>#include <tool/tool_manager.h>#include <tool/actions.h>#include <tools/pcb_actions.h>#include <tools/pcb_selection_tool.h>#include <tools/pcb_control.h>#include <tools/board_editor_control.h>#include <board_commit.h>#include <drawing_sheet/ds_proxy_undo_item.h>#include <wx/msgdlg.h>#include <pcb_board_outline.h>Go to the source code of this file.
Functions | |
| static bool | undoListContainsShapesOrFootprints (const PICKED_ITEMS_LIST *aList) |
| Check whether the undo/redo list contains any items that could affect the board outline or shape hatching. | |
|
static |
Check whether the undo/redo list contains any items that could affect the board outline or shape hatching.
Used to skip expensive post-processing when only tracks changed.
Definition at line 203 of file undo_redo.cpp.
References PICKED_ITEMS_LIST::GetCount(), PICKED_ITEMS_LIST::GetPickedItem(), PCB_FIELD_T, PCB_FOOTPRINT_T, PCB_SHAPE_T, PCB_TEXT_T, PCB_TEXTBOX_T, and EDA_ITEM::Type().
Referenced by PCB_BASE_EDIT_FRAME::RestoreCopyFromRedoList(), and PCB_BASE_EDIT_FRAME::RestoreCopyFromUndoList().