Commit 7055a2bc authored by CHARRAS's avatar CHARRAS

zone outlines edition: added drag outline edge

parent a60cbb91
...@@ -351,7 +351,7 @@ bool SnapPoint2( const wxPoint& PosRef, int SearchMask, ...@@ -351,7 +351,7 @@ bool SnapPoint2( const wxPoint& PosRef, int SearchMask,
switch( STRUCT->m_Orient ) switch( STRUCT->m_Orient )
{ {
case 0: /* HORIZONTAL */ case 0: /* HORIZONTAL Left justified */
x2 += dx; y2 -= dy; x2 += dx; y2 -= dy;
break; break;
...@@ -359,12 +359,12 @@ bool SnapPoint2( const wxPoint& PosRef, int SearchMask, ...@@ -359,12 +359,12 @@ bool SnapPoint2( const wxPoint& PosRef, int SearchMask,
x2 -= dy; y2 -= dx; x2 -= dy; y2 -= dx;
break; break;
case 2: /* horizontal inverse */ case 2: /* horizontal Right justified */
x2 -= dx; y2 += dy; x2 -= dx; y2 -= dy;
break; break;
case 3: /* vertical DOWN */ case 3: /* vertical DOWN */
x2 += dy; y2 += dx; x2 -= dy; y2 += dx;
break; break;
} }
...@@ -571,7 +571,7 @@ bool DrawStructInBox( int x1, int y1, int x2, int y2, ...@@ -571,7 +571,7 @@ bool DrawStructInBox( int x1, int y1, int x2, int y2,
switch( STRUCT->m_Orient ) switch( STRUCT->m_Orient )
{ {
case 0: /* HORIZONTAL */ case 0: /* HORIZONTAL Left justified */
xt2 += dx; yt2 -= dy; xt2 += dx; yt2 -= dy;
break; break;
...@@ -579,12 +579,12 @@ bool DrawStructInBox( int x1, int y1, int x2, int y2, ...@@ -579,12 +579,12 @@ bool DrawStructInBox( int x1, int y1, int x2, int y2,
xt2 -= dy; yt2 -= dx; xt2 -= dy; yt2 -= dx;
break; break;
case 2: /* horizontal inverse */ case 2: /* horizontal Right justified */
xt2 -= dx; yt2 += dy; xt2 -= dx; yt2 -= dy;
break; break;
case 3: /* vertical DOWN */ case 3: /* vertical DOWN */
xt2 += dy; yt2 += dx; xt2 -= dy; yt2 += dx;
break; break;
} }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
COMMON_GLOBL wxString g_BuildVersion COMMON_GLOBL wxString g_BuildVersion
#ifdef EDA_BASE #ifdef EDA_BASE
(wxT("(2008-01-22)")) (wxT("(2008-02-01)"))
#endif #endif
; ;
......
...@@ -564,8 +564,8 @@ enum main_id { ...@@ -564,8 +564,8 @@ enum main_id {
ID_POPUP_PCB_DELETE_ZONE_CUTOUT, ID_POPUP_PCB_DELETE_ZONE_CUTOUT,
ID_POPUP_PCB_MOVE_ZONE_OUTLINES, ID_POPUP_PCB_MOVE_ZONE_OUTLINES,
ID_POPUP_PCB_PLACE_ZONE_OUTLINES, ID_POPUP_PCB_PLACE_ZONE_OUTLINES,
ID_POPUP_ZONE_UNUSED1, ID_POPUP_PCB_DRAG_ZONE_OUTLINE_SEGMENT,
ID_POPUP_ZONE_UNUSED2, ID_POPUP_PCB_PLACE_DRAGGED_ZONE_OUTLINE_SEGMENT,
ID_POPUP_ZONE_UNUSED3, ID_POPUP_ZONE_UNUSED3,
ID_POPUP_ZONE_UNUSED4, ID_POPUP_ZONE_UNUSED4,
......
...@@ -561,6 +561,14 @@ public: ...@@ -561,6 +561,14 @@ public:
bool IsNewCorner ); bool IsNewCorner );
/** /**
* Function Start_Move_Zone_Corner
* Prepares a drag edge in an existing zone outline,
*/
void Start_Move_Zone_Drag_Outline_Edge( wxDC* DC,
ZONE_CONTAINER* zone_container,
int corner_id );
/**
* Function End_Move_Zone_Corner_Or_Outlines * Function End_Move_Zone_Corner_Or_Outlines
* Terminates a move corner in a zone outline, or a move zone outlines * Terminates a move corner in a zone outline, or a move zone outlines
* @param DC = current Device Context (can be NULL) * @param DC = current Device Context (can be NULL)
......
No preview for this file type
...@@ -2,7 +2,7 @@ msgid "" ...@@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: kicad\n" "Project-Id-Version: kicad\n"
"POT-Creation-Date: \n" "POT-Creation-Date: \n"
"PO-Revision-Date: 2008-01-26 16:17+0100\n" "PO-Revision-Date: 2008-02-01 22:30+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"
...@@ -373,8 +373,8 @@ msgstr "OK" ...@@ -373,8 +373,8 @@ msgstr "OK"
#: pcbnew/dialog_edit_module.cpp:122 #: pcbnew/dialog_edit_module.cpp:122
#: pcbnew/muonde.cpp:352 #: pcbnew/muonde.cpp:352
#: pcbnew/pcbtexte.cpp:116 #: pcbnew/pcbtexte.cpp:116
#: pcbnew/modedit_onclick.cpp:203 #: pcbnew/modedit_onclick.cpp:202
#: pcbnew/modedit_onclick.cpp:235 #: pcbnew/modedit_onclick.cpp:234
#: pcbnew/onrightclick.cpp:157 #: pcbnew/onrightclick.cpp:157
#: pcbnew/onrightclick.cpp:171 #: pcbnew/onrightclick.cpp:171
#: pcbnew/block.cpp:154 #: pcbnew/block.cpp:154
...@@ -407,7 +407,7 @@ msgid "Change module(s)" ...@@ -407,7 +407,7 @@ msgid "Change module(s)"
msgstr "Change module(s)" msgstr "Change module(s)"
#: pcbnew/dialog_edit_module.cpp:186 #: pcbnew/dialog_edit_module.cpp:186
#: pcbnew/modedit_onclick.cpp:261 #: pcbnew/modedit_onclick.cpp:260
msgid "Edit Module" msgid "Edit Module"
msgstr "Edit Module" msgstr "Edit Module"
...@@ -458,8 +458,7 @@ msgstr "Cuivre" ...@@ -458,8 +458,7 @@ msgstr "Cuivre"
#: pcbnew/sel_layer.cpp:145 #: pcbnew/sel_layer.cpp:145
#: pcbnew/class_pad.cpp:970 #: pcbnew/class_pad.cpp:970
#: pcbnew/class_drawsegment.cpp:175 #: pcbnew/class_drawsegment.cpp:175
#: pcbnew/class_zone.cpp:61 #: pcbnew/class_zone.cpp:555
#: pcbnew/class_zone.cpp:523
#: gerbview/affiche.cpp:109 #: gerbview/affiche.cpp:109
msgid "Layer" msgid "Layer"
msgstr "Couche" msgstr "Couche"
...@@ -600,6 +599,30 @@ msgstr "Filtre pour nets:" ...@@ -600,6 +599,30 @@ msgstr "Filtre pour nets:"
msgid "List Nets" msgid "List Nets"
msgstr "Liste quipots" msgstr "Liste quipots"
#: pcbnew/dsn.cpp:502
msgid "Line length exceeded"
msgstr "Longueur de ligne dpasse"
#: pcbnew/dsn.cpp:616
msgid "in file"
msgstr "dans le fichier"
#: pcbnew/dsn.cpp:617
msgid "on line"
msgstr "en ligne"
#: pcbnew/dsn.cpp:618
msgid "at offset"
msgstr "a l'offset"
#: pcbnew/dsn.cpp:666
msgid "String delimiter must be a single character of ', \", or $"
msgstr "Le caractre de dlimitation de ligne doit tre un seul caractre ', \", or $"
#: pcbnew/dsn.cpp:756
msgid "Un-terminated delimited string"
msgstr "Ligne dlimite non termine"
#: pcbnew/loadcmp.cpp:103 #: pcbnew/loadcmp.cpp:103
msgid "Module name:" msgid "Module name:"
msgstr "Nom module:" msgstr "Nom module:"
...@@ -634,36 +657,36 @@ msgstr "Librairie: " ...@@ -634,36 +657,36 @@ msgstr "Librairie: "
msgid "Modules (%d items)" msgid "Modules (%d items)"
msgstr "Modules (%d lments)" msgstr "Modules (%d lments)"
#: pcbnew/edit.cpp:177 #: pcbnew/edit.cpp:179
#: pcbnew/editmod.cpp:45 #: pcbnew/editmod.cpp:45
msgid "Module Editor" msgid "Module Editor"
msgstr "Ouvrir Editeur de modules" msgstr "Ouvrir Editeur de modules"
#: pcbnew/edit.cpp:257 #: pcbnew/edit.cpp:259
msgid "Add Tracks" msgid "Add Tracks"
msgstr "Addition de pistes" msgstr "Addition de pistes"
#: pcbnew/edit.cpp:266 #: pcbnew/edit.cpp:268
msgid "Add Zones" msgid "Add Zones"
msgstr "Addition de Zones" msgstr "Addition de Zones"
#: pcbnew/edit.cpp:268 #: pcbnew/edit.cpp:270
msgid "Warning: Display Zone is OFF!!!" msgid "Warning: Display Zone is OFF!!!"
msgstr "Attention: Affichage zones dsactiv !!!" msgstr "Attention: Affichage zones dsactiv !!!"
#: pcbnew/edit.cpp:275 #: pcbnew/edit.cpp:276
msgid "Add Layer Alignment Target" msgid "Add Layer Alignment Target"
msgstr "Ajouter Mire de superposition" msgstr "Ajouter Mire de superposition"
#: pcbnew/edit.cpp:279 #: pcbnew/edit.cpp:280
msgid "Adjust Zero" msgid "Adjust Zero"
msgstr "Ajuster Zro" msgstr "Ajuster Zro"
#: pcbnew/edit.cpp:285 #: pcbnew/edit.cpp:286
msgid "Add Graphic" msgid "Add Graphic"
msgstr "Addition lments graphiques" msgstr "Addition lments graphiques"
#: pcbnew/edit.cpp:289 #: pcbnew/edit.cpp:290
#: pcbnew/tool_modedit.cpp:180 #: pcbnew/tool_modedit.cpp:180
#: eeschema/schedit.cpp:315 #: eeschema/schedit.cpp:315
#: eeschema/libframe.cpp:503 #: eeschema/libframe.cpp:503
...@@ -671,23 +694,23 @@ msgstr "Addition ...@@ -671,23 +694,23 @@ msgstr "Addition
msgid "Add Text" msgid "Add Text"
msgstr "Ajout de Texte" msgstr "Ajout de Texte"
#: pcbnew/edit.cpp:293 #: pcbnew/edit.cpp:294
msgid "Add Modules" msgid "Add Modules"
msgstr "Addition de Modules" msgstr "Addition de Modules"
#: pcbnew/edit.cpp:297 #: pcbnew/edit.cpp:298
msgid "Add Dimension" msgid "Add Dimension"
msgstr "Ajout de cotes" msgstr "Ajout de cotes"
#: pcbnew/edit.cpp:305 #: pcbnew/edit.cpp:306
msgid "Net Highlight" msgid "Net Highlight"
msgstr "Surbrillance des quipotentielles" msgstr "Surbrillance des quipotentielles"
#: pcbnew/edit.cpp:309 #: pcbnew/edit.cpp:310
msgid "Local Ratsnest" msgid "Local Ratsnest"
msgstr "Monter le chevelu gnral" msgstr "Monter le chevelu gnral"
#: pcbnew/edit.cpp:533 #: pcbnew/edit.cpp:552
#: pcbnew/modedit.cpp:424 #: pcbnew/modedit.cpp:424
#: eeschema/schedit.cpp:455 #: eeschema/schedit.cpp:455
#: eeschema/libframe.cpp:579 #: eeschema/libframe.cpp:579
...@@ -1217,7 +1240,7 @@ msgstr "Echelle" ...@@ -1217,7 +1240,7 @@ msgstr "Echelle"
#: pcbnew/dialog_display_options.cpp:221 #: pcbnew/dialog_display_options.cpp:221
#: pcbnew/dialog_display_options.cpp:229 #: pcbnew/dialog_display_options.cpp:229
#: pcbnew/dialog_display_options.cpp:266 #: pcbnew/dialog_display_options.cpp:266
#: pcbnew/class_board_item.cpp:98 #: pcbnew/class_board_item.cpp:99
#: pcbnew/dialog_zones_by_polygon.cpp:168 #: pcbnew/dialog_zones_by_polygon.cpp:168
#: gerbview/options.cpp:321 #: gerbview/options.cpp:321
msgid "Line" msgid "Line"
...@@ -1317,8 +1340,7 @@ msgstr "Module" ...@@ -1317,8 +1340,7 @@ msgstr "Module"
#: pcbnew/class_marker.cpp:133 #: pcbnew/class_marker.cpp:133
#: pcbnew/class_track.cpp:776 #: pcbnew/class_track.cpp:776
#: pcbnew/class_drawsegment.cpp:159 #: pcbnew/class_drawsegment.cpp:159
#: pcbnew/class_zone.cpp:59 #: pcbnew/class_zone.cpp:526
#: pcbnew/class_zone.cpp:494
#: gerbview/affiche.cpp:93 #: gerbview/affiche.cpp:93
msgid "Type" msgid "Type"
msgstr "Type" msgstr "Type"
...@@ -1342,7 +1364,7 @@ msgstr "Oui" ...@@ -1342,7 +1364,7 @@ msgstr "Oui"
#: pcbnew/class_text_mod.cpp:380 #: pcbnew/class_text_mod.cpp:380
#: pcbnew/pcbtexte.cpp:176 #: pcbnew/pcbtexte.cpp:176
#: pcbnew/class_pcb_text.cpp:181 #: pcbnew/class_pcb_text.cpp:181
#: pcbnew/modedit_onclick.cpp:254 #: pcbnew/modedit_onclick.cpp:253
#: pcbnew/cotation.cpp:113 #: pcbnew/cotation.cpp:113
#: gerbview/affiche.cpp:40 #: gerbview/affiche.cpp:40
#: share/dialog_print.cpp:178 #: share/dialog_print.cpp:178
...@@ -1533,7 +1555,7 @@ msgstr "NetName Pad:" ...@@ -1533,7 +1555,7 @@ msgstr "NetName Pad:"
#: pcbnew/dialog_pad_edit.cpp:176 #: pcbnew/dialog_pad_edit.cpp:176
#: pcbnew/dialog_pad_edit.cpp:196 #: pcbnew/dialog_pad_edit.cpp:196
#: pcbnew/class_board_item.cpp:107 #: pcbnew/class_board_item.cpp:108
#: pcbnew/class_track.cpp:802 #: pcbnew/class_track.cpp:802
#: pcbnew/class_drawsegment.cpp:164 #: pcbnew/class_drawsegment.cpp:164
msgid "Circle" msgid "Circle"
...@@ -1567,7 +1589,7 @@ msgid "Pad Orient:" ...@@ -1567,7 +1589,7 @@ msgid "Pad Orient:"
msgstr "Orient pad:" msgstr "Orient pad:"
#: pcbnew/dialog_pad_edit.cpp:198 #: pcbnew/dialog_pad_edit.cpp:198
#: pcbnew/class_board_item.cpp:101 #: pcbnew/class_board_item.cpp:102
msgid "Rect" msgid "Rect"
msgstr "Rect" msgstr "Rect"
...@@ -1961,29 +1983,33 @@ msgstr "Valeur incorrecte pour offset du pad" ...@@ -1961,29 +1983,33 @@ msgstr "Valeur incorrecte pour offset du pad"
msgid "Unknown netname, no change" msgid "Unknown netname, no change"
msgstr "Net inconnu, pas de changement" msgstr "Net inconnu, pas de changement"
#: pcbnew/specctra.cpp:92 #: pcbnew/specctra.cpp:94
#: pcbnew/specctra.cpp:99 #: pcbnew/specctra.cpp:101
msgid "Expecting" msgid "Expecting"
msgstr "Attendu" msgstr "Attendu"
#: pcbnew/specctra.cpp:106 #: pcbnew/specctra.cpp:108
#: pcbnew/specctra.cpp:113 #: pcbnew/specctra.cpp:115
msgid "Unexpected" msgid "Unexpected"
msgstr "Inattendu" msgstr "Inattendu"
#: pcbnew/specctra.cpp:272 #: pcbnew/specctra.cpp:274
#: pcbnew/specctra.cpp:302 #: pcbnew/specctra.cpp:304
#: pcbnew/specctra.cpp:3395 #: pcbnew/specctra.cpp:3429
#: pcbnew/specctra.cpp:3420 #: pcbnew/specctra.cpp:3454
#, c-format #, c-format
msgid "Unable to open file \"%s\"" msgid "Unable to open file \"%s\""
msgstr "Ne peut pas ouvrirle fichier \"%s\"" msgstr "Ne peut pas ouvrirle fichier \"%s\""
#: pcbnew/specctra.cpp:3348 #: pcbnew/specctra.cpp:3375
#, c-format #, c-format
msgid "System file error writing to file \"%s\"" msgid "System file error writing to file \"%s\""
msgstr "Erreur systme sur criture fichier \"%s\"" msgstr "Erreur systme sur criture fichier \"%s\""
#: pcbnew/specctra.cpp:3550
msgid "Error writing to STRINGFORMATTER"
msgstr "Error writing to STRINGFORMATTER"
#: pcbnew/class_pcb_text.cpp:173 #: pcbnew/class_pcb_text.cpp:173
#: gerbview/affiche.cpp:29 #: gerbview/affiche.cpp:29
msgid "COTATION" msgid "COTATION"
...@@ -2017,9 +2043,9 @@ msgid "Keep" ...@@ -2017,9 +2043,9 @@ msgid "Keep"
msgstr "Garder" msgstr "Garder"
#: pcbnew/dialog_netlist.cpp:143 #: pcbnew/dialog_netlist.cpp:143
#: pcbnew/onrightclick.cpp:612 #: pcbnew/onrightclick.cpp:618
#: pcbnew/onrightclick.cpp:785 #: pcbnew/onrightclick.cpp:799
#: pcbnew/onrightclick.cpp:882 #: pcbnew/onrightclick.cpp:896
#: eeschema/edit_component_in_lib.cpp:239 #: eeschema/edit_component_in_lib.cpp:239
#: eeschema/edit_component_in_lib.cpp:320 #: eeschema/edit_component_in_lib.cpp:320
msgid "Delete" msgid "Delete"
...@@ -2154,56 +2180,32 @@ msgstr "Valeur:" ...@@ -2154,56 +2180,32 @@ msgstr "Valeur:"
msgid "Current Board will be lost ?" msgid "Current Board will be lost ?"
msgstr "Le C.I. courant sera perdu ?" msgstr "Le C.I. courant sera perdu ?"
#: pcbnew/initpcb.cpp:215 #: pcbnew/initpcb.cpp:213
msgid "Delete Zones ?" msgid "Delete Zones ?"
msgstr "Effacer Zones ?" msgstr "Effacer Zones ?"
#: pcbnew/initpcb.cpp:243 #: pcbnew/initpcb.cpp:240
msgid "Delete Board edges ?" msgid "Delete Board edges ?"
msgstr "Effacement contour PCB" msgstr "Effacement contour PCB"
#: pcbnew/initpcb.cpp:248 #: pcbnew/initpcb.cpp:245
msgid "Delete draw items?" msgid "Delete draw items?"
msgstr "Suppression lments graphiques?" msgstr "Suppression lments graphiques?"
#: pcbnew/initpcb.cpp:290 #: pcbnew/initpcb.cpp:287
#: gerbview/initpcb.cpp:150 #: gerbview/initpcb.cpp:150
msgid "Delete Tracks?" msgid "Delete Tracks?"
msgstr "Effacer Pistes ?" msgstr "Effacer Pistes ?"
#: pcbnew/initpcb.cpp:313 #: pcbnew/initpcb.cpp:310
msgid "Delete Modules?" msgid "Delete Modules?"
msgstr "Effacement des Modules?" msgstr "Effacement des Modules?"
#: pcbnew/initpcb.cpp:336 #: pcbnew/initpcb.cpp:333
#: gerbview/initpcb.cpp:173 #: gerbview/initpcb.cpp:173
msgid "Delete Pcb Texts" msgid "Delete Pcb Texts"
msgstr "Effacer Textes Pcb" msgstr "Effacer Textes Pcb"
#: pcbnew/dsn.cpp:501
msgid "Line length exceeded"
msgstr "Longueur de ligne dpasse"
#: pcbnew/dsn.cpp:615
msgid "in file"
msgstr "dans le fichier"
#: pcbnew/dsn.cpp:616
msgid "on line"
msgstr "en ligne"
#: pcbnew/dsn.cpp:617
msgid "at offset"
msgstr "a l'offset"
#: pcbnew/dsn.cpp:665
msgid "String delimiter must be a single character of ', \", or $"
msgstr "Le caractre de dlimitation de ligne doit tre un seul caractre ', \", or $"
#: pcbnew/dsn.cpp:755
msgid "Un-terminated delimited string"
msgstr "Ligne dlimite non termine"
#: pcbnew/modedit.cpp:77 #: pcbnew/modedit.cpp:77
#: pcbnew/controle.cpp:172 #: pcbnew/controle.cpp:172
msgid "Selection Clarification" msgid "Selection Clarification"
...@@ -2242,7 +2244,7 @@ msgstr "Ajouter Pastilles" ...@@ -2242,7 +2244,7 @@ msgstr "Ajouter Pastilles"
msgid "Add Drawing" msgid "Add Drawing"
msgstr "Ajout d'lments graphiques" msgstr "Ajout d'lments graphiques"
#: pcbnew/modedit_onclick.cpp:207 #: pcbnew/modedit_onclick.cpp:206
#: pcbnew/onrightclick.cpp:162 #: pcbnew/onrightclick.cpp:162
#: eeschema/onrightclick.cpp:126 #: eeschema/onrightclick.cpp:126
#: eeschema/libedit_onrightclick.cpp:53 #: eeschema/libedit_onrightclick.cpp:53
...@@ -2250,156 +2252,156 @@ msgstr "Ajout d' ...@@ -2250,156 +2252,156 @@ msgstr "Ajout d'
msgid "End Tool" msgid "End Tool"
msgstr "Fin Outil" msgstr "Fin Outil"
#: pcbnew/modedit_onclick.cpp:217 #: pcbnew/modedit_onclick.cpp:216
#: pcbnew/onrightclick.cpp:486 #: pcbnew/onrightclick.cpp:484
#: eeschema/onrightclick.cpp:587 #: eeschema/onrightclick.cpp:587
#: eeschema/libedit_onrightclick.cpp:237 #: eeschema/libedit_onrightclick.cpp:237
#: gerbview/onrightclick.cpp:51 #: gerbview/onrightclick.cpp:51
msgid "Cancel Block" msgid "Cancel Block"
msgstr "Annuler Bloc" msgstr "Annuler Bloc"
#: pcbnew/modedit_onclick.cpp:219 #: pcbnew/modedit_onclick.cpp:218
#: pcbnew/onrightclick.cpp:488 #: pcbnew/onrightclick.cpp:486
#: gerbview/onrightclick.cpp:52 #: gerbview/onrightclick.cpp:52
msgid "Zoom Block (Midd butt drag)" msgid "Zoom Block (Midd butt drag)"
msgstr "Zoom Bloc (drag+bouton milieu)" msgstr "Zoom Bloc (drag+bouton milieu)"
#: pcbnew/modedit_onclick.cpp:222 #: pcbnew/modedit_onclick.cpp:221
#: pcbnew/onrightclick.cpp:491 #: pcbnew/onrightclick.cpp:489
#: eeschema/onrightclick.cpp:595 #: eeschema/onrightclick.cpp:595
#: eeschema/libedit_onrightclick.cpp:245 #: eeschema/libedit_onrightclick.cpp:245
#: gerbview/onrightclick.cpp:54 #: gerbview/onrightclick.cpp:54
msgid "Place Block" msgid "Place Block"
msgstr "Place Bloc" msgstr "Place Bloc"
#: pcbnew/modedit_onclick.cpp:224 #: pcbnew/modedit_onclick.cpp:223
#: pcbnew/onrightclick.cpp:493 #: pcbnew/onrightclick.cpp:491
#: eeschema/onrightclick.cpp:604 #: eeschema/onrightclick.cpp:604
#: eeschema/libedit_onrightclick.cpp:251 #: eeschema/libedit_onrightclick.cpp:251
msgid "Copy Block (shift + drag mouse)" msgid "Copy Block (shift + drag mouse)"
msgstr "Copie Bloc (shift + drag mouse)" msgstr "Copie Bloc (shift + drag mouse)"
#: pcbnew/modedit_onclick.cpp:226 #: pcbnew/modedit_onclick.cpp:225
msgid "Mirror Block (alt + drag mouse)" msgid "Mirror Block (alt + drag mouse)"
msgstr "Bloc Miroir (alt + drag mouse)" msgstr "Bloc Miroir (alt + drag mouse)"
#: pcbnew/modedit_onclick.cpp:228 #: pcbnew/modedit_onclick.cpp:227
#: pcbnew/onrightclick.cpp:497 #: pcbnew/onrightclick.cpp:495
msgid "Rotate Block (ctrl + drag mouse)" msgid "Rotate Block (ctrl + drag mouse)"
msgstr "Rotation Bloc (ctrl + drag mouse)" msgstr "Rotation Bloc (ctrl + drag mouse)"
#: pcbnew/modedit_onclick.cpp:230 #: pcbnew/modedit_onclick.cpp:229
#: pcbnew/onrightclick.cpp:499 #: pcbnew/onrightclick.cpp:497
msgid "Delete Block (shift+ctrl + drag mouse)" msgid "Delete Block (shift+ctrl + drag mouse)"
msgstr "Effacement Bloc (shift+ctrl + drag mouse)" msgstr "Effacement Bloc (shift+ctrl + drag mouse)"
#: pcbnew/modedit_onclick.cpp:252 #: pcbnew/modedit_onclick.cpp:251
#: pcbnew/onrightclick.cpp:779 #: pcbnew/onrightclick.cpp:793
#: pcbnew/onrightclick.cpp:876 #: pcbnew/onrightclick.cpp:890
msgid "Rotate" msgid "Rotate"
msgstr "Rotation" msgstr "Rotation"
#: pcbnew/modedit_onclick.cpp:256 #: pcbnew/modedit_onclick.cpp:255
msgid "Scale" msgid "Scale"
msgstr "Echelle" msgstr "Echelle"
#: pcbnew/modedit_onclick.cpp:257 #: pcbnew/modedit_onclick.cpp:256
msgid "Scale X" msgid "Scale X"
msgstr "Echelle X" msgstr "Echelle X"
#: pcbnew/modedit_onclick.cpp:258 #: pcbnew/modedit_onclick.cpp:257
msgid "Scale Y" msgid "Scale Y"
msgstr "Echelle Y" msgstr "Echelle Y"
#: pcbnew/modedit_onclick.cpp:264 #: pcbnew/modedit_onclick.cpp:263
msgid "Transform Module" msgid "Transform Module"
msgstr "Transforme Module" msgstr "Transforme Module"
#: pcbnew/modedit_onclick.cpp:272 #: pcbnew/modedit_onclick.cpp:271
msgid "Move Pad" msgid "Move Pad"
msgstr "Dplace Pad" msgstr "Dplace Pad"
#: pcbnew/modedit_onclick.cpp:274 #: pcbnew/modedit_onclick.cpp:273
#: pcbnew/onrightclick.cpp:818 #: pcbnew/onrightclick.cpp:832
msgid "Edit Pad" msgid "Edit Pad"
msgstr "Edit Pad" msgstr "Edit Pad"
#: pcbnew/modedit_onclick.cpp:276 #: pcbnew/modedit_onclick.cpp:275
#: pcbnew/onrightclick.cpp:822 #: pcbnew/onrightclick.cpp:836
msgid "New Pad Settings" msgid "New Pad Settings"
msgstr "Nouvelles Caract. Pads" msgstr "Nouvelles Caract. Pads"
#: pcbnew/modedit_onclick.cpp:278 #: pcbnew/modedit_onclick.cpp:277
#: pcbnew/onrightclick.cpp:824 #: pcbnew/onrightclick.cpp:838
msgid "Export Pad Settings" msgid "Export Pad Settings"
msgstr "Exporte Caract. Pads" msgstr "Exporte Caract. Pads"
#: pcbnew/modedit_onclick.cpp:280 #: pcbnew/modedit_onclick.cpp:279
msgid "delete Pad" msgid "delete Pad"
msgstr "Supprimer Pad" msgstr "Supprimer Pad"
#: pcbnew/modedit_onclick.cpp:285 #: pcbnew/modedit_onclick.cpp:284
#: pcbnew/onrightclick.cpp:829 #: pcbnew/onrightclick.cpp:843
msgid "Global Pad Settings" msgid "Global Pad Settings"
msgstr "Edition Globale des pads" msgstr "Edition Globale des pads"
#: pcbnew/modedit_onclick.cpp:293 #: pcbnew/modedit_onclick.cpp:292
msgid "Move Text Mod." msgid "Move Text Mod."
msgstr "Move Texte Mod." msgstr "Move Texte Mod."
#: pcbnew/modedit_onclick.cpp:296 #: pcbnew/modedit_onclick.cpp:295
msgid "Rotate Text Mod." msgid "Rotate Text Mod."
msgstr "Rot. Texte Mod." msgstr "Rot. Texte Mod."
#: pcbnew/modedit_onclick.cpp:298 #: pcbnew/modedit_onclick.cpp:297
msgid "Edit Text Mod." msgid "Edit Text Mod."
msgstr "Edit Texte Mod." msgstr "Edit Texte Mod."
#: pcbnew/modedit_onclick.cpp:301 #: pcbnew/modedit_onclick.cpp:300
msgid "Delete Text Mod." msgid "Delete Text Mod."
msgstr "Supprimer Texte Mod." msgstr "Supprimer Texte Mod."
#: pcbnew/modedit_onclick.cpp:308 #: pcbnew/modedit_onclick.cpp:307
msgid "End edge" msgid "End edge"
msgstr "Fin contour" msgstr "Fin contour"
#: pcbnew/modedit_onclick.cpp:311 #: pcbnew/modedit_onclick.cpp:310
msgid "Move edge" msgid "Move edge"
msgstr "Dplace contour" msgstr "Dplace contour"
#: pcbnew/modedit_onclick.cpp:314 #: pcbnew/modedit_onclick.cpp:313
msgid "Place edge" msgid "Place edge"
msgstr "Place contour" msgstr "Place contour"
#: pcbnew/modedit_onclick.cpp:317 #: pcbnew/modedit_onclick.cpp:316
#: pcbnew/onrightclick.cpp:747 #: pcbnew/onrightclick.cpp:761
#: pcbnew/onrightclick.cpp:781 #: pcbnew/onrightclick.cpp:795
#: pcbnew/onrightclick.cpp:878 #: pcbnew/onrightclick.cpp:892
#: eeschema/onrightclick.cpp:313 #: eeschema/onrightclick.cpp:313
msgid "Edit" msgid "Edit"
msgstr "Editer" msgstr "Editer"
#: pcbnew/modedit_onclick.cpp:319 #: pcbnew/modedit_onclick.cpp:318
msgid "Edit Width (Current)" msgid "Edit Width (Current)"
msgstr "Edit Epaisseur (Courant)" msgstr "Edit Epaisseur (Courant)"
#: pcbnew/modedit_onclick.cpp:321 #: pcbnew/modedit_onclick.cpp:320
msgid "Edit Width (All)" msgid "Edit Width (All)"
msgstr "Edit Epaisseur (Tous)" msgstr "Edit Epaisseur (Tous)"
#: pcbnew/modedit_onclick.cpp:323 #: pcbnew/modedit_onclick.cpp:322
msgid "Edit Layer (Current)" msgid "Edit Layer (Current)"
msgstr "Edit Couche (Courant)" msgstr "Edit Couche (Courant)"
#: pcbnew/modedit_onclick.cpp:325 #: pcbnew/modedit_onclick.cpp:324
msgid "Edit Layer (All)" msgid "Edit Layer (All)"
msgstr "Edit Couche (Tous)" msgstr "Edit Couche (Tous)"
#: pcbnew/modedit_onclick.cpp:327 #: pcbnew/modedit_onclick.cpp:326
msgid "Delete edge" msgid "Delete edge"
msgstr "Effacement contour" msgstr "Effacement contour"
#: pcbnew/modedit_onclick.cpp:368 #: pcbnew/modedit_onclick.cpp:367
msgid "Set Width" msgid "Set Width"
msgstr "Ajuste Epaiss" msgstr "Ajuste Epaiss"
...@@ -2419,6 +2421,113 @@ msgstr "Vias" ...@@ -2419,6 +2421,113 @@ msgstr "Vias"
msgid "Tracks" msgid "Tracks"
msgstr "Pistes" msgstr "Pistes"
#: pcbnew/pcbframe.cpp:269
msgid "Board modified, Save before exit ?"
msgstr "Circuit Imprim modifie, Sauver avant de quitter ?"
#: pcbnew/pcbframe.cpp:270
#: eeschema/schframe.cpp:184
#: cvpcb/cvframe.cpp:178
#: common/confirm.cpp:119
msgid "Confirmation"
msgstr "Confirmation"
#: pcbnew/pcbframe.cpp:370
msgid "DRC Off (Disable !!!), Currently: DRC is active"
msgstr "DRC off (dsactive !!!), actuellement DRC active"
#: pcbnew/pcbframe.cpp:371
msgid "DRC On (Currently: DRC is inactive !!!)"
msgstr "DRC On (Actuellement, DRC dsactive !!!)"
#: pcbnew/pcbframe.cpp:382
msgid "Polar Coords not show"
msgstr "Coord Polaires non affiches"
#: pcbnew/pcbframe.cpp:383
msgid "Display Polar Coords"
msgstr "Affichage coord Polaires"
#: pcbnew/pcbframe.cpp:388
#: eeschema/schframe.cpp:275
msgid "Grid not show"
msgstr "Grille non montre"
#: pcbnew/pcbframe.cpp:388
#: eeschema/schframe.cpp:275
msgid "Show Grid"
msgstr "Afficher grille"
#: pcbnew/pcbframe.cpp:397
msgid "General ratsnest not show"
msgstr "Chevelu gnral non affich"
#: pcbnew/pcbframe.cpp:397
msgid "Show General ratsnest"
msgstr "Afficher le chevelu gnral"
#: pcbnew/pcbframe.cpp:403
msgid "Module ratsnest not show"
msgstr "Ne pas montrer le chevelu du module pendant dplacement"
#: pcbnew/pcbframe.cpp:404
msgid "Show Module ratsnest"
msgstr "Montrer le chevelu du module"
#: pcbnew/pcbframe.cpp:411
msgid "Disable Auto Delete old Track"
msgstr "Ne pas Autoriser l'effacement automatique des pistes"
#: pcbnew/pcbframe.cpp:412
msgid "Enable Auto Delete old Track"
msgstr "Autoriser l'effacement automatique des pistes"
#: pcbnew/pcbframe.cpp:419
msgid "Do not Show Zones"
msgstr "Ne pas monter Zones"
#: pcbnew/pcbframe.cpp:419
#: pcbnew/tool_pcb.cpp:361
#: pcbnew/set_color.h:423
msgid "Show Zones"
msgstr "Monter Zones"
#: pcbnew/pcbframe.cpp:425
msgid "Show Pads Sketch mode"
msgstr "Afficher pastilles en contour"
#: pcbnew/pcbframe.cpp:426
msgid "Show pads filled mode"
msgstr "Afficher pastilles en mode plein"
#: pcbnew/pcbframe.cpp:432
msgid "Show Tracks Sketch mode"
msgstr "Afficher pistes en contour"
#: pcbnew/pcbframe.cpp:433
msgid "Show Tracks filled mode"
msgstr "Afficher pistes en mode plein"
#: pcbnew/pcbframe.cpp:439
msgid "Normal Contrast Mode Display"
msgstr "Mode d'affichage Contraste normal"
#: pcbnew/pcbframe.cpp:440
#: pcbnew/tool_pcb.cpp:374
msgid "Hight Contrast Mode Display"
msgstr "Mode d'affichage Haut Contraste"
#: pcbnew/pcbframe.cpp:452
#: pcbnew/class_board_item.cpp:142
#: pcbnew/class_track.cpp:765
msgid "Track"
msgstr "Piste"
#: pcbnew/pcbframe.cpp:484
#: pcbnew/class_board_item.cpp:202
msgid "Via"
msgstr "Via"
#: pcbnew/plotgerb.cpp:72 #: pcbnew/plotgerb.cpp:72
msgid "unable to create file " msgid "unable to create file "
msgstr "Impossible de crer fichier " msgstr "Impossible de crer fichier "
...@@ -2428,15 +2537,15 @@ msgstr "Impossible de cr ...@@ -2428,15 +2537,15 @@ msgstr "Impossible de cr
msgid "unable to reopen file <%s>" msgid "unable to reopen file <%s>"
msgstr "Ne peut pas rouvrir fichier <%s>" msgstr "Ne peut pas rouvrir fichier <%s>"
#: pcbnew/onleftclick.cpp:173 #: pcbnew/onleftclick.cpp:176
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:196 #: pcbnew/onleftclick.cpp:199
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:272 #: pcbnew/onleftclick.cpp:281
msgid "Cotation not authorized on Copper layers" msgid "Cotation not authorized on Copper layers"
msgstr "Cotation non autorise sur Couches Cuivre" msgstr "Cotation non autorise sur Couches Cuivre"
...@@ -2501,358 +2610,382 @@ msgid "Delete Drawing" ...@@ -2501,358 +2610,382 @@ msgid "Delete Drawing"
msgstr "Supprimer Trac" msgstr "Supprimer Trac"
#: pcbnew/onrightclick.cpp:281 #: pcbnew/onrightclick.cpp:281
msgid "Delete Zone" msgid "Delete Zone Filling"
msgstr "Supprimer Zone" msgstr "Supprimer Remplissage de Zone"
#: pcbnew/onrightclick.cpp:288 #: pcbnew/onrightclick.cpp:288
msgid "End edge zone" msgid "Close Zone Outline"
msgstr "Fin contour Zone" msgstr "Fermer Contour de Zone"
#: pcbnew/onrightclick.cpp:291 #: pcbnew/onrightclick.cpp:290
msgid "Delete Current Edge" msgid "Delete Last Corner"
msgstr "Effacer Contour Zone Courant" msgstr "Supprimer Dernier Sommet"
#: pcbnew/onrightclick.cpp:310 #: pcbnew/onrightclick.cpp:308
msgid "Delete Marker" msgid "Delete Marker"
msgstr "Effacer Marqueur" msgstr "Effacer Marqueur"
#: pcbnew/onrightclick.cpp:317 #: pcbnew/onrightclick.cpp:315
msgid "Edit Dimension" msgid "Edit Dimension"
msgstr "Edit Cote" msgstr "Edit Cote"
#: pcbnew/onrightclick.cpp:320 #: pcbnew/onrightclick.cpp:318
msgid "Delete Dimension" msgid "Delete Dimension"
msgstr "Suppression Cote" msgstr "Suppression Cote"
#: pcbnew/onrightclick.cpp:327 #: pcbnew/onrightclick.cpp:325
msgid "Move Target" msgid "Move Target"
msgstr "Dplacer Mire" msgstr "Dplacer Mire"
#: pcbnew/onrightclick.cpp:330 #: pcbnew/onrightclick.cpp:328
msgid "Edit Target" msgid "Edit Target"
msgstr "Editer Mire" msgstr "Editer Mire"
#: pcbnew/onrightclick.cpp:332 #: pcbnew/onrightclick.cpp:330
msgid "Delete Target" msgid "Delete Target"
msgstr "Supprimer Mire" msgstr "Supprimer Mire"
#: pcbnew/onrightclick.cpp:364 #: pcbnew/onrightclick.cpp:362
msgid "Get and Move Footprint" msgid "Get and Move Footprint"
msgstr "Sel et Dpl.t module" msgstr "Sel et Dpl.t module"
#: pcbnew/onrightclick.cpp:378 #: pcbnew/onrightclick.cpp:376
msgid "Fill or Refill All Zones" msgid "Fill or Refill All Zones"
msgstr "Remplir ou Re-remplir Toutes les Zones" msgstr "Remplir ou Re-remplir Toutes les Zones"
#: pcbnew/onrightclick.cpp:383 #: pcbnew/onrightclick.cpp:381
#: pcbnew/onrightclick.cpp:394 #: pcbnew/onrightclick.cpp:392
#: pcbnew/onrightclick.cpp:407 #: pcbnew/onrightclick.cpp:405
#: pcbnew/onrightclick.cpp:468 #: pcbnew/onrightclick.cpp:466
msgid "Select Working Layer" msgid "Select Working Layer"
msgstr "Slection de la couche de travail" msgstr "Slection de la couche de travail"
#: pcbnew/onrightclick.cpp:392 #: pcbnew/onrightclick.cpp:390
#: pcbnew/onrightclick.cpp:465 #: pcbnew/onrightclick.cpp:463
#: pcbnew/onrightclick.cpp:593
msgid "Select Track Width" msgid "Select Track Width"
msgstr "Slection Epais. Piste" msgstr "Slection Epais. Piste"
#: pcbnew/onrightclick.cpp:396 #: pcbnew/onrightclick.cpp:394
msgid "Select layer pair for vias" msgid "Select layer pair for vias"
msgstr "Selection couple de couches pour Vias" msgstr "Selection couple de couches pour Vias"
#: pcbnew/onrightclick.cpp:413 #: pcbnew/onrightclick.cpp:411
msgid "Footprint documentation" msgid "Footprint documentation"
msgstr "Documentation des modules" msgstr "Documentation des modules"
#: pcbnew/onrightclick.cpp:423 #: pcbnew/onrightclick.cpp:421
msgid "Glob Move and Place" msgid "Glob Move and Place"
msgstr "Move et Place Globaux" msgstr "Move et Place Globaux"
#: pcbnew/onrightclick.cpp:425 #: pcbnew/onrightclick.cpp:423
msgid "Unlock All Modules" msgid "Unlock All Modules"
msgstr "Dverrouiller tous les Modules" msgstr "Dverrouiller tous les Modules"
#: pcbnew/onrightclick.cpp:427 #: pcbnew/onrightclick.cpp:425
msgid "Lock All Modules" msgid "Lock All Modules"
msgstr "Verrouiller tous les Modules" msgstr "Verrouiller tous les Modules"
#: pcbnew/onrightclick.cpp:430 #: pcbnew/onrightclick.cpp:428
msgid "Move All Modules" msgid "Move All Modules"
msgstr "Dplace tous les Modules" msgstr "Dplace tous les Modules"
#: pcbnew/onrightclick.cpp:431 #: pcbnew/onrightclick.cpp:429
msgid "Move New Modules" msgid "Move New Modules"
msgstr "Dplace nouveaux Modules" msgstr "Dplace nouveaux Modules"
#: pcbnew/onrightclick.cpp:433 #: pcbnew/onrightclick.cpp:431
msgid "Autoplace All Modules" msgid "Autoplace All Modules"
msgstr "Autoplace Tous Modules" msgstr "Autoplace Tous Modules"
#: pcbnew/onrightclick.cpp:434 #: pcbnew/onrightclick.cpp:432
msgid "Autoplace New Modules" msgid "Autoplace New Modules"
msgstr "AutoPlace nouveaux Modules" msgstr "AutoPlace nouveaux Modules"
#: pcbnew/onrightclick.cpp:435 #: pcbnew/onrightclick.cpp:433
msgid "Autoplace Next Module" msgid "Autoplace Next Module"
msgstr "Autoplace Module suivant" msgstr "Autoplace Module suivant"
#: pcbnew/onrightclick.cpp:438 #: pcbnew/onrightclick.cpp:436
msgid "Orient All Modules" msgid "Orient All Modules"
msgstr "Oriente Tous Modules" msgstr "Oriente Tous Modules"
#: pcbnew/onrightclick.cpp:445 #: pcbnew/onrightclick.cpp:443
msgid "Global Autoroute" msgid "Global Autoroute"
msgstr "Autoroutage global" msgstr "Autoroutage global"
#: pcbnew/onrightclick.cpp:447 #: pcbnew/onrightclick.cpp:445
msgid "Select layer pair" msgid "Select layer pair"
msgstr "Selection couple de couches" msgstr "Selection couple de couches"
#: pcbnew/onrightclick.cpp:449 #: pcbnew/onrightclick.cpp:447
msgid "Autoroute All Modules" msgid "Autoroute All Modules"
msgstr "Autoroute Tous Modules" msgstr "Autoroute Tous Modules"
#: pcbnew/onrightclick.cpp:451 #: pcbnew/onrightclick.cpp:449
msgid "Reset Unrouted" msgid "Reset Unrouted"
msgstr "Rinit Non routs" msgstr "Rinit Non routs"
#: pcbnew/onrightclick.cpp:456 #: pcbnew/onrightclick.cpp:454
msgid "Global AutoRouter" msgid "Global AutoRouter"
msgstr "Autorouteur Global" msgstr "Autorouteur Global"
#: pcbnew/onrightclick.cpp:458 #: pcbnew/onrightclick.cpp:456
msgid "Read Global AutoRouter Data" msgid "Read Global AutoRouter Data"
msgstr "Lire Donnes de L'autorouteur global" msgstr "Lire Donnes de L'autorouteur global"
#: pcbnew/onrightclick.cpp:495 #: pcbnew/onrightclick.cpp:493
msgid "Flip Block (alt + drag mouse)" msgid "Flip Block (alt + drag mouse)"
msgstr "Inversion Bloc (alt + drag mouse)" msgstr "Inversion Bloc (alt + drag mouse)"
#: pcbnew/onrightclick.cpp:518 #: pcbnew/onrightclick.cpp:516
msgid "Drag Via" msgid "Drag Via"
msgstr "Drag Via" msgstr "Drag Via"
#: pcbnew/onrightclick.cpp:522 #: pcbnew/onrightclick.cpp:520
#: pcbnew/onrightclick.cpp:601
msgid "Edit Via" msgid "Edit Via"
msgstr "Edit Via" msgstr "Edit Via"
#: pcbnew/onrightclick.cpp:524 #: pcbnew/onrightclick.cpp:522
msgid "Set via hole to Default" msgid "Set via hole to Default"
msgstr "Ajuste perage via dfaut" msgstr "Ajuste perage via dfaut"
#: pcbnew/onrightclick.cpp:523
msgid "Set via hole to a specific value. This specfic value is currently"
msgstr "Ajuste diametre perage via a une valeur scifique. Cette valeur spcifique est actuellement"
#: pcbnew/onrightclick.cpp:526 #: pcbnew/onrightclick.cpp:526
msgid "Set via hole to alt value" msgid "Set via hole to alt value"
msgstr "Ajuste perage via valeur alternative" msgstr "Ajuste perage via valeur alternative"
#: pcbnew/onrightclick.cpp:528 #: pcbnew/onrightclick.cpp:528
msgid "Set alt via hole value. This value is currently"
msgstr "Ajuste la valeur alt. perage via Cette valeur est actuellement"
#: pcbnew/onrightclick.cpp:531
msgid "Set the via hole alt value" msgid "Set the via hole alt value"
msgstr "Ajuste la valeur alt. perage via" msgstr "Ajuste la valeur alt. perage via"
#: pcbnew/onrightclick.cpp:530 #: pcbnew/onrightclick.cpp:533
msgid "Export Via hole to alt value" msgid "Export Via hole to alt value"
msgstr "Exporte perage via valeur alt." msgstr "Exporte perage via valeur alt."
#: pcbnew/onrightclick.cpp:532 #: pcbnew/onrightclick.cpp:535
msgid "Export via hole to others id vias" msgid "Export via hole to others id vias"
msgstr "Exporte perage via aux autres semblables." msgstr "Exporte perage via aux autres semblables."
#: pcbnew/onrightclick.cpp:534 #: pcbnew/onrightclick.cpp:537
msgid "Set ALL via holes to default" msgid "Set ALL via holes to default"
msgstr "Ajuste perage TOUTES vias au dfaut" msgstr "Ajuste perage TOUTES vias au dfaut"
#: pcbnew/onrightclick.cpp:547 #: pcbnew/onrightclick.cpp:550
msgid "Move Node" msgid "Move Node"
msgstr "Dplace Noeud" msgstr "Dplace Noeud"
#: pcbnew/onrightclick.cpp:552 #: pcbnew/onrightclick.cpp:555
msgid "Drag Segments, keep slope" msgid "Drag Segments, keep slope"
msgstr "Drag Segments, garder direction" msgstr "Drag Segments, garder direction"
#: pcbnew/onrightclick.cpp:554 #: pcbnew/onrightclick.cpp:557
msgid "Drag Segment" msgid "Drag Segment"
msgstr "Drag Segment" msgstr "Drag Segment"
#: pcbnew/onrightclick.cpp:557 #: pcbnew/onrightclick.cpp:560
msgid "Move Segment" msgid "Move Segment"
msgstr "Dplace Segment" msgstr "Dplace Segment"
#: pcbnew/onrightclick.cpp:560 #: pcbnew/onrightclick.cpp:563
msgid "Break Track" msgid "Break Track"
msgstr "Briser piste" msgstr "Briser piste"
#: pcbnew/onrightclick.cpp:567 #: pcbnew/onrightclick.cpp:570
msgid "Place Node" msgid "Place Node"
msgstr "Place noeud" msgstr "Place noeud"
#: pcbnew/onrightclick.cpp:574 #: pcbnew/onrightclick.cpp:577
msgid "End Track" msgid "End Track"
msgstr "Terminer Piste" msgstr "Terminer Piste"
#: pcbnew/onrightclick.cpp:577 #: pcbnew/onrightclick.cpp:580
msgid "Place Via" msgid "Place Via"
msgstr "Place Via" msgstr "Place Via"
#: pcbnew/onrightclick.cpp:584 #: pcbnew/onrightclick.cpp:587
msgid "Place Micro Via" msgid "Place Micro Via"
msgstr "Place Micro Via" msgstr "Place Micro Via"
#: pcbnew/onrightclick.cpp:598 #: pcbnew/onrightclick.cpp:599
msgid "Change Width"
msgstr "Change Largeur"
#: pcbnew/onrightclick.cpp:601
msgid "Edit Segment"
msgstr "Edite Segment"
#: pcbnew/onrightclick.cpp:604
msgid "Edit Track" msgid "Edit Track"
msgstr "Editer Piste" msgstr "Editer Piste"
#: pcbnew/onrightclick.cpp:600 #: pcbnew/onrightclick.cpp:606
msgid "Edit Net" msgid "Edit Net"
msgstr "Edit Net" msgstr "Edit Net"
#: pcbnew/onrightclick.cpp:602 #: pcbnew/onrightclick.cpp:608
msgid "Edit ALL Tracks and Vias" msgid "Edit ALL Tracks and Vias"
msgstr "Editer TOUTES Pistes et Vias" msgstr "Editer TOUTES Pistes et Vias"
#: pcbnew/onrightclick.cpp:604 #: pcbnew/onrightclick.cpp:610
msgid "Edit ALL Vias (no track)" msgid "Edit ALL Vias (no track)"
msgstr "Editer TOUTES Vias (pas les pistes)" msgstr "Editer TOUTES Vias (pas les pistes)"
#: pcbnew/onrightclick.cpp:606 #: pcbnew/onrightclick.cpp:612
msgid "Edit ALL Tracks (no via)" msgid "Edit ALL Tracks (no via)"
msgstr "Editer TOUTES Pistes (pas les vias)" msgstr "Editer TOUTES Pistes (pas les vias)"
#: pcbnew/onrightclick.cpp:614 #: pcbnew/onrightclick.cpp:620
msgid "Delete Via" msgid "Delete Via"
msgstr "Suppression Via" msgstr "Suppression Via"
#: pcbnew/onrightclick.cpp:614 #: pcbnew/onrightclick.cpp:620
msgid "Delete Segment" msgid "Delete Segment"
msgstr "SupprimerSegment" msgstr "SupprimerSegment"
#: pcbnew/onrightclick.cpp:621 #: pcbnew/onrightclick.cpp:627
msgid "Delete Track" msgid "Delete Track"
msgstr "Effacer Piste" msgstr "Effacer Piste"
#: pcbnew/onrightclick.cpp:625 #: pcbnew/onrightclick.cpp:631
msgid "Delete Net" msgid "Delete Net"
msgstr "Supprimer Net" msgstr "Supprimer Net"
#: pcbnew/onrightclick.cpp:630 #: pcbnew/onrightclick.cpp:636
msgid "Set Flags" msgid "Set Flags"
msgstr "Ajust. Flags" msgstr "Ajust. Flags"
#: pcbnew/onrightclick.cpp:631 #: pcbnew/onrightclick.cpp:637
msgid "Locked: Yes" msgid "Locked: Yes"
msgstr "Verrou: Oui" msgstr "Verrou: Oui"
#: pcbnew/onrightclick.cpp:632 #: pcbnew/onrightclick.cpp:638
msgid "Locked: No" msgid "Locked: No"
msgstr "Verrou: Non" msgstr "Verrou: Non"
#: pcbnew/onrightclick.cpp:642 #: pcbnew/onrightclick.cpp:648
msgid "Track Locked: Yes" msgid "Track Locked: Yes"
msgstr "Piste verrouille: Oui" msgstr "Piste verrouille: Oui"
#: pcbnew/onrightclick.cpp:643 #: pcbnew/onrightclick.cpp:649
msgid "Track Locked: No" msgid "Track Locked: No"
msgstr "Piste verrouille: Non" msgstr "Piste verrouille: Non"
#: pcbnew/onrightclick.cpp:645 #: pcbnew/onrightclick.cpp:651
msgid "Net Locked: Yes" msgid "Net Locked: Yes"
msgstr "Net verrouill: Oui" msgstr "Net verrouill: Oui"
#: pcbnew/onrightclick.cpp:646 #: pcbnew/onrightclick.cpp:652
msgid "Net Locked: No" msgid "Net Locked: No"
msgstr "Net verrouill: Non" msgstr "Net verrouill: Non"
#: pcbnew/onrightclick.cpp:662 #: pcbnew/onrightclick.cpp:668
msgid "Place Edge Outline"
msgstr "Place Segment de Contour"
#: pcbnew/onrightclick.cpp:674
msgid "Place Corner" msgid "Place Corner"
msgstr "Place Sommet" msgstr "Place Sommet"
#: pcbnew/onrightclick.cpp:665 #: pcbnew/onrightclick.cpp:677
msgid "Place Zone" msgid "Place Zone"
msgstr "Place Zone" msgstr "Place Zone"
#: pcbnew/onrightclick.cpp:671 #: pcbnew/onrightclick.cpp:683
#: pcbnew/dialog_drc.cpp:477 #: pcbnew/dialog_drc.cpp:477
msgid "Zones" msgid "Zones"
msgstr "Zones" msgstr "Zones"
#: pcbnew/onrightclick.cpp:676 #: pcbnew/onrightclick.cpp:688
msgid "Move Corner" msgid "Move Corner"
msgstr "Dplace Sommet" msgstr "Dplace Sommet"
#: pcbnew/onrightclick.cpp:678 #: pcbnew/onrightclick.cpp:690
msgid "Delete Corner" msgid "Delete Corner"
msgstr "Supprimer Sommet" msgstr "Supprimer Sommet"
#: pcbnew/onrightclick.cpp:683 #: pcbnew/onrightclick.cpp:695
msgid "Create Corner" msgid "Create Corner"
msgstr "Crer Sommet" msgstr "Crer Sommet"
#: pcbnew/onrightclick.cpp:688 #: pcbnew/onrightclick.cpp:697
msgid "Drag Outline Segment"
msgstr "Drag Segment Contour"
#: pcbnew/onrightclick.cpp:702
msgid "Add Similar Zone" msgid "Add Similar Zone"
msgstr "Addition d'une Zone Semblable" msgstr "Addition d'une Zone Semblable"
#: pcbnew/onrightclick.cpp:691 #: pcbnew/onrightclick.cpp:705
msgid "Add Cutout Area" msgid "Add Cutout Area"
msgstr "Addition d'une Zone Interdite" msgstr "Addition d'une Zone Interdite"
#: pcbnew/onrightclick.cpp:695 #: pcbnew/onrightclick.cpp:709
msgid "Fill Zone" msgid "Fill Zone"
msgstr "Remplir Zone" msgstr "Remplir Zone"
#: pcbnew/onrightclick.cpp:698 #: pcbnew/onrightclick.cpp:712
msgid "Move Zone" msgid "Move Zone"
msgstr "Dplace Zone" msgstr "Dplace Zone"
#: pcbnew/onrightclick.cpp:701 #: pcbnew/onrightclick.cpp:715
msgid "Edit Zone Params" msgid "Edit Zone Params"
msgstr "Editer Paramtres de la Zone" msgstr "Editer Paramtres de la Zone"
#: pcbnew/onrightclick.cpp:706 #: pcbnew/onrightclick.cpp:720
msgid "Delete Cutout" msgid "Delete Cutout"
msgstr "Supprimer Zone Interdite" msgstr "Supprimer Zone Interdite"
#: pcbnew/onrightclick.cpp:709 #: pcbnew/onrightclick.cpp:723
msgid "Delete Zone Outline" msgid "Delete Zone Outline"
msgstr "Supprimer Contour de Zone" msgstr "Supprimer Contour de Zone"
#: pcbnew/onrightclick.cpp:731 #: pcbnew/onrightclick.cpp:745
#: pcbnew/onrightclick.cpp:776 #: pcbnew/onrightclick.cpp:790
#: pcbnew/onrightclick.cpp:814 #: pcbnew/onrightclick.cpp:828
#: pcbnew/onrightclick.cpp:873 #: pcbnew/onrightclick.cpp:887
msgid "Move" msgid "Move"
msgstr "Move" msgstr "Move"
#: pcbnew/onrightclick.cpp:734 #: pcbnew/onrightclick.cpp:748
#: pcbnew/onrightclick.cpp:816 #: pcbnew/onrightclick.cpp:830
msgid "Drag" msgid "Drag"
msgstr "Drag" msgstr "Drag"
#: pcbnew/onrightclick.cpp:738 #: pcbnew/onrightclick.cpp:752
msgid "Rotate +" msgid "Rotate +"
msgstr "Rotation +" msgstr "Rotation +"
#: pcbnew/onrightclick.cpp:742 #: pcbnew/onrightclick.cpp:756
#: eeschema/onrightclick.cpp:301 #: eeschema/onrightclick.cpp:301
msgid "Rotate -" msgid "Rotate -"
msgstr "Rotation -" msgstr "Rotation -"
#: pcbnew/onrightclick.cpp:743 #: pcbnew/onrightclick.cpp:757
msgid "Flip" msgid "Flip"
msgstr "Change ct" msgstr "Change ct"
#: pcbnew/onrightclick.cpp:753 #: pcbnew/onrightclick.cpp:767
#: pcbnew/modules.cpp:281 #: pcbnew/modules.cpp:281
msgid "Delete Module" msgid "Delete Module"
msgstr "Supprimer Module" msgstr "Supprimer Module"
#: pcbnew/onrightclick.cpp:833 #: pcbnew/onrightclick.cpp:847
msgid "delete" msgid "delete"
msgstr "Effacer" msgstr "Effacer"
#: pcbnew/onrightclick.cpp:840 #: pcbnew/onrightclick.cpp:854
msgid "Autoroute Pad" msgid "Autoroute Pad"
msgstr "Autoroute Pad" msgstr "Autoroute Pad"
#: pcbnew/onrightclick.cpp:841 #: pcbnew/onrightclick.cpp:855
msgid "Autoroute Net" msgid "Autoroute Net"
msgstr "Autoroute Net" msgstr "Autoroute Net"
...@@ -3030,113 +3163,6 @@ msgstr "Nom Module: " ...@@ -3030,113 +3163,6 @@ msgstr "Nom Module: "
msgid "Value " msgid "Value "
msgstr "Valeur " msgstr "Valeur "
#: pcbnew/pcbframe.cpp:268
msgid "Board modified, Save before exit ?"
msgstr "Circuit Imprim modifie, Sauver avant de quitter ?"
#: pcbnew/pcbframe.cpp:269
#: eeschema/schframe.cpp:183
#: cvpcb/cvframe.cpp:177
#: common/confirm.cpp:119
msgid "Confirmation"
msgstr "Confirmation"
#: pcbnew/pcbframe.cpp:369
msgid "DRC Off (Disable !!!), Currently: DRC is active"
msgstr "DRC off (dsactive !!!), actuellement DRC active"
#: pcbnew/pcbframe.cpp:370
msgid "DRC On (Currently: DRC is inactive !!!)"
msgstr "DRC On (Actuellement, DRC dsactive !!!)"
#: pcbnew/pcbframe.cpp:381
msgid "Polar Coords not show"
msgstr "Coord Polaires non affiches"
#: pcbnew/pcbframe.cpp:382
msgid "Display Polar Coords"
msgstr "Affichage coord Polaires"
#: pcbnew/pcbframe.cpp:387
#: eeschema/schframe.cpp:274
msgid "Grid not show"
msgstr "Grille non montre"
#: pcbnew/pcbframe.cpp:387
#: eeschema/schframe.cpp:274
msgid "Show Grid"
msgstr "Afficher grille"
#: pcbnew/pcbframe.cpp:396
msgid "General ratsnest not show"
msgstr "Chevelu gnral non affich"
#: pcbnew/pcbframe.cpp:396
msgid "Show General ratsnest"
msgstr "Afficher le chevelu gnral"
#: pcbnew/pcbframe.cpp:402
msgid "Module ratsnest not show"
msgstr "Ne pas montrer le chevelu du module pendant dplacement"
#: pcbnew/pcbframe.cpp:403
msgid "Show Module ratsnest"
msgstr "Montrer le chevelu du module"
#: pcbnew/pcbframe.cpp:410
msgid "Disable Auto Delete old Track"
msgstr "Ne pas Autoriser l'effacement automatique des pistes"
#: pcbnew/pcbframe.cpp:411
msgid "Enable Auto Delete old Track"
msgstr "Autoriser l'effacement automatique des pistes"
#: pcbnew/pcbframe.cpp:418
msgid "Do not Show Zones"
msgstr "Ne pas monter Zones"
#: pcbnew/pcbframe.cpp:418
#: pcbnew/tool_pcb.cpp:361
#: pcbnew/set_color.h:423
msgid "Show Zones"
msgstr "Monter Zones"
#: pcbnew/pcbframe.cpp:424
msgid "Show Pads Sketch mode"
msgstr "Afficher pastilles en contour"
#: pcbnew/pcbframe.cpp:425
msgid "Show pads filled mode"
msgstr "Afficher pastilles en mode plein"
#: pcbnew/pcbframe.cpp:431
msgid "Show Tracks Sketch mode"
msgstr "Afficher pistes en contour"
#: pcbnew/pcbframe.cpp:432
msgid "Show Tracks filled mode"
msgstr "Afficher pistes en mode plein"
#: pcbnew/pcbframe.cpp:438
msgid "Normal Contrast Mode Display"
msgstr "Mode d'affichage Contraste normal"
#: pcbnew/pcbframe.cpp:439
#: pcbnew/tool_pcb.cpp:374
msgid "Hight Contrast Mode Display"
msgstr "Mode d'affichage Haut Contraste"
#: pcbnew/pcbframe.cpp:451
#: pcbnew/class_board_item.cpp:139
#: pcbnew/class_track.cpp:765
msgid "Track"
msgstr "Piste"
#: pcbnew/pcbframe.cpp:483
#: pcbnew/class_board_item.cpp:199
msgid "Via"
msgstr "Via"
#: pcbnew/block.cpp:122 #: pcbnew/block.cpp:122
msgid "Include Modules" msgid "Include Modules"
msgstr "Inclure Modules" msgstr "Inclure Modules"
...@@ -3329,12 +3355,11 @@ msgstr "Pcb Graphic" ...@@ -3329,12 +3355,11 @@ msgstr "Pcb Graphic"
#: pcbnew/class_board_item.cpp:59 #: pcbnew/class_board_item.cpp:59
#: pcbnew/class_board_item.cpp:68 #: pcbnew/class_board_item.cpp:68
#: pcbnew/class_board_item.cpp:145 #: pcbnew/class_board_item.cpp:148
#: pcbnew/class_board_item.cpp:177 #: pcbnew/class_board_item.cpp:180
#: pcbnew/class_board_item.cpp:193 #: pcbnew/class_board_item.cpp:196
#: pcbnew/class_board_item.cpp:220 #: pcbnew/class_board_item.cpp:223
#: pcbnew/class_board_item.cpp:237 #: pcbnew/class_board_item.cpp:240
#: pcbnew/class_board_item.cpp:243
msgid " on " msgid " on "
msgstr " sur " msgstr " sur "
...@@ -3344,77 +3369,73 @@ msgstr "Texte Pcb" ...@@ -3344,77 +3369,73 @@ msgstr "Texte Pcb"
#: pcbnew/class_board_item.cpp:79 #: pcbnew/class_board_item.cpp:79
#: pcbnew/class_board_item.cpp:85 #: pcbnew/class_board_item.cpp:85
#: pcbnew/class_board_item.cpp:129 #: pcbnew/class_board_item.cpp:132
msgid " of " msgid " of "
msgstr " de " msgstr " de "
#: pcbnew/class_board_item.cpp:92 #: pcbnew/class_board_item.cpp:93
msgid "Graphic" msgid "Graphic"
msgstr "Graphique" msgstr "Graphique"
#: pcbnew/class_board_item.cpp:104 #: pcbnew/class_board_item.cpp:105
msgid "Arc" msgid "Arc"
msgstr "Arc" msgstr "Arc"
#: pcbnew/class_board_item.cpp:146 #: pcbnew/class_board_item.cpp:149
#: pcbnew/dialog_zones_by_polygon.cpp:229 #: pcbnew/dialog_zones_by_polygon.cpp:229
msgid "Net:" msgid "Net:"
msgstr "Net:" msgstr "Net:"
#: pcbnew/class_board_item.cpp:147 #: pcbnew/class_board_item.cpp:150
msgid "Length:" msgid "Length:"
msgstr "Long.:" msgstr "Long.:"
#: pcbnew/class_board_item.cpp:152 #: pcbnew/class_board_item.cpp:155
#: pcbnew/class_zone.cpp:488 #: pcbnew/class_zone.cpp:519
msgid "Zone Outline" msgid "Zone Outline"
msgstr "Contour de Zone" msgstr "Contour de Zone"
#: pcbnew/class_board_item.cpp:156 #: pcbnew/class_board_item.cpp:159
#: pcbnew/class_zone.cpp:491 #: pcbnew/class_zone.cpp:523
msgid "(Cutout)" msgid "(Cutout)"
msgstr "(Cutout)" msgstr "(Cutout)"
#: pcbnew/class_board_item.cpp:175 #: pcbnew/class_board_item.cpp:178
#: pcbnew/class_zone.cpp:511 #: pcbnew/class_zone.cpp:543
msgid "Not Found" msgid "Not Found"
msgstr " Non Trouv" msgstr " Non Trouv"
#: pcbnew/class_board_item.cpp:181 #: pcbnew/class_board_item.cpp:184
#: pcbnew/class_track.cpp:769 #: pcbnew/class_track.cpp:769
msgid "Zone" msgid "Zone"
msgstr "Zone" msgstr "Zone"
#: pcbnew/class_board_item.cpp:203 #: pcbnew/class_board_item.cpp:206
msgid "Blind/Buried" msgid "Blind/Buried"
msgstr "Borgne/Aveugle" msgstr "Borgne/Aveugle"
#: pcbnew/class_board_item.cpp:205 #: pcbnew/class_board_item.cpp:208
#: pcbnew/pcbnew.h:289 #: pcbnew/pcbnew.h:289
msgid "Micro Via" msgid "Micro Via"
msgstr "Micro Via" msgstr "Micro Via"
#: pcbnew/class_board_item.cpp:227 #: pcbnew/class_board_item.cpp:230
#: pcbnew/class_marker.cpp:133 #: pcbnew/class_marker.cpp:133
msgid "Marker" msgid "Marker"
msgstr "Marqueur" msgstr "Marqueur"
#: pcbnew/class_board_item.cpp:232 #: pcbnew/class_board_item.cpp:235
msgid "Dimension" msgid "Dimension"
msgstr "Dimension" msgstr "Dimension"
#: pcbnew/class_board_item.cpp:237 #: pcbnew/class_board_item.cpp:240
msgid "Target" msgid "Target"
msgstr "Mire" msgstr "Mire"
#: pcbnew/class_board_item.cpp:238 #: pcbnew/class_board_item.cpp:241
msgid "size" msgid "size"
msgstr "dimension" msgstr "dimension"
#: pcbnew/class_board_item.cpp:243
msgid "Edge Zone"
msgstr "Contour Zone"
#: pcbnew/moduleframe.cpp:182 #: pcbnew/moduleframe.cpp:182
msgid "Module Editor: module modified!, Continue ?" msgid "Module Editor: module modified!, Continue ?"
msgstr "Editeur de Module: module modifi! Continuer ?" msgstr "Editeur de Module: module modifi! Continuer ?"
...@@ -3465,13 +3486,13 @@ msgid "Pads" ...@@ -3465,13 +3486,13 @@ msgid "Pads"
msgstr "Pads" msgstr "Pads"
#: pcbnew/class_track.cpp:791 #: pcbnew/class_track.cpp:791
#: pcbnew/zones_by_polygon.cpp:906 #: pcbnew/zones_by_polygon.cpp:851
#: pcbnew/class_zone.cpp:514 #: pcbnew/class_zone.cpp:546
msgid "NetName" msgid "NetName"
msgstr "NetName" msgstr "NetName"
#: pcbnew/class_track.cpp:796 #: pcbnew/class_track.cpp:796
#: pcbnew/class_zone.cpp:519 #: pcbnew/class_zone.cpp:551
msgid "NetCode" msgid "NetCode"
msgstr "NetCode" msgstr "NetCode"
...@@ -3973,21 +3994,21 @@ msgstr "Grille" ...@@ -3973,21 +3994,21 @@ msgstr "Grille"
msgid "+/- to switch" msgid "+/- to switch"
msgstr "+/- pour commuter" msgstr "+/- pour commuter"
#: pcbnew/zones_by_polygon.cpp:342 #: pcbnew/zones_by_polygon.cpp:337
#: pcbnew/zones_by_polygon.cpp:381 #: pcbnew/zones_by_polygon.cpp:378
#: pcbnew/zones_by_polygon.cpp:719 #: pcbnew/zones_by_polygon.cpp:672
msgid "Area: DRC outline error" msgid "Area: DRC outline error"
msgstr "Zone; Erreur DRC sur contour" msgstr "Zone; Erreur DRC sur contour"
#: pcbnew/zones_by_polygon.cpp:544 #: pcbnew/zones_by_polygon.cpp:561
msgid "DRC error: this start point is inside or too close an other area" msgid "DRC error: this start point is inside or too close an other area"
msgstr "Erreur DRC: ce point de dpart est a l'intrieur d'une autre zone ou trop proche" msgstr "Erreur DRC: ce point de dpart est a l'intrieur d'une autre zone ou trop proche"
#: pcbnew/zones_by_polygon.cpp:644 #: pcbnew/zones_by_polygon.cpp:620
msgid "DRC error: closing this area creates a drc error with an other area" msgid "DRC error: closing this area creates a drc error with an other area"
msgstr "Erreur DRC: la fermeture de cette zone cre une erreur DRC avec une autre zone" msgstr "Erreur DRC: la fermeture de cette zone cre une erreur DRC avec une autre zone"
#: pcbnew/zones_by_polygon.cpp:904 #: pcbnew/zones_by_polygon.cpp:849
msgid "No Net" msgid "No Net"
msgstr "No Net" msgstr "No Net"
...@@ -4091,27 +4112,6 @@ msgstr "Erreur. Vous devez choisir une couche" ...@@ -4091,27 +4112,6 @@ msgstr "Erreur. Vous devez choisir une couche"
msgid "Error : you must choose a net name" msgid "Error : you must choose a net name"
msgstr "Erreur. Vous devez choisir une quipotentielle" msgstr "Erreur. Vous devez choisir une quipotentielle"
#: pcbnew/class_board.cpp:427
msgid "Nodes"
msgstr "Nodes"
#: pcbnew/class_board.cpp:430
msgid "Links"
msgstr "Liens"
#: pcbnew/class_board.cpp:433
msgid "Nets"
msgstr "Nets"
#: pcbnew/class_board.cpp:436
msgid "Connect"
msgstr "Connect"
#: pcbnew/class_board.cpp:439
#: eeschema/eelayer.h:116
msgid "NoConn"
msgstr "Non Conn"
#: pcbnew/sel_layer.cpp:92 #: pcbnew/sel_layer.cpp:92
msgid "Select Layer:" msgid "Select Layer:"
msgstr "Selection couche:" msgstr "Selection couche:"
...@@ -4201,11 +4201,11 @@ msgstr "Change Per ...@@ -4201,11 +4201,11 @@ msgstr "Change Per
msgid "Change Orient" msgid "Change Orient"
msgstr "Change Orientation" msgstr "Change Orientation"
#: pcbnew/zone_filling_algorithm.cpp:163 #: pcbnew/zone_filling_algorithm.cpp:200
msgid "No pads or starting point found to fill this zone outline" msgid "No pads or starting point found to fill this zone outline"
msgstr "Pas de pads ou de points de dpart pour remplir ce contour de zone" msgstr "Pas de pads ou de points de dpart pour remplir ce contour de zone"
#: pcbnew/zone_filling_algorithm.cpp:205 #: pcbnew/zone_filling_algorithm.cpp:246
msgid "Ok" msgid "Ok"
msgstr "Ok" msgstr "Ok"
...@@ -4348,6 +4348,31 @@ msgstr "Chercher Marqueur" ...@@ -4348,6 +4348,31 @@ msgstr "Chercher Marqueur"
msgid "Find Next Marker" msgid "Find Next Marker"
msgstr "Marqueur Suivant" msgstr "Marqueur Suivant"
#: pcbnew/specctra_export.cpp:54
msgid "Specctra DSN file:"
msgstr "Fichier Specctra DSN"
#: pcbnew/class_board.cpp:427
msgid "Nodes"
msgstr "Nodes"
#: pcbnew/class_board.cpp:430
msgid "Links"
msgstr "Liens"
#: pcbnew/class_board.cpp:433
msgid "Nets"
msgstr "Nets"
#: pcbnew/class_board.cpp:436
msgid "Connect"
msgstr "Connect"
#: pcbnew/class_board.cpp:439
#: eeschema/eelayer.h:116
msgid "NoConn"
msgstr "Non Conn"
#: pcbnew/menubarpcb.cpp:42 #: pcbnew/menubarpcb.cpp:42
msgid "Load Board Ctrl-O" msgid "Load Board Ctrl-O"
msgstr "Charger Circuit Imprim (Ctrl O)" msgstr "Charger Circuit Imprim (Ctrl O)"
...@@ -4923,10 +4948,6 @@ msgstr "Fichier rapport termin ...@@ -4923,10 +4948,6 @@ msgstr "Fichier rapport termin
msgid "DRC Report file" msgid "DRC Report file"
msgstr "Fichier rapport de contrle DRC:" msgstr "Fichier rapport de contrle DRC:"
#: pcbnew/specctra_export.cpp:52
msgid "Specctra DSN file:"
msgstr "Fichier Specctra DSN"
#: pcbnew/gen_drill_report_files.cpp:388 #: pcbnew/gen_drill_report_files.cpp:388
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"
...@@ -4935,20 +4956,11 @@ msgstr "" ...@@ -4935,20 +4956,11 @@ msgstr ""
"Plan de perage: trop de diametres diffrents pour tracer 1 symbole par diametre\n" "Plan de perage: trop de diametres diffrents pour tracer 1 symbole par diametre\n"
"Le trac utilise des cercles pour quelques valeurs " "Le trac utilise des cercles pour quelques valeurs "
#: pcbnew/class_zone.cpp:65 #: pcbnew/class_zone.cpp:559
msgid "Netcode"
msgstr "Netcode"
#: pcbnew/class_zone.cpp:74
#: eeschema/eelayer.h:104
msgid "Netname"
msgstr "NetName"
#: pcbnew/class_zone.cpp:527
msgid "Corners" msgid "Corners"
msgstr "Sommets" msgstr "Sommets"
#: pcbnew/class_zone.cpp:531 #: pcbnew/class_zone.cpp:563
msgid "Hatch lines" msgid "Hatch lines"
msgstr "Lignes de Hachure" msgstr "Lignes de Hachure"
...@@ -5510,7 +5522,7 @@ msgid "Add graphic text (comment)" ...@@ -5510,7 +5522,7 @@ msgid "Add graphic text (comment)"
msgstr "Addition de textes graphiques (commentaires)" msgstr "Addition de textes graphiques (commentaires)"
#: eeschema/tool_sch.cpp:274 #: eeschema/tool_sch.cpp:274
#: eeschema/schframe.cpp:284 #: eeschema/schframe.cpp:285
msgid "Show Hidden Pins" msgid "Show Hidden Pins"
msgstr "Force affichage des pins invisibles" msgstr "Force affichage des pins invisibles"
...@@ -7186,22 +7198,6 @@ msgstr "Ok pour effacer la LISTE des filtres de modules" ...@@ -7186,22 +7198,6 @@ msgstr "Ok pour effacer la LISTE des filtres de modules"
msgid "New FootprintFilter:" msgid "New FootprintFilter:"
msgstr "Nouveau \"Filtre de Modules" msgstr "Nouveau \"Filtre de Modules"
#: eeschema/schframe.cpp:182
msgid "Schematic modified, Save before exit ?"
msgstr "Schematique modifie, Sauver avant de quitter ?"
#: eeschema/schframe.cpp:284
msgid "No show Hidden Pins"
msgstr "N'affichage pas les pins invisibles"
#: eeschema/schframe.cpp:287
msgid "Draw lines at any direction"
msgstr "Tracer traits de direction quelconque"
#: eeschema/schframe.cpp:288
msgid "Draw lines H, V or 45 deg only"
msgstr "Tracer traits H, V ou 45 deg seulement"
#: eeschema/menubar.cpp:39 #: eeschema/menubar.cpp:39
msgid "&Load Schematic Project" msgid "&Load Schematic Project"
msgstr "&Charger Projet schmatique" msgstr "&Charger Projet schmatique"
...@@ -7988,6 +7984,22 @@ msgstr "Tri" ...@@ -7988,6 +7984,22 @@ msgstr "Tri"
msgid "Bad Bus Label: " msgid "Bad Bus Label: "
msgstr "Mauvais label de Bus: " msgstr "Mauvais label de Bus: "
#: eeschema/schframe.cpp:183
msgid "Schematic modified, Save before exit ?"
msgstr "Schematique modifie, Sauver avant de quitter ?"
#: eeschema/schframe.cpp:285
msgid "No show Hidden Pins"
msgstr "N'affichage pas les pins invisibles"
#: eeschema/schframe.cpp:288
msgid "Draw lines at any direction"
msgstr "Tracer traits de direction quelconque"
#: eeschema/schframe.cpp:289
msgid "Draw lines H, V or 45 deg only"
msgstr "Tracer traits H, V ou 45 deg seulement"
#: eeschema/eelibs_read_libraryfiles.cpp:115 #: eeschema/eelibs_read_libraryfiles.cpp:115
msgid "Start loading schematic libs" msgid "Start loading schematic libs"
msgstr "Demarre chargement des librairies schmatiques" msgstr "Demarre chargement des librairies schmatiques"
...@@ -8231,7 +8243,7 @@ msgid "Unknown Netlist Format" ...@@ -8231,7 +8243,7 @@ msgid "Unknown Netlist Format"
msgstr " Format NetListe inconnu" msgstr " Format NetListe inconnu"
#: cvpcb/init.cpp:134 #: cvpcb/init.cpp:134
#: cvpcb/cvframe.cpp:339 #: cvpcb/cvframe.cpp:340
#, c-format #, c-format
msgid "Componants: %d (free: %d)" msgid "Componants: %d (free: %d)"
msgstr "Composants: %d (libres: %d)" msgstr "Composants: %d (libres: %d)"
...@@ -8359,59 +8371,42 @@ msgstr "Librairie %s non trouv ...@@ -8359,59 +8371,42 @@ msgstr "Librairie %s non trouv
msgid "Library file <%s> is not a module library" msgid "Library file <%s> is not a module library"
msgstr "Le fichier %s n'est pas une librairie eeschema" msgstr "Le fichier %s n'est pas une librairie eeschema"
#: cvpcb/cvframe.cpp:175 #: cvpcb/cvframe.cpp:176
msgid "Netlist and Cmp list modified, Save before exit ?" msgid "Netlist and Cmp list modified, Save before exit ?"
msgstr "Netlist et liste composants modifis, Sauver avant de quitter ?" msgstr "Netlist et liste composants modifis, Sauver avant de quitter ?"
#: cvpcb/cvframe.cpp:198 #: cvpcb/cvframe.cpp:199
msgid "Problem when saving files, Exit anyway" msgid "Problem when saving files, Exit anyway"
msgstr "Problemes en sauvant les fichiers, quitter quand mme" msgstr "Problemes en sauvant les fichiers, quitter quand mme"
#: cvpcb/cvframe.cpp:325 #: cvpcb/cvframe.cpp:326
msgid "Delete selections" msgid "Delete selections"
msgstr "Effacement des associations existantes" msgstr "Effacement des associations existantes"
#: cvpcb/cvframe.cpp:423 #: cvpcb/cvframe.cpp:424
#: share/drawframe.cpp:134 #: share/drawframe.cpp:134
msgid "font for dialog boxes" msgid "font for dialog boxes"
msgstr "fonte pour boites de dialogue" msgstr "fonte pour boites de dialogue"
#: cvpcb/cvframe.cpp:425 #: cvpcb/cvframe.cpp:426
msgid "font for Lists" msgid "font for Lists"
msgstr "fonte pour listes" msgstr "fonte pour listes"
#: cvpcb/cvframe.cpp:427 #: cvpcb/cvframe.cpp:428
#: share/drawframe.cpp:138 #: share/drawframe.cpp:138
msgid "font for Status Line" msgid "font for Status Line"
msgstr "fonte pour Ligne d'tat" msgstr "fonte pour Ligne d'tat"
#: cvpcb/cvframe.cpp:430 #: cvpcb/cvframe.cpp:431
#: share/drawframe.cpp:141 #: share/drawframe.cpp:141
msgid "&Font selection" msgid "&Font selection"
msgstr "Slection Fonte" msgstr "Slection Fonte"
#: cvpcb/cvframe.cpp:432 #: cvpcb/cvframe.cpp:433
#: share/drawframe.cpp:142 #: share/drawframe.cpp:142
msgid "Choose font type and size for dialogs, infos and status box" msgid "Choose font type and size for dialogs, infos and status box"
msgstr "Choisir les fontes et leur taille pour les dialogues, infos et ligne d'tat" msgstr "Choisir les fontes et leur taille pour les dialogues, infos et ligne d'tat"
#: kicad/mainframe.cpp:102
#, c-format
msgid ""
"Ready\n"
"Working dir: %s\n"
msgstr ""
"Pret\n"
"Rpertoire de travail: %s\n"
#: kicad/mainframe.cpp:330
msgid "Execute Python Script:"
msgstr "Executer le Script Python:"
#: kicad/mainframe.cpp:353
msgid "Load file:"
msgstr "Charger Fichiers:"
#: kicad/preferences.cpp:33 #: kicad/preferences.cpp:33
msgid "Prefered Pdf Browser:" msgid "Prefered Pdf Browser:"
msgstr "Visualisateur PDF prfr:" msgstr "Visualisateur PDF prfr:"
...@@ -8802,6 +8797,23 @@ msgstr "Supprimer Fichier" ...@@ -8802,6 +8797,23 @@ msgstr "Supprimer Fichier"
msgid "no kicad files found in this directory" msgid "no kicad files found in this directory"
msgstr "Pas de fichier Kicad tropuvs dans ce rpertoire" msgstr "Pas de fichier Kicad tropuvs dans ce rpertoire"
#: kicad/mainframe.cpp:103
#, c-format
msgid ""
"Ready\n"
"Working dir: %s\n"
msgstr ""
"Pret\n"
"Rpertoire de travail: %s\n"
#: kicad/mainframe.cpp:331
msgid "Execute Python Script:"
msgstr "Executer le Script Python:"
#: kicad/mainframe.cpp:354
msgid "Load file:"
msgstr "Charger Fichiers:"
#: gerbview/gerbview_config.cpp:127 #: gerbview/gerbview_config.cpp:127
#: gerbview/process_config.cpp:117 #: gerbview/process_config.cpp:117
msgid "Save config file" msgid "Save config file"
...@@ -9124,10 +9136,6 @@ msgstr "Nom Fichier C.I.:" ...@@ -9124,10 +9136,6 @@ msgstr "Nom Fichier C.I.:"
msgid "Ok to change the existing file ?" msgid "Ok to change the existing file ?"
msgstr "D'accord pour changer le fichier existant ?" msgstr "D'accord pour changer le fichier existant ?"
#: gerbview/gerberframe.cpp:177
msgid "Layer modified, Continue ?"
msgstr "Couche modifie, Continuer ?"
#: gerbview/select_layers_to_pcb.cpp:89 #: gerbview/select_layers_to_pcb.cpp:89
msgid "Layer selection:" msgid "Layer selection:"
msgstr "Slection couche:" msgstr "Slection couche:"
...@@ -9162,6 +9170,10 @@ msgstr "Affiche toutes les couches Gerber" ...@@ -9162,6 +9170,10 @@ msgstr "Affiche toutes les couches Gerber"
msgid "Switch off all of the Gerber layers" msgid "Switch off all of the Gerber layers"
msgstr "N'affiche pas les couches Gerber" msgstr "N'affiche pas les couches Gerber"
#: gerbview/gerberframe.cpp:178
msgid "Layer modified, Continue ?"
msgstr "Couche modifie, Continuer ?"
#: common/get_component_dialog.cpp:105 #: common/get_component_dialog.cpp:105
msgid "History list:" msgid "History list:"
msgstr "Historique:" msgstr "Historique:"
...@@ -9191,11 +9203,6 @@ msgstr "X" ...@@ -9191,11 +9203,6 @@ msgstr "X"
msgid "Y" msgid "Y"
msgstr "Y" msgstr "Y"
#: common/basicframe.cpp:216
#, c-format
msgid "Help file %s not found"
msgstr "Fichier d'aide %s non trouv"
#: common/edaappl.cpp:498 #: common/edaappl.cpp:498
msgid "Default" msgid "Default"
msgstr "Defaut" msgstr "Defaut"
...@@ -9310,6 +9317,48 @@ msgstr "Inversion Bloc" ...@@ -9310,6 +9317,48 @@ msgstr "Inversion Bloc"
msgid "Block Mirror" msgid "Block Mirror"
msgstr "Bloc Miroir" msgstr "Bloc Miroir"
#: common/infospgm.cpp:34
msgid "Build Version:"
msgstr "Build Version:"
#: common/infospgm.cpp:49
msgid "Author:"
msgstr "Autheur:"
#: common/infospgm.cpp:50
msgid "Based on wxWidgets "
msgstr "Based on wxWidgets "
#: common/infospgm.cpp:55
msgid ""
"\n"
"\n"
"GPL License"
msgstr ""
"\n"
"\n"
"GPL Licence"
#: common/infospgm.cpp:56
msgid ""
"\n"
"\n"
"Author's sites:\n"
msgstr ""
"\n"
"\n"
"Sites Web de l'auteur:\n"
#: common/infospgm.cpp:59
msgid ""
"\n"
"\n"
"International wiki:\n"
msgstr ""
"\n"
"\n"
"International wiki:\n"
#: common/common.cpp:49 #: common/common.cpp:49
msgid " (\"):" msgid " (\"):"
msgstr " (\"):" msgstr " (\"):"
...@@ -9510,6 +9559,11 @@ msgstr "--- " ...@@ -9510,6 +9559,11 @@ msgstr "--- "
msgid "No default editor found, you must choose it" msgid "No default editor found, you must choose it"
msgstr "Pas d'diteur par dfaut trouv, vous devez en choisir un" msgstr "Pas d'diteur par dfaut trouv, vous devez en choisir un"
#: common/basicframe.cpp:216
#, c-format
msgid "Help file %s not found"
msgstr "Fichier d'aide %s non trouv"
#: common/confirm.cpp:106 #: common/confirm.cpp:106
msgid "Infos:" msgid "Infos:"
msgstr "Infos:" msgstr "Infos:"
...@@ -9824,48 +9878,6 @@ msgstr "Pre&visualisation" ...@@ -9824,48 +9878,6 @@ msgstr "Pre&visualisation"
msgid "&Print" msgid "&Print"
msgstr "Imp&rimer" msgstr "Imp&rimer"
#: share/infospgm.cpp:47
msgid "Build Version:"
msgstr "Build Version:"
#: share/infospgm.cpp:62
msgid "Author:"
msgstr "Autheur:"
#: share/infospgm.cpp:63
msgid "Based on wxWidgets "
msgstr "Based on wxWidgets "
#: share/infospgm.cpp:68
msgid ""
"\n"
"\n"
"GPL License"
msgstr ""
"\n"
"\n"
"GPL Licence"
#: share/infospgm.cpp:69
msgid ""
"\n"
"\n"
"Author's sites:\n"
msgstr ""
"\n"
"\n"
"Sites Web de l'auteur:\n"
#: share/infospgm.cpp:72
msgid ""
"\n"
"\n"
"International wiki:\n"
msgstr ""
"\n"
"\n"
"International wiki:\n"
#: share/setpage.cpp:274 #: share/setpage.cpp:274
msgid "Size A4" msgid "Size A4"
msgstr "Format A4 " msgstr "Format A4 "
...@@ -10175,6 +10187,10 @@ msgstr "Label" ...@@ -10175,6 +10187,10 @@ msgstr "Label"
msgid "GlobLabel" msgid "GlobLabel"
msgstr "Lab Global" msgstr "Lab Global"
#: eeschema/eelayer.h:104
msgid "Netname"
msgstr "NetName"
#: eeschema/eelayer.h:110 #: eeschema/eelayer.h:110
msgid "Notes" msgid "Notes"
msgstr "Notes" msgstr "Notes"
......
/* XPM */
static const char * drag_outline_segment_xpm[] = {
"16 16 40 1",
" c None",
"! c black",
"# c #C00000",
"$ c #5C6A00",
"% c #800028",
"& c #0D0D1E",
"' c #9B9B9B",
"( c #565656",
") c #32323E",
"* c #DCDCEF",
"+ c #4A4A4A",
", c #D2D2D2",
"- c #84849B",
". c white",
"0 c #F1F1FF",
"1 c #31313D",
"2 c #E7E5FF",
"3 c #646489",
"4 c #232332",
"5 c #FBFBFF",
"6 c #EAEAFF",
"7 c #E2E1FF",
"8 c #DBDBFF",
"9 c #D5D3FF",
": c #CDCDFF",
"; c #C8C6FF",
"< c #C1C1FF",
"= c #9F9DDB",
"> c #30303B",
"? c #7A7A96",
"@ c #D2D0FF",
"A c #5A5981",
"B c #20202F",
"C c #C8C8FF",
"D c #C0BFFF",
"E c #5C5C82",
"F c #B8B8FF",
"G c #56557D",
"H c #9493D6",
"I c #1D1D2C",
" ",
" %%########$ ",
" %%#########$ ",
" %#$ #$",
" %#$''()*)+ ,,,",
" %#$ !-.-!! ",
"%#$ !.! ",
"#$ ! !0! ! ",
"$ 1-!!!2!!!34 ",
" !*506789:;<=!",
" >?!!!@!!!AB ",
" ! !C! !! ",
" ! !D! ! ",
" !EFG!! ",
" BHI! ",
" ! "};
...@@ -564,7 +564,7 @@ void ZONE_CONTAINER::Display_Infos( WinEDA_DrawFrame* frame ) ...@@ -564,7 +564,7 @@ void ZONE_CONTAINER::Display_Infos( WinEDA_DrawFrame* frame )
} }
/* Geometric transformations: */ /* Geometric transforms: */
/** /**
* Function Move * Function Move
...@@ -575,16 +575,40 @@ void ZONE_CONTAINER::Move( const wxPoint& offset ) ...@@ -575,16 +575,40 @@ void ZONE_CONTAINER::Move( const wxPoint& offset )
{ {
for( unsigned ii = 0; ii < m_Poly->corner.size(); ii++ ) for( unsigned ii = 0; ii < m_Poly->corner.size(); ii++ )
{ {
m_Poly->corner[ii].x += offset.x; SetCornerPosition(ii, GetCornerPosition(ii) + offset);
m_Poly->corner[ii].y += offset.y;
} }
m_Poly->Hatch(); m_Poly->Hatch();
} }
/**
* Function MoveEdge
* Move the outline Edge. m_CornerSelection is the start point of the outline edge
* @param offset = moving vector
*/
void ZONE_CONTAINER::MoveEdge( const wxPoint& offset )
{
int ii = m_CornerSelection;
// Move the start point of the selected edge:
SetCornerPosition(ii, GetCornerPosition(ii) + offset);
// Move the end point of the selected edge:
if ( m_Poly->corner[ii].end_contour || ii == GetNumCorners() - 1)
{
int icont = m_Poly->GetContour( ii );
ii = m_Poly->GetContourStart( icont );
}
else
ii++;
SetCornerPosition(ii, GetCornerPosition(ii) + offset);
m_Poly->Hatch();
}
/** /**
* Function Move * Function Rotate
* Move the outlines * Move the outlines
* @param centre = rot centre * @param centre = rot centre
* @param angle = in 0.1 degree * @param angle = in 0.1 degree
......
...@@ -147,7 +147,14 @@ public: ...@@ -147,7 +147,14 @@ public:
void Move( const wxPoint& offset ); void Move( const wxPoint& offset );
/** /**
* Function Move * Function MoveEdge
* Move the outline Edge. m_CornerSelection is the start point of the outline edge
* @param offset = moving vector
*/
void MoveEdge( const wxPoint& offset );
/**
* Function Rotate
* Move the outlines * Move the outlines
* @param centre = rot centre * @param centre = rot centre
* @param angle = in 0.1 degree * @param angle = in 0.1 degree
......
...@@ -68,13 +68,14 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event ) ...@@ -68,13 +68,14 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
case ID_POPUP_PCB_STOP_CURRENT_EDGE_ZONE: case ID_POPUP_PCB_STOP_CURRENT_EDGE_ZONE:
case ID_POPUP_PCB_DELETE_ZONE_LAST_CREATED_CORNER: case ID_POPUP_PCB_DELETE_ZONE_LAST_CREATED_CORNER:
case ID_POPUP_PCB_FILL_ALL_ZONES: case ID_POPUP_PCB_FILL_ALL_ZONES:
case ID_POPUP_PCB_PLACE_ZONE_CORNER: case ID_POPUP_PCB_PLACE_ZONE_CORNER:
case ID_POPUP_PCB_PLACE_ZONE_OUTLINES: case ID_POPUP_PCB_PLACE_ZONE_OUTLINES:
case ID_POPUP_PCB_EDIT_ZONE_PARAMS: case ID_POPUP_PCB_EDIT_ZONE_PARAMS:
case ID_POPUP_PCB_DELETE_ZONE: case ID_POPUP_PCB_DELETE_ZONE:
case ID_POPUP_PCB_MOVE_ZONE_CORNER: case ID_POPUP_PCB_MOVE_ZONE_CORNER:
case ID_POPUP_PCB_MOVE_ZONE_OUTLINES: case ID_POPUP_PCB_DRAG_ZONE_OUTLINE_SEGMENT:
case ID_POPUP_PCB_ADD_ZONE_CORNER: case ID_POPUP_PCB_MOVE_ZONE_OUTLINES:
case ID_POPUP_PCB_ADD_ZONE_CORNER:
case ID_POPUP_PCB_DELETE_TRACKSEG: case ID_POPUP_PCB_DELETE_TRACKSEG:
case ID_POPUP_PCB_DELETE_TRACK: case ID_POPUP_PCB_DELETE_TRACK:
case ID_POPUP_PCB_DELETE_TRACKNET: case ID_POPUP_PCB_DELETE_TRACKNET:
...@@ -84,8 +85,8 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event ) ...@@ -84,8 +85,8 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
case ID_POPUP_PCB_SELECT_LAYER_PAIR: case ID_POPUP_PCB_SELECT_LAYER_PAIR:
case ID_POPUP_PCB_SELECT_NO_CU_LAYER: case ID_POPUP_PCB_SELECT_NO_CU_LAYER:
case ID_POPUP_PCB_SELECT_WIDTH: case ID_POPUP_PCB_SELECT_WIDTH:
case ID_POPUP_PCB_SELECT_AUTO_WIDTH: case ID_POPUP_PCB_SELECT_AUTO_WIDTH:
case ID_AUX_TOOLBAR_PCB_SELECT_AUTO_WIDTH: case ID_AUX_TOOLBAR_PCB_SELECT_AUTO_WIDTH:
case ID_POPUP_PCB_SELECT_WIDTH1: case ID_POPUP_PCB_SELECT_WIDTH1:
case ID_POPUP_PCB_SELECT_WIDTH2: case ID_POPUP_PCB_SELECT_WIDTH2:
case ID_POPUP_PCB_SELECT_WIDTH3: case ID_POPUP_PCB_SELECT_WIDTH3:
...@@ -340,7 +341,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event ) ...@@ -340,7 +341,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
GetScreen()->SetModify(); GetScreen()->SetModify();
break; break;
case ID_POPUP_PCB_EDIT_NET: case ID_POPUP_PCB_EDIT_NET:
if( GetCurItem() == NULL ) if( GetCurItem() == NULL )
break; break;
Edit_Net_Width( &dc, ( (TRACK*) GetCurItem() )->GetNet() ); Edit_Net_Width( &dc, ( (TRACK*) GetCurItem() )->GetNet() );
...@@ -379,8 +380,9 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event ) ...@@ -379,8 +380,9 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
break; break;
case ID_POPUP_PCB_PLACE_MICROVIA: case ID_POPUP_PCB_PLACE_MICROVIA:
if ( ! GetScreen()->IsMicroViaAcceptable() ) if( !GetScreen()->IsMicroViaAcceptable() )
break; break;
case ID_POPUP_PCB_PLACE_VIA: case ID_POPUP_PCB_PLACE_VIA:
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
if( GetCurItem()->m_Flags & IS_DRAGGED ) if( GetCurItem()->m_Flags & IS_DRAGGED )
...@@ -389,17 +391,17 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event ) ...@@ -389,17 +391,17 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
} }
else else
{ {
int v_type = g_DesignSettings.m_CurrentViaType; int v_type = g_DesignSettings.m_CurrentViaType;
if ( id == ID_POPUP_PCB_PLACE_MICROVIA ) if( id == ID_POPUP_PCB_PLACE_MICROVIA )
g_DesignSettings.m_CurrentViaType = VIA_MICROVIA; // place micro via and switch layer g_DesignSettings.m_CurrentViaType = VIA_MICROVIA; // place micro via and switch layer
Other_Layer_Route( (TRACK*) GetCurItem(), &dc ); Other_Layer_Route( (TRACK*) GetCurItem(), &dc );
g_DesignSettings.m_CurrentViaType = v_type; g_DesignSettings.m_CurrentViaType = v_type;
if( DisplayOpt.ContrastModeDisplay ) if( DisplayOpt.ContrastModeDisplay )
GetScreen()->SetRefreshReq(); GetScreen()->SetRefreshReq();
} }
break; break;
case ID_POPUP_PCB_DELETE_TRACKSEG: case ID_POPUP_PCB_DELETE_TRACKSEG:
if( GetCurItem() == NULL ) if( GetCurItem() == NULL )
break; break;
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
...@@ -460,73 +462,82 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event ) ...@@ -460,73 +462,82 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
case ID_POPUP_PCB_EDIT_ZONE_PARAMS: case ID_POPUP_PCB_EDIT_ZONE_PARAMS:
Edit_Zone_Params( &dc, (ZONE_CONTAINER*) GetCurItem() ); Edit_Zone_Params( &dc, (ZONE_CONTAINER*) GetCurItem() );
SetCurItem( NULL ); // Outlines can have changed SetCurItem( NULL ); // Outlines can have changed
break; break;
case ID_POPUP_PCB_ZONE_ADD_SIMILAR_ZONE: case ID_POPUP_PCB_ZONE_ADD_SIMILAR_ZONE:
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
Add_Similar_Zone( &dc, (ZONE_CONTAINER*) GetCurItem() ); Add_Similar_Zone( &dc, (ZONE_CONTAINER*) GetCurItem() );
break; break;
case ID_POPUP_PCB_ZONE_ADD_CUTOUT_ZONE: case ID_POPUP_PCB_ZONE_ADD_CUTOUT_ZONE:
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
Add_Zone_Cutout( &dc, (ZONE_CONTAINER*) GetCurItem() ); Add_Zone_Cutout( &dc, (ZONE_CONTAINER*) GetCurItem() );
break; break;
case ID_POPUP_PCB_DELETE_ZONE_CONTAINER: case ID_POPUP_PCB_DELETE_ZONE_CONTAINER:
case ID_POPUP_PCB_DELETE_ZONE_CUTOUT: case ID_POPUP_PCB_DELETE_ZONE_CUTOUT:
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
Delete_Zone_Contour( &dc, (ZONE_CONTAINER*)GetCurItem() ); Delete_Zone_Contour( &dc, (ZONE_CONTAINER*) GetCurItem() );
SetCurItem( NULL ); SetCurItem( NULL );
break; break;
case ID_POPUP_PCB_DELETE_ZONE_CORNER: case ID_POPUP_PCB_DELETE_ZONE_CORNER:
Remove_Zone_Corner( &dc, (ZONE_CONTAINER*)GetCurItem() ); Remove_Zone_Corner( &dc, (ZONE_CONTAINER*) GetCurItem() );
SetCurItem( NULL ); SetCurItem( NULL );
break; break;
case ID_POPUP_PCB_MOVE_ZONE_CORNER: case ID_POPUP_PCB_MOVE_ZONE_CORNER:
{ {
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
ZONE_CONTAINER * zone_cont = (ZONE_CONTAINER*)GetCurItem(); ZONE_CONTAINER* zone_cont = (ZONE_CONTAINER*) GetCurItem();
Start_Move_Zone_Corner(&dc, zone_cont, zone_cont->m_CornerSelection, false); Start_Move_Zone_Corner( &dc, zone_cont, zone_cont->m_CornerSelection, false );
break; break;
} }
case ID_POPUP_PCB_MOVE_ZONE_OUTLINES: case ID_POPUP_PCB_DRAG_ZONE_OUTLINE_SEGMENT:
{ {
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
ZONE_CONTAINER * zone_cont = (ZONE_CONTAINER*)GetCurItem(); ZONE_CONTAINER* zone_cont = (ZONE_CONTAINER*) GetCurItem();
Start_Move_Zone_Outlines(&dc, zone_cont); Start_Move_Zone_Drag_Outline_Edge( &dc, zone_cont, zone_cont->m_CornerSelection );
break; break;
} }
case ID_POPUP_PCB_ADD_ZONE_CORNER: case ID_POPUP_PCB_MOVE_ZONE_OUTLINES:
{ {
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
ZONE_CONTAINER * zone_cont = (ZONE_CONTAINER*)GetCurItem(); ZONE_CONTAINER* zone_cont = (ZONE_CONTAINER*) GetCurItem();
wxPoint pos = GetScreen()->m_Curseur; Start_Move_Zone_Outlines( &dc, zone_cont );
/* add corner between zone_cont->m_CornerSelection
* and zone_cont->m_CornerSelection+1
* and start move the new corner
*/
zone_cont->Draw(DrawPanel, &dc, wxPoint(0,0), GR_XOR);
zone_cont->m_Poly->InsertCorner( zone_cont->m_CornerSelection, pos.x, pos.y );
zone_cont->m_CornerSelection++;
zone_cont->Draw(DrawPanel, &dc, wxPoint(0,0), GR_XOR);
Start_Move_Zone_Corner(&dc, zone_cont, zone_cont->m_CornerSelection, true);
break; break;
} }
case ID_POPUP_PCB_PLACE_ZONE_OUTLINES: case ID_POPUP_PCB_ADD_ZONE_CORNER:
case ID_POPUP_PCB_PLACE_ZONE_CORNER: {
{
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
ZONE_CONTAINER * zone_cont = (ZONE_CONTAINER*)GetCurItem(); ZONE_CONTAINER* zone_cont = (ZONE_CONTAINER*) GetCurItem();
End_Move_Zone_Corner_Or_Outlines(&dc, zone_cont); wxPoint pos = GetScreen()->m_Curseur;
/* add corner between zone_cont->m_CornerSelection
* and zone_cont->m_CornerSelection+1
* and start move the new corner
*/
zone_cont->Draw( DrawPanel, &dc, wxPoint( 0, 0 ), GR_XOR );
zone_cont->m_Poly->InsertCorner( zone_cont->m_CornerSelection, pos.x, pos.y );
zone_cont->m_CornerSelection++;
zone_cont->Draw( DrawPanel, &dc, wxPoint( 0, 0 ), GR_XOR );
Start_Move_Zone_Corner( &dc, zone_cont, zone_cont->m_CornerSelection, true );
break; break;
} }
case ID_POPUP_PCB_PLACE_ZONE_OUTLINES:
case ID_POPUP_PCB_PLACE_ZONE_CORNER:
{
DrawPanel->MouseToCursorSchema();
ZONE_CONTAINER* zone_cont = (ZONE_CONTAINER*) GetCurItem();
End_Move_Zone_Corner_Or_Outlines( &dc, zone_cont );
break;
}
case ID_POPUP_PCB_FILL_ALL_ZONES: case ID_POPUP_PCB_FILL_ALL_ZONES:
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
Fill_All_Zones( &dc ); Fill_All_Zones( &dc );
...@@ -534,7 +545,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event ) ...@@ -534,7 +545,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
case ID_POPUP_PCB_FILL_ZONE: case ID_POPUP_PCB_FILL_ZONE:
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
Fill_Zone( &dc, (ZONE_CONTAINER*)GetCurItem() ); Fill_Zone( &dc, (ZONE_CONTAINER*) GetCurItem() );
break; break;
case ID_PCB_DELETE_ITEM_BUTT: case ID_PCB_DELETE_ITEM_BUTT:
...@@ -811,8 +822,8 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event ) ...@@ -811,8 +822,8 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
if( GetCurItem() && (GetCurItem()->m_Flags & IS_NEW) ) if( GetCurItem() && (GetCurItem()->m_Flags & IS_NEW) )
{ {
if ( End_Zone( &dc ) ) if( End_Zone( &dc ) )
SetCurItem( NULL ); SetCurItem( NULL );
} }
break; break;
...@@ -820,8 +831,8 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event ) ...@@ -820,8 +831,8 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
if( GetCurItem() && (GetCurItem()->m_Flags & IS_NEW) ) if( GetCurItem() && (GetCurItem()->m_Flags & IS_NEW) )
{ {
if ( Delete_LastCreatedCorner( &dc ) == 0) // No more segment in outline, if( Delete_LastCreatedCorner( &dc ) == 0 ) // No more segment in outline,
SetCurItem(NULL); SetCurItem( NULL );
} }
break; break;
...@@ -835,8 +846,8 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event ) ...@@ -835,8 +846,8 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
DisplayTrackSettings(); DisplayTrackSettings();
m_SelTrackWidthBox_Changed = FALSE; m_SelTrackWidthBox_Changed = FALSE;
m_SelViaSizeBox_Changed = FALSE; m_SelViaSizeBox_Changed = FALSE;
g_DesignSettings.m_UseConnectedTrackWidth = false; g_DesignSettings.m_UseConnectedTrackWidth = false;
} }
break; break;
case ID_POPUP_PCB_SELECT_WIDTH1: case ID_POPUP_PCB_SELECT_WIDTH1:
...@@ -848,7 +859,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event ) ...@@ -848,7 +859,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
case ID_POPUP_PCB_SELECT_WIDTH7: case ID_POPUP_PCB_SELECT_WIDTH7:
case ID_POPUP_PCB_SELECT_WIDTH8: case ID_POPUP_PCB_SELECT_WIDTH8:
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
g_DesignSettings.m_UseConnectedTrackWidth = false; g_DesignSettings.m_UseConnectedTrackWidth = false;
{ {
int ii = id - ID_POPUP_PCB_SELECT_WIDTH1; int ii = id - ID_POPUP_PCB_SELECT_WIDTH1;
g_DesignSettings.m_CurrentTrackWidth = g_DesignSettings.m_TrackWidthHistory[ii]; g_DesignSettings.m_CurrentTrackWidth = g_DesignSettings.m_TrackWidthHistory[ii];
...@@ -856,13 +867,13 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event ) ...@@ -856,13 +867,13 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
} }
break; break;
case ID_AUX_TOOLBAR_PCB_SELECT_AUTO_WIDTH: case ID_AUX_TOOLBAR_PCB_SELECT_AUTO_WIDTH:
g_DesignSettings.m_UseConnectedTrackWidth = not g_DesignSettings.m_UseConnectedTrackWidth; g_DesignSettings.m_UseConnectedTrackWidth = not g_DesignSettings.m_UseConnectedTrackWidth;
break; break;
case ID_POPUP_PCB_SELECT_AUTO_WIDTH: case ID_POPUP_PCB_SELECT_AUTO_WIDTH:
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
g_DesignSettings.m_UseConnectedTrackWidth = true; g_DesignSettings.m_UseConnectedTrackWidth = true;
break; break;
case ID_POPUP_PCB_SELECT_VIASIZE: case ID_POPUP_PCB_SELECT_VIASIZE:
...@@ -1132,15 +1143,15 @@ void WinEDA_PcbFrame::SwitchLayer( wxDC* DC, int layer ) ...@@ -1132,15 +1143,15 @@ void WinEDA_PcbFrame::SwitchLayer( wxDC* DC, int layer )
GetScreen()->m_Route_Layer_TOP = preslayer; GetScreen()->m_Route_Layer_TOP = preslayer;
GetScreen()->m_Route_Layer_BOTTOM = layer; GetScreen()->m_Route_Layer_BOTTOM = layer;
GetScreen()->m_Active_Layer = preslayer; GetScreen()->m_Active_Layer = preslayer;
if( Other_Layer_Route( (TRACK*) GetScreen()->GetCurItem(), DC ) ) if( Other_Layer_Route( (TRACK*) GetScreen()->GetCurItem(), DC ) )
{ {
if( DisplayOpt.ContrastModeDisplay ) if( DisplayOpt.ContrastModeDisplay )
GetScreen()->SetRefreshReq(); GetScreen()->SetRefreshReq();
} }
// if the via was allowed by DRC, then the layer swap has already // if the via was allowed by DRC, then the layer swap has already
// been done by Other_Layer_Route(). if via not allowed, then // been done by Other_Layer_Route(). if via not allowed, then
// return now so assignment to m_Active_Layer below doesn't happen. // return now so assignment to m_Active_Layer below doesn't happen.
return; return;
} }
......
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
#include "Width_Net.xpm" #include "Width_Net.xpm"
#include "Width_Track_Via.xpm" #include "Width_Track_Via.xpm"
#include "Select_Layer_Pair.xpm" #include "Select_Layer_Pair.xpm"
#include "Drag_Outline_Segment.xpm"
#include "Flag.xpm" #include "Flag.xpm"
...@@ -660,7 +661,13 @@ void WinEDA_PcbFrame::createPopUpMenuForZones( ZONE_CONTAINER* edge_zone, wxMenu ...@@ -660,7 +661,13 @@ void WinEDA_PcbFrame::createPopUpMenuForZones( ZONE_CONTAINER* edge_zone, wxMenu
/* Create the wxMenuitem list for zone outlines editing and zone filling /* Create the wxMenuitem list for zone outlines editing and zone filling
*/ */
{ {
if( edge_zone->m_Flags )
if( edge_zone->m_Flags == IS_DRAGGED)
{
ADD_MENUITEM( aPopMenu, ID_POPUP_PCB_PLACE_DRAGGED_ZONE_OUTLINE_SEGMENT,
_( "Place Edge Outline" ), apply_xpm );
}
else if( edge_zone->m_Flags )
{ {
if( (edge_zone->m_Flags & IN_EDIT ) ) if( (edge_zone->m_Flags & IN_EDIT ) )
ADD_MENUITEM( aPopMenu, ID_POPUP_PCB_PLACE_ZONE_CORNER, ADD_MENUITEM( aPopMenu, ID_POPUP_PCB_PLACE_ZONE_CORNER,
...@@ -686,6 +693,8 @@ void WinEDA_PcbFrame::createPopUpMenuForZones( ZONE_CONTAINER* edge_zone, wxMenu ...@@ -686,6 +693,8 @@ void WinEDA_PcbFrame::createPopUpMenuForZones( ZONE_CONTAINER* edge_zone, wxMenu
{ {
ADD_MENUITEM( zones_menu, ID_POPUP_PCB_ADD_ZONE_CORNER, ADD_MENUITEM( zones_menu, ID_POPUP_PCB_ADD_ZONE_CORNER,
_( "Create Corner" ), Add_Corner_xpm ); _( "Create Corner" ), Add_Corner_xpm );
ADD_MENUITEM( zones_menu, ID_POPUP_PCB_DRAG_ZONE_OUTLINE_SEGMENT,
_( "Drag Outline Segment" ), drag_outline_segment_xpm );
} }
zones_menu->AppendSeparator(); zones_menu->AppendSeparator();
......
...@@ -14,13 +14,13 @@ ...@@ -14,13 +14,13 @@
#include "protos.h" #include "protos.h"
#define ROUTER
#define PSCALE 1 #define PSCALE 1
/* routines internes */ /* routines internes */
#ifdef ROUTER
static void Out_Pads( BOARD* Pcb, FILE* outfile ); static void Out_Pads( BOARD* Pcb, FILE* outfile );
static int GenEdges( BOARD* Pcb, FILE* outfile ); static int GenEdges( BOARD* Pcb, FILE* outfile );
#endif
static void GenExistantTracks( BOARD* Pcb, FILE* outfile, int current_net_code, int type ); static void GenExistantTracks( BOARD* Pcb, FILE* outfile, int current_net_code, int type );
static void ReturnNbViasAndTracks( BOARD* Pcb, int netcode, int* nb_vias, int* nb_tracks ); static void ReturnNbViasAndTracks( BOARD* Pcb, int netcode, int* nb_vias, int* nb_tracks );
...@@ -143,7 +143,7 @@ void WinEDA_PcbFrame::GlobalRoute( wxDC* DC ) ...@@ -143,7 +143,7 @@ void WinEDA_PcbFrame::GlobalRoute( wxDC* DC )
/************************************************/ /************************************************/
static void Out_Pads( BOARD* Pcb, FILE* outfile ) void Out_Pads( BOARD* Pcb, FILE* outfile )
/************************************************/ /************************************************/
{ {
D_PAD* pt_pad; D_PAD* pt_pad;
...@@ -314,7 +314,7 @@ static void Out_Pads( BOARD* Pcb, FILE* outfile ) ...@@ -314,7 +314,7 @@ static void Out_Pads( BOARD* Pcb, FILE* outfile )
/**************************************************************************/ /**************************************************************************/
static void ReturnNbViasAndTracks( BOARD* Pcb, int netcode, int* nb_vias, void ReturnNbViasAndTracks( BOARD* Pcb, int netcode, int* nb_vias,
int* nb_tracks ) int* nb_tracks )
/**************************************************************************/ /**************************************************************************/
...@@ -345,7 +345,7 @@ static void ReturnNbViasAndTracks( BOARD* Pcb, int netcode, int* nb_vias, ...@@ -345,7 +345,7 @@ static void ReturnNbViasAndTracks( BOARD* Pcb, int netcode, int* nb_vias,
/*************************************************************/ /*************************************************************/
static void GenExistantTracks( BOARD* Pcb, FILE* outfile, void GenExistantTracks( BOARD* Pcb, FILE* outfile,
int current_net_code, int type ) int current_net_code, int type )
/*************************************************************/ /*************************************************************/
/* generation des pistes existantes */ /* generation des pistes existantes */
...@@ -429,7 +429,7 @@ static void GenExistantTracks( BOARD* Pcb, FILE* outfile, ...@@ -429,7 +429,7 @@ static void GenExistantTracks( BOARD* Pcb, FILE* outfile,
/***********************************************/ /***********************************************/
static int GenEdges( BOARD* Pcb, FILE* outfile ) int GenEdges( BOARD* Pcb, FILE* outfile )
/***********************************************/ /***********************************************/
/* Generation des contours (edges). /* Generation des contours (edges).
......
...@@ -37,7 +37,7 @@ bool verbose = false; // false if zone outline diags mst not be shown ...@@ -37,7 +37,7 @@ bool verbose = false; // false if zone outline diags mst not be shown
// Outline creation: // Outline creation:
static void Abort_Zone_Create_Outline( WinEDA_DrawPanel* Panel, wxDC* DC ); static void Abort_Zone_Create_Outline( WinEDA_DrawPanel* Panel, wxDC* DC );
static void Show_New_Zone_Edge_While_Move_Mouse( WinEDA_DrawPanel* panel, wxDC* DC, bool erase ); static void Show_New_Edge_While_Move_Mouse( WinEDA_DrawPanel* panel, wxDC* DC, bool erase );
// Corner moving // Corner moving
static void Abort_Zone_Move_Corner_Or_Outlines( WinEDA_DrawPanel* Panel, wxDC* DC ); static void Abort_Zone_Move_Corner_Or_Outlines( WinEDA_DrawPanel* Panel, wxDC* DC );
...@@ -175,8 +175,8 @@ int WinEDA_PcbFrame::Delete_LastCreatedCorner( wxDC* DC ) ...@@ -175,8 +175,8 @@ int WinEDA_PcbFrame::Delete_LastCreatedCorner( wxDC* DC )
if( zone->GetNumCorners() > 2 ) if( zone->GetNumCorners() > 2 )
{ {
zone->m_Poly->DeleteCorner( zone->GetNumCorners() - 1 ); zone->m_Poly->DeleteCorner( zone->GetNumCorners() - 1 );
if ( DrawPanel->ManageCurseur ) if( DrawPanel->ManageCurseur )
DrawPanel->ManageCurseur(DrawPanel, DC, false); DrawPanel->ManageCurseur( DrawPanel, DC, false );
} }
else else
{ {
...@@ -184,7 +184,7 @@ int WinEDA_PcbFrame::Delete_LastCreatedCorner( wxDC* DC ) ...@@ -184,7 +184,7 @@ int WinEDA_PcbFrame::Delete_LastCreatedCorner( wxDC* DC )
DrawPanel->ForceCloseManageCurseur = NULL; DrawPanel->ForceCloseManageCurseur = NULL;
SetCurItem( NULL ); SetCurItem( NULL );
zone->RemoveAllContours(); zone->RemoveAllContours();
zone->m_Flags = 0; zone->m_Flags = 0;
} }
return zone->GetNumCorners(); return zone->GetNumCorners();
} }
...@@ -241,14 +241,34 @@ void WinEDA_PcbFrame::Start_Move_Zone_Corner( wxDC* DC, ZONE_CONTAINER* zone_con ...@@ -241,14 +241,34 @@ void WinEDA_PcbFrame::Start_Move_Zone_Corner( wxDC* DC, ZONE_CONTAINER* zone_con
zone_container->m_Flags = IN_EDIT; zone_container->m_Flags = IN_EDIT;
DrawPanel->ManageCurseur = Show_Zone_Corner_Or_Outline_While_Move_Mouse; DrawPanel->ManageCurseur = Show_Zone_Corner_Or_Outline_While_Move_Mouse;
DrawPanel->ForceCloseManageCurseur = Abort_Zone_Move_Corner_Or_Outlines; DrawPanel->ForceCloseManageCurseur = Abort_Zone_Move_Corner_Or_Outlines;
s_CornerInitialPosition.x = zone_container->m_Poly->GetX( corner_id ); s_CornerInitialPosition = zone_container->GetCornerPosition( corner_id );
s_CornerInitialPosition.y = zone_container->m_Poly->GetY( corner_id );
s_CornerIsNew = IsNewCorner; s_CornerIsNew = IsNewCorner;
s_AddCutoutToCurrentZone = false; s_AddCutoutToCurrentZone = false;
s_CurrentZone = NULL; s_CurrentZone = NULL;
} }
/**************************************************************************************/
void WinEDA_PcbFrame::Start_Move_Zone_Drag_Outline_Edge( wxDC* DC,
ZONE_CONTAINER* zone_container,
int corner_id )
/**************************************************************************************/
/**
* Function Start_Move_Zone_Corner
* Prepares a drag edge for an existing zone outline,
*/
{
zone_container->m_Flags = IS_DRAGGED;
zone_container->m_CornerSelection = corner_id;
DrawPanel->ManageCurseur = Show_Zone_Corner_Or_Outline_While_Move_Mouse;
DrawPanel->ForceCloseManageCurseur = Abort_Zone_Move_Corner_Or_Outlines;
s_CursorLastPosition = s_CornerInitialPosition = GetScreen()->m_Curseur;
s_AddCutoutToCurrentZone = false;
s_CurrentZone = NULL;
}
/*******************************************************************************************************/ /*******************************************************************************************************/
void WinEDA_PcbFrame::Start_Move_Zone_Outlines( wxDC* DC, ZONE_CONTAINER* zone_container ) void WinEDA_PcbFrame::Start_Move_Zone_Outlines( wxDC* DC, ZONE_CONTAINER* zone_container )
/*******************************************************************************************************/ /*******************************************************************************************************/
...@@ -380,6 +400,12 @@ void Abort_Zone_Move_Corner_Or_Outlines( WinEDA_DrawPanel* Panel, wxDC* DC ) ...@@ -380,6 +400,12 @@ void Abort_Zone_Move_Corner_Or_Outlines( WinEDA_DrawPanel* Panel, wxDC* DC )
offset = s_CornerInitialPosition - s_CursorLastPosition; offset = s_CornerInitialPosition - s_CursorLastPosition;
zone_container->Move( offset ); zone_container->Move( offset );
} }
else if( zone_container->m_Flags == IS_DRAGGED )
{
wxPoint offset;
offset = s_CornerInitialPosition - s_CursorLastPosition;
zone_container->MoveEdge( offset );
}
else else
{ {
if( s_CornerIsNew ) if( s_CornerIsNew )
...@@ -411,26 +437,32 @@ void Show_Zone_Corner_Or_Outline_While_Move_Mouse( WinEDA_DrawPanel* Panel, wxDC ...@@ -411,26 +437,32 @@ void Show_Zone_Corner_Or_Outline_While_Move_Mouse( WinEDA_DrawPanel* Panel, wxDC
*/ */
{ {
WinEDA_PcbFrame* pcbframe = (WinEDA_PcbFrame*) Panel->m_Parent; WinEDA_PcbFrame* pcbframe = (WinEDA_PcbFrame*) Panel->m_Parent;
ZONE_CONTAINER* zone_container = (ZONE_CONTAINER*) pcbframe->GetCurItem(); ZONE_CONTAINER* zone = (ZONE_CONTAINER*) pcbframe->GetCurItem();
if( erase ) /* Undraw edge in old position*/ if( erase ) /* Undraw edge in old position*/
{ {
zone_container->Draw( Panel, DC, wxPoint(0,0), GR_XOR ); zone->Draw( Panel, DC, wxPoint( 0, 0 ), GR_XOR );
} }
wxPoint pos = pcbframe->GetScreen()->m_Curseur; wxPoint pos = pcbframe->GetScreen()->m_Curseur;
if( zone_container->m_Flags == IS_MOVED ) if( zone->m_Flags == IS_MOVED )
{ {
wxPoint offset; wxPoint offset;
offset.x = pos.x - s_CursorLastPosition.x; offset = pos - s_CursorLastPosition;
offset.y = pos.y - s_CursorLastPosition.y; zone->Move( offset );
zone_container->Move( offset ); s_CursorLastPosition = pos;
}
else if( zone->m_Flags == IS_DRAGGED )
{
wxPoint offset;
offset = pos - s_CursorLastPosition;
zone->MoveEdge( offset );
s_CursorLastPosition = pos; s_CursorLastPosition = pos;
} }
else else
zone_container->m_Poly->MoveCorner( zone_container->m_CornerSelection, pos.x, pos.y ); zone->m_Poly->MoveCorner( zone->m_CornerSelection, pos.x, pos.y );
zone_container->Draw( Panel, DC, wxPoint(0,0), GR_XOR ); zone->Draw( Panel, DC, wxPoint( 0, 0 ), GR_XOR );
} }
...@@ -531,7 +563,7 @@ int WinEDA_PcbFrame::Begin_Zone( wxDC* DC ) ...@@ -531,7 +563,7 @@ int WinEDA_PcbFrame::Begin_Zone( wxDC* DC )
} }
SetCurItem( zone ); SetCurItem( zone );
DrawPanel->ManageCurseur = Show_New_Zone_Edge_While_Move_Mouse; DrawPanel->ManageCurseur = Show_New_Edge_While_Move_Mouse;
DrawPanel->ForceCloseManageCurseur = Abort_Zone_Create_Outline; DrawPanel->ForceCloseManageCurseur = Abort_Zone_Create_Outline;
} }
// edge in progress: // edge in progress:
...@@ -539,14 +571,14 @@ int WinEDA_PcbFrame::Begin_Zone( wxDC* DC ) ...@@ -539,14 +571,14 @@ int WinEDA_PcbFrame::Begin_Zone( wxDC* DC )
{ {
ii = zone->GetNumCorners() - 1; ii = zone->GetNumCorners() - 1;
/* edge in progress : the current corner coordinate was set by Show_New_Zone_Edge_While_Move_Mouse */ /* edge in progress : the current corner coordinate was set by Show_New_Edge_While_Move_Mouse */
if( zone->GetCornerPosition( ii - 1 ) != zone->GetCornerPosition( ii ) ) if( zone->GetCornerPosition( ii - 1 ) != zone->GetCornerPosition( ii ) )
{ {
if( Drc_On && m_drc->Drc( zone, ii - 1 ) == OK_DRC ) // Ok, we can add a new corner if( Drc_On && m_drc->Drc( zone, ii - 1 ) == OK_DRC ) // Ok, we can add a new corner
{ {
zone->AppendCorner( GetScreen()->m_Curseur ); zone->AppendCorner( GetScreen()->m_Curseur );
SetCurItem( zone ); // calls Display_Infos(). SetCurItem( zone ); // calls Display_Infos().
} }
} }
} }
...@@ -592,7 +624,7 @@ bool WinEDA_PcbFrame::End_Zone( wxDC* DC ) ...@@ -592,7 +624,7 @@ bool WinEDA_PcbFrame::End_Zone( wxDC* DC )
zone->m_Flags = 0; zone->m_Flags = 0;
zone->DrawWhileCreateOutline( DrawPanel, DC, GR_XOR ); zone->DrawWhileCreateOutline( DrawPanel, DC, GR_XOR );
DrawPanel->ManageCurseur = NULL; DrawPanel->ManageCurseur = NULL;
DrawPanel->ForceCloseManageCurseur = NULL; DrawPanel->ForceCloseManageCurseur = NULL;
...@@ -646,7 +678,7 @@ bool WinEDA_PcbFrame::End_Zone( wxDC* DC ) ...@@ -646,7 +678,7 @@ bool WinEDA_PcbFrame::End_Zone( wxDC* DC )
/******************************************************************************************/ /******************************************************************************************/
static void Show_New_Zone_Edge_While_Move_Mouse( WinEDA_DrawPanel* panel, wxDC* DC, bool erase ) static void Show_New_Edge_While_Move_Mouse( WinEDA_DrawPanel* panel, wxDC* DC, bool erase )
/******************************************************************************************/ /******************************************************************************************/
/* Redraws the edge zone when moving mouse /* Redraws the edge zone when moving mouse
...@@ -663,7 +695,7 @@ static void Show_New_Zone_Edge_While_Move_Mouse( WinEDA_DrawPanel* panel, wxDC* ...@@ -663,7 +695,7 @@ static void Show_New_Zone_Edge_While_Move_Mouse( WinEDA_DrawPanel* panel, wxDC*
if( erase ) /* Undraw edge in old position*/ if( erase ) /* Undraw edge in old position*/
{ {
zone->DrawWhileCreateOutline( panel, DC ); zone->DrawWhileCreateOutline( panel, DC );
} }
/* Redraw the curent edge in its new position */ /* Redraw the curent edge in its new position */
......
release version: release version:
19 nov 2007 01 feb 2008
files (.zip,.tgz): files (.zip,.tgz):
kicad-2007-11-19 kicad-2007-02-01
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