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
555b1c5a
Commit
555b1c5a
authored
May 21, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code cleaning
parent
b256efc5
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
149 additions
and
158 deletions
+149
-158
kicad.mo
internat/fr/kicad.mo
+0
-0
kicad.po
internat/fr/kicad.po
+77
-78
CMakeLists.txt
pcbnew/CMakeLists.txt
+0
-1
affiche.cpp
pcbnew/affiche.cpp
+0
-71
class_equipot.cpp
pcbnew/class_equipot.cpp
+57
-2
class_equipot.h
pcbnew/class_equipot.h
+9
-0
ioascii.cpp
pcbnew/ioascii.cpp
+1
-0
onleftclick.cpp
pcbnew/onleftclick.cpp
+5
-1
protos.h
pcbnew/protos.h
+0
-5
No files found.
internat/fr/kicad.mo
View file @
555b1c5a
No preview for this file type
internat/fr/kicad.po
View file @
555b1c5a
...
@@ -2,8 +2,8 @@ msgid ""
...
@@ -2,8 +2,8 @@ msgid ""
msgstr ""
msgstr ""
"Project-Id-Version: kicad\n"
"Project-Id-Version: kicad\n"
"Report-Msgid-Bugs-To: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-05-
16 20:42
+0100\n"
"POT-Creation-Date: 2009-05-
21 17:31
+0100\n"
"PO-Revision-Date: 2009-05-
16 20:51
+0100\n"
"PO-Revision-Date: 2009-05-
21 17:37
+0100\n"
"Last-Translator: \n"
"Last-Translator: \n"
"Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n"
"Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n"
"MIME-Version: 1.0\n"
"MIME-Version: 1.0\n"
...
@@ -357,51 +357,51 @@ msgstr "Le texte est la VALEUR!"
...
@@ -357,51 +357,51 @@ msgstr "Le texte est la VALEUR!"
msgid "Place module"
msgid "Place module"
msgstr "Place module"
msgstr "Place module"
#: pcbnew/loadcmp.cpp:2
09
#: pcbnew/loadcmp.cpp:2
10
#: pcbnew/loadcmp.cpp:36
0
#: pcbnew/loadcmp.cpp:36
1
#, c-format
#, c-format
msgid "PCB footprint library file <%s> not found in search paths."
msgid "PCB footprint library file <%s> not found in search paths."
msgstr "Librairie modules PCB %s non trouvée dans les chemins de recherche"
msgstr "Librairie modules PCB %s non trouvée dans les chemins de recherche"
#: pcbnew/loadcmp.cpp:21
1
#: pcbnew/loadcmp.cpp:21
2
#: pcbnew/loadcmp.cpp:22
2
#: pcbnew/loadcmp.cpp:22
3
#: pcbnew/loadcmp.cpp:23
8
#: pcbnew/loadcmp.cpp:23
9
#: pcbnew/loadcmp.cpp:36
2
#: pcbnew/loadcmp.cpp:36
3
#: pcbnew/loadcmp.cpp:39
8
#: pcbnew/loadcmp.cpp:39
9
msgid "Library Load Error"
msgid "Library Load Error"
msgstr "Erreur en Chargement de librairie"
msgstr "Erreur en Chargement de librairie"
#: pcbnew/loadcmp.cpp:22
0
#: pcbnew/loadcmp.cpp:22
1
#, c-format
#, c-format
msgid "Could not open PCB footprint library file <%s>."
msgid "Could not open PCB footprint library file <%s>."
msgstr "Ne peu ouvrir le fichier librairie de modules PCB <%s>."
msgstr "Ne peu ouvrir le fichier librairie de modules PCB <%s>."
#: pcbnew/loadcmp.cpp:22
7
#: pcbnew/loadcmp.cpp:22
8
#, c-format
#, c-format
msgid "Scan Lib: %s"
msgid "Scan Lib: %s"
msgstr "Examen Lib: %s"
msgstr "Examen Lib: %s"
#: pcbnew/loadcmp.cpp:23
6
#: pcbnew/loadcmp.cpp:23
7
#: pcbnew/loadcmp.cpp:39
6
#: pcbnew/loadcmp.cpp:39
7
#, c-format
#, c-format
msgid "<%s> is not a valid Kicad PCB footprint library file."
msgid "<%s> is not a valid Kicad PCB footprint library file."
msgstr "<%s> n'est pas un fichier librarire de modules Kicad PCB valide."
msgstr "<%s> n'est pas un fichier librarire de modules Kicad PCB valide."
#: pcbnew/loadcmp.cpp:30
3
#: pcbnew/loadcmp.cpp:30
4
#, c-format
#, c-format
msgid "Module <%s> not found"
msgid "Module <%s> not found"
msgstr "Module <%s> non trouvé"
msgstr "Module <%s> non trouvé"
#: pcbnew/loadcmp.cpp:38
7
#: pcbnew/loadcmp.cpp:38
8
msgid "Library "
msgid "Library "
msgstr "Librairie "
msgstr "Librairie "
#: pcbnew/loadcmp.cpp:38
7
#: pcbnew/loadcmp.cpp:38
8
msgid " loaded"
msgid " loaded"
msgstr " chargé"
msgstr " chargé"
#: pcbnew/loadcmp.cpp:45
8
#: pcbnew/loadcmp.cpp:45
9
#: pcbnew/loadcmp.cpp:61
0
#: pcbnew/loadcmp.cpp:61
1
#, c-format
#, c-format
msgid "Modules [%d items]"
msgid "Modules [%d items]"
msgstr "Modules [%d éléments]"
msgstr "Modules [%d éléments]"
...
@@ -1287,7 +1287,7 @@ msgstr "Epaisseur Contour"
...
@@ -1287,7 +1287,7 @@ msgstr "Epaisseur Contour"
msgid "Incorrect number, no change"
msgid "Incorrect number, no change"
msgstr "Nombre incorrect, pas de changement"
msgstr "Nombre incorrect, pas de changement"
#: pcbnew/ioascii.cpp:1
67
#: pcbnew/ioascii.cpp:1
74
msgid "Error: Unexpected end of file !"
msgid "Error: Unexpected end of file !"
msgstr "Erreur: Fin de fichier inattendue !"
msgstr "Erreur: Fin de fichier inattendue !"
...
@@ -1493,30 +1493,6 @@ msgstr "Déplacer Modules ?"
...
@@ -1493,30 +1493,6 @@ msgstr "Déplacer Modules ?"
msgid "Autoplace modules: No board edges detected. Unable to place modules"
msgid "Autoplace modules: No board edges detected. Unable to place modules"
msgstr "Autoplace modules: Pas de contours sur pcb. Impossible de placer les modules"
msgstr "Autoplace modules: Pas de contours sur pcb. Impossible de placer les modules"
#: pcbnew/affiche.cpp:35
msgid "Net Name"
msgstr "Nom Equipot"
#: pcbnew/affiche.cpp:37
msgid "No Net (not connected)"
msgstr "Pas de Net (non connecté)"
#: pcbnew/affiche.cpp:40
msgid "Net Code"
msgstr "Net Code"
#: pcbnew/affiche.cpp:53
msgid "Pads"
msgstr "Pads"
#: pcbnew/affiche.cpp:67
msgid "Vias"
msgstr "Vias"
#: pcbnew/affiche.cpp:70
msgid "Net Length"
msgstr "Long. Net"
#: pcbnew/pcbframe.cpp:303
#: pcbnew/pcbframe.cpp:303
msgid "Board modified, Save before exit ?"
msgid "Board modified, Save before exit ?"
msgstr "Circuit Imprimé modifié, Sauver avant de quitter ?"
msgstr "Circuit Imprimé modifié, Sauver avant de quitter ?"
...
@@ -1762,54 +1738,61 @@ msgstr "N'affiche pas les couches cuivre"
...
@@ -1762,54 +1738,61 @@ msgstr "N'affiche pas les couches cuivre"
msgid "Apply"
msgid "Apply"
msgstr "Appliquer"
msgstr "Appliquer"
#: pcbnew/class_track.cpp:8
68
#: pcbnew/class_track.cpp:8
71
#: pcbnew/class_board_item.cpp:173
#: pcbnew/class_board_item.cpp:173
msgid "Zone"
msgid "Zone"
msgstr "Zone"
msgstr "Zone"
#: pcbnew/class_track.cpp:87
6
#: pcbnew/class_track.cpp:87
9
msgid "Type"
msgid "Type"
msgstr "Type"
msgstr "Type"
#: pcbnew/class_track.cpp:89
3
#: pcbnew/class_track.cpp:89
6
msgid "NetName"
msgid "NetName"
msgstr "NetName"
msgstr "NetName"
#: pcbnew/class_track.cpp:
899
#: pcbnew/class_track.cpp:
902
msgid "NetCode"
msgid "NetCode"
msgstr "NetCode"
msgstr "NetCode"
#: pcbnew/class_track.cpp:90
4
#: pcbnew/class_track.cpp:90
7
msgid "Segment"
msgid "Segment"
msgstr "Segment"
msgstr "Segment"
#: pcbnew/class_track.cpp:90
6
#: pcbnew/class_track.cpp:90
9
#: pcbnew/class_board_item.cpp:26
#: pcbnew/class_board_item.cpp:26
msgid "Circle"
msgid "Circle"
msgstr "Cercle"
msgstr "Cercle"
#: pcbnew/class_track.cpp:9
08
#: pcbnew/class_track.cpp:9
11
msgid "Standard"
msgid "Standard"
msgstr "Standard"
msgstr "Standard"
#: pcbnew/class_track.cpp:91
6
#: pcbnew/class_track.cpp:91
9
msgid "Flags"
msgid "Flags"
msgstr "Flags"
msgstr "Flags"
#: pcbnew/class_track.cpp:9
29
#: pcbnew/class_track.cpp:9
32
#: pcbnew/class_module.cpp:960
#: pcbnew/class_module.cpp:960
msgid "Stat"
msgid "Stat"
msgstr "Stat"
msgstr "Stat"
#: pcbnew/class_track.cpp:95
3
#: pcbnew/class_track.cpp:95
7
msgid "Diam"
msgid "Diam"
msgstr "Diam"
msgstr "Diam"
#: pcbnew/class_track.cpp:960
#: pcbnew/class_track.cpp:965
#: pcbnew/class_track.cpp:965
msgid "Drill"
msgid "Drill"
msgstr "Perçage"
msgstr "Perçage"
#: pcbnew/class_track.cpp:969
msgid "(Specific)"
msgstr "(Specifique)"
#: pcbnew/class_track.cpp:971
msgid "(Default)"
msgstr "(Défaut)"
#: pcbnew/class_module.cpp:930
#: pcbnew/class_module.cpp:930
msgid "Last Change"
msgid "Last Change"
msgstr "Last Change"
msgstr "Last Change"
...
@@ -1818,6 +1801,11 @@ msgstr "Last Change"
...
@@ -1818,6 +1801,11 @@ msgstr "Last Change"
msgid "Netlist path"
msgid "Netlist path"
msgstr "Chemin Netliste "
msgstr "Chemin Netliste "
#: pcbnew/class_module.cpp:952
#: pcbnew/menubarpcb.cpp:230
msgid "Pads"
msgstr "Pads"
#: pcbnew/class_module.cpp:967
#: pcbnew/class_module.cpp:967
msgid "Module"
msgid "Module"
msgstr "Module"
msgstr "Module"
...
@@ -2405,15 +2393,15 @@ msgstr "Fichier <%s> non trouvé, Netliste utilisée pour sélection des module
...
@@ -2405,15 +2393,15 @@ msgstr "Fichier <%s> non trouvé, Netliste utilisée pour sélection des module
msgid "Component [%s]: footprint <%s> not found"
msgid "Component [%s]: footprint <%s> not found"
msgstr "Composant [%s]: Module <%s> non trouvé en librairie"
msgstr "Composant [%s]: Module <%s> non trouvé en librairie"
#: pcbnew/onleftclick.cpp:1
79
#: pcbnew/onleftclick.cpp:1
83
msgid "Graphic not authorized on Copper layers"
msgid "Graphic not authorized on Copper layers"
msgstr "Graphique non autorisé sur Couches Cuivre"
msgstr "Graphique non autorisé sur Couches Cuivre"
#: pcbnew/onleftclick.cpp:20
2
#: pcbnew/onleftclick.cpp:20
6
msgid "Tracks on Copper layers only "
msgid "Tracks on Copper layers only "
msgstr "Pistes sur Couches Cuivre seulement"
msgstr "Pistes sur Couches Cuivre seulement"
#: pcbnew/onleftclick.cpp:2
86
#: pcbnew/onleftclick.cpp:2
90
msgid "Cotation not authorized on Copper layers"
msgid "Cotation not authorized on Copper layers"
msgstr "Cotation non autorisée sur Couches Cuivre"
msgstr "Cotation non autorisée sur Couches Cuivre"
...
@@ -2422,7 +2410,6 @@ msgid "Options"
...
@@ -2422,7 +2410,6 @@ msgid "Options"
msgstr "Options"
msgstr "Options"
#: pcbnew/dialog_drc.cpp:440
#: pcbnew/dialog_drc.cpp:440
#: pcbnew/dialog_track_options_base.cpp:106
msgid "Clearance"
msgid "Clearance"
msgstr "Isolation"
msgstr "Isolation"
...
@@ -2892,6 +2879,22 @@ msgstr "Créer Fichier "
...
@@ -2892,6 +2879,22 @@ msgstr "Créer Fichier "
msgid " error"
msgid " error"
msgstr " erreur"
msgstr " erreur"
#: pcbnew/class_equipot.cpp:148
msgid "Net Name"
msgstr "Nom Equipot"
#: pcbnew/class_equipot.cpp:151
msgid "Net Code"
msgstr "Net Code"
#: pcbnew/class_equipot.cpp:180
msgid "Vias"
msgstr "Vias"
#: pcbnew/class_equipot.cpp:183
msgid "Net Length"
msgstr "Long. Net"
#: pcbnew/dialog_track_options_base.cpp:27
#: pcbnew/dialog_track_options_base.cpp:27
msgid "Vias:"
msgid "Vias:"
msgstr "Vias:"
msgstr "Vias:"
...
@@ -3929,11 +3932,11 @@ msgstr "Le caractère de délimitation de ligne doit être un seul caractère '
...
@@ -3929,11 +3932,11 @@ msgstr "Le caractère de délimitation de ligne doit être un seul caractère '
msgid "Un-terminated delimited string"
msgid "Un-terminated delimited string"
msgstr "Ligne délimitée non terminée"
msgstr "Ligne délimitée non terminée"
#: pcbnew/modedit.cpp:27
4
#: pcbnew/modedit.cpp:27
5
msgid "Unable to find the footprint source on the main board"
msgid "Unable to find the footprint source on the main board"
msgstr "Impossible de trouver le module source sur le PCB principal"
msgstr "Impossible de trouver le module source sur le PCB principal"
#: pcbnew/modedit.cpp:27
5
#: pcbnew/modedit.cpp:27
6
msgid ""
msgid ""
"\n"
"\n"
"Cannot update the footprint"
"Cannot update the footprint"
...
@@ -3941,11 +3944,11 @@ msgstr ""
...
@@ -3941,11 +3944,11 @@ msgstr ""
"\n"
"\n"
"Ne peut mettre à jour le module"
"Ne peut mettre à jour le module"
#: pcbnew/modedit.cpp:28
3
#: pcbnew/modedit.cpp:28
4
msgid "A footprint source was found on the main board"
msgid "A footprint source was found on the main board"
msgstr "Un module source a été trouvé sur le PCB principal"
msgstr "Un module source a été trouvé sur le PCB principal"
#: pcbnew/modedit.cpp:28
4
#: pcbnew/modedit.cpp:28
5
msgid ""
msgid ""
"\n"
"\n"
"Cannot insert this footprint"
"Cannot insert this footprint"
...
@@ -3953,20 +3956,20 @@ msgstr ""
...
@@ -3953,20 +3956,20 @@ msgstr ""
"\n"
"\n"
"Ne peut insérer ce module"
"Ne peut insérer ce module"
#: pcbnew/modedit.cpp:40
7
#: pcbnew/modedit.cpp:40
9
msgid "Add Pad"
msgid "Add Pad"
msgstr "Ajouter Pastilles"
msgstr "Ajouter Pastilles"
#: pcbnew/modedit.cpp:41
0
#: pcbnew/modedit.cpp:41
2
#: pcbnew/menubarmodedit.cpp:45
#: pcbnew/menubarmodedit.cpp:45
msgid "Pad Settings"
msgid "Pad Settings"
msgstr "Caract pads"
msgstr "Caract pads"
#: pcbnew/modedit.cpp:42
0
#: pcbnew/modedit.cpp:42
2
msgid "Add Drawing"
msgid "Add Drawing"
msgstr "Ajout d'éléments graphiques"
msgstr "Ajout d'éléments graphiques"
#: pcbnew/modedit.cpp:42
4
#: pcbnew/modedit.cpp:42
6
msgid "Place anchor"
msgid "Place anchor"
msgstr "Place Ancre"
msgstr "Place Ancre"
...
@@ -7254,8 +7257,6 @@ msgid "Reset"
...
@@ -7254,8 +7257,6 @@ msgid "Reset"
msgstr "Défaut"
msgstr "Défaut"
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:26
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:26
#: eeschema/onrightclick.cpp:329
#: eeschema/classes_body_items.cpp:72
msgid "Unit"
msgid "Unit"
msgstr "Unité"
msgstr "Unité"
...
@@ -7360,8 +7361,6 @@ msgid "The name of the symbol in the library from which this component came"
...
@@ -7360,8 +7361,6 @@ msgid "The name of the symbol in the library from which this component came"
msgstr "Le nom du symbole dans la librairie d'où vient le composant."
msgstr "Le nom du symbole dans la librairie d'où vient le composant."
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:73
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:73
#: eeschema/onrightclick.cpp:316
#: eeschema/classes_body_items.cpp:82
msgid "Convert"
msgid "Convert"
msgstr "Convert"
msgstr "Convert"
...
@@ -7374,8 +7373,6 @@ msgstr ""
...
@@ -7374,8 +7373,6 @@ msgstr ""
"Pour les portes, ceci est la conversion \"De Morgan\""
"Pour les portes, ceci est la conversion \"De Morgan\""
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:79
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:79
#: eeschema/dialog_create_component.cpp:178
#: eeschema/dialog_edit_component_in_lib.cpp:160
msgid "Parts are locked"
msgid "Parts are locked"
msgstr "Les parts sont verrouillées"
msgstr "Les parts sont verrouillées"
...
@@ -7416,12 +7413,10 @@ msgid "Check if you want this field's text rotated 90 degrees"
...
@@ -7416,12 +7413,10 @@ msgid "Check if you want this field's text rotated 90 degrees"
msgstr "Activer si vous voulez avoir le texte de ce champ tourné à 90°"
msgstr "Activer si vous voulez avoir le texte de ce champ tourné à 90°"
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:134
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:134
#: eeschema/dialog_edit_label_base.cpp:43
msgid "Bold"
msgid "Bold"
msgstr "Gras"
msgstr "Gras"
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:134
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:134
#: eeschema/dialog_edit_label_base.cpp:43
msgid "Bold Italic"
msgid "Bold Italic"
msgstr "Gras Italique"
msgstr "Gras Italique"
...
@@ -8892,6 +8887,8 @@ msgstr "%8.8lX/"
...
@@ -8892,6 +8887,8 @@ msgstr "%8.8lX/"
#: eeschema/dialog_edit_component_in_schematic.cpp:95
#: eeschema/dialog_edit_component_in_schematic.cpp:95
#: eeschema/dialog_edit_component_in_schematic.cpp:100
#: eeschema/dialog_edit_component_in_schematic.cpp:100
#: eeschema/dialog_edit_libentry_fields_in_lib.cpp:159
#: eeschema/dialog_edit_libentry_fields_in_lib.cpp:164
msgid "Pos "
msgid "Pos "
msgstr "Pos "
msgstr "Pos "
...
@@ -9166,7 +9163,7 @@ msgstr "Erreur en Fichier Projet"
...
@@ -9166,7 +9163,7 @@ msgstr "Erreur en Fichier Projet"
#: cvpcb/loadcmp.cpp:50
#: cvpcb/loadcmp.cpp:50
#, c-format
#, c-format
msgid "PCB foot print library file <%s> could not be found in the default search paths."
msgid "PCB foot print library file <%s> could not be found in the default search paths."
msgstr ""
msgstr "
Le fichier librairie de modules PCB <%s> n'a pas pu être trouvé dans les chemins de recherche par défaut.
"
#: cvpcb/listlib.cpp:85
#: cvpcb/listlib.cpp:85
#: cvpcb/loadcmp.cpp:61
#: cvpcb/loadcmp.cpp:61
...
@@ -9187,7 +9184,7 @@ msgstr "Fin de fichier inattendue lors de l'analyse de la librairie de modules P
...
@@ -9187,7 +9184,7 @@ msgstr "Fin de fichier inattendue lors de l'analyse de la librairie de modules P
#: cvpcb/listlib.cpp:162
#: cvpcb/listlib.cpp:162
#, c-format
#, c-format
msgid "Could not open PCB foot print library document file <%s>."
msgid "Could not open PCB foot print library document file <%s>."
msgstr ""
msgstr "
Ne peut pas ouvrir le fichier documentation de module <%s>.
"
#: cvpcb/listlib.cpp:171
#: cvpcb/listlib.cpp:171
#, c-format
#, c-format
...
@@ -9236,7 +9233,7 @@ msgstr " [pas de fichier]"
...
@@ -9236,7 +9233,7 @@ msgstr " [pas de fichier]"
#: cvpcb/autosel.cpp:93
#: cvpcb/autosel.cpp:93
#, c-format
#, c-format
msgid "Footprint alias library file <%s> could not be found in the default search paths."
msgid "Footprint alias library file <%s> could not be found in the default search paths."
msgstr ""
msgstr "
Le fichier d'alias <%s> n'a pas pu être trouvé dans les chemins de recherche par défaut.
"
#: cvpcb/autosel.cpp:106
#: cvpcb/autosel.cpp:106
#, c-format
#, c-format
...
@@ -9361,7 +9358,7 @@ msgstr "Rester Ouvert après Sauvegarde"
...
@@ -9361,7 +9358,7 @@ msgstr "Rester Ouvert après Sauvegarde"
#: cvpcb/menucfg.cpp:69
#: cvpcb/menucfg.cpp:69
msgid "Prevent CVPcb from exiting after saving netlist file"
msgid "Prevent CVPcb from exiting after saving netlist file"
msgstr ""
msgstr "
N'autorise pas la fermeture automatique de Cvpcb après la sauvegarde de la netliste
"
#: cvpcb/menucfg.cpp:75
#: cvpcb/menucfg.cpp:75
msgid "&Save Project File"
msgid "&Save Project File"
...
@@ -11412,6 +11409,8 @@ msgstr "DCodes id."
...
@@ -11412,6 +11409,8 @@ msgstr "DCodes id."
msgid "Page Settings"
msgid "Page Settings"
msgstr "Ajustage opt Page"
msgstr "Ajustage opt Page"
#~ msgid "No Net (not connected)"
#~ msgstr "Pas de Net (non connecté)"
#~ msgid "Default netlist format"
#~ msgid "Default netlist format"
#~ msgstr "Format netlistes par défaut"
#~ msgstr "Format netlistes par défaut"
#~ msgid "Loading schematic component libraries"
#~ msgid "Loading schematic component libraries"
...
...
pcbnew/CMakeLists.txt
View file @
555b1c5a
...
@@ -7,7 +7,6 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}
...
@@ -7,7 +7,6 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}
# Many of the commented out ones are nested in *.cpp files for dialogs
# Many of the commented out ones are nested in *.cpp files for dialogs
set
(
PCBNEW_SRCS
set
(
PCBNEW_SRCS
affiche.cpp
attribut.cpp
attribut.cpp
automove.cpp
automove.cpp
autoplac.cpp
autoplac.cpp
...
...
pcbnew/affiche.cpp
deleted
100644 → 0
View file @
b256efc5
/**********************************************************/
/* Routines d'affichage de parametres et caracteristiques */
/**********************************************************/
#include "fctsys.h"
#include "gr_basic.h"
#include "common.h"
#include "pcbnew.h"
#include "autorout.h"
#include "3d_struct.h"
#include "protos.h"
/* Routines locales */
/*******************************************************************/
void
Affiche_Infos_Equipot
(
int
netcode
,
WinEDA_BasePcbFrame
*
frame
)
/*******************************************************************/
/* Affiche les infos relatives a une equipot: nb de pads, nets , connexions.. */
{
int
nb_vias
=
0
,
ii
;
EDA_BaseStruct
*
Struct
;
wxString
txt
;
MODULE
*
module
;
D_PAD
*
pad
;
EQUIPOT
*
equipot
;
double
lengthnet
=
0
;
frame
->
MsgPanel
->
EraseMsgBox
();
equipot
=
frame
->
GetBoard
()
->
FindNet
(
netcode
);
if
(
equipot
)
Affiche_1_Parametre
(
frame
,
1
,
_
(
"Net Name"
),
equipot
->
GetNetname
(),
RED
);
else
Affiche_1_Parametre
(
frame
,
1
,
_
(
"No Net (not connected)"
),
wxEmptyString
,
RED
);
txt
.
Printf
(
wxT
(
"%d"
),
netcode
);
Affiche_1_Parametre
(
frame
,
30
,
_
(
"Net Code"
),
txt
,
RED
);
for
(
ii
=
0
,
module
=
frame
->
GetBoard
()
->
m_Modules
;
module
!=
0
;
module
=
module
->
Next
()
)
{
for
(
pad
=
module
->
m_Pads
;
pad
!=
0
;
pad
=
pad
->
Next
()
)
{
if
(
pad
->
GetNet
()
==
netcode
)
ii
++
;
}
}
txt
.
Printf
(
wxT
(
"%d"
),
ii
);
Affiche_1_Parametre
(
frame
,
40
,
_
(
"Pads"
),
txt
,
DARKGREEN
);
for
(
ii
=
0
,
Struct
=
frame
->
GetBoard
()
->
m_Track
;
Struct
!=
NULL
;
Struct
=
Struct
->
Next
()
)
{
ii
++
;
if
(
Struct
->
Type
()
==
TYPE_VIA
)
if
(
(
(
SEGVIA
*
)
Struct
)
->
GetNet
()
==
netcode
)
nb_vias
++
;
if
(
Struct
->
Type
()
==
TYPE_TRACK
)
if
(
(
(
TRACK
*
)
Struct
)
->
GetNet
()
==
netcode
)
lengthnet
+=
(
(
TRACK
*
)
Struct
)
->
GetLength
();
}
txt
.
Printf
(
wxT
(
"%d"
),
nb_vias
);
Affiche_1_Parametre
(
frame
,
50
,
_
(
"Vias"
),
txt
,
BLUE
);
valeur_param
(
(
int
)
lengthnet
,
txt
);
Affiche_1_Parametre
(
frame
,
60
,
_
(
"Net Length"
),
txt
,
RED
);
}
pcbnew/class_equipot.cpp
View file @
555b1c5a
...
@@ -4,10 +4,9 @@
...
@@ -4,10 +4,9 @@
#include "fctsys.h"
#include "fctsys.h"
#include "wxstruct.h"
#include "wxstruct.h"
#include "
gr_basic
.h"
#include "
common
.h"
#include "kicad_string.h"
#include "kicad_string.h"
#include "pcbnew.h"
#include "pcbnew.h"
#include "protos.h"
/*********************************************************/
/*********************************************************/
...
@@ -128,6 +127,62 @@ void EQUIPOT::Draw( WinEDA_DrawPanel* panel, wxDC* DC, int aDrawMode, const wxPo
...
@@ -128,6 +127,62 @@ void EQUIPOT::Draw( WinEDA_DrawPanel* panel, wxDC* DC, int aDrawMode, const wxPo
}
}
/**
* Function DisplayInfo
* has knowledge about the frame and how and where to put status information
* about this object into the frame's message panel.
* Is virtual from EDA_BaseStruct.
* @param frame A WinEDA_DrawFrame in which to print status information.
*/
void
EQUIPOT
::
DisplayInfo
(
WinEDA_DrawFrame
*
frame
)
{
int
count
;
EDA_BaseStruct
*
Struct
;
wxString
txt
;
MODULE
*
module
;
D_PAD
*
pad
;
double
lengthnet
=
0
;
frame
->
MsgPanel
->
EraseMsgBox
();
Affiche_1_Parametre
(
frame
,
1
,
_
(
"Net Name"
),
GetNetname
(),
RED
);
txt
.
Printf
(
wxT
(
"%d"
),
GetNet
()
);
Affiche_1_Parametre
(
frame
,
30
,
_
(
"Net Code"
),
txt
,
RED
);
count
=
0
;
module
=
((
WinEDA_BasePcbFrame
*
)
frame
)
->
GetBoard
()
->
m_Modules
;
for
(
;
module
!=
0
;
module
=
module
->
Next
()
)
{
for
(
pad
=
module
->
m_Pads
;
pad
!=
0
;
pad
=
pad
->
Next
()
)
{
if
(
pad
->
GetNet
()
==
GetNet
()
)
count
++
;
}
}
txt
.
Printf
(
wxT
(
"%d"
),
count
);
Affiche_1_Parametre
(
frame
,
40
,
_
(
"Pads"
),
txt
,
DARKGREEN
);
count
=
0
;
Struct
=
((
WinEDA_BasePcbFrame
*
)
frame
)
->
GetBoard
()
->
m_Track
;
for
(
;
Struct
!=
NULL
;
Struct
=
Struct
->
Next
()
)
{
if
(
Struct
->
Type
()
==
TYPE_VIA
)
if
(
(
(
SEGVIA
*
)
Struct
)
->
GetNet
()
==
GetNet
()
)
count
++
;
if
(
Struct
->
Type
()
==
TYPE_TRACK
)
if
(
(
(
TRACK
*
)
Struct
)
->
GetNet
()
==
GetNet
()
)
lengthnet
+=
(
(
TRACK
*
)
Struct
)
->
GetLength
();
}
txt
.
Printf
(
wxT
(
"%d"
),
count
);
Affiche_1_Parametre
(
frame
,
50
,
_
(
"Vias"
),
txt
,
BLUE
);
valeur_param
(
(
int
)
lengthnet
,
txt
);
Affiche_1_Parametre
(
frame
,
60
,
_
(
"Net Length"
),
txt
,
RED
);
}
#if defined(DEBUG)
#if defined(DEBUG)
/**
/**
...
...
pcbnew/class_equipot.h
View file @
555b1c5a
...
@@ -94,6 +94,15 @@ public:
...
@@ -94,6 +94,15 @@ public:
}
}
/**
* Function DisplayInfo
* has knowledge about the frame and how and where to put status information
* about this object into the frame's message panel.
* Is virtual from EDA_BaseStruct.
* @param frame A WinEDA_DrawFrame in which to print status information.
*/
void
DisplayInfo
(
WinEDA_DrawFrame
*
frame
);
#if defined(DEBUG)
#if defined(DEBUG)
/**
/**
* Function Show
* Function Show
...
...
pcbnew/ioascii.cpp
View file @
555b1c5a
...
@@ -904,6 +904,7 @@ int WinEDA_PcbFrame::SavePcbFormatAscii( FILE* aFile )
...
@@ -904,6 +904,7 @@ int WinEDA_PcbFrame::SavePcbFormatAscii( FILE* aFile )
/* Ecriture de l'entete PCB : */
/* Ecriture de l'entete PCB : */
fprintf
(
aFile
,
"PCBNEW-BOARD Version %d date %s
\n\n
"
,
g_CurrentVersionPCB
,
fprintf
(
aFile
,
"PCBNEW-BOARD Version %d date %s
\n\n
"
,
g_CurrentVersionPCB
,
DateAndTime
(
line
)
);
DateAndTime
(
line
)
);
fprintf
(
aFile
,
"# Created by Pcbnew%s
\n\n
"
,
CONV_TO_UTF8
(
GetBuildVersion
()
)
);
WriteGeneralDescrPcb
(
aFile
);
WriteGeneralDescrPcb
(
aFile
);
WriteSheetDescr
(
GetScreen
(),
aFile
);
WriteSheetDescr
(
GetScreen
(),
aFile
);
...
...
pcbnew/onleftclick.cpp
View file @
555b1c5a
...
@@ -138,7 +138,11 @@ void WinEDA_PcbFrame::OnLeftClick( wxDC* DC, const wxPoint& MousePos )
...
@@ -138,7 +138,11 @@ void WinEDA_PcbFrame::OnLeftClick( wxDC* DC, const wxPoint& MousePos )
if
(
netcode
<
0
)
if
(
netcode
<
0
)
GetBoard
()
->
DisplayInfo
(
this
);
GetBoard
()
->
DisplayInfo
(
this
);
else
else
Affiche_Infos_Equipot
(
netcode
,
this
);
{
EQUIPOT
*
net
=
GetBoard
()
->
FindNet
(
netcode
);
if
(
net
)
net
->
DisplayInfo
(
this
);
}
}
}
break
;
break
;
...
...
pcbnew/protos.h
View file @
555b1c5a
...
@@ -330,11 +330,6 @@ void Trace_Block( WinEDA_DrawPanel* panel, wxDC* DC, int ox, int oy, int fx,
...
@@ -330,11 +330,6 @@ void Trace_Block( WinEDA_DrawPanel* panel, wxDC* DC, int ox, int oy, int fx,
* (toujours en mode XOR) */
* (toujours en mode XOR) */
/*****************************************************************/
/* AFFICHE.CPP: (Fonctions d'affichage de messages, parametres... */
/*****************************************************************/
void
Affiche_Infos_Equipot
(
int
netcode
,
WinEDA_BasePcbFrame
*
frame
);
/************/
/************/
/* ZONES.CPP */
/* ZONES.CPP */
/************/
/************/
...
...
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