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
3e3ae892
Commit
3e3ae892
authored
Sep 22, 2007
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
see 2007-Sep-22 change_log.txt
parent
e7dc53d6
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
4 deletions
+26
-4
change_log.txt
change_log.txt
+8
-0
collectors.cpp
pcbnew/collectors.cpp
+10
-1
hotkeys.cpp
pcbnew/hotkeys.cpp
+6
-3
surbrill.cpp
pcbnew/surbrill.cpp
+2
-0
No files found.
change_log.txt
View file @
3e3ae892
...
...
@@ -4,6 +4,14 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with
email address.
2007-Sep-22 UPDATE Dick Hollenbeck <dick@softplc.com>
================================================================================
+ pcbnew
GENERAL_COLLECTOR::Collect() was skipping thru hole pads even though they
were visible.
Highlight tool now sends message to eeschema when a pad is selected.
2007-Sep-20 UPDATE Dick Hollenbeck <dick@softplc.com>
================================================================================
+ eeschema
...
...
pcbnew/collectors.cpp
View file @
3e3ae892
...
...
@@ -152,6 +152,14 @@ SEARCH_RESULT GENERAL_COLLECTOR::Inspect( EDA_BaseStruct* testItem, const void*
switch
(
item
->
Type
()
)
{
case
TYPEPAD
:
// if pad is a thru hole, then it can be visible when its parent module is not.
if
(
((
D_PAD
*
)
item
)
->
m_Attribut
!=
SMD
)
// a hole is present, so multiple layers
{
// there are no pad specific visibility controls at this time.
// proceed to the common tests below, but without the parent module test,
// by leaving module==NULL
}
else
// smd, so use common test below
module
=
(
MODULE
*
)
item
->
GetParent
();
break
;
...
...
@@ -198,6 +206,7 @@ SEARCH_RESULT GENERAL_COLLECTOR::Inspect( EDA_BaseStruct* testItem, const void*
{
if
(
m_Guide
->
IgnoreModulesOnCu
()
&&
module
->
GetLayer
()
==
LAYER_CUIVRE_N
)
goto
exit
;
if
(
m_Guide
->
IgnoreModulesOnCmp
()
&&
module
->
GetLayer
()
==
LAYER_CMP_N
)
goto
exit
;
}
...
...
pcbnew/hotkeys.cpp
View file @
3e3ae892
...
...
@@ -181,6 +181,7 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey,
// Remap the control key Ctrl A (0x01) to GR_KB_CTRL + 'A' (just easier to handle...)
if
(
(
hotkey
&
GR_KB_CTRL
)
!=
0
)
hotkey
+=
'A'
-
1
;
/* Convert lower to upper case (the usual toupper function has problem with non ascii codes like function keys */
if
(
(
hotkey
>=
'a'
)
&&
(
hotkey
<=
'z'
)
)
hotkey
+=
'A'
-
'a'
;
...
...
@@ -325,8 +326,9 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey,
break
;
case
HK_END_TRACK
:
if
(
!
ItemFree
&&
(
GetCurItem
()
->
Type
()
==
TYPETRACK
)
&&
((
GetCurItem
()
->
m_Flags
&
IS_NEW
)
!=
0
)
)
{
// A new track is in progress: call to End_Route()
if
(
!
ItemFree
&&
(
GetCurItem
()
->
Type
()
==
TYPETRACK
)
&&
((
GetCurItem
()
->
m_Flags
&
IS_NEW
)
!=
0
)
)
{
// A new track is in progress: call to End_Route()
DrawPanel
->
MouseToCursorSchema
();
End_Route
(
(
TRACK
*
)
(
GetCurItem
()
),
DC
);
}
...
...
@@ -417,9 +419,10 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey,
|
MATCH_LAYER
#endif
);
if
(
module
==
NULL
)
// no footprint found
{
module
=
Locate_Prefered_Module
(
m_Pcb
,
CURSEUR_OFF_GRILLE
);
module
=
Locate_Prefered_Module
(
m_Pcb
,
CURSEUR_OFF_GRILLE
|
VISIBLE_ONLY
);
if
(
module
)
{
// a footprint is found, but locked or on an other layer
...
...
pcbnew/surbrill.cpp
View file @
3e3ae892
...
...
@@ -95,6 +95,7 @@ int WinEDA_PcbFrame::Select_High_Light( wxDC* DC )
if
(
g_HightLigt_Status
)
Hight_Light
(
DC
);
pt_piste
=
Locate_Pistes
(
m_Pcb
->
m_Track
,
masquelayer
,
CURSEUR_OFF_GRILLE
);
if
(
pt_piste
)
{
...
...
@@ -108,6 +109,7 @@ int WinEDA_PcbFrame::Select_High_Light( wxDC* DC )
{
code
=
g_HightLigth_NetCode
=
pt_pad
->
m_NetCode
;
Hight_Light
(
DC
);
SendMessageToEESCHEMA
(
pt_pad
);
}
}
...
...
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