Commit 433b2a09 authored by charras's avatar charras
Browse files

Online doc format changed to PDF format. See changelog

parent 0d93814e
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -450,10 +450,16 @@ void WinEDA_CvpcbFrame::SetLanguage( wxCommandEvent& event )
void WinEDA_CvpcbFrame::DisplayDocFile( wxCommandEvent& event )
/*************************************************************/
{
    wxString msg = FindKicadHelpPath();
    wxString DocModuleFileName, fullfilename;

    msg += wxT( "pcbnew/footprints.pdf" );
    GetAssociatedDocument( this, wxEmptyString, msg );
    DocModuleFileName = g_EDA_Appl->m_EDA_CommonConfig->Read( DOC_FOOTPRINTS_LIST_KEY,
                                                              DEFAULT_FOOTPRINTS_LIST_FILENAME );
    if( wxIsAbsolutePath(DocModuleFileName) )
        fullfilename = DocModuleFileName;
    else
        fullfilename = FindKicadHelpPath() + wxT("../") + DocModuleFileName;

    GetAssociatedDocument( this, wxEmptyString, fullfilename );
}


+6 −1
Original line number Diff line number Diff line
@@ -14,7 +14,12 @@
#include "gr_basic.h"
#include "colors.h"

// Define print format d to display a schematic component line
// config for footprints doc file acces
#define DOC_FOOTPRINTS_LIST_KEY wxT("footprints_doc_file")
#define DEFAULT_FOOTPRINTS_LIST_FILENAME wxT("footprints_doc/footprints.pdf")


// Define print format to display a schematic component line
#define CMP_FORMAT wxT( "%3d %8s - %16s : %-.32s" )

#define FILTERFOOTPRINTKEY "FilterFootprint"
+7 −4
Original line number Diff line number Diff line
@@ -85,6 +85,7 @@ wxString title;
bool KiConfigCvpcbFrame::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style )
{
////@begin KiConfigCvpcbFrame member initialisation
    m_OkButton = NULL;
    m_NetFormatBox = NULL;
    m_FileExtList = NULL;
    m_RightBoxSizer = NULL;
@@ -118,7 +119,7 @@ void KiConfigCvpcbFrame::CreateControls()
	SetFont(*g_DialogFont);

////@begin KiConfigCvpcbFrame content construction
    // Generated by DialogBlocks, 27/10/2007 10:35:43 (unregistered)
    // Generated by DialogBlocks, 11/06/2008 14:26:13 (unregistered)

    KiConfigCvpcbFrame* itemDialog1 = this;

@@ -136,9 +137,10 @@ void KiConfigCvpcbFrame::CreateControls()
    itemButton5->SetForegroundColour(wxColour(0, 0, 255));
    itemBoxSizer3->Add(itemButton5, 0, wxGROW|wxLEFT|wxRIGHT, 5);

    wxButton* itemButton6 = new wxButton( itemDialog1, wxID_OK, _("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
    itemButton6->SetForegroundColour(wxColour(0, 128, 0));
    itemBoxSizer3->Add(itemButton6, 0, wxGROW|wxALL, 5);
    m_OkButton = new wxButton( itemDialog1, wxID_OK, _("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
    m_OkButton->SetDefault();
    m_OkButton->SetForegroundColour(wxColour(0, 128, 0));
    itemBoxSizer3->Add(m_OkButton, 0, wxGROW|wxALL, 5);

    wxArrayString m_NetFormatBoxStrings;
    m_NetFormatBoxStrings.Add(_("&PcbNew"));
@@ -234,6 +236,7 @@ void KiConfigCvpcbFrame::CreateControls()
////@end KiConfigCvpcbFrame content construction

	SetDialogDatas();
    m_OkButton->SetFocus( );
}

/*!
+1 −0
Original line number Diff line number Diff line
@@ -140,6 +140,7 @@ public:


////@begin KiConfigCvpcbFrame member variables
    wxButton* m_OkButton;
    wxRadioBox* m_NetFormatBox;
    wxStaticBoxSizer* m_FileExtList;
    wxBoxSizer* m_RightBoxSizer;
+120 −4

File changed.

Preview size limit exceeded, changes collapsed.

Loading