Commit ca5fd179 authored by CHARRAS's avatar CHARRAS
Browse files

ratsnest.cpp translated, onrightclick() bug solved.

parent 3cd47555
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -4,6 +4,15 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with 
email address.

2007-Oct-13 UPDATE   Dick Hollenbeck <dick@softplc.com>
================================================================================
+ pcbnew:
	ratsnest.cpp translated into english.
	Many infos on the LEE algorithm used here added.
	todo (by myself): connect.cpp translation.
	onrightclick() bug (created by last change) solved: one could reselect an item,
	while moving a previously selected item (pcbnew crashes).


2007-Oct-13 UPDATE   Geoff Harland <gharlandau@yahoo.com.au>
================================================================================
+833 B (130 KiB)

File changed.

No diff preview for this file type.

+1176 −1210

File changed.

Preview size limit exceeded, changes collapsed.

+12 −2
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ wxString BOARD_ITEM::MenuText( const BOARD* aPcb ) const
    wxString          text;
    const BOARD_ITEM* item = this;
    EQUIPOT*          net;
	D_PAD * pad;

    switch( item->Type() )
    {
@@ -42,8 +43,17 @@ wxString BOARD_ITEM::MenuText( const BOARD* aPcb ) const
        break;

    case TYPEPAD:
        text << _( "Pad" ) << wxT( " " ) << ( (D_PAD*) item )->ReturnStringPadName() << _( " of " )
             << ( (MODULE*) GetParent() )->GetReference();
		pad = (D_PAD *) this;
        text << _( "Pad" ) << wxT( " \"" ) << pad->ReturnStringPadName()
				<< wxT( "\" (" );
		if ( (pad->m_Masque_Layer & ALL_CU_LAYERS) == ALL_CU_LAYERS )
			text << _("all copper layers");
		else if( (pad->m_Masque_Layer & CUIVRE_LAYER) == CUIVRE_LAYER )
			text << _("copper layers");
		else if( (pad->m_Masque_Layer & CMP_LAYER) == CMP_LAYER )
			text << _("cmp layers");
		else text << _("???");
		text << _( ") of " ) << ( (MODULE*) GetParent() )->GetReference();
        break;

    case TYPEDRAWSEGMENT:
+1 −1
Original line number Diff line number Diff line
@@ -888,7 +888,7 @@ void D_PAD::Display_Infos( WinEDA_DrawFrame* frame )
    pos += 4;
    Affiche_1_Parametre( frame, pos, _( "Net" ), m_Netname, DARKCYAN );

    /* pour mise au point (peut etre supprim� : Affichage du numero de Net et sous net */
    /* For test and debug only: display m_physical_connexion and m_logical_connexion */
    pos += 10;
#if 0
    Line.Printf( wxT( "%d.%d " ), m_logical_connexion, m_physical_connexion );
Loading