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
72b97ea4
Commit
72b97ea4
authored
Aug 23, 2008
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eeschema: minor changes in plot dialog. plot filled shapes Ok.
parent
88b1c9b7
Changes
16
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
364 additions
and
314 deletions
+364
-314
change_log.txt
change_log.txt
+0
-2
eelibs_draw_components.cpp
eeschema/eelibs_draw_components.cpp
+33
-17
general.h
eeschema/general.h
+0
-3
libcmp.h
eeschema/libcmp.h
+4
-3
plot.cpp
eeschema/plot.cpp
+32
-0
plothpgl.cpp
eeschema/plothpgl.cpp
+9
-9
plothpgl.pjd
eeschema/plothpgl.pjd
+9
-11
plotps.cpp
eeschema/plotps.cpp
+55
-115
plotps.h
eeschema/plotps.h
+0
-3
plotps.pjd
eeschema/plotps.pjd
+3
-5
kicad.mo
internat/fr/kicad.mo
+0
-0
kicad.po
internat/fr/kicad.po
+2
-3
svg_print.cpp
share/svg_print.cpp
+67
-108
svg_print.h
share/svg_print.h
+2
-2
svg_print.pjd
share/svg_print.pjd
+147
-22
wxprint.cpp
share/wxprint.cpp
+1
-11
No files found.
change_log.txt
View file @
72b97ea4
...
...
@@ -11,8 +11,6 @@ email address.
bug solved: netlist calculations could crash eeschema under very rare circumstances.
recent bug solved: background filled shapes (filled but not solid: texts are readables inside shapes)
were drawn (and plotted) as filled (solid) shapes
enhancements needed for plotting background filled shapes, in color mode
(cannot be filled in black and white mode)
2008-Aug-18 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
...
...
eeschema/eelibs_draw_components.cpp
View file @
72b97ea4
...
...
@@ -471,10 +471,12 @@ void DrawLibPartAux( WinEDA_DrawPanel* panel, wxDC* DC,
{
EXCHG
(
x1
,
x2
);
EXCHG
(
y1
,
y2
)
}
fill_option
=
Arc
->
m_Fill
&
(
~
g_PrintFillMask
);
fill_option
=
Arc
->
m_Fill
;
if
(
g_IsPrinting
&&
fill_option
==
FILLED_WITH_BG_BODYCOLOR
&&
GetGRForceBlackPenState
(
)
)
fill_option
=
NO_FILL
;
if
(
Color
<
0
)
// Normal Color Layer
{
if
(
(
fill_option
==
FILLED_WITH_BG_BODYCOLOR
)
&&
!
g_IsPrinting
)
if
(
fill_option
==
FILLED_WITH_BG_BODYCOLOR
)
GRFilledArc
(
&
panel
->
m_ClipBox
,
DC
,
xc
,
yc
,
t1
,
t2
,
Arc
->
m_Rayon
,
Arc
->
m_Width
,
CharColor
,
ReturnLayerColor
(
LAYER_DEVICE_BACKGROUND
)
);
...
...
@@ -513,10 +515,12 @@ void DrawLibPartAux( WinEDA_DrawPanel* panel, wxDC* DC,
y1
=
Pos
.
y
+
TransMat
[
1
][
0
]
*
Circle
->
m_Pos
.
x
+
TransMat
[
1
][
1
]
*
Circle
->
m_Pos
.
y
;
fill_option
=
Circle
->
m_Fill
&
(
~
g_PrintFillMask
);
fill_option
=
Circle
->
m_Fill
;
if
(
g_IsPrinting
&&
fill_option
==
FILLED_WITH_BG_BODYCOLOR
&&
GetGRForceBlackPenState
(
)
)
fill_option
=
NO_FILL
;
if
(
Color
<
0
)
{
if
(
(
fill_option
==
FILLED_WITH_BG_BODYCOLOR
)
&&
!
g_IsPrinting
)
if
(
fill_option
==
FILLED_WITH_BG_BODYCOLOR
)
GRFilledCircle
(
&
panel
->
m_ClipBox
,
DC
,
x1
,
y1
,
Circle
->
m_Rayon
,
LineWidth
,
CharColor
,
ReturnLayerColor
(
LAYER_DEVICE_BACKGROUND
)
);
...
...
@@ -567,10 +571,12 @@ void DrawLibPartAux( WinEDA_DrawPanel* panel, wxDC* DC,
+
TransMat
[
0
][
1
]
*
Square
->
m_End
.
y
;
y2
=
Pos
.
y
+
TransMat
[
1
][
0
]
*
Square
->
m_End
.
x
+
TransMat
[
1
][
1
]
*
Square
->
m_End
.
y
;
fill_option
=
Square
->
m_Fill
&
(
~
g_PrintFillMask
);
fill_option
=
Square
->
m_Fill
;
if
(
g_IsPrinting
&&
fill_option
==
FILLED_WITH_BG_BODYCOLOR
&&
GetGRForceBlackPenState
(
)
)
fill_option
=
NO_FILL
;
if
(
Color
<
0
)
{
if
(
(
fill_option
==
FILLED_WITH_BG_BODYCOLOR
)
&&
!
g_IsPrinting
)
if
(
fill_option
==
FILLED_WITH_BG_BODYCOLOR
)
GRFilledRect
(
&
panel
->
m_ClipBox
,
DC
,
x1
,
y1
,
x2
,
y2
,
CharColor
,
LineWidth
,
ReturnLayerColor
(
LAYER_DEVICE_BACKGROUND
)
);
...
...
@@ -648,10 +654,12 @@ void DrawLibPartAux( WinEDA_DrawPanel* panel, wxDC* DC,
TransMat
[
1
][
1
]
*
polyline
->
PolyList
[
i
*
2
+
1
];
}
fill_option
=
polyline
->
m_Fill
&
(
~
g_PrintFillMask
);
fill_option
=
polyline
->
m_Fill
;
if
(
g_IsPrinting
&&
fill_option
==
FILLED_WITH_BG_BODYCOLOR
&&
GetGRForceBlackPenState
(
)
)
fill_option
=
NO_FILL
;
if
(
Color
<
0
)
{
if
(
(
fill_option
==
FILLED_WITH_BG_BODYCOLOR
)
&&
!
g_IsPrinting
)
if
(
fill_option
==
FILLED_WITH_BG_BODYCOLOR
)
GRPoly
(
&
panel
->
m_ClipBox
,
DC
,
polyline
->
n
,
Buf_Poly_Drawings
,
1
,
LineWidth
,
CharColor
,
ReturnLayerColor
(
LAYER_DEVICE_BACKGROUND
)
);
...
...
@@ -962,12 +970,14 @@ void DrawLibraryDrawStruct( WinEDA_DrawPanel* panel, wxDC* DC,
{
EXCHG
(
x1
,
x2
);
EXCHG
(
y1
,
y2
)
}
fill_option
=
Arc
->
m_Fill
&
(
~
g_PrintFillMask
);
if
(
(
Arc
->
m_Fill
==
FILLED_WITH_BG_BODYCOLOR
)
&&
!
g_IsPrinting
)
fill_option
=
Arc
->
m_Fill
;
if
(
g_IsPrinting
&&
fill_option
==
FILLED_WITH_BG_BODYCOLOR
&&
GetGRForceBlackPenState
(
)
)
fill_option
=
NO_FILL
;
if
(
fill_option
==
FILLED_WITH_BG_BODYCOLOR
)
GRFilledArc
(
&
panel
->
m_ClipBox
,
DC
,
xc
,
yc
,
t1
,
t2
,
Arc
->
m_Rayon
,
CharColor
,
ReturnLayerColor
(
LAYER_DEVICE_BACKGROUND
)
);
else
if
(
Arc
->
m_Fill
==
FILLED_SHAPE
)
else
if
(
fill_option
==
FILLED_SHAPE
)
GRFilledArc
(
&
panel
->
m_ClipBox
,
DC
,
xc
,
yc
,
t1
,
t2
,
Arc
->
m_Rayon
,
LineWidth
,
CharColor
,
CharColor
);
#ifdef DRAW_ARC_WITH_ANGLE
...
...
@@ -987,8 +997,10 @@ void DrawLibraryDrawStruct( WinEDA_DrawPanel* panel, wxDC* DC,
LibDrawCircle
*
Circle
=
(
LibDrawCircle
*
)
DrawItem
;
x1
=
PartX
+
Circle
->
m_Pos
.
x
;
y1
=
PartY
-
Circle
->
m_Pos
.
y
;
fill_option
=
Circle
->
m_Fill
&
(
~
g_PrintFillMask
);
if
(
(
fill_option
==
FILLED_WITH_BG_BODYCOLOR
)
&&
!
g_IsPrinting
)
fill_option
=
Circle
->
m_Fill
;
if
(
g_IsPrinting
&&
fill_option
==
FILLED_WITH_BG_BODYCOLOR
&&
GetGRForceBlackPenState
(
)
)
fill_option
=
NO_FILL
;
if
(
fill_option
==
FILLED_WITH_BG_BODYCOLOR
)
GRFilledCircle
(
&
panel
->
m_ClipBox
,
DC
,
x1
,
y1
,
Circle
->
m_Rayon
,
LineWidth
,
CharColor
,
ReturnLayerColor
(
LAYER_DEVICE_BACKGROUND
)
);
...
...
@@ -1020,8 +1032,10 @@ void DrawLibraryDrawStruct( WinEDA_DrawPanel* panel, wxDC* DC,
y1
=
PartY
-
Square
->
m_Pos
.
y
;
x2
=
PartX
+
Square
->
m_End
.
x
;
y2
=
PartY
-
Square
->
m_End
.
y
;
fill_option
=
Square
->
m_Fill
&
(
~
g_PrintFillMask
);
if
(
(
fill_option
==
FILLED_WITH_BG_BODYCOLOR
)
&&
!
g_IsPrinting
)
fill_option
=
Square
->
m_Fill
;
if
(
g_IsPrinting
&&
fill_option
==
FILLED_WITH_BG_BODYCOLOR
&&
GetGRForceBlackPenState
(
)
)
fill_option
=
NO_FILL
;
if
(
fill_option
==
FILLED_WITH_BG_BODYCOLOR
)
GRFilledRect
(
&
panel
->
m_ClipBox
,
DC
,
x1
,
y1
,
x2
,
y2
,
CharColor
,
LineWidth
,
ReturnLayerColor
(
LAYER_DEVICE_BACKGROUND
)
);
...
...
@@ -1078,8 +1092,10 @@ void DrawLibraryDrawStruct( WinEDA_DrawPanel* panel, wxDC* DC,
Buf_Poly_Drawings
[
i
*
2
+
1
]
=
PartY
-
polyline
->
PolyList
[
i
*
2
+
1
];
}
fill_option
=
polyline
->
m_Fill
&
(
~
g_PrintFillMask
);
if
(
(
fill_option
==
FILLED_WITH_BG_BODYCOLOR
)
&&
!
g_IsPrinting
)
fill_option
=
polyline
->
m_Fill
;
if
(
g_IsPrinting
&&
fill_option
==
FILLED_WITH_BG_BODYCOLOR
&&
GetGRForceBlackPenState
(
)
)
fill_option
=
NO_FILL
;
if
(
fill_option
==
FILLED_WITH_BG_BODYCOLOR
)
GRPoly
(
&
panel
->
m_ClipBox
,
DC
,
polyline
->
n
,
Buf_Poly_Drawings
,
1
,
LineWidth
,
CharColor
,
ReturnLayerColor
(
LAYER_DEVICE_BACKGROUND
)
);
...
...
eeschema/general.h
View file @
72b97ea4
...
...
@@ -161,9 +161,6 @@ struct EESchemaVariables
};
eda_global
struct
EESchemaVariables
g_EESchemaVar
;
/* Variable fonction print */
eda_global
int
g_PrintFillMask
;
/* pour les options "FILL",
l'option reelle est m_Fill & ~PrintFillMask */
/* Variables globales pour Libview */
eda_global
wxString
g_CurrentViewLibraryName
;
/* nom de la librairie en cours d'examen */
...
...
eeschema/libcmp.h
View file @
72b97ea4
...
...
@@ -30,9 +30,10 @@
#define IEEE_SYMBOL_PIN_DIM 40
/* Dim of special pin symbol. */
#define NO_FILL 0 // Poly, Squar, Circle, Arc = option No Fill
#define FILLED_SHAPE 1 // Poly, Squar, Circle, Arc = option Fill with current color
#define FILLED_WITH_BG_BODYCOLOR 2 // Poly, Squar, Circle, Arc = option Fill
// with background body color
#define FILLED_SHAPE 1 // Poly, Squar, Circle, Arc = option Fill with current color ("Solid shape")
#define FILLED_WITH_BG_BODYCOLOR 2
/* Poly, Squar, Circle, Arc = option Fill
* with background body color, translucent (texts on this shape can be see)
* not fille in B&W plot mode */
//Offsets used in editing library component, for handle aliad dats
#define ALIAS_NAME 0
...
...
eeschema/plot.cpp
View file @
72b97ea4
...
...
@@ -187,6 +187,7 @@ void PlotLibPart( SCH_COMPONENT* DrawLibItem )
int
TransMat
[
2
][
2
],
PartX
,
PartY
,
Multi
,
convert
;
int
CharColor
=
-
1
;
wxPoint
pos
;
bool
draw_bgfill
=
false
;
Entry
=
FindLibPart
(
DrawLibItem
->
m_ChipName
.
GetData
(),
wxEmptyString
,
FIND_ROOT
);
if
(
Entry
==
NULL
)
...
...
@@ -206,7 +207,10 @@ void PlotLibPart( SCH_COMPONENT* DrawLibItem )
Plume
(
'U'
);
if
(
(
g_PlotFormat
==
PLOT_FORMAT_POST
)
&&
g_PlotPSColorOpt
)
{
SetColorMapPS
(
ReturnLayerColor
(
LAYER_DEVICE
)
);
draw_bgfill
=
true
;
}
switch
(
DEntry
->
Type
()
)
{
...
...
@@ -219,6 +223,13 @@ void PlotLibPart( SCH_COMPONENT* DrawLibItem )
pos
.
y
=
PartY
+
TransMat
[
1
][
0
]
*
Arc
->
m_Pos
.
x
+
TransMat
[
1
][
1
]
*
Arc
->
m_Pos
.
y
;
MapAngles
(
&
t1
,
&
t2
,
TransMat
);
if
(
draw_bgfill
&&
Arc
->
m_Fill
==
FILLED_WITH_BG_BODYCOLOR
)
{
SetColorMapPS
(
ReturnLayerColor
(
LAYER_DEVICE_BACKGROUND
)
);
PlotArc
(
pos
,
t1
,
t2
,
Arc
->
m_Rayon
,
true
,
0
);
}
if
(
(
g_PlotFormat
==
PLOT_FORMAT_POST
)
&&
g_PlotPSColorOpt
)
SetColorMapPS
(
ReturnLayerColor
(
LAYER_DEVICE
)
);
PlotArc
(
pos
,
t1
,
t2
,
Arc
->
m_Rayon
,
Arc
->
m_Fill
==
FILLED_SHAPE
?
true
:
false
,
Arc
->
m_Width
);
}
break
;
...
...
@@ -230,6 +241,13 @@ void PlotLibPart( SCH_COMPONENT* DrawLibItem )
TransMat
[
0
][
1
]
*
Circle
->
m_Pos
.
y
;
pos
.
y
=
PartY
+
TransMat
[
1
][
0
]
*
Circle
->
m_Pos
.
x
+
TransMat
[
1
][
1
]
*
Circle
->
m_Pos
.
y
;
if
(
draw_bgfill
&&
Circle
->
m_Fill
==
FILLED_WITH_BG_BODYCOLOR
)
{
SetColorMapPS
(
ReturnLayerColor
(
LAYER_DEVICE_BACKGROUND
)
);
PlotCercle
(
pos
,
Circle
->
m_Rayon
*
2
,
true
,
0
);
}
if
(
(
g_PlotFormat
==
PLOT_FORMAT_POST
)
&&
g_PlotPSColorOpt
)
SetColorMapPS
(
ReturnLayerColor
(
LAYER_DEVICE
)
);
PlotCercle
(
pos
,
Circle
->
m_Rayon
*
2
,
Circle
->
m_Fill
==
FILLED_SHAPE
?
true
:
false
,
Circle
->
m_Width
);
}
break
;
...
...
@@ -266,6 +284,13 @@ void PlotLibPart( SCH_COMPONENT* DrawLibItem )
y2
=
PartY
+
TransMat
[
1
][
0
]
*
Square
->
m_End
.
x
+
TransMat
[
1
][
1
]
*
Square
->
m_End
.
y
;
if
(
draw_bgfill
&&
Square
->
m_Fill
==
FILLED_WITH_BG_BODYCOLOR
)
{
SetColorMapPS
(
ReturnLayerColor
(
LAYER_DEVICE_BACKGROUND
)
);
PlotRect
(
wxPoint
(
x1
,
y1
),
wxPoint
(
x2
,
y2
),
true
,
0
);
}
if
(
(
g_PlotFormat
==
PLOT_FORMAT_POST
)
&&
g_PlotPSColorOpt
)
SetColorMapPS
(
ReturnLayerColor
(
LAYER_DEVICE
)
);
PlotRect
(
wxPoint
(
x1
,
y1
),
wxPoint
(
x2
,
y2
),
Square
->
m_Fill
==
FILLED_SHAPE
?
true
:
false
,
Square
->
m_Width
);
}
break
;
...
...
@@ -311,6 +336,13 @@ void PlotLibPart( SCH_COMPONENT* DrawLibItem )
TransMat
[
1
][
1
]
*
polyline
->
PolyList
[
ii
*
2
+
1
];
}
if
(
draw_bgfill
&&
polyline
->
m_Fill
==
FILLED_WITH_BG_BODYCOLOR
)
{
SetColorMapPS
(
ReturnLayerColor
(
LAYER_DEVICE_BACKGROUND
)
);
PlotPoly
(
ii
,
Poly
,
true
,
0
);
}
if
(
(
g_PlotFormat
==
PLOT_FORMAT_POST
)
&&
g_PlotPSColorOpt
)
SetColorMapPS
(
ReturnLayerColor
(
LAYER_DEVICE
)
);
PlotPoly
(
ii
,
Poly
,
polyline
->
m_Fill
==
FILLED_SHAPE
?
true
:
false
,
polyline
->
m_Width
);
MyFree
(
Poly
);
}
...
...
eeschema/plothpgl.cpp
View file @
72b97ea4
...
...
@@ -205,7 +205,7 @@ void WinEDA_PlotHPGLFrame::CreateControls()
SetFont
(
*
g_DialogFont
);
////@begin WinEDA_PlotHPGLFrame content construction
// Generated by DialogBlocks, 2
9/04/2008 21:13:14
(unregistered)
// Generated by DialogBlocks, 2
3/08/2008 08:33:29
(unregistered)
WinEDA_PlotHPGLFrame
*
itemDialog1
=
this
;
...
...
@@ -245,19 +245,19 @@ void WinEDA_PlotHPGLFrame::CreateControls()
itemStaticBoxSizer7
->
Add
(
itemStaticText8
,
0
,
wxALIGN_LEFT
|
wxLEFT
|
wxRIGHT
|
wxTOP
|
wxADJUST_MINSIZE
,
5
);
m_ButtPenWidth
=
new
wxSpinCtrl
(
itemDialog1
,
ID_PEN_WIDTH_UPDATED
,
_T
(
"1"
),
wxDefaultPosition
,
wxDefaultSize
,
wxSP_ARROW_KEYS
|
wxSP_WRAP
,
1
,
100
,
1
);
itemStaticBoxSizer7
->
Add
(
m_ButtPenWidth
,
0
,
wxALIGN_LEFT
|
wx
ALL
,
5
);
itemStaticBoxSizer7
->
Add
(
m_ButtPenWidth
,
0
,
wxALIGN_LEFT
|
wx
LEFT
|
wxRIGHT
|
wxBOTTOM
,
5
);
wxStaticText
*
itemStaticText10
=
new
wxStaticText
(
itemDialog1
,
wxID_STATIC
,
_
(
"Pen Speed ( cm/s )"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
itemStaticBoxSizer7
->
Add
(
itemStaticText10
,
0
,
wxALIGN_LEFT
|
wxLEFT
|
wxRIGHT
|
wxTOP
|
wxADJUST_MINSIZE
,
5
);
m_ButtPenSpeed
=
new
wxSpinCtrl
(
itemDialog1
,
ID_PEN_SPEED_UPDATED
,
_T
(
"1"
),
wxDefaultPosition
,
wxDefaultSize
,
wxSP_ARROW_KEYS
,
1
,
100
,
1
);
itemStaticBoxSizer7
->
Add
(
m_ButtPenSpeed
,
0
,
wxALIGN_CENTER_HORIZONTAL
|
wx
ALL
,
5
);
itemStaticBoxSizer7
->
Add
(
m_ButtPenSpeed
,
0
,
wxALIGN_CENTER_HORIZONTAL
|
wx
LEFT
|
wxRIGHT
|
wxBOTTOM
,
5
);
wxStaticText
*
itemStaticText12
=
new
wxStaticText
(
itemDialog1
,
wxID_STATIC
,
_
(
"Pen Number"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
itemStaticBoxSizer7
->
Add
(
itemStaticText12
,
0
,
wxALIGN_LEFT
|
wxLEFT
|
wxRIGHT
|
wxTOP
|
wxADJUST_MINSIZE
,
5
);
m_ButtPenNum
=
new
wxSpinCtrl
(
itemDialog1
,
ID_PEN_NUMBER_UPDATED
,
_T
(
"1"
),
wxDefaultPosition
,
wxDefaultSize
,
wxSP_ARROW_KEYS
,
1
,
8
,
1
);
itemStaticBoxSizer7
->
Add
(
m_ButtPenNum
,
0
,
wxALIGN_CENTER_HORIZONTAL
|
wx
ALL
,
5
);
itemStaticBoxSizer7
->
Add
(
m_ButtPenNum
,
0
,
wxALIGN_CENTER_HORIZONTAL
|
wx
LEFT
|
wxRIGHT
|
wxBOTTOM
,
5
);
wxStaticBox
*
itemStaticBoxSizer14Static
=
new
wxStaticBox
(
itemDialog1
,
wxID_ANY
,
_
(
"Page offset:"
));
wxStaticBoxSizer
*
itemStaticBoxSizer14
=
new
wxStaticBoxSizer
(
itemStaticBoxSizer14Static
,
wxVERTICAL
);
...
...
@@ -267,20 +267,21 @@ void WinEDA_PlotHPGLFrame::CreateControls()
itemStaticBoxSizer14
->
Add
(
itemStaticText15
,
0
,
wxALIGN_LEFT
|
wxLEFT
|
wxRIGHT
|
wxTOP
|
wxADJUST_MINSIZE
,
5
);
m_PlotOrgPosition_X
=
new
wxTextCtrl
(
itemDialog1
,
ID_TEXTCTRL1
,
_T
(
""
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
itemStaticBoxSizer14
->
Add
(
m_PlotOrgPosition_X
,
0
,
wxALIGN_LEFT
|
wx
ALL
,
5
);
itemStaticBoxSizer14
->
Add
(
m_PlotOrgPosition_X
,
0
,
wxALIGN_LEFT
|
wx
LEFT
|
wxRIGHT
|
wxBOTTOM
,
5
);
wxStaticText
*
itemStaticText17
=
new
wxStaticText
(
itemDialog1
,
wxID_STATIC
,
_
(
"Plot Offset Y"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
itemStaticBoxSizer14
->
Add
(
itemStaticText17
,
0
,
wxALIGN_LEFT
|
wxLEFT
|
wxRIGHT
|
wxTOP
|
wxADJUST_MINSIZE
,
5
);
m_PlotOrgPosition_Y
=
new
wxTextCtrl
(
itemDialog1
,
ID_TEXTCTRL2
,
_T
(
""
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
itemStaticBoxSizer14
->
Add
(
m_PlotOrgPosition_Y
,
0
,
wxALIGN_LEFT
|
wx
ALL
,
5
);
itemStaticBoxSizer14
->
Add
(
m_PlotOrgPosition_Y
,
0
,
wxALIGN_LEFT
|
wx
LEFT
|
wxRIGHT
|
wxBOTTOM
,
5
);
itemBoxSizer3
->
Add
(
5
,
5
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
5
);
wxBoxSizer
*
itemBoxSizer20
=
new
wxBoxSizer
(
wxVERTICAL
);
itemBoxSizer3
->
Add
(
itemBoxSizer20
,
0
,
wxALIGN_TOP
|
wxLEFT
|
wxTOP
|
wxBOTTOM
,
5
);
wxButton
*
itemButton21
=
new
wxButton
(
itemDialog1
,
ID_PLOT_HPGL_CURRENT_EXECUTE
,
_
(
"&Plot CURRENT"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
wxButton
*
itemButton21
=
new
wxButton
(
itemDialog1
,
ID_PLOT_HPGL_CURRENT_EXECUTE
,
_
(
"&Plot Page"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
itemButton21
->
SetDefault
();
itemButton21
->
SetForegroundColour
(
wxColour
(
0
,
128
,
0
));
itemBoxSizer20
->
Add
(
itemButton21
,
0
,
wxGROW
|
wxALL
,
5
);
...
...
@@ -289,7 +290,6 @@ void WinEDA_PlotHPGLFrame::CreateControls()
itemBoxSizer20
->
Add
(
itemButton22
,
0
,
wxGROW
|
wxALL
,
5
);
m_btClose
=
new
wxButton
(
itemDialog1
,
wxID_CANCEL
,
_
(
"&Close"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_btClose
->
SetDefault
();
m_btClose
->
SetForegroundColour
(
wxColour
(
128
,
0
,
0
));
itemBoxSizer20
->
Add
(
m_btClose
,
0
,
wxGROW
|
wxALL
,
5
);
...
...
@@ -308,7 +308,7 @@ void WinEDA_PlotHPGLFrame::CreateControls()
m_ButtPenSpeed
->
SetValidator
(
wxGenericValidator
(
&
g_HPGL_Pen_Descr
.
m_Pen_Speed
)
);
m_ButtPenNum
->
SetValidator
(
wxGenericValidator
(
&
g_HPGL_Pen_Descr
.
m_Pen_Num
)
);
////@end WinEDA_PlotHPGLFrame content construction
m_btClose
->
SetFocus
();
SetFocus
();
// Make ESC key working
}
...
...
eeschema/plothpgl.pjd
View file @
72b97ea4
...
...
@@ -136,7 +136,7 @@
<long
name=
"locked"
>
0
</long>
<string
name=
"template-name"
>
""
</string>
<bool
name=
"dirty"
>
1
</bool>
<long
name=
"makefile-last-written"
>
0
</long>
<long
name=
"makefile-last-written"
>
-851968
0
</long>
<string
name=
"Compiler name"
>
""
</string>
<string
name=
"Build mode"
>
"Debug"
</string>
<string
name=
"Unicode mode"
>
"ANSI"
</string>
...
...
@@ -605,7 +605,7 @@
<long
name=
"proxy-Border"
>
5
</long>
<bool
name=
"proxy-wxLEFT"
>
1
</bool>
<bool
name=
"proxy-wxRIGHT"
>
1
</bool>
<bool
name=
"proxy-wxTOP"
>
1
</bool>
<bool
name=
"proxy-wxTOP"
>
0
</bool>
<bool
name=
"proxy-wxBOTTOM"
>
1
</bool>
<bool
name=
"proxy-wxSHAPED"
>
0
</bool>
<bool
name=
"proxy-wxADJUST_MINSIZE"
>
0
</bool>
...
...
@@ -745,7 +745,7 @@
<long
name=
"proxy-Border"
>
5
</long>
<bool
name=
"proxy-wxLEFT"
>
1
</bool>
<bool
name=
"proxy-wxRIGHT"
>
1
</bool>
<bool
name=
"proxy-wxTOP"
>
1
</bool>
<bool
name=
"proxy-wxTOP"
>
0
</bool>
<bool
name=
"proxy-wxBOTTOM"
>
1
</bool>
<bool
name=
"proxy-wxSHAPED"
>
0
</bool>
<bool
name=
"proxy-wxADJUST_MINSIZE"
>
0
</bool>
...
...
@@ -885,7 +885,7 @@
<long
name=
"proxy-Border"
>
5
</long>
<bool
name=
"proxy-wxLEFT"
>
1
</bool>
<bool
name=
"proxy-wxRIGHT"
>
1
</bool>
<bool
name=
"proxy-wxTOP"
>
1
</bool>
<bool
name=
"proxy-wxTOP"
>
0
</bool>
<bool
name=
"proxy-wxBOTTOM"
>
1
</bool>
<bool
name=
"proxy-wxSHAPED"
>
0
</bool>
<bool
name=
"proxy-wxADJUST_MINSIZE"
>
0
</bool>
...
...
@@ -1072,14 +1072,13 @@
<long
name=
"proxy-Border"
>
5
</long>
<bool
name=
"proxy-wxLEFT"
>
1
</bool>
<bool
name=
"proxy-wxRIGHT"
>
1
</bool>
<bool
name=
"proxy-wxTOP"
>
1
</bool>
<bool
name=
"proxy-wxTOP"
>
0
</bool>
<bool
name=
"proxy-wxBOTTOM"
>
1
</bool>
<bool
name=
"proxy-wxSHAPED"
>
0
</bool>
<bool
name=
"proxy-wxADJUST_MINSIZE"
>
0
</bool>
<bool
name=
"proxy-wxFIXED_MINSIZE"
>
0
</bool>
<string
name=
"proxy-Custom arguments"
>
""
</string>
<string
name=
"proxy-Custom ctor arguments"
>
""
</string>
<bool
name=
"proxy-wxTE_LINEWRAP"
>
0
</bool>
</document>
<document>
<string
name=
"title"
>
"wxStaticText: wxID_STATIC"
</string>
...
...
@@ -1225,14 +1224,13 @@
<long
name=
"proxy-Border"
>
5
</long>
<bool
name=
"proxy-wxLEFT"
>
1
</bool>
<bool
name=
"proxy-wxRIGHT"
>
1
</bool>
<bool
name=
"proxy-wxTOP"
>
1
</bool>
<bool
name=
"proxy-wxTOP"
>
0
</bool>
<bool
name=
"proxy-wxBOTTOM"
>
1
</bool>
<bool
name=
"proxy-wxSHAPED"
>
0
</bool>
<bool
name=
"proxy-wxADJUST_MINSIZE"
>
0
</bool>
<bool
name=
"proxy-wxFIXED_MINSIZE"
>
0
</bool>
<string
name=
"proxy-Custom arguments"
>
""
</string>
<string
name=
"proxy-Custom ctor arguments"
>
""
</string>
<bool
name=
"proxy-wxTE_LINEWRAP"
>
0
</bool>
</document>
</document>
</document>
...
...
@@ -1309,8 +1307,8 @@
<string
name=
"proxy-Implementation filename"
>
""
</string>
<string
name=
"proxy-Header filename"
>
""
</string>
<string
name=
"proxy-Member variable name"
>
""
</string>
<string
name=
"proxy-Label"
>
"
&
Plot
CURRENT
"
</string>
<bool
name=
"proxy-Default"
>
0
</bool>
<string
name=
"proxy-Label"
>
"
&
Plot
Page
"
</string>
<bool
name=
"proxy-Default"
>
1
</bool>
<string
name=
"proxy-Help text"
>
""
</string>
<string
name=
"proxy-Tooltip text"
>
""
</string>
<string
name=
"proxy-Data variable"
>
""
</string>
...
...
@@ -1444,7 +1442,7 @@
<string
name=
"proxy-Header filename"
>
""
</string>
<string
name=
"proxy-Member variable name"
>
"m_btClose"
</string>
<string
name=
"proxy-Label"
>
"
&
Close"
</string>
<bool
name=
"proxy-Default"
>
1
</bool>
<bool
name=
"proxy-Default"
>
0
</bool>
<string
name=
"proxy-Help text"
>
""
</string>
<string
name=
"proxy-Tooltip text"
>
""
</string>
<string
name=
"proxy-Data variable"
>
""
</string>
...
...
eeschema/plotps.cpp
View file @
72b97ea4
This diff is collapsed.
Click to expand it.
eeschema/plotps.h
View file @
72b97ea4
...
...
@@ -83,9 +83,6 @@ public:
////@begin WinEDA_PlotPSFrame event handler declarations
/// wxEVT_INIT_DIALOG event handler for ID_DIALOG
void
OnInitDialog
(
wxInitDialogEvent
&
event
);
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_PLOT_PS_CURRENT_EXECUTE
void
OnPlotPsCurrentExecuteClick
(
wxCommandEvent
&
event
);
...
...
eeschema/plotps.pjd
View file @
72b97ea4
...
...
@@ -221,7 +221,6 @@
<string
name=
"id-suffix"
>
""
</string>
<long
name=
"use-xrc"
>
0
</long>
<long
name=
"working-mode"
>
0
</long>
<string
name=
"event-handler-0"
>
"wxEVT_INIT_DIALOG|OnInitDialog|NONE||WinEDA_PlotPSFrame"
</string>
<string
name=
"proxy-Id name"
>
"ID_DIALOG"
</string>
<long
name=
"proxy-Id value"
>
10000
</long>
<string
name=
"proxy-Class"
>
"WinEDA_PlotPSFrame"
</string>
...
...
@@ -649,8 +648,8 @@
<string
name=
"proxy-Implementation filename"
>
""
</string>
<string
name=
"proxy-Header filename"
>
""
</string>
<string
name=
"proxy-Member variable name"
>
""
</string>
<string
name=
"proxy-Label"
>
"
&
Plot
CURRENT
"
</string>
<bool
name=
"proxy-Default"
>
0
</bool>
<string
name=
"proxy-Label"
>
"
&
Plot
Page
"
</string>
<bool
name=
"proxy-Default"
>
1
</bool>
<string
name=
"proxy-Help text"
>
""
</string>
<string
name=
"proxy-Tooltip text"
>
""
</string>
<string
name=
"proxy-Data variable"
>
""
</string>
...
...
@@ -784,7 +783,7 @@
<string
name=
"proxy-Header filename"
>
""
</string>
<string
name=
"proxy-Member variable name"
>
"m_btClose"
</string>
<string
name=
"proxy-Label"
>
"Close"
</string>
<bool
name=
"proxy-Default"
>
1
</bool>
<bool
name=
"proxy-Default"
>
0
</bool>
<string
name=
"proxy-Help text"
>
""
</string>
<string
name=
"proxy-Tooltip text"
>
""
</string>
<string
name=
"proxy-Data variable"
>
""
</string>
...
...
@@ -1007,7 +1006,6 @@
<bool
name=
"proxy-wxFIXED_MINSIZE"
>
1
</bool>
<string
name=
"proxy-Custom arguments"
>
""
</string>
<string
name=
"proxy-Custom ctor arguments"
>
""
</string>
<bool
name=
"proxy-wxTE_LINEWRAP"
>
0
</bool>
</document>
</document>
</document>
...
...
internat/fr/kicad.mo
View file @
72b97ea4
No preview for this file type
internat/fr/kicad.po
View file @
72b97ea4
...
...
@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: kicad\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-08-17 18:59+0100\n"
"PO-Revision-Date: 2008-08-22 1
4:10
+0100\n"
"PO-Revision-Date: 2008-08-22 1
9:31
+0100\n"
"Last-Translator: \n"
"Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n"
"MIME-Version: 1.0\n"
...
...
@@ -8080,7 +8080,7 @@ msgstr "Imprimer cartouche"
#: eeschema/plotps.cpp:242
#: eeschema/plothpgl.cpp:283
msgid "&Plot CURRENT"
msgstr "&
Imprim
er courant"
msgstr "&
Trac
er courant"
#: eeschema/plotps.cpp:249
#: eeschema/plothpgl.cpp:287
...
...
@@ -9432,7 +9432,6 @@ msgid "PCBnew (PCB editor)"
msgstr "PCBnew (Editeur de circuits imprimés)"
#: kicad/commandframe.cpp:70
#, fuzzy
msgid "GerbView (Gerber viewer)"
msgstr "GerbView (Visualisateur Gerber)"
...
...
share/svg_print.cpp
View file @
72b97ea4
This diff is collapsed.
Click to expand it.
share/svg_print.h
View file @
72b97ea4
...
...
@@ -97,8 +97,8 @@ public:
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_PRINT_EXECUTE
void
OnPrintExecuteClick
(
wxCommandEvent
&
event
);
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_C
LOSE
void
OnC
lose
Click
(
wxCommandEvent
&
event
);
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_C
ANCEL
void
OnC
ancel
Click
(
wxCommandEvent
&
event
);
////@end WinEDA_PrintSVGFrame event handler declarations
...
...
share/svg_print.pjd
View file @
72b97ea4
This diff is collapsed.
Click to expand it.
share/wxprint.cpp
View file @
72b97ea4
...
...
@@ -172,9 +172,6 @@ void WinEDA_DrawFrame::ToPrinter( wxCommandEvent& event )
WinEDA_PrintFrame
*
frame
=
new
WinEDA_PrintFrame
(
this
);
frame
->
ShowModal
();
frame
->
Destroy
();
#ifdef EESCHEMA
g_PrintFillMask
=
0
;
#endif
}
...
...
@@ -783,10 +780,7 @@ void EDA_Printout::DrawPage()
panel
->
m_ClipBox
.
SetSize
(
wxSize
(
0x7FFFFF0
,
0x7FFFFF0
)
);
g_IsPrinting
=
TRUE
;
#ifdef EESCHEMA
if
(
s_Print_Black_and_White
)
g_PrintFillMask
=
FILLED_WITH_BG_BODYCOLOR
;
#endif
#ifdef PCBNEW
if
(
m_Print_Sheet_Ref
)
m_Parent
->
TraceWorkSheet
(
dc
,
ActiveScreen
,
0
);
...
...
@@ -832,10 +826,6 @@ void EDA_Printout::DrawPage()
panel
->
PrintPage
(
dc
,
m_Print_Sheet_Ref
,
s_PrintMaskLayer
);
#endif
#ifdef EESCHEMA
g_PrintFillMask
=
0
;
#endif
g_IsPrinting
=
FALSE
;
panel
->
m_ClipBox
=
tmp
;
...
...
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