30enum class BITMAPS :
unsigned int;
54#define ELECTRICAL_PINTYPES_TOTAL ( static_cast<int>( ELECTRICAL_PINTYPE::PT_LAST_OPTION ) + 1 )
72#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)
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)
int PinOrientationIndex(PIN_ORIENTATION code)
BITMAPS PinShapeGetBitmap(GRAPHIC_PINSHAPE shape)
wxString ElectricalPinTypeGetText(ELECTRICAL_PINTYPE)
const wxArrayString & PinShapeNames()
const std::vector< BITMAPS > & PinShapeIcons()
const wxArrayString & PinOrientationNames()
wxString PinOrientationName(PIN_ORIENTATION aOrientation)
BITMAPS PinOrientationGetBitmap(PIN_ORIENTATION aOrientation)
PIN_ORIENTATION
The symbol library pin object orientations.
@ PIN_UP
The pin extends upwards from the connection point: Probably on the bottom side of the symbol.
@ PIN_RIGHT
The pin extends rightwards from the connection point.
@ PIN_LEFT
The pin extends leftwards from the connection point: Probably on the right side of the symbol.
@ PIN_DOWN
The pin extends downwards from the connection: Probably on the top side of the symbol.
PIN_ORIENTATION PinOrientationCode(size_t index)
const std::vector< BITMAPS > & PinOrientationIcons()
@ LAST_OPTION
this is the sentinel value, must be set to last enum value