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
5cec2748
Commit
5cec2748
authored
May 14, 2010
by
Andrey Fedorushkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix minor bug russian GOST
parent
5da8e287
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
common_plot_functions.cpp
common/common_plot_functions.cpp
+4
-2
worksheet.cpp
common/worksheet.cpp
+5
-3
No files found.
common/common_plot_functions.cpp
View file @
5cec2748
...
@@ -284,7 +284,8 @@ void WinEDA_DrawFrame::PlotWorkSheet( PLOTTER* plotter, BASE_SCREEN* screen )
...
@@ -284,7 +284,8 @@ void WinEDA_DrawFrame::PlotWorkSheet( PLOTTER* plotter, BASE_SCREEN* screen )
case
WS_IDENTSHEET
:
case
WS_IDENTSHEET
:
if
(
WsItem
->
m_Legende
)
if
(
WsItem
->
m_Legende
)
msg
=
WsItem
->
m_Legende
;
msg
=
WsItem
->
m_Legende
;
msg
<<
screen
->
m_ScreenNumber
;
if
(
screen
->
m_NumberOfScreen
>
1
)
msg
<<
screen
->
m_ScreenNumber
;
plotter
->
text
(
pos
,
color
,
plotter
->
text
(
pos
,
color
,
msg
,
TEXT_ORIENT_HORIZ
,
text_size
,
msg
,
TEXT_ORIENT_HORIZ
,
text_size
,
GR_TEXT_HJUSTIFY_LEFT
,
GR_TEXT_VJUSTIFY_CENTER
,
GR_TEXT_HJUSTIFY_LEFT
,
GR_TEXT_VJUSTIFY_CENTER
,
...
@@ -294,7 +295,8 @@ void WinEDA_DrawFrame::PlotWorkSheet( PLOTTER* plotter, BASE_SCREEN* screen )
...
@@ -294,7 +295,8 @@ void WinEDA_DrawFrame::PlotWorkSheet( PLOTTER* plotter, BASE_SCREEN* screen )
case
WS_SHEETS
:
case
WS_SHEETS
:
if
(
WsItem
->
m_Legende
)
if
(
WsItem
->
m_Legende
)
msg
=
WsItem
->
m_Legende
;
msg
=
WsItem
->
m_Legende
;
msg
<<
screen
->
m_NumberOfScreen
;
if
(
screen
->
m_NumberOfScreen
>
1
)
msg
<<
screen
->
m_NumberOfScreen
;
plotter
->
text
(
pos
,
color
,
plotter
->
text
(
pos
,
color
,
msg
,
TEXT_ORIENT_HORIZ
,
text_size
,
msg
,
TEXT_ORIENT_HORIZ
,
text_size
,
GR_TEXT_HJUSTIFY_LEFT
,
GR_TEXT_VJUSTIFY_CENTER
,
GR_TEXT_HJUSTIFY_LEFT
,
GR_TEXT_VJUSTIFY_CENTER
,
...
...
common/worksheet.cpp
View file @
5cec2748
...
@@ -549,7 +549,7 @@ Ki_WorkSheetData WS_Art =
...
@@ -549,7 +549,7 @@ Ki_WorkSheetData WS_Art =
&
WS_Mass
,
&
WS_Mass
,
STAMP_X_50
-
30
,
STAMP_Y_35
+
90
,
STAMP_X_50
-
30
,
STAMP_Y_35
+
90
,
0
,
0
,
0
,
0
,
wxT
(
"
Ар
т."
),
NULL
wxT
(
"
Ли
т."
),
NULL
};
};
Ki_WorkSheetData
WS_Mass
=
Ki_WorkSheetData
WS_Mass
=
...
@@ -1147,7 +1147,8 @@ void WinEDA_DrawFrame::TraceWorkSheet( wxDC* DC, BASE_SCREEN* screen,
...
@@ -1147,7 +1147,8 @@ void WinEDA_DrawFrame::TraceWorkSheet( wxDC* DC, BASE_SCREEN* screen,
case
WS_IDENTSHEET
:
case
WS_IDENTSHEET
:
if
(
WsItem
->
m_Legende
)
if
(
WsItem
->
m_Legende
)
msg
=
WsItem
->
m_Legende
;
msg
=
WsItem
->
m_Legende
;
msg
<<
screen
->
m_ScreenNumber
;
if
(
screen
->
m_NumberOfScreen
>
1
)
msg
<<
screen
->
m_ScreenNumber
;
DrawGraphicText
(
DrawPanel
,
DC
,
pos
,
Color
,
msg
,
DrawGraphicText
(
DrawPanel
,
DC
,
pos
,
Color
,
msg
,
TEXT_ORIENT_HORIZ
,
size
,
GR_TEXT_HJUSTIFY_LEFT
,
TEXT_ORIENT_HORIZ
,
size
,
GR_TEXT_HJUSTIFY_LEFT
,
GR_TEXT_VJUSTIFY_CENTER
,
width
,
false
,
false
,
GR_TEXT_VJUSTIFY_CENTER
,
width
,
false
,
false
,
...
@@ -1157,7 +1158,8 @@ void WinEDA_DrawFrame::TraceWorkSheet( wxDC* DC, BASE_SCREEN* screen,
...
@@ -1157,7 +1158,8 @@ void WinEDA_DrawFrame::TraceWorkSheet( wxDC* DC, BASE_SCREEN* screen,
case
WS_SHEETS
:
case
WS_SHEETS
:
if
(
WsItem
->
m_Legende
)
if
(
WsItem
->
m_Legende
)
msg
=
WsItem
->
m_Legende
;
msg
=
WsItem
->
m_Legende
;
msg
<<
screen
->
m_NumberOfScreen
;
if
(
screen
->
m_NumberOfScreen
>
1
)
msg
<<
screen
->
m_NumberOfScreen
;
DrawGraphicText
(
DrawPanel
,
DC
,
pos
,
Color
,
msg
,
DrawGraphicText
(
DrawPanel
,
DC
,
pos
,
Color
,
msg
,
TEXT_ORIENT_HORIZ
,
size
,
GR_TEXT_HJUSTIFY_LEFT
,
TEXT_ORIENT_HORIZ
,
size
,
GR_TEXT_HJUSTIFY_LEFT
,
GR_TEXT_VJUSTIFY_CENTER
,
width
,
false
,
false
,
GR_TEXT_VJUSTIFY_CENTER
,
width
,
false
,
false
,
...
...
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