KiCad PCB EDA Suite
|
This is a bridge class to help the schematic be able to affect SCH_EDIT_FRAME without doing anything too wild in terms of passing callbacks constantly in numerous files. More...
#include <schematic_holder.h>
Public Member Functions | |
virtual void | AddToScreen (EDA_ITEM *aItem, SCH_SCREEN *aScreen=nullptr)=0 |
Add an item to the screen (and view) aScreen is the screen the item is located on, if not the current screen. | |
virtual SCH_SELECTION_TOOL * | GetSelectionTool () |
virtual void | RemoveFromScreen (EDA_ITEM *aItem, SCH_SCREEN *aScreen)=0 |
virtual void | IntersheetRefUpdate (SCH_GLOBALLABEL *aItem) |
This is a bridge class to help the schematic be able to affect SCH_EDIT_FRAME without doing anything too wild in terms of passing callbacks constantly in numerous files.
The long term goal would be to fix the internal structure and make the relationship between frame and schematic less intertwined
Definition at line 34 of file schematic_holder.h.
|
pure virtual |
Add an item to the screen (and view) aScreen is the screen the item is located on, if not the current screen.
Implemented in SCH_BASE_FRAME.
Referenced by SCHEMATIC::BreakSegment().
|
inlinevirtual |
Reimplemented in SCH_BASE_FRAME.
Definition at line 43 of file schematic_holder.h.
Referenced by SCHEMATIC::CleanUp().
|
inlinevirtual |
Reimplemented in SCH_EDIT_FRAME.
Definition at line 47 of file schematic_holder.h.
Referenced by SCHEMATIC::RecomputeIntersheetRefs().
|
pure virtual |
Implemented in SCH_BASE_FRAME.
Referenced by SCHEMATIC::CleanUp().