Commit 5c790f50 authored by charras's avatar charras

Added dialog box to edit graphic items

parent 57d9096a
...@@ -5,6 +5,14 @@ Started 2007-June-11 ...@@ -5,6 +5,14 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with Please add newer entries at the top, list the date and your name with
email address. email address.
2008-Dec-22 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
++Pcbnew:
Added dialog box to edit graphic items (graphic segments, circles, arcs)
properties
2008-Dec-22 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr> 2008-Dec-22 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================ ================================================================================
++All ++All
......
...@@ -209,6 +209,8 @@ public: ...@@ -209,6 +209,8 @@ public:
void Place_Module( MODULE* module, wxDC* DC ); void Place_Module( MODULE* module, wxDC* DC );
void InstallExchangeModuleFrame( MODULE* ExchangeModuleModule, void InstallExchangeModuleFrame( MODULE* ExchangeModuleModule,
wxDC* DC, const wxPoint& pos ); wxDC* DC, const wxPoint& pos );
// Graphic items edition:
void InstallGraphicItemPropertiesDialog(DRAWSEGMENT * aItem, wxDC* aDC);
// module texts // module texts
void RotateTextModule( TEXTE_MODULE* Text, wxDC* DC ); void RotateTextModule( TEXTE_MODULE* Text, wxDC* DC );
...@@ -661,7 +663,6 @@ public: ...@@ -661,7 +663,6 @@ public:
// Graphic segments type DRAWSEGMENT handling: // Graphic segments type DRAWSEGMENT handling:
DRAWSEGMENT* Begin_DrawSegment( DRAWSEGMENT* Segment, int shape, wxDC* DC ); DRAWSEGMENT* Begin_DrawSegment( DRAWSEGMENT* Segment, int shape, wxDC* DC );
void End_Edge( DRAWSEGMENT* Segment, wxDC* DC ); void End_Edge( DRAWSEGMENT* Segment, wxDC* DC );
void Drawing_SetNewWidth( DRAWSEGMENT* DrawSegm, wxDC* DC );
void Delete_Segment_Edge( DRAWSEGMENT* Segment, wxDC* DC ); void Delete_Segment_Edge( DRAWSEGMENT* Segment, wxDC* DC );
void Delete_Drawings_All_Layer( DRAWSEGMENT* Segment, wxDC* DC ); void Delete_Drawings_All_Layer( DRAWSEGMENT* Segment, wxDC* DC );
......
No preview for this file type
...@@ -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: 2008-12-21 17:50+0100\n" "POT-Creation-Date: 2008-12-23 14:07+0100\n"
"PO-Revision-Date: 2008-12-21 17:51+0100\n" "PO-Revision-Date: 2008-12-23 14:11+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"
...@@ -1619,15 +1619,15 @@ msgstr "Long. Net" ...@@ -1619,15 +1619,15 @@ msgstr "Long. Net"
msgid "Abort routing?" msgid "Abort routing?"
msgstr "Arrêter le routage?" msgstr "Arrêter le routage?"
#: pcbnew/editedge.cpp:162 #: pcbnew/editedge.cpp:137
msgid "Copper layer global delete not allowed!" msgid "Copper layer global delete not allowed!"
msgstr " Effacement global sur couche cuivre non autorisé" msgstr " Effacement global sur couche cuivre non autorisé"
#: pcbnew/editedge.cpp:168 #: pcbnew/editedge.cpp:143
msgid "Segment is being edited" msgid "Segment is being edited"
msgstr "Segment en cours d'édition" msgstr "Segment en cours d'édition"
#: pcbnew/editedge.cpp:172 #: pcbnew/editedge.cpp:147
msgid "Delete Layer " msgid "Delete Layer "
msgstr "Effacer Couche" msgstr "Effacer Couche"
...@@ -2110,11 +2110,11 @@ msgstr "Impossible de créer le fichier " ...@@ -2110,11 +2110,11 @@ msgstr "Impossible de créer le fichier "
msgid "Drill Report file" msgid "Drill Report file"
msgstr "Fichier rapport de perçage:" msgstr "Fichier rapport de perçage:"
#: pcbnew/plotgerb.cpp:73 #: pcbnew/plotgerb.cpp:90
msgid "unable to create file " msgid "unable to create file "
msgstr "Impossible de créer fichier " msgstr "Impossible de créer fichier "
#: pcbnew/plotgerb.cpp:865 #: pcbnew/plotgerb.cpp:825
#, c-format #, c-format
msgid "unable to reopen file <%s>" msgid "unable to reopen file <%s>"
msgstr "Ne peut pas réouvrir fichier <%s>" msgstr "Ne peut pas réouvrir fichier <%s>"
...@@ -3361,59 +3361,6 @@ msgstr "Change Perçage" ...@@ -3361,59 +3361,6 @@ msgstr "Change Perçage"
msgid "Change Orientation" msgid "Change Orientation"
msgstr "Change Orientation" msgstr "Change Orientation"
#: pcbnew/dialog_edit_mod_text.cpp:173
#, c-format
msgid "Module %s (%s) orient %.1f"
msgstr "Module %s (%s) orient %.1f"
#: pcbnew/dialog_edit_mod_text.cpp:188
msgid "Reference:"
msgstr "Référence:"
#: pcbnew/dialog_edit_mod_text.cpp:205
msgid "Size X"
msgstr "Taille X"
#: pcbnew/dialog_edit_mod_text.cpp:216
msgid "Size Y"
msgstr "Taille Y"
#: pcbnew/dialog_edit_mod_text.cpp:229
msgid "Offset X"
msgstr "Offset X"
#: pcbnew/dialog_edit_mod_text.cpp:240
msgid "Offset Y"
msgstr "Offset Y"
#: pcbnew/dialog_edit_mod_text.cpp:278
msgid "horiz"
msgstr "horiz"
#: pcbnew/dialog_edit_mod_text.cpp:279
msgid "vertical"
msgstr "Vertical"
#: pcbnew/dialog_edit_mod_text.cpp:282
msgid "Orientation"
msgstr "Orientation"
#: pcbnew/dialog_edit_mod_text.cpp:287
msgid "show"
msgstr "Visible"
#: pcbnew/dialog_edit_mod_text.cpp:288
msgid "no show"
msgstr "Invisible"
#: pcbnew/dialog_edit_mod_text.cpp:382
msgid "Value:"
msgstr "Valeur:"
#: pcbnew/dialog_edit_mod_text.cpp:384
msgid "Text:"
msgstr "Texte:"
#: pcbnew/muwave_command.cpp:50 #: pcbnew/muwave_command.cpp:50
msgid "Add Line" msgid "Add Line"
msgstr "Addition de lignes" msgstr "Addition de lignes"
...@@ -3765,7 +3712,7 @@ msgstr "Fichiers Librairies:" ...@@ -3765,7 +3712,7 @@ msgstr "Fichiers Librairies:"
msgid "Library already in use" msgid "Library already in use"
msgstr "Librairie déjà en usage" msgstr "Librairie déjà en usage"
#: pcbnew/plot_rtn.cpp:215 #: pcbnew/plot_rtn.cpp:210
#, c-format #, c-format
msgid "" msgid ""
"Your BOARD has a bad layer number of %u for module\n" "Your BOARD has a bad layer number of %u for module\n"
...@@ -3774,7 +3721,7 @@ msgstr "" ...@@ -3774,7 +3721,7 @@ msgstr ""
"Votre PCB a un mauvais numero de couche %u pour le module\n" "Votre PCB a un mauvais numero de couche %u pour le module\n"
" %s's \"reference\"." " %s's \"reference\"."
#: pcbnew/plot_rtn.cpp:235 #: pcbnew/plot_rtn.cpp:230
#, c-format #, c-format
msgid "" msgid ""
"Your BOARD has a bad layer number of %u for module\n" "Your BOARD has a bad layer number of %u for module\n"
...@@ -3783,7 +3730,7 @@ msgstr "" ...@@ -3783,7 +3730,7 @@ msgstr ""
"Votre PCB a un mauvais numero de couche %u pour le module\n" "Votre PCB a un mauvais numero de couche %u pour le module\n"
" %s's \"valeur\"." " %s's \"valeur\"."
#: pcbnew/plot_rtn.cpp:281 #: pcbnew/plot_rtn.cpp:276
#, c-format #, c-format
msgid "" msgid ""
"Your BOARD has a bad layer number of %u for module\n" "Your BOARD has a bad layer number of %u for module\n"
...@@ -4029,7 +3976,7 @@ msgstr "Via Traversantes:" ...@@ -4029,7 +3976,7 @@ msgstr "Via Traversantes:"
msgid "Buried Vias:" msgid "Buried Vias:"
msgstr "Via Enterrées:" msgstr "Via Enterrées:"
#: pcbnew/gen_drill_report_files.cpp:388 #: pcbnew/gen_drill_report_files.cpp:389
msgid "" msgid ""
" Drill map: Too many diameter values to draw to draw one symbol per drill value (max 13)\n" " Drill map: Too many diameter values to draw to draw one symbol per drill value (max 13)\n"
"Plot uses circle shape for some drill values" "Plot uses circle shape for some drill values"
...@@ -4081,10 +4028,18 @@ msgstr "&Au sujet de r Pcbnew" ...@@ -4081,10 +4028,18 @@ msgstr "&Au sujet de r Pcbnew"
msgid "About pcbnew PCB designer" msgid "About pcbnew PCB designer"
msgstr "Au sujet de Pcbnew, concption de PCB" msgstr "Au sujet de Pcbnew, concption de PCB"
#: pcbnew/class_text_mod.cpp:462 #: pcbnew/class_text_mod.cpp:468
msgid "Ref." msgid "Ref."
msgstr "Ref." msgstr "Ref."
#: pcbnew/class_text_mod.cpp:498
msgid " No"
msgstr "Non"
#: pcbnew/class_text_mod.cpp:500
msgid " Yes"
msgstr "Oui"
#: pcbnew/dialog_freeroute_exchange.cpp:187 #: pcbnew/dialog_freeroute_exchange.cpp:187
msgid "Export a Specctra Design (*.dsn) File" msgid "Export a Specctra Design (*.dsn) File"
msgstr "Exporter un fichier de conception Specctra (*.dsn)" msgstr "Exporter un fichier de conception Specctra (*.dsn)"
...@@ -4200,6 +4155,7 @@ msgid "Outlines Appearence" ...@@ -4200,6 +4155,7 @@ msgid "Outlines Appearence"
msgstr "Aspect des Contours" msgstr "Aspect des Contours"
#: pcbnew/dialog_non_copper_zones_properties_base.cpp:34 #: pcbnew/dialog_non_copper_zones_properties_base.cpp:34
#: pcbnew/dialog_copper_zones_base.cpp:101
msgid "Any" msgid "Any"
msgstr "Tout" msgstr "Tout"
...@@ -4364,8 +4320,6 @@ msgid "Export this zone setup to all others copper zones" ...@@ -4364,8 +4320,6 @@ msgid "Export this zone setup to all others copper zones"
msgstr "Exporter ces options vers les autres zones de cuivre" msgstr "Exporter ces options vers les autres zones de cuivre"
#: pcbnew/dialog_copper_zones_base.cpp:156 #: pcbnew/dialog_copper_zones_base.cpp:156
#: pcbnew/dialog_pad_properties_base.cpp:91
#: pcbnew/zone_filling_deprecated_algorithm.cpp:310
msgid "Ok" msgid "Ok"
msgstr "Ok" msgstr "Ok"
...@@ -4503,35 +4457,35 @@ msgstr "Ok pour ajuster l'orientation des modules à %g degrés ?" ...@@ -4503,35 +4457,35 @@ msgstr "Ok pour ajuster l'orientation des modules à %g degrés ?"
msgid "Bad value for footprints orientation" msgid "Bad value for footprints orientation"
msgstr "Mauvaise valeur pour l'orientation des empreintes" msgstr "Mauvaise valeur pour l'orientation des empreintes"
#: pcbnew/dialog_pad_properties.cpp:120 #: pcbnew/dialog_pad_properties.cpp:121
msgid "Pad Position" msgid "Pad Position"
msgstr "Position Pad" msgstr "Position Pad"
#: pcbnew/dialog_pad_properties.cpp:125 #: pcbnew/dialog_pad_properties.cpp:126
msgid "Pad Size" msgid "Pad Size"
msgstr "Taille Pad" msgstr "Taille Pad"
#: pcbnew/dialog_pad_properties.cpp:130 #: pcbnew/dialog_pad_properties.cpp:131
msgid "Delta" msgid "Delta"
msgstr "Delta" msgstr "Delta"
#: pcbnew/dialog_pad_properties.cpp:135 #: pcbnew/dialog_pad_properties.cpp:136
msgid "Offset" msgid "Offset"
msgstr "Offset" msgstr "Offset"
#: pcbnew/dialog_pad_properties.cpp:141 #: pcbnew/dialog_pad_properties.cpp:142
msgid "Pad drill" msgid "Pad drill"
msgstr "Diam perçage" msgstr "Diam perçage"
#: pcbnew/dialog_pad_properties.cpp:427 #: pcbnew/dialog_pad_properties.cpp:428
msgid "Incorrect value for pad drill: pad drill bigger than pad size" msgid "Incorrect value for pad drill: pad drill bigger than pad size"
msgstr "Valeur incorrecte pour diamètre de perçage.perçage plus grand que la taille du pad" msgstr "Valeur incorrecte pour diamètre de perçage.perçage plus grand que la taille du pad"
#: pcbnew/dialog_pad_properties.cpp:433 #: pcbnew/dialog_pad_properties.cpp:434
msgid "Incorrect value for pad offset" msgid "Incorrect value for pad offset"
msgstr "Valeur incorrecte pour offset du pad" msgstr "Valeur incorrecte pour offset du pad"
#: pcbnew/dialog_pad_properties.cpp:528 #: pcbnew/dialog_pad_properties.cpp:532
msgid "Unknown netname, no change" msgid "Unknown netname, no change"
msgstr "Net inconnu, pas de changement" msgstr "Net inconnu, pas de changement"
...@@ -4927,6 +4881,14 @@ msgstr "Supprimer [%s]" ...@@ -4927,6 +4881,14 @@ msgstr "Supprimer [%s]"
msgid "TextPCB properties" msgid "TextPCB properties"
msgstr "Propriétés des textes PCB" msgstr "Propriétés des textes PCB"
#: pcbnew/dialog_pcb_text_properties.cpp:108
msgid "Text:"
msgstr "Texte:"
#: pcbnew/dialog_pcb_text_properties.cpp:141
msgid "Orientation"
msgstr "Orientation"
#: pcbnew/dialog_pcb_text_properties.cpp:176 #: pcbnew/dialog_pcb_text_properties.cpp:176
msgid "Italic" msgid "Italic"
msgstr "Italique" msgstr "Italique"
...@@ -4943,6 +4905,77 @@ msgstr "Flags" ...@@ -4943,6 +4905,77 @@ msgstr "Flags"
msgid "Diam" msgid "Diam"
msgstr "Diam" msgstr "Diam"
#: pcbnew/dialog_edit_module_text_base.cpp:19
#, c-format
msgid "Module %s (%s) orient %.1f"
msgstr "Module %s (%s) orient %.1f"
#: pcbnew/dialog_edit_module_text_base.cpp:26
msgid "Reference:"
msgstr "Référence:"
#: pcbnew/dialog_edit_module_text_base.cpp:39
msgid "Size X"
msgstr "Taille X"
#: pcbnew/dialog_edit_module_text_base.cpp:46
msgid "Size Y"
msgstr "Taille Y"
#: pcbnew/dialog_edit_module_text_base.cpp:53
msgid "Offset X"
msgstr "Offset X"
#: pcbnew/dialog_edit_module_text_base.cpp:60
msgid "Offset Y"
msgstr "Offset Y"
#: pcbnew/dialog_edit_module_text_base.cpp:72
msgid "Thickness"
msgstr "Epaisseur"
#: pcbnew/dialog_edit_module_text_base.cpp:79
msgid "horizontal"
msgstr "horizontal"
#: pcbnew/dialog_edit_module_text_base.cpp:79
msgid "vertical"
msgstr "Vertical"
#: pcbnew/dialog_edit_module_text_base.cpp:85
msgid "Visible"
msgstr "Visible"
#: pcbnew/dialog_edit_module_text_base.cpp:85
msgid "Invisible"
msgstr "Invisible"
#: pcbnew/dialog_graphic_item_properties.cpp:77
#: pcbnew/dialog_graphic_item_properties.cpp:86
msgid "Center X"
msgstr "Centre X"
#: pcbnew/dialog_graphic_item_properties.cpp:78
#: pcbnew/dialog_graphic_item_properties.cpp:87
msgid "Center Y"
msgstr "Centrer Y"
#: pcbnew/dialog_graphic_item_properties.cpp:79
msgid "Point X"
msgstr "Point X"
#: pcbnew/dialog_graphic_item_properties.cpp:80
msgid "Point Y"
msgstr "Point Y"
#: pcbnew/dialog_graphic_item_properties.cpp:88
msgid "Start Point X"
msgstr "Start Point X"
#: pcbnew/dialog_graphic_item_properties.cpp:89
msgid "Start Point Y"
msgstr "Start Point Y"
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:22 #: pcbnew/dialog_general_options_BoardEditor_base.cpp:22
msgid "No Display" msgid "No Display"
msgstr "Pas d'affichage" msgstr "Pas d'affichage"
...@@ -5019,7 +5052,7 @@ msgstr "16" ...@@ -5019,7 +5052,7 @@ msgstr "16"
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:55 #: pcbnew/dialog_general_options_BoardEditor_base.cpp:55
msgid "Active copper layers count selection" msgid "Active copper layers count selection"
msgstr "" msgstr "Sélection su nombre de couches cuivre actives"
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:59 #: pcbnew/dialog_general_options_BoardEditor_base.cpp:59
msgid "Max Links:" msgid "Max Links:"
...@@ -5126,6 +5159,10 @@ msgstr "Pistes Magnétiques" ...@@ -5126,6 +5159,10 @@ msgstr "Pistes Magnétiques"
msgid "Control the capture of the pcb cursor when the mouse cursor enters a track" msgid "Control the capture of the pcb cursor when the mouse cursor enters a track"
msgstr "Contrôle la capture du curseur pcb quand le curseur souris passe sur une piste" msgstr "Contrôle la capture du curseur pcb quand le curseur souris passe sur une piste"
#: pcbnew/dialog_edit_module_text.cpp:96
msgid "Value:"
msgstr "Valeur:"
#: eeschema/backanno.cpp:135 #: eeschema/backanno.cpp:135
msgid "Load Stuff File" msgid "Load Stuff File"
msgstr "Charger Fichier d'échange" msgstr "Charger Fichier d'échange"
...@@ -5383,18 +5420,22 @@ msgid "Length" ...@@ -5383,18 +5420,22 @@ msgid "Length"
msgstr "Longueur" msgstr "Longueur"
#: eeschema/affiche.cpp:102 #: eeschema/affiche.cpp:102
#: eeschema/pinedit-dialog.cpp:225
msgid "Up" msgid "Up"
msgstr "Haut" msgstr "Haut"
#: eeschema/affiche.cpp:105 #: eeschema/affiche.cpp:105
#: eeschema/pinedit-dialog.cpp:226
msgid "Down" msgid "Down"
msgstr "Bas" msgstr "Bas"
#: eeschema/affiche.cpp:108 #: eeschema/affiche.cpp:108
#: eeschema/pinedit-dialog.cpp:224
msgid "Left" msgid "Left"
msgstr "Gauche" msgstr "Gauche"
#: eeschema/affiche.cpp:111 #: eeschema/affiche.cpp:111
#: eeschema/pinedit-dialog.cpp:223
msgid "Right" msgid "Right"
msgstr "Droite" msgstr "Droite"
...@@ -7004,6 +7045,7 @@ msgid "Part %c" ...@@ -7004,6 +7045,7 @@ msgid "Part %c"
msgstr "Composant %c" msgstr "Composant %c"
#: eeschema/tool_sch.cpp:39 #: eeschema/tool_sch.cpp:39
#: eeschema/menubar.cpp:42
msgid "New schematic project" msgid "New schematic project"
msgstr "Nouveau Projet schématique" msgstr "Nouveau Projet schématique"
...@@ -7080,10 +7122,12 @@ msgid "Place a bus" ...@@ -7080,10 +7122,12 @@ msgid "Place a bus"
msgstr "Placer un bus" msgstr "Placer un bus"
#: eeschema/tool_sch.cpp:173 #: eeschema/tool_sch.cpp:173
#: eeschema/menubar.cpp:237
msgid "Place a wire to bus entry" msgid "Place a wire to bus entry"
msgstr "Placer une Entrée de Bus (type fil vers bus)" msgstr "Placer une Entrée de Bus (type fil vers bus)"
#: eeschema/tool_sch.cpp:177 #: eeschema/tool_sch.cpp:177
#: eeschema/menubar.cpp:247
msgid "Place a bus to bus entry" msgid "Place a bus to bus entry"
msgstr "Placer une Entrée de Bus (type bus vers bus)" msgstr "Placer une Entrée de Bus (type bus vers bus)"
...@@ -7092,6 +7136,7 @@ msgid "Place no connect flag" ...@@ -7092,6 +7136,7 @@ msgid "Place no connect flag"
msgstr "Placer symbole de non connexion" msgstr "Placer symbole de non connexion"
#: eeschema/tool_sch.cpp:186 #: eeschema/tool_sch.cpp:186
#: eeschema/menubar.cpp:267
msgid "Place net name" msgid "Place net name"
msgstr "Place nom de net" msgstr "Place nom de net"
...@@ -7108,6 +7153,7 @@ msgid "Place a junction" ...@@ -7108,6 +7153,7 @@ msgid "Place a junction"
msgstr "Placer une jonction" msgstr "Placer une jonction"
#: eeschema/tool_sch.cpp:200 #: eeschema/tool_sch.cpp:200
#: eeschema/menubar.cpp:297
msgid "Place a hierarchical label. This label will be seen as a pin sheet in the sheet symbol" msgid "Place a hierarchical label. This label will be seen as a pin sheet in the sheet symbol"
msgstr "Placer un label hiérachique. Ce label sera vu comme une pin dans la feuille mère symbole" msgstr "Placer un label hiérachique. Ce label sera vu comme une pin dans la feuille mère symbole"
...@@ -7128,6 +7174,7 @@ msgid "Place graphic line or polygon" ...@@ -7128,6 +7174,7 @@ msgid "Place graphic line or polygon"
msgstr "Placer ligne ou polygone graphique" msgstr "Placer ligne ou polygone graphique"
#: eeschema/tool_sch.cpp:223 #: eeschema/tool_sch.cpp:223
#: eeschema/menubar.cpp:349
msgid "Place graphic text (comment)" msgid "Place graphic text (comment)"
msgstr "Placer textes graphiques (commentaires)" msgstr "Placer textes graphiques (commentaires)"
...@@ -8547,7 +8594,6 @@ msgid "Delete selections" ...@@ -8547,7 +8594,6 @@ msgid "Delete selections"
msgstr "Effacement des associations existantes" msgstr "Effacement des associations existantes"
#: cvpcb/cvframe.cpp:376 #: cvpcb/cvframe.cpp:376
#: cvpcb/init.cpp:112
#, c-format #, c-format
msgid "Componants: %d (free: %d)" msgid "Componants: %d (free: %d)"
msgstr "Composants: %d (libres: %d)" msgstr "Composants: %d (libres: %d)"
...@@ -8642,6 +8688,7 @@ msgid "1:1 zoom" ...@@ -8642,6 +8688,7 @@ msgid "1:1 zoom"
msgstr "1:1 zoom" msgstr "1:1 zoom"
#: cvpcb/genorcad.cpp:134 #: cvpcb/genorcad.cpp:134
#: cvpcb/writenetlistpcbnew.cpp:168
#, c-format #, c-format
msgid "%s %s pin %s : Different Nets" msgid "%s %s pin %s : Different Nets"
msgstr "%s %s pin %s : Nets Differents" msgstr "%s %s pin %s : Nets Differents"
...@@ -9614,71 +9661,71 @@ msgstr "Infos:" ...@@ -9614,71 +9661,71 @@ msgstr "Infos:"
msgid "Colors" msgid "Colors"
msgstr "Couleurs" msgstr "Couleurs"
#: common/edaappl.cpp:57 #: common/edaappl.cpp:56
msgid "Default" msgid "Default"
msgstr "Defaut" msgstr "Defaut"
#: common/edaappl.cpp:70 #: common/edaappl.cpp:69
msgid "French" msgid "French"
msgstr "French" msgstr "French"
#: common/edaappl.cpp:76 #: common/edaappl.cpp:75
msgid "Spanish" msgid "Spanish"
msgstr "Espagnol" msgstr "Espagnol"
#: common/edaappl.cpp:82 #: common/edaappl.cpp:81
msgid "Portuguese" msgid "Portuguese"
msgstr "Portugais" msgstr "Portugais"
#: common/edaappl.cpp:88 #: common/edaappl.cpp:87
msgid "Italian" msgid "Italian"
msgstr "Italien" msgstr "Italien"
#: common/edaappl.cpp:94 #: common/edaappl.cpp:93
msgid "German" msgid "German"
msgstr "Allemand" msgstr "Allemand"
#: common/edaappl.cpp:100 #: common/edaappl.cpp:99
msgid "Slovenian" msgid "Slovenian"
msgstr "Slovène" msgstr "Slovène"
#: common/edaappl.cpp:106 #: common/edaappl.cpp:105
msgid "Hungarian" msgid "Hungarian"
msgstr "Hongrois" msgstr "Hongrois"
#: common/edaappl.cpp:112 #: common/edaappl.cpp:111
msgid "Polish" msgid "Polish"
msgstr "Polonais" msgstr "Polonais"
#: common/edaappl.cpp:118 #: common/edaappl.cpp:117
msgid "Czech" msgid "Czech"
msgstr "Tchèque" msgstr "Tchèque"
#: common/edaappl.cpp:124 #: common/edaappl.cpp:123
msgid "Russian" msgid "Russian"
msgstr "Russe" msgstr "Russe"
#: common/edaappl.cpp:130 #: common/edaappl.cpp:129
msgid "Korean" msgid "Korean"
msgstr "Coréen" msgstr "Coréen"
#: common/edaappl.cpp:136 #: common/edaappl.cpp:135
msgid "Chinese simplified" msgid "Chinese simplified"
msgstr "Chinois Simplifié" msgstr "Chinois Simplifié"
#: common/edaappl.cpp:142 #: common/edaappl.cpp:141
msgid "Catalan" msgid "Catalan"
msgstr "Catalan" msgstr "Catalan"
#: common/edaappl.cpp:148 #: common/edaappl.cpp:147
msgid "Dutch" msgid "Dutch"
msgstr "Hollandais" msgstr "Hollandais"
#: common/edaappl.cpp:613 #: common/edaappl.cpp:612
msgid "Language" msgid "Language"
msgstr "Langage" msgstr "Langage"
#: common/edaappl.cpp:614 #: common/edaappl.cpp:613
msgid "Select application language (only for testing!)" msgid "Select application language (only for testing!)"
msgstr "Choisir le langage (seulement pour tests!)" msgstr "Choisir le langage (seulement pour tests!)"
...@@ -10398,7 +10445,7 @@ msgstr "Options de Nettoyage" ...@@ -10398,7 +10445,7 @@ msgstr "Options de Nettoyage"
msgid "DRC Control" msgid "DRC Control"
msgstr "Contrôle DRC" msgstr "Contrôle DRC"
#: pcbnew/dialog_edit_mod_text.h:43 #: pcbnew/dialog_edit_module_text.h:43
msgid "TextMod properties" msgid "TextMod properties"
msgstr "Propriétés du Texte sur Module" msgstr "Propriétés du Texte sur Module"
...@@ -10538,6 +10585,10 @@ msgstr "Afficher Modules Cmp" ...@@ -10538,6 +10585,10 @@ msgstr "Afficher Modules Cmp"
msgid "Show Modules Cu" msgid "Show Modules Cu"
msgstr "Afficher Modules Cu" msgstr "Afficher Modules Cu"
#: pcbnew/dialog_edit_module_text_base.h:64
msgid "Footprint text properties"
msgstr "Propriétés du texts sur module"
#: pcbnew/dialog_general_options_BoardEditor_base.h:81 #: pcbnew/dialog_general_options_BoardEditor_base.h:81
msgid "General settings" msgid "General settings"
msgstr "Options Générales" msgstr "Options Générales"
...@@ -10854,6 +10905,10 @@ msgstr "Imprimer" ...@@ -10854,6 +10905,10 @@ msgstr "Imprimer"
msgid "Create SVG file" msgid "Create SVG file"
msgstr "Créer Fichier SVG" msgstr "Créer Fichier SVG"
#~ msgid "show"
#~ msgstr "Visible"
#~ msgid "no show"
#~ msgstr "Invisible"
#~ msgid "Modules" #~ msgid "Modules"
#~ msgstr "Modules" #~ msgstr "Modules"
#~ msgid "Module Texts" #~ msgid "Module Texts"
......
...@@ -56,6 +56,8 @@ set(PCBNEW_SRCS ...@@ -56,6 +56,8 @@ set(PCBNEW_SRCS
dialog_general_options.cpp dialog_general_options.cpp
dialog_general_options_BoardEditor_base.cpp dialog_general_options_BoardEditor_base.cpp
# dialog_graphic_items_options.cpp # dialog_graphic_items_options.cpp
dialog_graphic_item_properties.cpp
dialog_graphic_item_properties_base.cpp
# dialog_initpcb.cpp # dialog_initpcb.cpp
# dialog_netlist.cpp # dialog_netlist.cpp
dialog_pcb_text_properties.cpp dialog_pcb_text_properties.cpp
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
class DRAWSEGMENT : public BOARD_ITEM class DRAWSEGMENT : public BOARD_ITEM
{ {
public: public:
int m_Width; // 0 = line. if > 0 = tracks, bus ... int m_Width; // thickness of lines ...
wxPoint m_Start; // Line start point wxPoint m_Start; // Line start point
wxPoint m_End; // Line end point wxPoint m_End; // Line end point
......
/******************************************************/ /*******************************************************************/
/* editpads.cpp: Pad editing functions and dialog box */ /* dialog_pad_properties.cpp: Pad editing functions and dialog box */
/******************************************************/ /* see also dialog_pad_properties.xxx (built with wxFormBuilder) */
/*******************************************************************/
#include "fctsys.h" #include "fctsys.h"
#include "common.h" #include "common.h"
...@@ -514,7 +515,10 @@ void DialogPadProperties::PadPropertiesAccept( wxCommandEvent& event ) ...@@ -514,7 +515,10 @@ void DialogPadProperties::PadPropertiesAccept( wxCommandEvent& event )
if( m_CurrentPad->GetNetname() != Current_PadNetName ) if( m_CurrentPad->GetNetname() != Current_PadNetName )
{ {
if( Current_PadNetName.IsEmpty() ) if( Current_PadNetName.IsEmpty() )
{
m_CurrentPad->SetNet( 0 ); m_CurrentPad->SetNet( 0 );
m_CurrentPad->SetNetname( Current_PadNetName );
}
else else
{ {
const EQUIPOT* net = m_Parent->m_Pcb->FindNet( Current_PadNetName ); const EQUIPOT* net = m_Parent->m_Pcb->FindNet( Current_PadNetName );
......
...@@ -842,7 +842,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event ) ...@@ -842,7 +842,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
break; break;
case ID_POPUP_PCB_EDIT_DRAWING: case ID_POPUP_PCB_EDIT_DRAWING:
Drawing_SetNewWidth( (DRAWSEGMENT*) GetCurItem(), &dc ); InstallGraphicItemPropertiesDialog( (DRAWSEGMENT*)GetCurItem(), &dc);
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
break; break;
......
...@@ -126,31 +126,6 @@ void WinEDA_PcbFrame::Delete_Segment_Edge( DRAWSEGMENT* Segment, wxDC* DC ) ...@@ -126,31 +126,6 @@ void WinEDA_PcbFrame::Delete_Segment_Edge( DRAWSEGMENT* Segment, wxDC* DC )
} }
/*************************************************************************/
void WinEDA_PcbFrame::Drawing_SetNewWidth( DRAWSEGMENT* DrawSegm, wxDC* DC )
/*************************************************************************/
/* Met a la largeur courante le segment pointe part la souris
*/
{
if( DrawSegm == NULL )
return;
DrawSegm->Draw( DrawPanel, DC, GR_XOR );
if( DrawSegm->GetLayer() == EDGE_N )
DrawSegm->m_Width = g_DesignSettings.m_EdgeSegmentWidth;
else
DrawSegm->m_Width = g_DesignSettings.m_DrawSegmentWidth;
DrawSegm->Draw( DrawPanel, DC, GR_OR );
DrawSegm->Display_Infos( this );
GetScreen()->SetModify();
}
/******************************************************************************/ /******************************************************************************/
void WinEDA_PcbFrame::Delete_Drawings_All_Layer( DRAWSEGMENT* Segment, wxDC* DC ) void WinEDA_PcbFrame::Delete_Drawings_All_Layer( DRAWSEGMENT* Segment, wxDC* DC )
/******************************************************************************/ /******************************************************************************/
......
...@@ -28,6 +28,8 @@ OBJECTS= $(TARGET).o classpcb.o\ ...@@ -28,6 +28,8 @@ OBJECTS= $(TARGET).o classpcb.o\
dialog_freeroute_exchange.o\ dialog_freeroute_exchange.o\
modedit_undo_redo.o\ modedit_undo_redo.o\
block_module_editor.o\ block_module_editor.o\
dialog_graphic_item_properties.o\
dialog_graphic_item_properties_base.o\
dialog_pad_properties.o\ dialog_pad_properties.o\
dialog_pad_properties_base.o\ dialog_pad_properties_base.o\
dialog_pcb_text_properties.o\ dialog_pcb_text_properties.o\
......
...@@ -391,12 +391,18 @@ void WinEDA_PcbFrame::OnLeftDClick( wxDC* DC, const wxPoint& MousePos ) ...@@ -391,12 +391,18 @@ void WinEDA_PcbFrame::OnLeftDClick( wxDC* DC, const wxPoint& MousePos )
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
break; break;
case TYPE_COTATION:
Install_Edit_Cotation( (COTATION*) DrawStruct, &dc, pos );
DrawPanel->MouseToCursorSchema();
break;
case TYPE_TEXTE_MODULE: case TYPE_TEXTE_MODULE:
InstallTextModOptionsFrame( (TEXTE_MODULE*) DrawStruct, &dc, pos ); InstallTextModOptionsFrame( (TEXTE_MODULE*) DrawStruct, &dc, pos );
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
break; break;
case TYPE_DRAWSEGMENT: case TYPE_DRAWSEGMENT:
InstallGraphicItemPropertiesDialog((DRAWSEGMENT*)DrawStruct, &dc);
break; break;
case TYPE_ZONE_CONTAINER: case TYPE_ZONE_CONTAINER:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment