![]() |
KiCad PCB EDA Suite
|
Go to the source code of this file.
Macros | |
#define | ELECTRICAL_PINTYPES_TOTAL ( static_cast<int>( ELECTRICAL_PINTYPE::PT_LAST_OPTION ) + 1 ) |
#define | GRAPHIC_PINSHAPES_TOTAL ( static_cast<int>( GRAPHIC_PINSHAPE::LAST_OPTION ) + 1 ) |
Functions | |
wxString | PinShapeGetText (GRAPHIC_PINSHAPE shape) |
BITMAP_DEF | PinShapeGetBitmap (GRAPHIC_PINSHAPE shape) |
wxString | ElectricalPinTypeGetText (ELECTRICAL_PINTYPE) |
BITMAP_DEF | ElectricalPinTypeGetBitmap (ELECTRICAL_PINTYPE) |
wxString | PinOrientationName (unsigned aPinOrientationCode) |
int | PinOrientationCode (int index) |
int | PinOrientationIndex (int code) |
const wxArrayString & | PinTypeNames () |
const std::vector< BITMAP_DEF > & | PinTypeIcons () |
const wxArrayString & | PinShapeNames () |
const std::vector< BITMAP_DEF > & | PinShapeIcons () |
const wxArrayString & | PinOrientationNames () |
const std::vector< BITMAP_DEF > & | PinOrientationIcons () |
#define ELECTRICAL_PINTYPES_TOTAL ( static_cast<int>( ELECTRICAL_PINTYPE::PT_LAST_OPTION ) + 1 ) |
Definition at line 52 of file pin_type.h.
#define GRAPHIC_PINSHAPES_TOTAL ( static_cast<int>( GRAPHIC_PINSHAPE::LAST_OPTION ) + 1 ) |
Definition at line 69 of file pin_type.h.
|
strong |
The component library pin object electrical types used in ERC tests.
Definition at line 34 of file pin_type.h.
|
strong |
Enumerator | |
---|---|
LINE | |
INVERTED | |
CLOCK | |
INVERTED_CLOCK | |
INPUT_LOW | |
CLOCK_LOW | |
OUTPUT_LOW | |
FALLING_EDGE_CLOCK | |
NONLOGIC | |
LAST_OPTION | this is the sentinel value, must be set to last enum value |
Definition at line 54 of file pin_type.h.
BITMAP_DEF ElectricalPinTypeGetBitmap | ( | ELECTRICAL_PINTYPE | ) |
Definition at line 245 of file pin_type.cpp.
References pinTypes.
Referenced by LIB_PIN::GetMenuImage(), InitTables(), and PinTypeComboBox::PinTypeComboBox().
wxString ElectricalPinTypeGetText | ( | ELECTRICAL_PINTYPE | ) |
Definition at line 235 of file pin_type.cpp.
References pinTypes.
Referenced by LIB_PIN::GetElectricalTypeName(), SCH_PIN::GetMsgPanelInfo(), LIB_PIN::GetMsgPanelInfo(), InitTables(), PinTypeComboBox::PinTypeComboBox(), and ERC_TESTER::TestPinToPin().
int PinOrientationCode | ( | int | index | ) |
Definition at line 136 of file pin_type.cpp.
References PIN_ORIENTATION_CNT, pin_orientation_codes, and PIN_RIGHT.
Referenced by DIALOG_PIN_PROPERTIES::OnPropertiesChange(), PIN_TABLE_DATA_MODEL::SetValue(), and DIALOG_PIN_PROPERTIES::TransferDataFromWindow().
const std::vector<BITMAP_DEF>& PinOrientationIcons | ( | ) |
Definition at line 226 of file pin_type.cpp.
References g_orientationIcons, and InitTables().
Referenced by DIALOG_LIB_EDIT_PIN_TABLE::DIALOG_LIB_EDIT_PIN_TABLE(), and DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES().
int PinOrientationIndex | ( | int | code | ) |
Definition at line 145 of file pin_type.cpp.
References PIN_ORIENTATION_CNT, and pin_orientation_codes.
Referenced by SCH_PIN::GetMsgPanelInfo(), LIB_PIN::GetMsgPanelInfo(), PIN_TABLE_DATA_MODEL::GetValue(), and DIALOG_PIN_PROPERTIES::TransferDataToWindow().
wxString PinOrientationName | ( | unsigned | aPinOrientationCode | ) |
Definition at line 114 of file pin_type.cpp.
References _, and PIN_ORIENTATION_CNT.
Referenced by SCH_PIN::GetMsgPanelInfo(), LIB_PIN::GetMsgPanelInfo(), and InitTables().
const wxArrayString& PinOrientationNames | ( | ) |
Definition at line 217 of file pin_type.cpp.
References g_orientationNames, and InitTables().
Referenced by DIALOG_LIB_EDIT_PIN_TABLE::DIALOG_LIB_EDIT_PIN_TABLE(), DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), PIN_TABLE_DATA_MODEL::GetValue(), and PIN_TABLE_DATA_MODEL::SetValue().
BITMAP_DEF PinShapeGetBitmap | ( | GRAPHIC_PINSHAPE | shape | ) |
Definition at line 265 of file pin_type.cpp.
References pinShapes.
Referenced by InitTables(), and PinShapeComboBox::PinShapeComboBox().
wxString PinShapeGetText | ( | GRAPHIC_PINSHAPE | shape | ) |
Definition at line 255 of file pin_type.cpp.
References pinShapes.
Referenced by SCH_PIN::GetMsgPanelInfo(), LIB_PIN::GetMsgPanelInfo(), LIB_PIN::GetSelectMenuText(), InitTables(), and PinShapeComboBox::PinShapeComboBox().
const std::vector<BITMAP_DEF>& PinShapeIcons | ( | ) |
Definition at line 208 of file pin_type.cpp.
References g_shapeIcons, and InitTables().
Referenced by SCH_PIN_TABLE_DATA_MODEL::BuildAttrs(), DIALOG_LIB_EDIT_PIN_TABLE::DIALOG_LIB_EDIT_PIN_TABLE(), and DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES().
const wxArrayString& PinShapeNames | ( | ) |
Definition at line 199 of file pin_type.cpp.
References g_shapeNames, and InitTables().
Referenced by SCH_PIN_TABLE_DATA_MODEL::BuildAttrs(), DIALOG_LIB_EDIT_PIN_TABLE::DIALOG_LIB_EDIT_PIN_TABLE(), DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), ALT_PIN_DATA_MODEL::GetValue(), PIN_TABLE_DATA_MODEL::GetValue(), SCH_PIN_TABLE_DATA_MODEL::GetValue(), ALT_PIN_DATA_MODEL::SetValue(), and PIN_TABLE_DATA_MODEL::SetValue().
const std::vector<BITMAP_DEF>& PinTypeIcons | ( | ) |
Definition at line 190 of file pin_type.cpp.
References g_typeIcons, and InitTables().
Referenced by SCH_PIN_TABLE_DATA_MODEL::BuildAttrs(), DIALOG_LIB_EDIT_PIN_TABLE::DIALOG_LIB_EDIT_PIN_TABLE(), and DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES().
const wxArrayString& PinTypeNames | ( | ) |
Definition at line 181 of file pin_type.cpp.
References g_typeNames, and InitTables().
Referenced by SCH_PIN_TABLE_DATA_MODEL::BuildAttrs(), DIALOG_LIB_EDIT_PIN_TABLE::DIALOG_LIB_EDIT_PIN_TABLE(), DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), ALT_PIN_DATA_MODEL::GetValue(), PIN_TABLE_DATA_MODEL::GetValue(), SCH_PIN_TABLE_DATA_MODEL::GetValue(), ALT_PIN_DATA_MODEL::SetValue(), and PIN_TABLE_DATA_MODEL::SetValue().