Commit 18bfe66d authored by jerryjacobs's avatar jerryjacobs
Browse files

Dutch language update, kicad splash making to work

parent 608535f7
Loading
Loading
Loading
Loading
+6.24 KiB (75 KiB)

File changed.

No diff preview for this file type.

+6838 −6726

File changed.

File size exceeds preview limit.

+4 −4
Original line number Diff line number Diff line
@@ -55,19 +55,19 @@ void WinEDA_CommandFrame::CreateCommandToolbar( void )
    m_ButtonLastPosition.y = 20;

    btn = new wxBitmapButton( this, ID_TO_EESCHEMA, BITMAP( icon_eeschema_xpm ) );
    btn->SetToolTip( _( "eeschema (Schematic editor)" ) );
    btn->SetToolTip( _( "EESchema (Schematic editor)" ) );
    AddFastLaunch( btn );

    btn = new wxBitmapButton( this, ID_TO_CVPCB, BITMAP( icon_cvpcb_xpm ) );
    btn->SetToolTip( _( "cvpcb (Components to modules)" ) );
    btn->SetToolTip( _( "CVpcb (Components to modules)" ) );
    AddFastLaunch( btn );

    btn = new wxBitmapButton( this, ID_TO_PCB, BITMAP( a_icon_pcbnew_xpm ) );
    btn->SetToolTip( _( "pcbnew (PCB editor)" ) );
    btn->SetToolTip( _( "PCBnew (PCB editor)" ) );
    AddFastLaunch( btn );

    btn = new wxBitmapButton( this, ID_TO_GERBVIEW, BITMAP( icon_gerbview_xpm ) );
    btn->SetToolTip( _( "gerbview (Gerber viewer)" ) );
    btn->SetToolTip( _( "GerbView (Gerber viewer)" ) );
    AddFastLaunch( btn );


+22 −12
Original line number Diff line number Diff line
@@ -16,10 +16,15 @@
//#define SPLASH_OK

#ifdef SPLASH_OK
 #include <wx/splash.h>

  /* Define Splash Image */
  #define SPLASH_IMAGE logo_kicad.png

  #include "wx/splash.h"
  #include "wx/mediactrl.h"
#endif
#include <wx/button.h>

#include <wx/button.h>
#include "wxstruct.h"
#include "common.h"
#include "bitmaps.h"
@@ -196,6 +201,9 @@ static void py_common_init()

bool WinEDA_App::OnInit()
{
    wxImage::AddHandler(new wxPNGHandler);


    g_EDA_Appl = this;
    InitEDA_Appl( wxT("KiCad"));
    
@@ -223,22 +231,24 @@ bool WinEDA_App::OnInit()

    m_MainFrame->m_LeftWin->ReCreateTreePrj();
    SetTopWindow(m_MainFrame);
    m_MainFrame->Show(TRUE);

    /* Preparation Affichage du logo */
    /* Splash Screen Logo */
#ifdef SPLASH_OK
    wxString logoname( wxString(m_BinDir) + wxT("logokicad.png") );
    wxBitmap image;
    if ( image.LoadFile( logoname, wxBITMAP_TYPE_PNG ) )
    wxString logoname( wxString(m_BinDir) + _T("logokicad.png") );
    wxBitmap splash_screen;
    if ( splash_screen.LoadFile( logoname, wxBITMAP_TYPE_PNG ) )
    {
        wxSplashScreen * logoscreen = new wxSplashScreen( image,
                wxSPLASH_CENTRE_ON_PARENT | wxSPLASH_TIMEOUT,
                500, m_MainFrame, -1,
                wxDefaultPosition, wxDefaultSize,
        wxSplashScreen *splash = new wxSplashScreen(splash_screen,
            wxSPLASH_CENTRE_ON_SCREEN|wxSPLASH_TIMEOUT,
            3000, m_MainFrame, wxID_ANY, wxDefaultPosition, wxDefaultSize,
            wxSIMPLE_BORDER|wxSTAY_ON_TOP);   
    }
#endif

    m_MainFrame->Show(TRUE);
    m_MainFrame->Raise();


    if( wxFileExists(m_MainFrame->m_PrjFileName) )
    {
        m_MainFrame->Load_Prj_Config();

kicad/logokicad.png

0 → 100644
+5.32 KiB
Loading image diff...
Loading