Commit 7c655d1d authored by jerryjacobs's avatar jerryjacobs
Browse files

Component and library selection color to white (same as eagle), some strings...

Component and library selection color to white (same as eagle), some strings fine tuned and made translatable, dutch translation update, gerbview zoomfit on start
parent 0545f681
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ set(COMMON_SRCS
    toolbars.cpp
    trigo.cpp
    worksheet.cpp
    wxwineda.cpp)
    wxwineda.cpp
    icons.cpp)

add_library(common ${COMMON_SRCS})
+1 −1
Original line number Diff line number Diff line
@@ -131,7 +131,7 @@ wxStaticText * Text;
	{
		
		Button = new wxButton(this, ID_EXTRA_TOOL, _("By Lib Browser"));
		Button->SetForegroundColour(wxColor(80, 0, 80));
		Button->SetForegroundColour(wxColor(0, 0, 0)); // Listbox Color
		RightBoxSizer->Add(Button, 0, wxGROW|wxLEFT|wxRIGHT|wxBOTTOM, 5);
	}
#endif	
+10 −7
Original line number Diff line number Diff line
@@ -140,13 +140,13 @@ void LoadLibraries( WinEDA_DrawFrame* frame )

		FullLibName = MakeFileName( g_RealLibDirBuffer, LibName, g_LibExtBuffer );

        msg = wxT( "Loading " ) + FullLibName;
        msg = _( "Loading library " ) + FullLibName;
        frame->PrintMsg( msg );

        if( LoadLibraryName( frame, FullLibName, LibName ) )
            msg += wxT( " OK" );
            msg += _( " OK" );
        else
            msg += wxT( " ->Error" );
            msg += _( " ->Error" );

        frame->PrintMsg( msg );
    }
@@ -281,11 +281,14 @@ int LibraryEntryCompare( EDA_LibComponentStruct* LE1, EDA_LibComponentStruct* LE
}


/*****************************************************************************
* Routine to load a library from given open file.							 *
*****************************************************************************/
PriorQue* LoadLibraryAux( WinEDA_DrawFrame* frame, LibraryStruct* Library, FILE* libfile,
/**************************************************/
/* Routine to load a library from given open file */
/**************************************************/
PriorQue* LoadLibraryAux( WinEDA_DrawFrame* frame, 
                          LibraryStruct* Library,
                          FILE* libfile,
                          int* NumOfParts )
/**************************************************/
{
    int                     LineNum = 0;
    char                    Line[1024];
+1 −1
Original line number Diff line number Diff line
@@ -178,7 +178,7 @@ int WinEDA_SchematicFrame::LoadOneEEProject( const wxString& FileName, bool IsNe
    if( !wxFileExists( g_RootSheet->m_AssociatedScreen->m_FileName ) && !LibCacheExist )   // Nouveau projet prpbablement
    {
        Zoom_Automatique( FALSE );
        msg.Printf( _( "File %s not found (new project ?)" ),
        msg.Printf( _( "File <%s> not found." ),
            g_RootSheet->m_AssociatedScreen->m_FileName.GetData() );
        DisplayInfo( this, msg, 20 );
        return -1;
+1 −1
Original line number Diff line number Diff line
@@ -328,7 +328,7 @@ wxString msg;

	ListBox = new WinEDAListBox(this, msg,
						ListNames, wxEmptyString, NULL /*DisplayCmpDoc*/,
						wxColour(255,255,200));
						wxColour(255,255,255)); // Component listbox background color


	int ii = ListBox->ShowModal(); ListBox->Destroy();
Loading