7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 00:21:25 +00:00

Pcbnew: remove dead code.

The export SVG dialog was removed some time ago (merged with plot svg).
But some settings of this removed dialogs were not removed.
This commit is contained in:
jean-pierre charras 2025-03-08 10:09:47 +01:00
parent 9d1b320896
commit 9a1cf81ca6
2 changed files with 0 additions and 44 deletions

View File

@ -55,7 +55,6 @@ PCBNEW_SETTINGS::PCBNEW_SETTINGS()
m_ExportIdf(),
m_ExportStep(),
m_ExportODBPP(),
m_ExportSvg(),
m_ExportVrml(),
m_FootprintWizardList(),
m_GenDrill(),
@ -410,33 +409,6 @@ PCBNEW_SETTINGS::PCBNEW_SETTINGS()
m_params.emplace_back( new PARAM<bool>( "export_step.overwrite_file",
&m_ExportStep.overwrite_file, true ) );
m_params.emplace_back( new PARAM<bool>( "export_svg.black_and_white",
&m_ExportSvg.black_and_white, false ) );
m_params.emplace_back( new PARAM<bool>( "export_svg.use_theme",
&m_ExportSvg.use_selected_theme, true ) );
m_params.emplace_back( new PARAM<wxString>( "export_svg.color_theme",
&m_ExportSvg.color_theme, "" ) );
m_params.emplace_back( new PARAM<bool>( "export_svg.mirror",
&m_ExportSvg.mirror, false ) );
m_params.emplace_back( new PARAM<bool>( "export_svg.one_file",
&m_ExportSvg.one_file, false ) );
m_params.emplace_back(new PARAM<bool>( "export_svg.plot_board_edges",
&m_ExportSvg.plot_board_edges, true ) );
m_params.emplace_back( new PARAM<int>( "export_svg.page_size",
&m_ExportSvg.page_size, 0 ) );
m_params.emplace_back( new PARAM<wxString>( "export_svg.output_dir",
&m_ExportSvg.output_dir, "" ) );
m_params.emplace_back( new PARAM_LIST<int>( "export_svg.layers",
&m_ExportSvg.layers, {} ) );
m_params.emplace_back( new PARAM<int>( "export_vrml.units",
&m_ExportVrml.units, 1 ) );

View File

@ -214,20 +214,6 @@ public:
int compressFormat;
};
struct DIALOG_EXPORT_SVG
{
bool black_and_white;
bool mirror;
bool one_file;
bool plot_board_edges;
int page_size;
wxString output_dir; // legacy; now in project settings
std::vector<int> layers;
bool use_selected_theme;// color theme option to use for export
// false = board theme, true = selected theme
wxString color_theme; // color theme used for export
};
struct DIALOG_EXPORT_VRML
{
int units;
@ -402,8 +388,6 @@ public:
DIALOG_EXPORT_ODBPP m_ExportODBPP;
DIALOG_EXPORT_SVG m_ExportSvg;
DIALOG_EXPORT_VRML m_ExportVrml;
DIALOG_FOOTPRINT_WIZARD_LIST m_FootprintWizardList;