Commit 99ee5507 authored by jean-pierre charras's avatar jean-pierre charras

coding policy fixes

parent e9f557e6
This diff is collapsed.
This diff is collapsed.
...@@ -36,37 +36,29 @@ class DIALOG_PLOT_BASE : public wxDialog ...@@ -36,37 +36,29 @@ class DIALOG_PLOT_BASE : public wxDialog
protected: protected:
enum enum
{ {
ID_USE_GERBER_EXTENSIONS = 1000, ID_ALLOW_PRINT_PAD_ON_SILKSCREEN = 1000,
ID_ALLOW_PRINT_PAD_ON_SILKSCREEN,
ID_PRINT_VALUE,
ID_PRINT_REF, ID_PRINT_REF,
ID_PRINT_MODULE_TEXTS,
ID_FORCE_PRINT_INVISIBLE_TEXT,
ID_DRILL_SHAPE_OPT,
ID_BROWSE_OUTPUT_DIRECTORY,
ID_MIROR_OPT, ID_MIROR_OPT,
ID_MASKVIA_OPT,
ID_EXEC_PLOT,
ID_SAVE_OPT_PLOT, ID_SAVE_OPT_PLOT,
ID_CREATE_DRILL_FILE, ID_CREATE_DRILL_FILE,
}; };
wxStaticBoxSizer* m_CopperLayersBoxSizer; wxStaticBoxSizer* m_CopperLayersBoxSizer;
wxStaticBoxSizer* m_TechnicalLayersBoxSizer; wxStaticBoxSizer* m_TechnicalLayersBoxSizer;
wxCheckBox* m_Use_Gerber_Extensions; wxCheckBox* m_useGerberExtensions;
wxCheckBox* m_excludeEdgeLayerOpt; wxCheckBox* m_excludeEdgeLayerOpt;
wxCheckBox* m_SubtractMaskFromSilk; wxCheckBox* m_subtractMaskFromSilk;
wxCheckBox* m_Plot_Sheet_Ref; wxCheckBox* m_plotSheetRef;
wxCheckBox* m_Plot_Pads_on_Silkscreen; wxCheckBox* m_plotPads_on_Silkscreen;
wxCheckBox* m_Plot_Text_Value; wxCheckBox* m_plotModuleValueOpt;
wxCheckBox* m_Plot_Text_Ref; wxCheckBox* m_plotModuleRefOpt;
wxCheckBox* m_Plot_Text_Div; wxCheckBox* m_plotTextOther;
wxCheckBox* m_Plot_Invisible_Text; wxCheckBox* m_plotInvisibleText;
wxRadioBox* m_Drill_Shape_Opt; wxRadioBox* m_drillShapeOpt;
wxRadioBox* m_Scale_Opt; wxRadioBox* m_scaleOpt;
wxRadioBox* m_PlotModeOpt; wxRadioBox* m_plotModeOpt;
wxRadioBox* m_Choice_Plot_Offset; wxRadioBox* m_choicePlotOffset;
wxRadioBox* m_PlotFormatOpt; wxRadioBox* m_plotFormatOpt;
wxStaticText* m_textPenSize; wxStaticText* m_textPenSize;
wxTextCtrl* m_HPGLPenSizeOpt; wxTextCtrl* m_HPGLPenSizeOpt;
wxStaticText* m_staticText3; wxStaticText* m_staticText3;
...@@ -74,34 +66,35 @@ class DIALOG_PLOT_BASE : public wxDialog ...@@ -74,34 +66,35 @@ class DIALOG_PLOT_BASE : public wxDialog
wxStaticText* m_textPenOvr; wxStaticText* m_textPenOvr;
wxTextCtrl* m_HPGLPenOverlayOpt; wxTextCtrl* m_HPGLPenOverlayOpt;
wxCheckBox* m_plotPSNegativeOpt; wxCheckBox* m_plotPSNegativeOpt;
wxTextCtrl* m_OutputDirectory; wxCheckBox* m_plotMirrorOpt;
wxButton* m_BrowseButton; wxCheckBox* m_plotNoViaOnMaskOpt;
wxCheckBox* m_PlotMirorOpt;
wxCheckBox* m_PlotNoViaOnMaskOpt;
wxStaticText* m_staticText6; wxStaticText* m_staticText6;
wxTextCtrl* m_LinesWidth; wxTextCtrl* m_linesWidth;
wxStaticText* m_staticText7; wxStaticText* m_staticText7;
wxTextCtrl* m_FineAdjustXscaleOpt; wxTextCtrl* m_fineAdjustXscaleOpt;
wxStaticText* m_staticText8; wxStaticText* m_staticText8;
wxTextCtrl* m_FineAdjustYscaleOpt; wxTextCtrl* m_fineAdjustYscaleOpt;
wxButton* m_PlotButton; wxButton* m_plotButton;
wxButton* m_buttonSaveOpt; wxButton* m_buttonSaveOpt;
wxButton* m_buttonDrill; wxButton* m_buttonDrill;
wxButton* m_buttonQuit; wxButton* m_buttonQuit;
wxStaticText* m_staticTextDir;
wxTextCtrl* m_outputDirectoryName;
wxButton* m_browseButton;
wxStaticText* m_staticText2; wxStaticText* m_staticText2;
wxTextCtrl* m_MessagesBox; wxTextCtrl* m_messagesBox;
// Virtual event handlers, overide them in your derived class // Virtual event handlers, overide them in your derived class
virtual void OnCloseWindow( wxCloseEvent& event ) { event.Skip(); } virtual void OnCloseWindow( wxCloseEvent& event ) { event.Skip(); }
virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); } virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
virtual void SetPlotFormat( wxCommandEvent& event ) { event.Skip(); } virtual void SetPlotFormat( wxCommandEvent& event ) { event.Skip(); }
virtual void OnOutputDirectoryBrowseClicked( wxCommandEvent& event ) { event.Skip(); }
virtual void Plot( wxCommandEvent& event ) { event.Skip(); } virtual void Plot( wxCommandEvent& event ) { event.Skip(); }
virtual void SaveOptPlot( wxCommandEvent& event ) { event.Skip(); } virtual void savePlotOptions( wxCommandEvent& event ) { event.Skip(); }
virtual void CreateDrillFile( wxCommandEvent& event ) { event.Skip(); } virtual void CreateDrillFile( wxCommandEvent& event ) { event.Skip(); }
virtual void OnQuit( wxCommandEvent& event ) { event.Skip(); } virtual void OnQuit( wxCommandEvent& event ) { event.Skip(); }
virtual void OnOutputDirectoryBrowseClicked( wxCommandEvent& event ) { event.Skip(); }
public: public:
......
This diff is collapsed.
...@@ -36,7 +36,8 @@ public: ...@@ -36,7 +36,8 @@ public:
bool m_PlotFrameRef; // True to plot/print frame references bool m_PlotFrameRef; // True to plot/print frame references
bool m_PlotViaOnMaskLayer; // True if vias are drawn on Mask layer bool m_PlotViaOnMaskLayer; // True if vias are drawn on Mask layer
// (ie protected by mask) // (ie protected by mask)
GRTraceMode Trace_Mode; GRTraceMode m_PlotMode; // = FILAIRE, FILLED or SKETCH: select how to plot filled objects.
// depending on plot format or layers, all options are not always allowed
int m_HPGLPenNum; int m_HPGLPenNum;
int m_HPGLPenSpeed; int m_HPGLPenSpeed;
int m_HPGLPenDiam; int m_HPGLPenDiam;
......
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