27 #include <wx/arrstr.h> 52 #define ELECTRICAL_PINTYPES_TOTAL ( static_cast<int>( ELECTRICAL_PINTYPE::PT_LAST_OPTION ) + 1 ) 69 #define GRAPHIC_PINSHAPES_TOTAL ( static_cast<int>( GRAPHIC_PINSHAPE::LAST_OPTION ) + 1 )
power input (GND, VCC for ICs). Must be connected to a power output.
BITMAP_DEF PinShapeGetBitmap(GRAPHIC_PINSHAPE shape)
PNG memory record (file in memory).
const wxArrayString & PinShapeNames()
const wxArrayString & PinTypeNames()
pin for passive components: must be connected, and can be connected to any pin
unknown electrical properties: creates always a warning when connected
const std::vector< BITMAP_DEF > & PinOrientationIcons()
not internally connected (may be connected to anything)
int PinOrientationIndex(int code)
const wxArrayString & PinOrientationNames()
const std::vector< BITMAP_DEF > & PinShapeIcons()
const std::vector< BITMAP_DEF > & PinTypeIcons()
sentinel value, set to last usable enum option
ELECTRICAL_PINTYPE
The component library pin object electrical types used in ERC tests.
usual pin input: must be connected
this is the sentinel value, must be set to last enum value
BITMAP_DEF ElectricalPinTypeGetBitmap(ELECTRICAL_PINTYPE)
wxString ElectricalPinTypeGetText(ELECTRICAL_PINTYPE)
int PinOrientationCode(int index)
input or output (like port for a microprocessor)
wxString PinOrientationName(unsigned aPinOrientationCode)
not connected (must be left open)
output of a regulator: intended to be connected to power input pins
wxString PinShapeGetText(GRAPHIC_PINSHAPE shape)