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
b903a803
Commit
b903a803
authored
Aug 16, 2007
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move, rotate, swap layer, and drag now also signal EESCHEMA for cursor synchronization
parent
aae82077
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
hotkeys.cpp
pcbnew/hotkeys.cpp
+14
-1
No files found.
pcbnew/hotkeys.cpp
View file @
b903a803
...
@@ -192,7 +192,19 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey,
...
@@ -192,7 +192,19 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey,
if
(
module
==
NULL
)
if
(
module
==
NULL
)
break
;
break
;
/* I'd like to make sending to EESCHEMA edge triggered, but the
simple mouse click on a module when the arrow icon is in play
does not set m_CurrentItem at this time, nor does a mouse click
when the local ratsnest icon is in play set m_CurrentItem, and these
actions also call SendMessageToEESCHEMA().
if( GetScreen()->m_CurrentItem != module )
*/
{
// Send the module via socket to EESCHEMA's search facility.
SendMessageToEESCHEMA
(
module
);
GetScreen
()
->
m_CurrentItem
=
module
;
GetScreen
()
->
m_CurrentItem
=
module
;
}
switch
(
hotkey
)
switch
(
hotkey
)
{
{
...
@@ -215,6 +227,7 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey,
...
@@ -215,6 +227,7 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey,
}
}
module
->
Display_Infos
(
this
);
module
->
Display_Infos
(
this
);
break
;
break
;
}
}
}
}
...
...
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