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
ced5d7b4
Commit
ced5d7b4
authored
Dec 13, 2007
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
highlight tool HitTest()ing prefers pads over tracks
parent
d8f8e027
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
surbrill.cpp
pcbnew/surbrill.cpp
+9
-1
No files found.
pcbnew/surbrill.cpp
View file @
ced5d7b4
...
@@ -116,10 +116,18 @@ int WinEDA_PcbFrame::Select_High_Light( wxDC* DC )
...
@@ -116,10 +116,18 @@ int WinEDA_PcbFrame::Select_High_Light( wxDC* DC )
SendMessageToEESCHEMA
(
item
);
SendMessageToEESCHEMA
(
item
);
return
g_HightLigth_NetCode
;
return
g_HightLigth_NetCode
;
default
:
case
TYPETRACK
:
case
TYPEVIA
:
case
TYPEZONE
:
// since these classes are all derived from TRACK, use a common
// GetNet() function:
g_HightLigth_NetCode
=
((
TRACK
*
)
item
)
->
GetNet
();
g_HightLigth_NetCode
=
((
TRACK
*
)
item
)
->
GetNet
();
Hight_Light
(
DC
);
Hight_Light
(
DC
);
return
g_HightLigth_NetCode
;
return
g_HightLigth_NetCode
;
default
:
;
// until somebody changes GENERAL_COLLECTOR::PadsOrTracks,
// this should not happen.
}
}
}
}
...
...
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