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
6d0a8f2c
Commit
6d0a8f2c
authored
Nov 20, 2007
by
CHARRAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
last update for the kicad release candidate
parent
7b007f6d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
14 deletions
+15
-14
build_version.h
include/build_version.h
+1
-1
ratsnest.cpp
pcbnew/ratsnest.cpp
+1
-1
sel_layer.cpp
pcbnew/sel_layer.cpp
+1
-1
swap_layers.cpp
pcbnew/swap_layers.cpp
+10
-9
version.txt
version.txt
+2
-2
No files found.
include/build_version.h
View file @
6d0a8f2c
...
...
@@ -5,7 +5,7 @@
COMMON_GLOBL
wxString
g_BuildVersion
#ifdef EDA_BASE
(
wxT
(
"(2007-11-1
4
)"
))
(
wxT
(
"(2007-11-1
9
)"
))
#endif
;
...
...
pcbnew/ratsnest.cpp
View file @
6d0a8f2c
...
...
@@ -114,7 +114,7 @@ void WinEDA_BasePcbFrame::Compile_Ratsnest( wxDC* DC, bool display_status_pcb )
m_Pcb
->
m_Status_Pcb
=
0
;
/* we want a full ratnest computation, from the scratch */
build_liste_pads
();
MsgPanel
->
EraseMsgBox
(
DC
);
MsgPanel
->
EraseMsgBox
();
msg
.
Printf
(
wxT
(
" %d"
),
m_Pcb
->
m_NbPads
);
Affiche_1_Parametre
(
this
,
1
,
wxT
(
"pads"
),
msg
,
RED
);
...
...
pcbnew/sel_layer.cpp
View file @
6d0a8f2c
...
...
@@ -58,7 +58,7 @@ int WinEDA_BasePcbFrame::SelectLayer( int default_layer, int min_layer, int max_
bool
null_layer
)
/****************************************************************************************/
/* Install the dialog box for layer selection
/*
*
Install the dialog box for layer selection
* @param default_layer = Preselection (NB_LAYERS for "(Deselect)" layer)
* @param min_layer = min layer value (-1 if no min value)
* @param max_layer = max layer value (-1 if no max value)
...
...
pcbnew/swap_layers.cpp
View file @
6d0a8f2c
...
...
@@ -7,12 +7,13 @@
#include "fctsys.h"
#include "common.h"
#include "pcbnew.h"
#include "protos.h"
#include "wx/statline.h"
/* Variables locales */
#define LAYER_NO_CHANGE NB_LAYERS
static
int
New_Layer
[
NB_LAYERS
];
wxStaticText
*
layer_list
[
NB_LAYERS
];
...
...
@@ -249,7 +250,7 @@ void WinEDA_SwapLayerFrame::Sel_Layer( wxCommandEvent& event )
jj
=
New_Layer
[
ii
];
if
(
(
jj
<
0
)
||
(
jj
>
NB_LAYERS
)
)
jj
=
NB_LAYERS
;
// (Defaults to "No Change".)
jj
=
LAYER_NO_CHANGE
;
// (Defaults to "No Change".)
jj
=
m_Parent
->
SelectLayer
(
jj
,
-
1
,
-
1
,
true
);
if
(
(
jj
<
0
)
||
(
jj
>
NB_LAYERS
)
)
...
...
@@ -270,7 +271,7 @@ void WinEDA_SwapLayerFrame::Sel_Layer( wxCommandEvent& event )
if
(
jj
!=
New_Layer
[
ii
]
)
{
New_Layer
[
ii
]
=
jj
;
if
(
jj
==
NB_LAYERS
)
if
(
jj
>=
LAYER_NO_CHANGE
)
{
layer_list
[
ii
]
->
SetLabel
(
_
(
"No Change"
)
);
// Change the text color to blue (to highlight
...
...
@@ -317,7 +318,7 @@ void WinEDA_PcbFrame::Swap_Layers( wxCommandEvent& event )
/* Init default values */
for
(
ii
=
0
;
ii
<
NB_LAYERS
;
ii
++
)
New_Layer
[
ii
]
=
NB_LAYERS
;
New_Layer
[
ii
]
=
LAYER_NO_CHANGE
;
WinEDA_SwapLayerFrame
*
frame
=
new
WinEDA_SwapLayerFrame
(
this
);
...
...
@@ -339,16 +340,16 @@ void WinEDA_PcbFrame::Swap_Layers( wxCommandEvent& event )
continue
;
int
top_layer
,
bottom_layer
;
Via
->
ReturnLayerPair
(
&
top_layer
,
&
bottom_layer
);
if
(
New_Layer
[
bottom_layer
]
>=
0
)
if
(
New_Layer
[
bottom_layer
]
>=
0
&&
New_Layer
[
bottom_layer
]
<
LAYER_NO_CHANGE
)
bottom_layer
=
New_Layer
[
bottom_layer
];
if
(
New_Layer
[
top_layer
]
>=
0
)
if
(
New_Layer
[
top_layer
]
>=
0
&&
New_Layer
[
top_layer
]
<
LAYER_NO_CHANGE
)
top_layer
=
New_Layer
[
top_layer
];
Via
->
SetLayerPair
(
top_layer
,
bottom_layer
);
}
else
{
jj
=
pt_segm
->
GetLayer
();
if
(
New_Layer
[
jj
]
>=
0
)
if
(
New_Layer
[
jj
]
>=
0
&&
New_Layer
[
jj
]
<
LAYER_NO_CHANGE
)
pt_segm
->
SetLayer
(
New_Layer
[
jj
]
);
}
}
...
...
@@ -359,7 +360,7 @@ void WinEDA_PcbFrame::Swap_Layers( wxCommandEvent& event )
{
m_CurrentScreen
->
SetModify
();
jj
=
pt_segm
->
GetLayer
();
if
(
New_Layer
[
jj
]
>=
0
)
if
(
New_Layer
[
jj
]
>=
0
&&
New_Layer
[
jj
]
<
LAYER_NO_CHANGE
)
pt_segm
->
SetLayer
(
New_Layer
[
jj
]
);
}
...
...
@@ -372,7 +373,7 @@ void WinEDA_PcbFrame::Swap_Layers( wxCommandEvent& event )
m_CurrentScreen
->
SetModify
();
pt_drawsegm
=
(
DRAWSEGMENT
*
)
PtStruct
;
jj
=
pt_drawsegm
->
GetLayer
();
if
(
New_Layer
[
jj
]
>=
0
)
if
(
New_Layer
[
jj
]
>=
0
&&
New_Layer
[
jj
]
<
LAYER_NO_CHANGE
)
pt_drawsegm
->
SetLayer
(
New_Layer
[
jj
]
);
}
}
...
...
version.txt
View file @
6d0a8f2c
release version:
0
9 nov 2007
1
9 nov 2007
files (.zip,.tgz):
kicad-2007-11-1
4
kicad-2007-11-1
9
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