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
35b0a8a0
Commit
35b0a8a0
authored
Dec 21, 2008
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
soved a bug in my last commit: incorrect number of layers shown in the dialog box
parent
9c2b4c8c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
70 deletions
+2
-70
TODO.txt
TODO.txt
+0
-67
dialog_general_options.cpp
pcbnew/dialog_general_options.cpp
+1
-2
initpcb.cpp
pcbnew/initpcb.cpp
+1
-1
No files found.
TODO.txt
deleted
100644 → 0
View file @
9c2b4c8c
Here are some source code maintenance tasks that need to be done, and maybe some
folks will see these items and volunteer to do them.
*** @todo: grep for @todo and finish off those tasks, scattered throughout the source.
*** use BOARD_ITEM::MenuIcon() in the onrightclick.cpp
*** Use DOXYGEN compatible comments on member functions. As configured,
Doxygen gives priority to comments in header files over *.cpp files.
Review the generated docs and start to go through the source and make the
generated doxygen docs readable and clear using the JavaDoc style comments,
mostly in the header files. The error and warning output of the doxygen
compiler can help with this too.
*** Translate comments that are in French to English so there can be a broader
understanding by new developers.
*** Add tooltip text to all non-obvious controls in every dialog window.
Need to do this using DialogBlocks.
2008-Dec-6 Assigned To:
asked by: Dick Hollenbeck
================================================================================
1) Gerbview needs to work at least as well as gerv, that means adding named layers,
and a list control to sort the layer stack on the fly. There seems to be a polygon bug
of some kind, don't know how long that's been in there. (Dick)
2) Add net class support to PCBNEW, so the round tripping to freerouter
is a dream (Dick)
3) Document the specctra round tripper, and fix up the english translation
of help. (Dick, native english speaker)
4) Expose layer name editing in pcbnew (anyone), should dove tail with net
class editor from a UI perspective.
2008-Feb-8 Assigned To: dick
asked by: dick
================================================================================
specctra:
Add net class support to pcbnew so that the export to specctra becomes richer.
A netclass should hold a list of nets, track width, track spacing,
via drill size and via copper diameter.
2007-Nov-4 Assigned To: nobody
asked by: jp Charras
================================================================================
Use the collector classes in eeschema.
2008-Apr-29 Assigned To:
asked by: Dick Hollenbeck
================================================================================
+pcbnew
When picking new board from the menu, when an existing board is already
in memory, the number of layers in the new board is not set to the default
but rather to the number of layers in the previously loaded board, and with
the default layer names, rather than the layer names of the previously
loaded board. I think the number of layers should be reduced to the
default and the default layer names should be used.
pcbnew/dialog_general_options.cpp
View file @
35b0a8a0
...
@@ -46,13 +46,12 @@ void Dialog_GeneralOptions::OnInitDialog( wxInitDialogEvent& event )
...
@@ -46,13 +46,12 @@ void Dialog_GeneralOptions::OnInitDialog( wxInitDialogEvent& event )
m_LayerNumber
->
SetSelection
(
1
);
m_LayerNumber
->
SetSelection
(
1
);
for
(
unsigned
ii
=
0
;
ii
<
sizeof
(
layer_count
);
ii
++
)
for
(
unsigned
ii
=
0
;
ii
<
sizeof
(
layer_count
);
ii
++
)
{
{
if
(
g_DesignSettings
.
m_CopperLayerCount
=
=
layer_count
[
ii
]
)
if
(
g_DesignSettings
.
m_CopperLayerCount
!
=
layer_count
[
ii
]
)
continue
;
continue
;
m_LayerNumber
->
SetSelection
(
ii
);
m_LayerNumber
->
SetSelection
(
ii
);
break
;
break
;
}
}
m_LayerNumber
->
SetSelection
(
g_DesignSettings
.
m_CopperLayerCount
);
m_MaxShowLinks
->
SetValue
(
g_MaxLinksShowed
);
m_MaxShowLinks
->
SetValue
(
g_MaxLinksShowed
);
m_DrcOn
->
SetValue
(
Drc_On
);
m_DrcOn
->
SetValue
(
Drc_On
);
...
...
pcbnew/initpcb.cpp
View file @
35b0a8a0
...
@@ -161,9 +161,9 @@ bool WinEDA_BasePcbFrame::Clear_Pcb( bool query )
...
@@ -161,9 +161,9 @@ bool WinEDA_BasePcbFrame::Clear_Pcb( bool query )
g_DesignSettings
.
m_TrackWidthHistory
[
0
]
=
g_DesignSettings
.
m_CurrentTrackWidth
;
g_DesignSettings
.
m_TrackWidthHistory
[
0
]
=
g_DesignSettings
.
m_CurrentTrackWidth
;
g_DesignSettings
.
m_ViaSizeHistory
[
0
]
=
g_DesignSettings
.
m_CurrentViaSize
;
g_DesignSettings
.
m_ViaSizeHistory
[
0
]
=
g_DesignSettings
.
m_CurrentViaSize
;
g_DesignSettings
.
m_CopperLayerCount
=
2
;
// Default copper layers count set to 2: double layer board
Zoom_Automatique
(
TRUE
);
Zoom_Automatique
(
TRUE
);
DrawPanel
->
Refresh
(
TRUE
);
return
TRUE
;
return
TRUE
;
}
}
...
...
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