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
f3cd8f57
Commit
f3cd8f57
authored
Aug 04, 2007
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed a bug in "ratsnest on module or pad", and beautification
parent
8bb93b8d
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
586 additions
and
511 deletions
+586
-511
controle.cpp
pcbnew/controle.cpp
+6
-3
edit.cpp
pcbnew/edit.cpp
+2
-1
editrack-part2.cpp
pcbnew/editrack-part2.cpp
+365
-326
locate.cpp
pcbnew/locate.cpp
+78
-53
pcbnew.h
pcbnew/pcbnew.h
+135
-128
No files found.
pcbnew/controle.cpp
View file @
f3cd8f57
...
...
@@ -138,7 +138,8 @@ void WinEDA_BasePcbFrame::GeneralControle( wxDC* DC, wxPoint Mouse )
// Save the board after the time out :
int
CurrentTime
=
time
(
NULL
);
if
(
!
GetScreen
()
->
IsModify
()
||
GetScreen
()
->
IsSave
()
)
{
/* If no change, reset the time out */
{
/* If no change, reset the time out */
g_SaveTime
=
CurrentTime
;
}
...
...
@@ -147,7 +148,9 @@ void WinEDA_BasePcbFrame::GeneralControle( wxDC* DC, wxPoint Mouse )
wxString
tmpFileName
=
GetScreen
()
->
m_FileName
;
wxString
filename
=
g_SaveFileName
+
PcbExtBuffer
;
bool
flgmodify
=
GetScreen
()
->
IsModify
();
(
(
WinEDA_PcbFrame
*
)
this
)
->
SavePcbFile
(
filename
);
if
(
flgmodify
)
// Set the flags m_Modify cleared by SavePcbFile()
{
GetScreen
()
->
SetModify
();
...
...
@@ -326,8 +329,8 @@ void WinEDA_BasePcbFrame::GeneralControle( wxDC* DC, wxPoint Mouse )
GetScreen
()
->
m_Curseur
=
curpos
;
/* Put cursor on grid or a pad centre if requested
*
But if the tool DELETE is active the cursor is left off grid
*
this is better to reach items to delete off grid
* But if the tool DELETE is active the cursor is left off grid
* this is better to reach items to delete off grid
*/
D_PAD
*
pad
;
bool
keep_on_grid
=
TRUE
;
...
...
pcbnew/edit.cpp
View file @
f3cd8f57
...
...
@@ -126,7 +126,8 @@ void WinEDA_PcbFrame::OnLeftClick( wxDC* DC, const wxPoint& MousePos )
case
ID_PCB_SHOW_1_RATSNEST_BUTT
:
DrawStruct
=
PcbGeneralLocateAndDisplay
();
Show_1_Ratsnest
(
DrawStruct
,
DC
);
if
(
DrawStruct
)
Show_1_Ratsnest
(
DrawStruct
,
DC
);
break
;
case
ID_PCB_MIRE_BUTT
:
...
...
pcbnew/editrack-part2.cpp
View file @
f3cd8f57
This diff is collapsed.
Click to expand it.
pcbnew/locate.cpp
View file @
f3cd8f57
This diff is collapsed.
Click to expand it.
pcbnew/pcbnew.h
View file @
f3cd8f57
This diff is collapsed.
Click to expand it.
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