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
8593838f
Commit
8593838f
authored
Feb 26, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed: cursor is not positioned properly in find function (pcbnew)
parent
663959f4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
drawpanel.cpp
common/drawpanel.cpp
+2
-2
basepcbframe.cpp
pcbnew/basepcbframe.cpp
+0
-1
No files found.
common/drawpanel.cpp
View file @
8593838f
...
@@ -361,7 +361,7 @@ void WinEDA_DrawPanel::MouseTo( const wxPoint& Mouse )
...
@@ -361,7 +361,7 @@ void WinEDA_DrawPanel::MouseTo( const wxPoint& Mouse )
/****************************************************/
/****************************************************/
/** Move the mouse cursor to the position "Mouse"
/** Move the mouse cursor to the position "Mouse"
* @param Mouse =
new mouse cursor position
* @param Mouse =
mouse cursor position, in pixels units
*/
*/
{
{
int
x
,
y
,
xPpu
,
yPpu
;
int
x
,
y
,
xPpu
,
yPpu
;
...
...
pcbnew/basepcbframe.cpp
View file @
8593838f
...
@@ -129,7 +129,6 @@ void WinEDA_BasePcbFrame::CursorGoto( const wxPoint& aPos )
...
@@ -129,7 +129,6 @@ void WinEDA_BasePcbFrame::CursorGoto( const wxPoint& aPos )
// Put cursor on item position
// Put cursor on item position
DrawPanel
->
CursorOff
(
&
dc
);
DrawPanel
->
CursorOff
(
&
dc
);
screen
->
m_Curseur
=
aPos
;
screen
->
m_Curseur
=
aPos
;
DrawPanel
->
MouseTo
(
screen
->
m_Curseur
);
DrawPanel
->
MouseToCursorSchema
();
DrawPanel
->
MouseToCursorSchema
();
DrawPanel
->
CursorOn
(
&
dc
);
DrawPanel
->
CursorOn
(
&
dc
);
}
}
...
...
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