60 static wxBitmap bitMap =
74 return SHEET_SYNCHRONIZATION_ITEM_KIND::HIERLABEL;
100 static wxBitmap bitMap =
114 return SHEET_SYNCHRONIZATION_ITEM_KIND::SHEET_PIN;
119 m_label( aLabel ), m_pin( aPin )
145 static auto label_and_pin_icon = ( []{
149 KiBitmap( BITMAPS::add_hierarchical_label,
153 img.Paste(
left.ConvertToImage(), 0, 0 );
155 return wxBitmap( img );
158 return label_and_pin_icon;
170 return SHEET_SYNCHRONIZATION_ITEM_KIND::HIERLABEL_AND_SHEET_PIN;
wxBitmap KiBitmap(BITMAPS aBitmap, int aHeightTag)
Construct a wxBitmap from an image identifier Returns the image from the active theme if the image ha...
ASSOCIATED_SCH_LABEL_PIN(SCH_HIERLABEL *aLabel, SCH_SHEET_PIN *aPin)
wxString GetName() const override
int GetShape() const override
SCH_ITEM * GetItem() const override
SHEET_SYNCHRONIZATION_ITEM_KIND GetKind() const override
wxBitmap & GetBitmap() const override
wxString GetName() const override
SCH_ITEM * GetItem() const override
SCH_HIERLABEL_SYNCHRONIZATION_ITEM(SCH_HIERLABEL *aLabel, SCH_SHEET *aSheet)
SHEET_SYNCHRONIZATION_ITEM_KIND GetKind() const override
wxBitmap & GetBitmap() const override
int GetShape() const override
Base class for any item which can be embedded within the SCHEMATIC container class,...
wxString GetShownText(const SCH_SHEET_PATH *aPath, bool aAllowExtraText, int aDepth=0) const override
LABEL_FLAG_SHAPE GetShape() const
SCH_ITEM * GetItem() const override
wxString GetName() const override
int GetShape() const override
SCH_SHEET_PIN_SYNCHRONIZATION_ITEM(SCH_SHEET_PIN *aPin, SCH_SHEET *aSheet)
SHEET_SYNCHRONIZATION_ITEM_KIND GetKind() const override
wxBitmap & GetBitmap() const override
Define a sheet pin (label) used in sheets to create hierarchical schematics.
Sheet symbol placed in a schematic, and is the entry point for a sub schematic.
SHEET_SYNCHRONIZATION_ITEM_KIND