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
40f044bd
Commit
40f044bd
authored
Nov 02, 2014
by
Marco Ciampa
Committed by
Wayne Stambaugh
Nov 02, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More renaming instances of module to footprint for consistency.
parent
0561940d
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
14 deletions
+14
-14
autorout.cpp
pcbnew/autorouter/autorout.cpp
+1
-1
move_and_route_event_functions.cpp
pcbnew/autorouter/move_and_route_event_functions.cpp
+1
-1
class_text_mod.cpp
pcbnew/class_text_mod.cpp
+1
-1
dialog_netlist.cpp
pcbnew/dialogs/dialog_netlist.cpp
+4
-4
gen_modules_placefile.cpp
pcbnew/exporters/gen_modules_placefile.cpp
+2
-2
loadcmp.cpp
pcbnew/loadcmp.cpp
+2
-2
netlist.cpp
pcbnew/netlist.cpp
+1
-1
xchgmod.cpp
pcbnew/xchgmod.cpp
+2
-2
No files found.
pcbnew/autorouter/autorout.cpp
View file @
40f044bd
...
...
@@ -95,7 +95,7 @@ void PCB_EDIT_FRAME::Autoroute( wxDC* DC, int mode )
Module
=
(
MODULE
*
)
GetScreen
()
->
GetCurItem
();
if
(
(
Module
==
NULL
)
||
(
Module
->
Type
()
!=
PCB_MODULE_T
)
)
{
wxMessageBox
(
_
(
"
Module
not selected"
)
);
wxMessageBox
(
_
(
"
Footprint
not selected"
)
);
return
;
}
break
;
...
...
pcbnew/autorouter/move_and_route_event_functions.cpp
View file @
40f044bd
...
...
@@ -136,7 +136,7 @@ void PCB_EDIT_FRAME::OnPlaceOrRouteFootprints( wxCommandEvent& event )
case
ID_POPUP_PCB_SPREAD_NEW_MODULES
:
if
(
GetBoard
()
->
m_Modules
==
NULL
)
{
DisplayError
(
this
,
_
(
"No
modules
found!"
)
);
DisplayError
(
this
,
_
(
"No
footprint
found!"
)
);
return
;
}
...
...
pcbnew/class_text_mod.cpp
View file @
40f044bd
...
...
@@ -384,7 +384,7 @@ void TEXTE_MODULE::GetMsgPanelInfo( std::vector< MSG_PANEL_ITEM >& aList )
};
Line
=
module
->
GetReference
();
aList
.
push_back
(
MSG_PANEL_ITEM
(
_
(
"
Module
"
),
Line
,
DARKCYAN
)
);
aList
.
push_back
(
MSG_PANEL_ITEM
(
_
(
"
Footprint
"
),
Line
,
DARKCYAN
)
);
Line
=
GetShownText
();
aList
.
push_back
(
MSG_PANEL_ITEM
(
_
(
"Text"
),
Line
,
BROWN
)
);
...
...
pcbnew/dialogs/dialog_netlist.cpp
View file @
40f044bd
...
...
@@ -209,7 +209,7 @@ void DIALOG_NETLIST::OnTestFootprintsClick( wxCommandEvent& event )
{
if
(
m_parent
->
GetBoard
()
->
m_Modules
==
NULL
)
{
DisplayInfoMessage
(
this
,
_
(
"No
module
s"
)
);
DisplayInfoMessage
(
this
,
_
(
"No
footprint
s"
)
);
return
;
}
...
...
@@ -268,7 +268,7 @@ void DIALOG_NETLIST::OnTestFootprintsClick( wxCommandEvent& event )
// Search for missing modules on board.
if
(
missing
.
size
()
==
0
)
list
<<
wxT
(
"<p><b>"
)
<<
_
(
"No missing
module
s."
)
<<
wxT
(
"</b></p>"
);
list
<<
wxT
(
"<p><b>"
)
<<
_
(
"No missing
footprint
s."
)
<<
wxT
(
"</b></p>"
);
else
{
list
<<
wxT
(
"<p><b>"
)
<<
_
(
"Missing:"
)
<<
wxT
(
"</b></p>"
);
...
...
@@ -287,7 +287,7 @@ void DIALOG_NETLIST::OnTestFootprintsClick( wxCommandEvent& event )
// Search for modules found on board but not in net list.
if
(
notInNetlist
.
size
()
==
0
)
list
<<
wxT
(
"<p><b>"
)
<<
_
(
"No extra
module
s."
)
<<
wxT
(
"</b></p>"
);
list
<<
wxT
(
"<p><b>"
)
<<
_
(
"No extra
footprint
s."
)
<<
wxT
(
"</b></p>"
);
else
{
list
<<
wxT
(
"<p><b>"
)
<<
_
(
"Not in Netlist:"
)
<<
wxT
(
"</b></p>"
);
...
...
@@ -319,7 +319,7 @@ void DIALOG_NETLIST::OnTestFootprintsClick( wxCommandEvent& event )
<<
wxT
(
"</b></p>"
);
}
HTML_MESSAGE_BOX
dlg
(
this
,
_
(
"Check
Module
s"
)
);
HTML_MESSAGE_BOX
dlg
(
this
,
_
(
"Check
footprint
s"
)
);
dlg
.
AddHTML_Text
(
list
);
dlg
.
ShowModal
();
}
...
...
pcbnew/exporters/gen_modules_placefile.cpp
View file @
40f044bd
...
...
@@ -554,9 +554,9 @@ void PCB_EDIT_FRAME::GenFootprintsReport( wxCommandEvent& event )
wxString
msg
;
if
(
success
)
{
msg
.
Printf
(
_
(
"
Module
report file created:
\n
'%s'"
),
msg
.
Printf
(
_
(
"
Footprint
report file created:
\n
'%s'"
),
GetChars
(
fn
.
GetFullPath
()
)
);
wxMessageBox
(
msg
,
_
(
"
Module
Report"
),
wxICON_INFORMATION
);
wxMessageBox
(
msg
,
_
(
"
Footprint
Report"
),
wxICON_INFORMATION
);
}
else
...
...
pcbnew/loadcmp.cpp
View file @
40f044bd
...
...
@@ -415,10 +415,10 @@ wxString PCB_BASE_FRAME::SelectFootprint( EDA_DRAW_FRAME* aWindow,
{
wxArrayString
headers
;
headers
.
Add
(
_
(
"
Module
"
)
);
headers
.
Add
(
_
(
"
Footprint
"
)
);
headers
.
Add
(
_
(
"Library"
)
);
msg
.
Printf
(
_
(
"
Module
s [%d items]"
),
(
int
)
rows
.
size
()
);
msg
.
Printf
(
_
(
"
Footprint
s [%d items]"
),
(
int
)
rows
.
size
()
);
EDA_LIST_DIALOG
dlg
(
aWindow
,
msg
,
headers
,
rows
,
oldName
,
DisplayCmpDoc
);
...
...
pcbnew/netlist.cpp
View file @
40f044bd
...
...
@@ -148,7 +148,7 @@ MODULE* PCB_EDIT_FRAME::ListAndSelectModuleName()
{
if
(
GetBoard
()
->
m_Modules
==
NULL
)
{
DisplayError
(
this
,
_
(
"No
Module
s"
)
);
DisplayError
(
this
,
_
(
"No
footprint
s"
)
);
return
0
;
}
...
...
pcbnew/xchgmod.cpp
View file @
40f044bd
...
...
@@ -391,7 +391,7 @@ bool DIALOG_EXCHANGE_MODULE::Change_1_Module( MODULE* aModule,
FPID
oldFootprintFPID
=
aModule
->
GetFPID
();
// Load module.
line
.
Printf
(
_
(
"Change
module
'%s' (from '%s') to '%s'"
),
line
.
Printf
(
_
(
"Change
footprint
'%s' (from '%s') to '%s'"
),
GetChars
(
aModule
->
GetReference
()
),
oldFootprintFPID
.
Format
().
c_str
(),
aNewFootprintFPID
.
Format
().
c_str
()
);
...
...
@@ -519,7 +519,7 @@ void PCB_EDIT_FRAME::RecreateCmpFileFromBoard( wxCommandEvent& aEvent )
if
(
module
==
NULL
)
{
DisplayError
(
this
,
_
(
"No
Module
s!"
)
);
DisplayError
(
this
,
_
(
"No
footprint
s!"
)
);
return
;
}
...
...
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