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
69b3bfd4
Commit
69b3bfd4
authored
Oct 06, 2010
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added forgotten lines from patch "EEschema selection.patch"
parent
2d94881d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
gr_basic.cpp
common/gr_basic.cpp
+3
-3
gr_basic.h
include/gr_basic.h
+2
-0
No files found.
common/gr_basic.cpp
View file @
69b3bfd4
...
...
@@ -733,7 +733,7 @@ void GRSDashedLine( EDA_Rect* ClipBox,
GRLastMoveToX
=
x2
;
GRLastMoveToY
=
y2
;
s_DC_lastcolor
=
-
1
;
GRSetColorPen
(
DC
,
Color
,
width
,
wxSHORT_DASH
);
GRSetColorPen
(
DC
,
Color
,
width
,
wx
PENSTYLE_
SHORT_DASH
);
GRSLine
(
ClipBox
,
DC
,
x1
,
y1
,
x2
,
y2
,
width
,
Color
);
s_DC_lastcolor
=
-
1
;
GRSetColorPen
(
DC
,
Color
,
width
);
...
...
@@ -748,7 +748,7 @@ void GRSDashedLineTo( EDA_Rect* ClipBox,
int
Color
)
{
s_DC_lastcolor
=
-
1
;
GRSetColorPen
(
DC
,
Color
,
width
,
wxSHORT_DASH
);
GRSetColorPen
(
DC
,
Color
,
width
,
wx
PENSTYLE_
SHORT_DASH
);
GRSLine
(
ClipBox
,
DC
,
GRLastMoveToX
,
GRLastMoveToY
,
x2
,
y2
,
width
,
Color
);
s_DC_lastcolor
=
-
1
;
GRSetColorPen
(
DC
,
Color
,
width
);
...
...
@@ -846,7 +846,7 @@ void GRSMixedLine( EDA_Rect* ClipBox,
int
width
,
int
Color
)
{
GRSetColorPen
(
DC
,
Color
,
width
,
wxDOT_DASH
);
GRSetColorPen
(
DC
,
Color
,
width
,
wx
PENSTYLE_
DOT_DASH
);
GRSLine
(
ClipBox
,
DC
,
x1
,
y1
,
x2
,
y2
,
width
,
Color
);
GRSetColorPen
(
DC
,
Color
,
width
);
}
...
...
include/gr_basic.h
View file @
69b3bfd4
...
...
@@ -27,6 +27,8 @@ class EDA_Rect;
//wxWidgets 2.8 compatibility
#if !wxCHECK_VERSION(2,9,0)
#define wxPENSTYLE_SOLID wxSOLID
#define wxPENSTYLE_SHORT_DASH wxSHORT_DASH
#define wxPENSTYLE_DOT_DASH wxDOT_DASH
typedef
int
wxPenStyle
;
#endif
...
...
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