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
14c14860
Commit
14c14860
authored
Oct 24, 2011
by
Andrey Fedorushkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pcbnew: add send msg to Eeschema when move module
parent
e21ebb72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
edit.cpp
pcbnew/edit.cpp
+4
-2
No files found.
pcbnew/edit.cpp
View file @
14c14860
...
@@ -606,9 +606,10 @@ void PCB_EDIT_FRAME::Process_Special_Functions( wxCommandEvent& event )
...
@@ -606,9 +606,10 @@ void PCB_EDIT_FRAME::Process_Special_Functions( wxCommandEvent& event )
break
;
break
;
}
}
GetScreen
()
->
SetCrossHairPosition
(
((
MODULE
*
)
GetCurItem
())
->
m_Pos
);
SendMessageToEESCHEMA
(
module
);
GetScreen
()
->
SetCrossHairPosition
(
module
->
m_Pos
);
DrawPanel
->
MoveCursorToCrossHair
();
DrawPanel
->
MoveCursorToCrossHair
();
StartMove_Module
(
(
MODULE
*
)
GetCurItem
()
,
&
dc
);
StartMove_Module
(
module
,
&
dc
);
break
;
break
;
case
ID_POPUP_PCB_GET_AND_MOVE_MODULE_REQUEST
:
/* get module by name and move it */
case
ID_POPUP_PCB_GET_AND_MOVE_MODULE_REQUEST
:
/* get module by name and move it */
...
@@ -627,6 +628,7 @@ void PCB_EDIT_FRAME::Process_Special_Functions( wxCommandEvent& event )
...
@@ -627,6 +628,7 @@ void PCB_EDIT_FRAME::Process_Special_Functions( wxCommandEvent& event )
break
;
break
;
}
}
SendMessageToEESCHEMA
(
module
);
DrawPanel
->
MoveCursorToCrossHair
();
DrawPanel
->
MoveCursorToCrossHair
();
StartMove_Module
(
module
,
&
dc
);
StartMove_Module
(
module
,
&
dc
);
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