2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-02-09 01:05:35 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Dec 30 2017)
|
2013-05-26 04:36:44 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2017-12-27 17:09:27 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __DIALOG_PLOT_BASE_H__
|
|
|
|
#define __DIALOG_PLOT_BASE_H__
|
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2015-06-16 12:20:42 +00:00
|
|
|
class WX_HTML_REPORT_PANEL;
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
#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/sizer.h>
|
|
|
|
#include <wx/textctrl.h>
|
2018-02-09 18:00:13 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/bmpbuttn.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/checklst.h>
|
|
|
|
#include <wx/statbox.h>
|
|
|
|
#include <wx/checkbox.h>
|
2014-07-04 14:22:38 +00:00
|
|
|
#include <wx/radiobox.h>
|
2015-06-16 12:20:42 +00:00
|
|
|
#include <wx/panel.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/menu.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_PLOT_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_PLOT_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
enum
|
|
|
|
{
|
2018-02-09 01:05:35 +00:00
|
|
|
ID_PRINT_REF = 1000,
|
|
|
|
ID_ALLOW_PRINT_PAD_ON_SILKSCREEN,
|
2013-05-26 04:36:44 +00:00
|
|
|
ID_MIROR_OPT,
|
|
|
|
ID_CREATE_DRILL_FILE,
|
|
|
|
ID_LAYER_FAB,
|
|
|
|
ID_SELECT_COPPER_LAYERS,
|
|
|
|
ID_DESELECT_COPPER_LAYERS,
|
|
|
|
ID_SELECT_ALL_LAYERS,
|
|
|
|
ID_DESELECT_ALL_LAYERS
|
|
|
|
};
|
|
|
|
|
|
|
|
wxBoxSizer* m_MainSizer;
|
2015-10-23 14:30:22 +00:00
|
|
|
wxStaticText* m_staticTextPlotFmt;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxChoice* m_plotFormatOpt;
|
|
|
|
wxStaticText* m_staticTextDir;
|
|
|
|
wxTextCtrl* m_outputDirectoryName;
|
2018-02-09 18:00:13 +00:00
|
|
|
wxBitmapButton* m_browseButton;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticBoxSizer* m_LayersSizer;
|
|
|
|
wxCheckListBox* m_layerCheckListBox;
|
|
|
|
wxBoxSizer* m_PlotOptionsSizer;
|
|
|
|
wxCheckBox* m_plotSheetRef;
|
|
|
|
wxCheckBox* m_plotModuleValueOpt;
|
|
|
|
wxCheckBox* m_plotModuleRefOpt;
|
|
|
|
wxCheckBox* m_plotInvisibleText;
|
|
|
|
wxCheckBox* m_plotNoViaOnMaskOpt;
|
|
|
|
wxCheckBox* m_excludeEdgeLayerOpt;
|
2018-02-09 01:05:35 +00:00
|
|
|
wxCheckBox* m_excludePadsFromSilkscreen;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxCheckBox* m_plotMirrorOpt;
|
|
|
|
wxCheckBox* m_plotPSNegativeOpt;
|
2014-05-19 18:24:07 +00:00
|
|
|
wxCheckBox* m_useAuxOriginCheckBox;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticText11;
|
|
|
|
wxChoice* m_drillShapeOpt;
|
|
|
|
wxStaticText* m_staticText12;
|
|
|
|
wxChoice* m_scaleOpt;
|
|
|
|
wxStaticText* m_staticText13;
|
|
|
|
wxChoice* m_plotModeOpt;
|
|
|
|
wxStaticText* m_textDefaultPenSize;
|
|
|
|
wxTextCtrl* m_linesWidth;
|
|
|
|
wxStaticText* m_SolderMaskMarginLabel;
|
|
|
|
wxStaticText* m_SolderMaskMarginCurrValue;
|
|
|
|
wxStaticText* m_solderMaskMinWidthLabel;
|
|
|
|
wxStaticText* m_SolderMaskMinWidthCurrValue;
|
|
|
|
wxStaticBoxSizer* m_GerberOptionsSizer;
|
|
|
|
wxCheckBox* m_useGerberExtensions;
|
2016-09-19 11:01:36 +00:00
|
|
|
wxCheckBox* m_useGerberX2Attributes;
|
|
|
|
wxCheckBox* m_useGerberNetAttributes;
|
2017-08-19 16:28:11 +00:00
|
|
|
wxCheckBox* m_generateGerberJobFile;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxCheckBox* m_subtractMaskFromSilk;
|
2014-07-04 14:22:38 +00:00
|
|
|
wxRadioBox* m_rbGerberFormat;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticBoxSizer* m_HPGLOptionsSizer;
|
|
|
|
wxStaticText* m_textPenSize;
|
|
|
|
wxTextCtrl* m_HPGLPenSizeOpt;
|
|
|
|
wxStaticBoxSizer* m_PSOptionsSizer;
|
|
|
|
wxStaticText* m_staticText7;
|
|
|
|
wxTextCtrl* m_fineAdjustXscaleOpt;
|
|
|
|
wxStaticText* m_staticText8;
|
|
|
|
wxTextCtrl* m_fineAdjustYscaleOpt;
|
|
|
|
wxStaticText* m_textPSFineAdjustWidth;
|
|
|
|
wxTextCtrl* m_PSFineAdjustWidthOpt;
|
|
|
|
wxCheckBox* m_forcePSA4OutputOpt;
|
2017-07-30 18:27:03 +00:00
|
|
|
wxStaticBoxSizer* m_SizerDXF_options;
|
|
|
|
wxCheckBox* m_DXF_plotModeOpt;
|
|
|
|
wxCheckBox* m_DXF_plotTextStrokeFontOpt;
|
2015-06-16 12:20:42 +00:00
|
|
|
WX_HTML_REPORT_PANEL* m_messagesPanel;
|
2018-02-09 18:00:13 +00:00
|
|
|
wxButton* m_buttonDRC;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxButton* m_plotButton;
|
|
|
|
wxButton* m_buttonDrill;
|
|
|
|
wxButton* m_buttonQuit;
|
|
|
|
wxMenu* m_popMenu;
|
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
|
|
|
|
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(); }
|
2016-11-22 08:10:47 +00:00
|
|
|
virtual void OnGerberX2Checked( wxCommandEvent& event ) { event.Skip(); }
|
2017-07-30 18:27:03 +00:00
|
|
|
virtual void OnChangeDXFPlotMode( wxCommandEvent& event ) { event.Skip(); }
|
2018-02-09 18:00:13 +00:00
|
|
|
virtual void onRunDRC( wxCommandEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void Plot( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void CreateDrillFile( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnQuit( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnPopUpLayers( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2017-12-27 17:09:27 +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 );
|
2013-05-26 04:36:44 +00:00
|
|
|
~DIALOG_PLOT_BASE();
|
|
|
|
|
|
|
|
void DIALOG_PLOT_BASEOnContextMenu( wxMouseEvent &event )
|
|
|
|
{
|
|
|
|
this->PopupMenu( m_popMenu, event.GetPosition() );
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__DIALOG_PLOT_BASE_H__
|