mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 18:23:15 +02:00
File "rules" has instructional text as comments near top. 2) Convert all text files in repo to LF line ending form. Any checkout done with "rules" in play will convert the working tree to native line ending, while keeping repo as LF line ending.
27 lines
616 B
C++
27 lines
616 B
C++
#include <dialog_sch_edit_sheet_pin.h>
|
|
|
|
|
|
static wxString sheetPinTypes[] =
|
|
{
|
|
_( "Input" ),
|
|
_( "Output" ),
|
|
_( "Bidirectional" ),
|
|
_( "Tri-state" ),
|
|
_( "Passive" )
|
|
};
|
|
|
|
|
|
#define SHEET_PIN_TYPE_CNT ( sizeof( sheetPinTypes ) / sizeof( wxString ) )
|
|
|
|
|
|
DIALOG_SCH_EDIT_SHEET_PIN::DIALOG_SCH_EDIT_SHEET_PIN( wxWindow* parent ) :
|
|
DIALOG_SCH_EDIT_SHEET_PIN_BASE( parent )
|
|
{
|
|
for( size_t i = 0; i < SHEET_PIN_TYPE_CNT; i++ )
|
|
m_choiceConnectionType->Append( sheetPinTypes[ i ] );
|
|
|
|
m_choiceConnectionType->SetSelection( 0 );
|
|
m_textName->SetFocus();
|
|
m_sdbSizer2OK->SetDefault();
|
|
}
|