2018-02-28 09:44:22 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2020-11-10 19:40:45 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.9.0 Nov 1 2020)
|
2018-02-28 09:44:22 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2018-12-08 16:46:41 +00:00
|
|
|
#pragma once
|
2018-02-28 09:44:22 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
|
|
|
class WX_HTML_REPORT_PANEL;
|
|
|
|
|
|
|
|
#include "dialog_shim.h"
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/choice.h>
|
|
|
|
#include <wx/textctrl.h>
|
2018-10-29 16:33:59 +00:00
|
|
|
#include <wx/bmpbuttn.h>
|
2018-02-28 09:44:22 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/button.h>
|
2018-06-13 12:20:29 +00:00
|
|
|
#include <wx/sizer.h>
|
2018-02-28 09:44:22 +00:00
|
|
|
#include <wx/checklst.h>
|
|
|
|
#include <wx/statbox.h>
|
|
|
|
#include <wx/checkbox.h>
|
2018-06-13 12:20:29 +00:00
|
|
|
#include <wx/gbsizer.h>
|
2020-06-05 14:06:03 +00:00
|
|
|
#include <wx/statbmp.h>
|
2020-09-20 20:17:33 +00:00
|
|
|
#include <wx/hyperlink.h>
|
2020-04-20 22:02:03 +00:00
|
|
|
#include <wx/spinctrl.h>
|
2018-02-28 09:44:22 +00:00
|
|
|
#include <wx/panel.h>
|
|
|
|
#include <wx/menu.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_PLOT_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_PLOT_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
2018-12-08 16:46:41 +00:00
|
|
|
|
2018-02-28 09:44:22 +00:00
|
|
|
protected:
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
ID_PRINT_REF = 1000,
|
|
|
|
ID_ALLOW_PRINT_PAD_ON_SILKSCREEN,
|
|
|
|
ID_MIROR_OPT,
|
|
|
|
ID_LAYER_FAB,
|
|
|
|
ID_SELECT_COPPER_LAYERS,
|
|
|
|
ID_DESELECT_COPPER_LAYERS,
|
|
|
|
ID_SELECT_ALL_LAYERS,
|
|
|
|
ID_DESELECT_ALL_LAYERS
|
|
|
|
};
|
2018-12-08 16:46:41 +00:00
|
|
|
|
2018-02-28 09:44:22 +00:00
|
|
|
wxBoxSizer* m_MainSizer;
|
|
|
|
wxStaticText* m_staticTextPlotFmt;
|
|
|
|
wxChoice* m_plotFormatOpt;
|
|
|
|
wxStaticText* m_staticTextDir;
|
|
|
|
wxTextCtrl* m_outputDirectoryName;
|
|
|
|
wxBitmapButton* m_browseButton;
|
|
|
|
wxStaticBoxSizer* m_LayersSizer;
|
|
|
|
wxCheckListBox* m_layerCheckListBox;
|
|
|
|
wxBoxSizer* m_PlotOptionsSizer;
|
|
|
|
wxCheckBox* m_plotSheetRef;
|
|
|
|
wxCheckBox* m_plotModuleValueOpt;
|
|
|
|
wxCheckBox* m_plotModuleRefOpt;
|
|
|
|
wxCheckBox* m_plotInvisibleText;
|
|
|
|
wxCheckBox* m_excludeEdgeLayerOpt;
|
2020-05-01 16:24:01 +00:00
|
|
|
wxCheckBox* m_sketchPadsOnFabLayers;
|
2018-06-13 12:20:29 +00:00
|
|
|
wxCheckBox* m_plotNoViaOnMaskOpt;
|
2018-02-28 09:44:22 +00:00
|
|
|
wxCheckBox* m_useAuxOriginCheckBox;
|
2018-06-13 12:20:29 +00:00
|
|
|
wxStaticText* drillMarksLabel;
|
2018-02-28 09:44:22 +00:00
|
|
|
wxChoice* m_drillShapeOpt;
|
2018-06-13 12:20:29 +00:00
|
|
|
wxStaticText* scalingLabel;
|
2018-02-28 09:44:22 +00:00
|
|
|
wxChoice* m_scaleOpt;
|
2018-06-13 12:20:29 +00:00
|
|
|
wxStaticText* plotModeLabel;
|
2018-02-28 09:44:22 +00:00
|
|
|
wxChoice* m_plotModeOpt;
|
2018-06-13 12:20:29 +00:00
|
|
|
wxCheckBox* m_plotMirrorOpt;
|
|
|
|
wxCheckBox* m_plotPSNegativeOpt;
|
|
|
|
wxCheckBox* m_zoneFillCheck;
|
2020-06-05 14:06:03 +00:00
|
|
|
wxBoxSizer* m_SizerSolderMaskAlert;
|
|
|
|
wxStaticBitmap* m_bitmapAlert;
|
|
|
|
wxStaticText* m_staticTextAlert;
|
2020-09-20 20:17:33 +00:00
|
|
|
wxStaticText* m_staticTextAlert1;
|
|
|
|
wxHyperlinkCtrl* m_boardSetup;
|
2018-02-28 09:44:22 +00:00
|
|
|
wxStaticBoxSizer* m_GerberOptionsSizer;
|
|
|
|
wxCheckBox* m_useGerberExtensions;
|
|
|
|
wxCheckBox* m_generateGerberJobFile;
|
|
|
|
wxCheckBox* m_subtractMaskFromSilk;
|
2018-06-13 12:20:29 +00:00
|
|
|
wxStaticText* coordFormatLabel;
|
|
|
|
wxChoice* m_coordFormatCtrl;
|
2018-12-08 16:46:41 +00:00
|
|
|
wxCheckBox* m_useGerberX2Format;
|
2018-06-13 12:20:29 +00:00
|
|
|
wxCheckBox* m_useGerberNetAttributes;
|
2020-10-10 12:39:54 +00:00
|
|
|
wxCheckBox* m_disableApertMacros;
|
2018-02-28 09:44:22 +00:00
|
|
|
wxStaticBoxSizer* m_HPGLOptionsSizer;
|
2018-06-13 12:20:29 +00:00
|
|
|
wxStaticText* m_hpglPenLabel;
|
|
|
|
wxTextCtrl* m_hpglPenCtrl;
|
|
|
|
wxStaticText* m_hpglPenUnits;
|
2018-02-28 09:44:22 +00:00
|
|
|
wxStaticBoxSizer* m_PSOptionsSizer;
|
2018-06-13 12:20:29 +00:00
|
|
|
wxStaticText* m_fineAdjustXLabel;
|
|
|
|
wxTextCtrl* m_fineAdjustXCtrl;
|
|
|
|
wxStaticText* m_fineAdjustYLabel;
|
|
|
|
wxTextCtrl* m_fineAdjustYCtrl;
|
|
|
|
wxStaticText* m_widthAdjustLabel;
|
|
|
|
wxTextCtrl* m_widthAdjustCtrl;
|
|
|
|
wxStaticText* m_widthAdjustUnits;
|
2018-02-28 09:44:22 +00:00
|
|
|
wxCheckBox* m_forcePSA4OutputOpt;
|
|
|
|
wxStaticBoxSizer* m_SizerDXF_options;
|
|
|
|
wxCheckBox* m_DXF_plotModeOpt;
|
|
|
|
wxCheckBox* m_DXF_plotTextStrokeFontOpt;
|
2019-06-13 00:17:47 +00:00
|
|
|
wxStaticText* DXF_exportUnitsLabel;
|
|
|
|
wxChoice* m_DXF_plotUnits;
|
2020-04-20 22:02:03 +00:00
|
|
|
wxStaticBoxSizer* m_svgOptionsSizer;
|
|
|
|
wxStaticText* svgUnitLabel;
|
|
|
|
wxChoice* m_svgUnits;
|
|
|
|
wxStaticText* svgPrecisionLabel;
|
|
|
|
wxSpinCtrl* m_svgPrecsision;
|
2018-02-28 09:44:22 +00:00
|
|
|
WX_HTML_REPORT_PANEL* m_messagesPanel;
|
|
|
|
wxBoxSizer* m_sizerButtons;
|
|
|
|
wxButton* m_buttonDRC;
|
2020-03-06 12:04:47 +00:00
|
|
|
wxStaticText* m_DRCExclusionsWarning;
|
2018-02-28 09:44:22 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer1;
|
|
|
|
wxButton* m_sdbSizer1OK;
|
|
|
|
wxButton* m_sdbSizer1Apply;
|
|
|
|
wxButton* m_sdbSizer1Cancel;
|
|
|
|
wxMenu* m_popMenu;
|
2018-12-08 16:46:41 +00:00
|
|
|
|
2018-02-28 09:44:22 +00:00
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnRightClick( wxMouseEvent& event ) { event.Skip(); }
|
|
|
|
virtual void SetPlotFormat( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnOutputDirectoryBrowseClicked( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnSetScaleOpt( wxCommandEvent& event ) { event.Skip(); }
|
2020-09-20 20:17:33 +00:00
|
|
|
virtual void onBoardSetup( wxHyperlinkEvent& event ) { event.Skip(); }
|
2018-02-28 09:44:22 +00:00
|
|
|
virtual void OnGerberX2Checked( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnChangeDXFPlotMode( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onRunDRC( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void CreateDrillFile( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void Plot( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnPopUpLayers( wxCommandEvent& event ) { event.Skip(); }
|
2018-12-08 16:46:41 +00:00
|
|
|
|
|
|
|
|
2018-02-28 09:44:22 +00:00
|
|
|
public:
|
2018-12-08 16:46:41 +00:00
|
|
|
|
2020-10-23 01:59:37 +00:00
|
|
|
DIALOG_PLOT_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Plot"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2018-02-28 09:44:22 +00:00
|
|
|
~DIALOG_PLOT_BASE();
|
2018-12-08 16:46:41 +00:00
|
|
|
|
2018-02-28 09:44:22 +00:00
|
|
|
void DIALOG_PLOT_BASEOnContextMenu( wxMouseEvent &event )
|
|
|
|
{
|
|
|
|
this->PopupMenu( m_popMenu, event.GetPosition() );
|
|
|
|
}
|
2018-12-08 16:46:41 +00:00
|
|
|
|
2018-02-28 09:44:22 +00:00
|
|
|
};
|
|
|
|
|