Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
99ee5507
Commit
99ee5507
authored
Dec 11, 2010
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coding policy fixes
parent
e9f557e6
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
473 additions
and
406 deletions
+473
-406
dialog_plot_base.cpp
pcbnew/dialogs/dialog_plot_base.cpp
+104
-95
dialog_plot_base.fbp
pcbnew/dialogs/dialog_plot_base.fbp
+231
-167
dialog_plot_base.h
pcbnew/dialogs/dialog_plot_base.h
+26
-33
pcbplot.cpp
pcbnew/pcbplot.cpp
+110
-110
pcbplot.h
pcbnew/pcbplot.h
+2
-1
No files found.
pcbnew/dialogs/dialog_plot_base.cpp
View file @
99ee5507
This diff is collapsed.
Click to expand it.
pcbnew/dialogs/dialog_plot_base.fbp
View file @
99ee5507
This diff is collapsed.
Click to expand it.
pcbnew/dialogs/dialog_plot_base.h
View file @
99ee5507
...
...
@@ -36,37 +36,29 @@ class DIALOG_PLOT_BASE : public wxDialog
protected
:
enum
{
ID_USE_GERBER_EXTENSIONS
=
1000
,
ID_ALLOW_PRINT_PAD_ON_SILKSCREEN
,
ID_PRINT_VALUE
,
ID_ALLOW_PRINT_PAD_ON_SILKSCREEN
=
1000
,
ID_PRINT_REF
,
ID_PRINT_MODULE_TEXTS
,
ID_FORCE_PRINT_INVISIBLE_TEXT
,
ID_DRILL_SHAPE_OPT
,
ID_BROWSE_OUTPUT_DIRECTORY
,
ID_MIROR_OPT
,
ID_MASKVIA_OPT
,
ID_EXEC_PLOT
,
ID_SAVE_OPT_PLOT
,
ID_CREATE_DRILL_FILE
,
};
wxStaticBoxSizer
*
m_CopperLayersBoxSizer
;
wxStaticBoxSizer
*
m_TechnicalLayersBoxSizer
;
wxCheckBox
*
m_
Use_Gerber_
Extensions
;
wxCheckBox
*
m_
useGerber
Extensions
;
wxCheckBox
*
m_excludeEdgeLayerOpt
;
wxCheckBox
*
m_
S
ubtractMaskFromSilk
;
wxCheckBox
*
m_
Plot_Sheet_
Ref
;
wxCheckBox
*
m_
Plot_
Pads_on_Silkscreen
;
wxCheckBox
*
m_
Plot_Text_Value
;
wxCheckBox
*
m_
Plot_Text_Ref
;
wxCheckBox
*
m_
Plot_Text_Div
;
wxCheckBox
*
m_
Plot_Invisible_
Text
;
wxRadioBox
*
m_
Drill_Shape_
Opt
;
wxRadioBox
*
m_
Scale_
Opt
;
wxRadioBox
*
m_
P
lotModeOpt
;
wxRadioBox
*
m_
Choice_Plot_
Offset
;
wxRadioBox
*
m_
P
lotFormatOpt
;
wxCheckBox
*
m_
s
ubtractMaskFromSilk
;
wxCheckBox
*
m_
plotSheet
Ref
;
wxCheckBox
*
m_
plot
Pads_on_Silkscreen
;
wxCheckBox
*
m_
plotModuleValueOpt
;
wxCheckBox
*
m_
plotModuleRefOpt
;
wxCheckBox
*
m_
plotTextOther
;
wxCheckBox
*
m_
plotInvisible
Text
;
wxRadioBox
*
m_
drillShape
Opt
;
wxRadioBox
*
m_
scale
Opt
;
wxRadioBox
*
m_
p
lotModeOpt
;
wxRadioBox
*
m_
choicePlot
Offset
;
wxRadioBox
*
m_
p
lotFormatOpt
;
wxStaticText
*
m_textPenSize
;
wxTextCtrl
*
m_HPGLPenSizeOpt
;
wxStaticText
*
m_staticText3
;
...
...
@@ -74,34 +66,35 @@ class DIALOG_PLOT_BASE : public wxDialog
wxStaticText
*
m_textPenOvr
;
wxTextCtrl
*
m_HPGLPenOverlayOpt
;
wxCheckBox
*
m_plotPSNegativeOpt
;
wxTextCtrl
*
m_OutputDirectory
;
wxButton
*
m_BrowseButton
;
wxCheckBox
*
m_PlotMirorOpt
;
wxCheckBox
*
m_PlotNoViaOnMaskOpt
;
wxCheckBox
*
m_plotMirrorOpt
;
wxCheckBox
*
m_plotNoViaOnMaskOpt
;
wxStaticText
*
m_staticText6
;
wxTextCtrl
*
m_
L
inesWidth
;
wxTextCtrl
*
m_
l
inesWidth
;
wxStaticText
*
m_staticText7
;
wxTextCtrl
*
m_
F
ineAdjustXscaleOpt
;
wxTextCtrl
*
m_
f
ineAdjustXscaleOpt
;
wxStaticText
*
m_staticText8
;
wxTextCtrl
*
m_
F
ineAdjustYscaleOpt
;
wxTextCtrl
*
m_
f
ineAdjustYscaleOpt
;
wxButton
*
m_
P
lotButton
;
wxButton
*
m_
p
lotButton
;
wxButton
*
m_buttonSaveOpt
;
wxButton
*
m_buttonDrill
;
wxButton
*
m_buttonQuit
;
wxStaticText
*
m_staticTextDir
;
wxTextCtrl
*
m_outputDirectoryName
;
wxButton
*
m_browseButton
;
wxStaticText
*
m_staticText2
;
wxTextCtrl
*
m_
M
essagesBox
;
wxTextCtrl
*
m_
m
essagesBox
;
// Virtual event handlers, overide them in your derived class
virtual
void
OnCloseWindow
(
wxCloseEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnInitDialog
(
wxInitDialogEvent
&
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
SaveOptPlot
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
savePlotOptions
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
CreateDrillFile
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnQuit
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnOutputDirectoryBrowseClicked
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
public
:
...
...
pcbnew/pcbplot.cpp
View file @
99ee5507
This diff is collapsed.
Click to expand it.
pcbnew/pcbplot.h
View file @
99ee5507
...
...
@@ -36,7 +36,8 @@ public:
bool
m_PlotFrameRef
;
// True to plot/print frame references
bool
m_PlotViaOnMaskLayer
;
// True if vias are drawn on Mask layer
// (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_HPGLPenSpeed
;
int
m_HPGLPenDiam
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment