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
5d3feec3
Commit
5d3feec3
authored
Feb 23, 2008
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
say found item
parent
811b8936
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
cross-probing.cpp
pcbnew/cross-probing.cpp
+7
-0
No files found.
pcbnew/cross-probing.cpp
View file @
5d3feec3
...
@@ -64,6 +64,7 @@ void RemoteCommand( const char* cmdline )
...
@@ -64,6 +64,7 @@ void RemoteCommand( const char* cmdline )
frame
->
DrawPanel
->
CursorOff
(
&
dc
);
frame
->
DrawPanel
->
CursorOff
(
&
dc
);
frame
->
GetScreen
()
->
m_Curseur
=
module
->
GetPosition
();
frame
->
GetScreen
()
->
m_Curseur
=
module
->
GetPosition
();
frame
->
DrawPanel
->
CursorOn
(
&
dc
);
frame
->
DrawPanel
->
CursorOn
(
&
dc
);
frame
->
SetCurItem
(
module
);
}
}
}
}
...
@@ -108,9 +109,15 @@ void RemoteCommand( const char* cmdline )
...
@@ -108,9 +109,15 @@ void RemoteCommand( const char* cmdline )
if
(
module
==
NULL
)
if
(
module
==
NULL
)
msg
.
Printf
(
_
(
"%s not found"
),
modName
.
GetData
()
);
msg
.
Printf
(
_
(
"%s not found"
),
modName
.
GetData
()
);
else
if
(
pad
==
NULL
)
else
if
(
pad
==
NULL
)
{
msg
.
Printf
(
_
(
"%s pin %s not found"
),
modName
.
GetData
(),
pinName
.
GetData
()
);
msg
.
Printf
(
_
(
"%s pin %s not found"
),
modName
.
GetData
(),
pinName
.
GetData
()
);
frame
->
SetCurItem
(
module
);
}
else
else
{
msg
.
Printf
(
_
(
"%s pin %s found"
),
modName
.
GetData
(),
pinName
.
GetData
()
);
msg
.
Printf
(
_
(
"%s pin %s found"
),
modName
.
GetData
(),
pinName
.
GetData
()
);
frame
->
SetCurItem
(
pad
);
}
frame
->
Affiche_Message
(
msg
);
frame
->
Affiche_Message
(
msg
);
}
}
...
...
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