30enum class BITMAPS :
unsigned int;
53#define ELECTRICAL_PINTYPES_TOTAL ( static_cast<int>( ELECTRICAL_PINTYPE::PT_LAST_OPTION ) + 1 )
70#define GRAPHIC_PINSHAPES_TOTAL ( static_cast<int>( GRAPHIC_PINSHAPE::LAST_OPTION ) + 1 )
BITMAPS
A list of all bitmap identifiers.
const std::vector< BITMAPS > & PinTypeIcons()
wxString PinShapeGetText(GRAPHIC_PINSHAPE shape)
wxString PinOrientationName(unsigned aPinOrientationCode)
int PinOrientationIndex(int code)
ELECTRICAL_PINTYPE
The symbol library pin object electrical types used in ERC tests.
@ PT_INPUT
usual pin input: must be connected
@ PT_NC
not connected (must be left open)
@ PT_LAST_OPTION
sentinel value, set to last usable enum option
@ PT_TRISTATE
tris state bus pin
@ PT_NIC
not internally connected (may be connected to anything)
@ PT_BIDI
input or output (like port for a microprocessor)
@ PT_OPENEMITTER
pin type open emitter
@ PT_POWER_OUT
output of a regulator: intended to be connected to power input pins
@ PT_OPENCOLLECTOR
pin type open collector
@ PT_POWER_IN
power input (GND, VCC for ICs). Must be connected to a power output.
@ PT_UNSPECIFIED
unknown electrical properties: creates always a warning when connected
@ PT_PASSIVE
pin for passive symbols: must be connected, and can be connected to any pin
const wxArrayString & PinTypeNames()
BITMAPS ElectricalPinTypeGetBitmap(ELECTRICAL_PINTYPE)
BITMAPS PinShapeGetBitmap(GRAPHIC_PINSHAPE shape)
wxString ElectricalPinTypeGetText(ELECTRICAL_PINTYPE)
const wxArrayString & PinShapeNames()
const std::vector< BITMAPS > & PinShapeIcons()
const wxArrayString & PinOrientationNames()
int PinOrientationCode(int index)
const std::vector< BITMAPS > & PinOrientationIcons()
@ LAST_OPTION
this is the sentinel value, must be set to last enum value