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
b34df533
Commit
b34df533
authored
Oct 03, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more about Netclasses work
parent
24ce9409
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
163 additions
and
145 deletions
+163
-145
kicad.mo
internat/fr/kicad.mo
+0
-0
kicad.po
internat/fr/kicad.po
+90
-86
event_handlers_tracks_vias_sizes.cpp
pcbnew/event_handlers_tracks_vias_sizes.cpp
+1
-0
onrightclick.cpp
pcbnew/onrightclick.cpp
+5
-3
toolbars_update_user_interface.cpp
pcbnew/toolbars_update_user_interface.cpp
+67
-56
No files found.
internat/fr/kicad.mo
View file @
b34df533
No preview for this file type
internat/fr/kicad.po
View file @
b34df533
This diff is collapsed.
Click to expand it.
pcbnew/event_handlers_tracks_vias_sizes.cpp
View file @
b34df533
...
...
@@ -39,6 +39,7 @@ void WinEDA_PcbFrame::Tracks_and_Vias_Size_Event( wxCommandEvent& event )
break
;
case
ID_POPUP_PCB_SELECT_USE_NETCLASS_VALUES
:
g_DesignSettings
.
m_UseConnectedTrackWidth
=
false
;
GetBoard
()
->
m_TrackWidthSelector
=
0
;
g_DesignSettings
.
m_CurrentTrackWidth
=
GetBoard
()
->
m_TrackWidthHistory
[
0
];
GetBoard
()
->
m_ViaSizeSelector
=
0
;
...
...
pcbnew/onrightclick.cpp
View file @
b34df533
...
...
@@ -853,7 +853,9 @@ static wxMenu* Append_Track_Width_List( BOARD * aBoard )
if
(
g_DesignSettings
.
m_UseConnectedTrackWidth
)
trackwidth_menu
->
Check
(
ID_POPUP_PCB_SELECT_AUTO_WIDTH
,
true
);
if
(
aBoard
->
m_ViaSizeSelector
!=
0
||
aBoard
->
m_TrackWidthSelector
!=
0
)
if
(
aBoard
->
m_ViaSizeSelector
!=
0
||
aBoard
->
m_TrackWidthSelector
!=
0
||
g_DesignSettings
.
m_UseConnectedTrackWidth
)
trackwidth_menu
->
Append
(
ID_POPUP_PCB_SELECT_USE_NETCLASS_VALUES
,
_
(
"Use Netclass Values"
),
_
(
"Use track and via sizes from their Netclass values"
),
...
...
@@ -870,7 +872,7 @@ static wxMenu* Append_Track_Width_List( BOARD * aBoard )
msg
.
Printf
(
_
(
"Track %.3f"
),
value
);
if
(
ii
==
0
)
msg
<<
_
(
" (
Use
NetClass)"
);
msg
<<
_
(
" (
from
NetClass)"
);
trackwidth_menu
->
Append
(
ID_POPUP_PCB_SELECT_WIDTH1
+
ii
,
msg
,
wxEmptyString
,
true
);
...
...
@@ -894,7 +896,7 @@ static wxMenu* Append_Track_Width_List( BOARD * aBoard )
else
msg
.
Printf
(
_
(
"Via %.3f"
),
value
);
if
(
ii
==
0
)
msg
<<
_
(
" (
Use
NetClass)"
);
msg
<<
_
(
" (
from
NetClass)"
);
trackwidth_menu
->
Append
(
ID_POPUP_PCB_SELECT_VIASIZE1
+
ii
,
msg
,
wxEmptyString
,
true
);
}
if
(
aBoard
->
m_ViaSizeSelector
<
(
int
)
aBoard
->
m_ViaSizeHistory
.
size
()
)
...
...
pcbnew/toolbars_update_user_interface.cpp
View file @
b34df533
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