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
537d4861
Commit
537d4861
authored
Nov 15, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed tagged translation
parent
506a73c3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
13 deletions
+20
-13
about_kicad.cpp
common/about_kicad.cpp
+1
-1
autoplac.cpp
pcbnew/autoplac.cpp
+7
-6
board.cpp
pcbnew/board.cpp
+4
-2
edgemod.cpp
pcbnew/edgemod.cpp
+4
-2
editedge.cpp
pcbnew/editedge.cpp
+4
-2
No files found.
common/about_kicad.cpp
View file @
537d4861
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
#include "appl_wxstruct.h"
#include "appl_wxstruct.h"
#define BUILD_VERSION "(2009
1027
-unstable)"
#define BUILD_VERSION "(2009
-11-15
-unstable)"
#ifdef HAVE_SVN_VERSION
#ifdef HAVE_SVN_VERSION
...
...
pcbnew/autoplac.cpp
View file @
537d4861
...
@@ -902,12 +902,13 @@ float WinEDA_PcbFrame::Compute_Ratsnest_PlaceModule( wxDC* DC )
...
@@ -902,12 +902,13 @@ float WinEDA_PcbFrame::Compute_Ratsnest_PlaceModule( wxDC* DC )
/* Draw keep out area of a module. */
/* Draw keep out area of a module. */
/***********************************/
/***********************************/
/* TRANSLATE
/* Buid the cost map.
* les cellules ( du plan des Distances ) du rectangle x0,y0 a x1,y1 sont
* Cells ( in Dist mao ) inside the rect x0,y0 a x1,y1 are
* incrementees de la valeur Penalite
* incremented by value Penalite
* celles qui sont externes au rectangle, mais internes au rectangle
* Cell outside this rectangle, but inside the rectangle
* x0,y0 -marge a x1,y1 + marge sont incrementees d'une valeur
* x0,y0 -marge to x1,y1 + marge sont incrementede by a decreasing value
* (Penalite ... 0) decroissante en fonction de leur eloignement
* (Penalite ... 0). The decreasing value de pends on the distance to the first rectangle
* Therefore the cost is hight in rect x0,y0 a x1,y1, and decrease outside this rectangle
*/
*/
static
void
TracePenaliteRectangle
(
BOARD
*
Pcb
,
static
void
TracePenaliteRectangle
(
BOARD
*
Pcb
,
int
ux0
,
int
ux0
,
...
...
pcbnew/board.cpp
View file @
537d4861
...
@@ -344,8 +344,10 @@ int Build_Work( BOARD* Pcb )
...
@@ -344,8 +344,10 @@ int Build_Work( BOARD* Pcb )
for
(
unsigned
ii
=
0
;
ii
<
Pcb
->
GetRatsnestsCount
();
ii
++
)
for
(
unsigned
ii
=
0
;
ii
<
Pcb
->
GetRatsnestsCount
();
ii
++
)
{
{
pt_rats
=
&
Pcb
->
m_FullRatsnest
[
ii
];
pt_rats
=
&
Pcb
->
m_FullRatsnest
[
ii
];
/* TRANSLATE On ne route que les chevelus actifs et routables */
/* We consider her only ratsnets that are active ( obviously not yet routed)
if
(
(
pt_rats
->
m_Status
&
CH_ACTIF
)
==
0
)
* and routables (that are not yet attempt to be routed and fail
*/
if
(
(
pt_rats
->
m_Status
&
CH_ACTIF
)
==
0
)
continue
;
continue
;
if
(
pt_rats
->
m_Status
&
CH_UNROUTABLE
)
if
(
pt_rats
->
m_Status
&
CH_UNROUTABLE
)
continue
;
continue
;
...
...
pcbnew/edgemod.cpp
View file @
537d4861
...
@@ -352,8 +352,10 @@ EDGE_MODULE* WinEDA_ModuleEditFrame::Begin_Edge_Module( EDGE_MODULE* Edge,
...
@@ -352,8 +352,10 @@ EDGE_MODULE* WinEDA_ModuleEditFrame::Begin_Edge_Module( EDGE_MODULE* Edge,
DrawPanel
->
ManageCurseur
=
ShowEdgeModule
;
DrawPanel
->
ManageCurseur
=
ShowEdgeModule
;
DrawPanel
->
ForceCloseManageCurseur
=
Exit_EditEdge_Module
;
DrawPanel
->
ForceCloseManageCurseur
=
Exit_EditEdge_Module
;
}
}
/* TRANSLATE trace en cours : les coord du point d'arrivee ont ete mises
/* Segment creation in progress.
* a jour par la routine Montre_Position_New_Edge_Module
* The ending coordinate are updated by the function
* Montre_Position_New_Edge_Module() called on move mouse event
* during the segment craetion
*/
*/
else
else
{
{
...
...
pcbnew/editedge.cpp
View file @
537d4861
...
@@ -226,8 +226,10 @@ DRAWSEGMENT* WinEDA_PcbFrame::Begin_DrawSegment( DRAWSEGMENT* Segment,
...
@@ -226,8 +226,10 @@ DRAWSEGMENT* WinEDA_PcbFrame::Begin_DrawSegment( DRAWSEGMENT* Segment,
DrawPanel
->
ManageCurseur
=
Montre_Position_NewSegment
;
DrawPanel
->
ManageCurseur
=
Montre_Position_NewSegment
;
DrawPanel
->
ForceCloseManageCurseur
=
Exit_EditEdge
;
DrawPanel
->
ForceCloseManageCurseur
=
Exit_EditEdge
;
}
}
else
/* TRANSLATE trace en cours : les coord du point d'arrivee ont
else
/* The ending point ccordinate Segment->m_End was updated by he function
* ete mises a jour par la routine Montre_Position_NewSegment*/
* Montre_Position_NewSegment() called on a move mouse event
* during the segment creation
*/
{
{
if
(
Segment
->
m_Start
!=
Segment
->
m_End
)
if
(
Segment
->
m_Start
!=
Segment
->
m_End
)
{
{
...
...
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