Commit 79d55c04 authored by jean-pierre charras's avatar jean-pierre charras

Minor cosmetic enhancements.

Kicad manager: shows now svg files in tree files.
Pcbnew: fix incorrect printing (board out of page) when creating drill map in postscript format ( noticeable mainly for small boards)
parent 96bf0a54
...@@ -415,10 +415,12 @@ set( BMAPS_MID ...@@ -415,10 +415,12 @@ set( BMAPS_MID
pin_size_to pin_size_to
pin_to pin_to
pin pin
plot
plot_dxf
plot_hpg plot_hpg
plot_pdf plot_pdf
plot_ps plot_ps
plot plot_svg
polar_coord polar_coord
post_compo post_compo
post_drill post_drill
...@@ -467,6 +469,7 @@ set( BMAPS_MID ...@@ -467,6 +469,7 @@ set( BMAPS_MID
show_zone show_zone
show_zone_disable show_zone_disable
show_zone_outline_only show_zone_outline_only
svg_file
swap_layer swap_layer
text_sketch text_sketch
three_d three_d
......
/* Do not modify this file, it was automatically generated by the
* PNG2cpp CMake script, using a *.png file as input.
*/
#include <bitmaps.h>
static const unsigned char png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x1a, 0x08, 0x06, 0x00, 0x00, 0x00, 0xa9, 0x4a, 0x4c,
0xce, 0x00, 0x00, 0x05, 0x3a, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xad, 0x95, 0x09, 0x4c, 0xd3,
0x57, 0x1c, 0xc7, 0xeb, 0x32, 0x93, 0x65, 0xcb, 0x36, 0x93, 0x25, 0xcb, 0x8e, 0x2c, 0x26, 0x73,
0x5b, 0xb2, 0x4c, 0x13, 0x9d, 0xd3, 0x18, 0xcf, 0x31, 0xcf, 0x6c, 0xea, 0x34, 0x08, 0x32, 0x45,
0x07, 0x0c, 0x8d, 0xe8, 0x90, 0x63, 0x82, 0x3a, 0x0b, 0x16, 0x5a, 0x10, 0x28, 0x77, 0x5b, 0x68,
0x81, 0x22, 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x45, 0x4e, 0x44, 0xae,
0x42, 0x60, 0x82,
};
const BITMAP_OPAQUE plot_dxf_xpm[1] = {{ png, sizeof( png ), "plot_dxf_xpm" }};
//EOF
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/* Do not modify this file, it was automatically generated by the
* PNG2cpp CMake script, using a *.png file as input.
*/
#include <bitmaps.h>
static const unsigned char png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x1a, 0x08, 0x06, 0x00, 0x00, 0x00, 0xa9, 0x4a, 0x4c,
0xce, 0x00, 0x00, 0x05, 0x8d, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xad, 0x95, 0x79, 0x4c, 0x54,
0x57, 0x14, 0xc6, 0x47, 0x6d, 0xd4, 0xa6, 0x89, 0x35, 0x6d, 0x4d, 0xd3, 0xf5, 0x0f, 0xab, 0xad,
0x31, 0xc6, 0x26, 0xda, 0x36, 0xd6, 0x36, 0x11, 0x6b, 0x5d, 0x82, 0x55, 0x91, 0x5a, 0x01, 0xa5,
0x82, 0x2c, 0x82, 0xd5, 0x80, 0x58, 0x76, 0x8c, 0x0c, 0xcb, 0x0c, 0xfb, 0x32, 0x6c, 0x0e, 0xc3,
0x26, 0x32, 0x82, 0x1d, 0xa4, 0x51, 0x64, 0x51, 0xa8, 0x80, 0x08, 0x82, 0x20, 0x33, 0xac, 0x32,
0xec, 0x0c, 0xbb, 0x6c, 0xc3, 0x30, 0xec, 0xcc, 0xcc, 0xd7, 0x77, 0xaf, 0x32, 0x51, 0x69, 0x52,
0x44, 0x4f, 0xf2, 0xcb, 0xcc, 0xbb, 0xe7, 0xdc, 0xf3, 0x9d, 0x73, 0xdf, 0x79, 0xef, 0xb1, 0x00,
0xb0, 0x16, 0x02, 0x87, 0xc3, 0xde, 0x1c, 0xc4, 0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 0xc0, 0xfa, 0xf0, 0xcc, 0x60, 0x6f, 0xd7, 0xe8, 0x33, 0x3f, 0x39, 0x26,
0xd6, 0xbf, 0x1e, 0xb0, 0x81, 0x12, 0xab, 0x61, 0x5c, 0x80, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45,
0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
};
const BITMAP_OPAQUE plot_svg_xpm[1] = {{ png, sizeof( png ), "plot_svg_xpm" }};
//EOF
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -44,6 +44,7 @@ const wxString PcbFileExtension( wxT( "brd" ) ); ...@@ -44,6 +44,7 @@ const wxString PcbFileExtension( wxT( "brd" ) );
const wxString PdfFileExtension( wxT( "pdf" ) ); const wxString PdfFileExtension( wxT( "pdf" ) );
const wxString MacrosFileExtension( wxT( "mcr" ) ); const wxString MacrosFileExtension( wxT( "mcr" ) );
const wxString DrillFileExtension( wxT( "drl" ) ); const wxString DrillFileExtension( wxT( "drl" ) );
const wxString SVGFileExtension( wxT( "svg" ) );
const wxString ReportFileExtension( wxT( "rpt" ) ); const wxString ReportFileExtension( wxT( "rpt" ) );
const wxString FootprintPlaceFileExtension( wxT( "pos" ) ); const wxString FootprintPlaceFileExtension( wxT( "pos" ) );
...@@ -66,6 +67,7 @@ const wxString AllFilesWildcard( _( "All files (*)|*" ) ); ...@@ -66,6 +67,7 @@ const wxString AllFilesWildcard( _( "All files (*)|*" ) );
const wxString ComponentFileWildcard( _( "KiCad cmp/footprint link files (*.cmp)|*.cmp" ) ); const wxString ComponentFileWildcard( _( "KiCad cmp/footprint link files (*.cmp)|*.cmp" ) );
const wxString DrillFileWildcard( _( "Drill files (*.drl)|*.drl;*.DRL" ) ); const wxString DrillFileWildcard( _( "Drill files (*.drl)|*.drl;*.DRL" ) );
const wxString SVGFileWildcard( _( "SVG files (*.svg)|*.svg;*.SVG" ) );
const wxString ReportFileWildcard = _( "Report files (*.rpt)|*.rpt" ); const wxString ReportFileWildcard = _( "Report files (*.rpt)|*.rpt" );
const wxString FootprintPlaceFileWildcard = _( "Footprint place files (*.pos)|*.pos" ); const wxString FootprintPlaceFileWildcard = _( "Footprint place files (*.pos)|*.pos" );
const wxString VrmlFileWildcard( _( "Vrml files (*.wrl)|*.wrl" ) ); const wxString VrmlFileWildcard( _( "Vrml files (*.wrl)|*.wrl" ) );
...@@ -165,14 +165,14 @@ void SCH_EDIT_FRAME::ReCreateMenuBar() ...@@ -165,14 +165,14 @@ void SCH_EDIT_FRAME::ReCreateMenuBar()
ID_GEN_PLOT_SVG, ID_GEN_PLOT_SVG,
_( "Plot &SVG" ), _( "Plot &SVG" ),
_( "Plot schematic sheet in SVG format" ), _( "Plot schematic sheet in SVG format" ),
KiBitmap( plot_xpm ) ); KiBitmap( plot_svg_xpm ) );
// Plot DXF // Plot DXF
AddMenuItem( choice_plot_fmt, AddMenuItem( choice_plot_fmt,
ID_GEN_PLOT_DXF, ID_GEN_PLOT_DXF,
_( "Plot &DXF" ), _( "Plot &DXF" ),
_( "Plot schematic sheet in DXF format" ), _( "Plot schematic sheet in DXF format" ),
KiBitmap( plot_xpm ) ); KiBitmap( plot_dxf_xpm ) );
// Plot to Clipboard (Windows only) // Plot to Clipboard (Windows only)
#ifdef __WINDOWS__ #ifdef __WINDOWS__
......
...@@ -91,7 +91,7 @@ void LIB_EDIT_FRAME::ReCreateMenuBar() ...@@ -91,7 +91,7 @@ void LIB_EDIT_FRAME::ReCreateMenuBar()
ID_LIBEDIT_GEN_SVG_FILE, ID_LIBEDIT_GEN_SVG_FILE,
_( "Create S&VG File" ), _( "Create S&VG File" ),
_( "Create a SVG file from the current loaded component" ), _( "Create a SVG file from the current loaded component" ),
KiBitmap( plot_xpm ) ); KiBitmap( plot_svg_xpm ) );
// Separator // Separator
fileMenu->AppendSeparator(); fileMenu->AppendSeparator();
......
...@@ -386,10 +386,12 @@ EXTERN_BITMAP( pintype_openemit_xpm ) ...@@ -386,10 +386,12 @@ EXTERN_BITMAP( pintype_openemit_xpm )
EXTERN_BITMAP( pintype_noconnect_xpm ) EXTERN_BITMAP( pintype_noconnect_xpm )
EXTERN_BITMAP( pin_to_xpm ) EXTERN_BITMAP( pin_to_xpm )
EXTERN_BITMAP( pin_xpm ) EXTERN_BITMAP( pin_xpm )
EXTERN_BITMAP( plot_xpm )
EXTERN_BITMAP( plot_dxf_xpm )
EXTERN_BITMAP( plot_hpg_xpm ) EXTERN_BITMAP( plot_hpg_xpm )
EXTERN_BITMAP( plot_pdf_xpm ) EXTERN_BITMAP( plot_pdf_xpm )
EXTERN_BITMAP( plot_ps_xpm ) EXTERN_BITMAP( plot_ps_xpm )
EXTERN_BITMAP( plot_xpm ) EXTERN_BITMAP( plot_svg_xpm )
EXTERN_BITMAP( polar_coord_xpm ) EXTERN_BITMAP( polar_coord_xpm )
EXTERN_BITMAP( post_compo_xpm ) EXTERN_BITMAP( post_compo_xpm )
EXTERN_BITMAP( post_drill_xpm ) EXTERN_BITMAP( post_drill_xpm )
...@@ -438,6 +440,7 @@ EXTERN_BITMAP( showtrack_xpm ) ...@@ -438,6 +440,7 @@ EXTERN_BITMAP( showtrack_xpm )
EXTERN_BITMAP( show_zone_xpm ) EXTERN_BITMAP( show_zone_xpm )
EXTERN_BITMAP( show_zone_disable_xpm ) EXTERN_BITMAP( show_zone_disable_xpm )
EXTERN_BITMAP( show_zone_outline_only_xpm ) EXTERN_BITMAP( show_zone_outline_only_xpm )
EXTERN_BITMAP( svg_file_xpm )
EXTERN_BITMAP( swap_layer_xpm ) EXTERN_BITMAP( swap_layer_xpm )
EXTERN_BITMAP( text_sketch_xpm ) EXTERN_BITMAP( text_sketch_xpm )
EXTERN_BITMAP( three_d_xpm ) EXTERN_BITMAP( three_d_xpm )
......
...@@ -52,6 +52,7 @@ extern const wxString PdfFileExtension; ...@@ -52,6 +52,7 @@ extern const wxString PdfFileExtension;
extern const wxString MacrosFileExtension; extern const wxString MacrosFileExtension;
extern const wxString ComponentFileExtension; extern const wxString ComponentFileExtension;
extern const wxString DrillFileExtension; extern const wxString DrillFileExtension;
extern const wxString SVGFileExtension;
extern const wxString ReportFileExtension; extern const wxString ReportFileExtension;
extern const wxString FootprintPlaceFileExtension; extern const wxString FootprintPlaceFileExtension;
...@@ -69,6 +70,7 @@ extern const wxString MacrosFileWildcard; ...@@ -69,6 +70,7 @@ extern const wxString MacrosFileWildcard;
extern const wxString AllFilesWildcard; extern const wxString AllFilesWildcard;
extern const wxString ComponentFileWildcard; extern const wxString ComponentFileWildcard;
extern const wxString DrillFileWildcard; extern const wxString DrillFileWildcard;
extern const wxString SVGFileWildcard;
extern const wxString ReportFileWildcard; extern const wxString ReportFileWildcard;
extern const wxString FootprintPlaceFileWildcard; extern const wxString FootprintPlaceFileWildcard;
extern const wxString VrmlFileWildcard; extern const wxString VrmlFileWildcard;
......
...@@ -74,6 +74,7 @@ TREEPROJECTFILES::TREEPROJECTFILES( TREE_PROJECT_FRAME* parent ) : ...@@ -74,6 +74,7 @@ TREEPROJECTFILES::TREEPROJECTFILES( TREE_PROJECT_FRAME* parent ) :
m_ImageList->Add( KiBitmap( tools_xpm ) ); // TREE_REPORT m_ImageList->Add( KiBitmap( tools_xpm ) ); // TREE_REPORT
m_ImageList->Add( KiBitmap( post_compo_xpm ) ); // TREE_POS m_ImageList->Add( KiBitmap( post_compo_xpm ) ); // TREE_POS
m_ImageList->Add( KiBitmap( post_drill_xpm ) ); // TREE_DRILL m_ImageList->Add( KiBitmap( post_drill_xpm ) ); // TREE_DRILL
m_ImageList->Add( KiBitmap( svg_file_xpm ) ); // TREE_SVG
SetImageList( m_ImageList ); SetImageList( m_ImageList );
} }
......
...@@ -21,6 +21,32 @@ class RIGHT_KM_FRAME; ...@@ -21,6 +21,32 @@ class RIGHT_KM_FRAME;
class TREEPROJECTFILES; class TREEPROJECTFILES;
class TREE_PROJECT_FRAME; class TREE_PROJECT_FRAME;
// Enum to identify the type of files handled by Kicad manager
//
// When changing this enum please verify (and perhaps update)
// TREE_PROJECT_FRAME::GetFileExt(),
// TREE_PROJECT_FRAME::GetFileExt()
// s_AllowedExtensionsToList[]
enum TreeFileType {
TREE_PROJECT = 1,
TREE_SCHEMA, // Schematic file (.sch)
TREE_LEGACY_PCB, // board file (.brd) legacy format
TREE_SEXP_PCB, // board file (.kicad_brd) new s expression format
TREE_GERBER, // Gerber file (.pho, .g*)
TREE_PDF, // PDF file (.pdf)
TREE_TXT, // ascii text file (.txt)
TREE_NET, // netlist file (.net)
TREE_UNKNOWN,
TREE_DIRECTORY,
TREE_CMP_LINK, // cmp/footprint link file (.cmp)
TREE_REPORT, // report file (.rpt)
TREE_FP_PLACE, // fooprints position (place) file (.pos)
TREE_DRILL, // Excellon drill file (.drl)
TREE_SVG, // SVG file (.svg)
TREE_MAX
};
/** /**
* Command IDs for KiCad. * Command IDs for KiCad.
...@@ -152,25 +178,6 @@ public: KICAD_MANAGER_FRAME( wxWindow* parent, const wxString& title, ...@@ -152,25 +178,6 @@ public: KICAD_MANAGER_FRAME( wxWindow* parent, const wxString& title,
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
}; };
// Order of this enum changes AddFile() internal working
// please update both
enum TreeFileType {
TREE_PROJECT = 1,
TREE_SCHEMA, // Schematic file (.sch)
TREE_LEGACY_PCB, // board file (.brd) legacy format
TREE_SEXP_PCB, // board file (.kicad_brd) new s expression format
TREE_GERBER, // Gerber file (.pho, .g*)
TREE_PDF, // PDF file (.pdf)
TREE_TXT, // ascii text file (.txt)
TREE_NET, // netlist file (.net)
TREE_UNKNOWN,
TREE_DIRECTORY,
TREE_CMP_LINK, // cmp/footprint link file (.cmp)
TREE_REPORT, // report file (.rpt)
TREE_FP_PLACE, // fooprints position (place) file (.pos)
TREE_DRILL, // Excellon drill file (.drl)
TREE_MAX
};
/** class RIGHT_KM_FRAME /** class RIGHT_KM_FRAME
*/ */
......
/** /**
* @file tree_project_frame.cpp * @file tree_project_frame.cpp
* @brief TODO * @brief Function to build the tree of files in the current project directory
*/ */
/*
* This program source code file is part of KiCad, a free EDA CAD application.
*
* Copyright (C) 2012 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2012 Jean-Pierre Charras, jp.charras at wanadoo.fr
* Copyright (C) 1992-2012 KiCad Developers, see change_log.txt for contributors.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, you may find one here:
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* or you may search the http://www.gnu.org website for the version 2 license,
* or you may write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <fctsys.h> #include <fctsys.h>
#include <confirm.h> #include <confirm.h>
...@@ -38,7 +62,7 @@ const wxString PcbSexpFileExtension( wxT("kicad_brd") ); ...@@ -38,7 +62,7 @@ const wxString PcbSexpFileExtension( wxT("kicad_brd") );
// list of files extensions listed in the tree project window // list of files extensions listed in the tree project window
// *.sch files are always allowed, do not add here // *.sch files are always allowed, do not add here
// Add extensions in a compatible regex format to see others files types // Add extensions in a compatible regex format to see others files types
const wxChar* s_AllowedExtensionsToList[] = static const wxChar* s_allowedExtensionsToList[] =
{ {
wxT( "^.*\\.pro$" ), wxT( "^.*\\.pro$" ),
wxT( "^.*\\.pdf$" ), wxT( "^.*\\.pdf$" ),
...@@ -60,13 +84,15 @@ const wxChar* s_AllowedExtensionsToList[] = ...@@ -60,13 +84,15 @@ const wxChar* s_AllowedExtensionsToList[] =
wxT( "^.*\\.pos$" ), // Footprint position files wxT( "^.*\\.pos$" ), // Footprint position files
wxT( "^.*\\.cmp$" ), // Cvpcb cmp/footprint link files wxT( "^.*\\.cmp$" ), // Cvpcb cmp/footprint link files
wxT( "^.*\\.drl$" ), // Excellon drill files wxT( "^.*\\.drl$" ), // Excellon drill files
wxT( "^.*\\.svg$" ), // SVG print/plot files
NULL // end of list NULL // end of list
}; };
/* TODO: Check if these file extension and wildcard definitions are used /* TODO: Check if these file extension and wildcard definitions are used
* in any of the other KiCad programs and move them into the common * in any of the other KiCad programs and move them into the common
* library as required. */ * library as required.
*/
/* File extension definitions. */ /* File extension definitions. */
const wxString TextFileExtension( wxT( "txt" ) ); const wxString TextFileExtension( wxT( "txt" ) );
...@@ -78,7 +104,7 @@ const wxString TextFileWildcard( wxT( "Text files (*.txt)|*.txt" ) ); ...@@ -78,7 +104,7 @@ const wxString TextFileWildcard( wxT( "Text files (*.txt)|*.txt" ) );
/** /**
* @brief class TREE_PROJECT_FRAME is the frame that shows the tree list * @brief class TREE_PROJECT_FRAME is the frame that shows the tree list
* of files and subdirs inside the working directory * of files and subdirs inside the working directory
* Files are filtered (see s_AllowedExtensionsToList) so * Files are filtered (see s_allowedExtensionsToList) so
* only useful files are shown. * only useful files are shown.
*/ */
...@@ -121,9 +147,9 @@ TREE_PROJECT_FRAME::TREE_PROJECT_FRAME( KICAD_MANAGER_FRAME* parent ) : ...@@ -121,9 +147,9 @@ TREE_PROJECT_FRAME::TREE_PROJECT_FRAME( KICAD_MANAGER_FRAME* parent ) :
// NOTE: sch filter must be first because of a test in AddFile() below // NOTE: sch filter must be first because of a test in AddFile() below
m_Filters.push_back( wxT( "^.*\\.sch$" ) ); m_Filters.push_back( wxT( "^.*\\.sch$" ) );
for( int ii = 0; s_AllowedExtensionsToList[ii] != NULL; ii++ ) for( int ii = 0; s_allowedExtensionsToList[ii] != NULL; ii++ )
{ {
m_Filters.push_back( s_AllowedExtensionsToList[ii] ); m_Filters.push_back( s_allowedExtensionsToList[ii] );
} }
m_Filters.push_back( wxT( "^no KiCad files found" ) ); m_Filters.push_back( wxT( "^no KiCad files found" ) );
...@@ -432,6 +458,10 @@ wxString TREE_PROJECT_FRAME::GetFileExt( TreeFileType type ) ...@@ -432,6 +458,10 @@ wxString TREE_PROJECT_FRAME::GetFileExt( TreeFileType type )
ext = DrillFileExtension; ext = DrillFileExtension;
break; break;
case TREE_SVG:
ext = SVGFileExtension;
break;
default: /* Eliminates unnecessary GCC warning. */ default: /* Eliminates unnecessary GCC warning. */
break; break;
} }
...@@ -493,6 +523,10 @@ wxString TREE_PROJECT_FRAME::GetFileWildcard( TreeFileType type ) ...@@ -493,6 +523,10 @@ wxString TREE_PROJECT_FRAME::GetFileWildcard( TreeFileType type )
ext = DrillFileWildcard; ext = DrillFileWildcard;
break; break;
case TREE_SVG:
ext = SVGFileWildcard;
break;
default: /* Eliminates unnecessary GCC warning. */ default: /* Eliminates unnecessary GCC warning. */
break; break;
} }
......
...@@ -293,6 +293,8 @@ void DIALOG_GENDRILL::SetParams() ...@@ -293,6 +293,8 @@ void DIALOG_GENDRILL::SetParams()
PCB_PLOT_PARAMS plot_opts = m_board->GetPlotOptions(); PCB_PLOT_PARAMS plot_opts = m_board->GetPlotOptions();
m_plotDefaultpath = plot_opts.GetOutputDirectory();
m_createMap = m_Choice_Drill_Map->GetSelection(); m_createMap = m_Choice_Drill_Map->GetSelection();
m_createRpt = m_Choice_Drill_Report->GetSelection(); m_createRpt = m_Choice_Drill_Report->GetSelection();
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment