SCH_GLOBALLABEL::SCH_GLOBALLABEL( const wxPoint& pos, const wxString& text ) : SCH_TEXT( pos, text, SCH_GLOBAL_LABEL_T ) { m_Layer = LAYER_GLOBLABEL; m_shape = NET_BIDI; m_isDangling = true; SetMultilineAllowed( false ); }
SCH_HIERLABEL::SCH_HIERLABEL( const wxPoint& pos, const wxString& text, KICAD_T aType ) : SCH_TEXT( pos, text, aType ) { m_Layer = LAYER_HIERLABEL; m_shape = NET_INPUT; m_isDangling = true; SetMultilineAllowed( false ); }
SCH_TEXT::SCH_TEXT( const wxPoint& pos, const wxString& text, KICAD_T aType ) : SCH_ITEM( NULL, aType ), EDA_TEXT( text ), m_shape( NET_INPUT ) { m_Layer = LAYER_NOTES; SetTextPos( pos ); m_isDangling = false; m_connectionType = CONNECTION_NONE; m_spin_style = 0; SetMultilineAllowed( true ); }
TEXTE_PCB::TEXTE_PCB( BOARD_ITEM* parent ) : BOARD_ITEM( parent, PCB_TEXT_T ), EDA_TEXT() { SetMultilineAllowed( true ); }