committed newfont patch. Pcbnew: board date automatically updated at each change.

This commit is contained in:
charras 2010-02-19 13:23:58 +00:00
parent 815bbddf92
commit a70a580596
52 changed files with 275 additions and 11546 deletions

View File

@ -42,6 +42,7 @@ set(COMMON_SRCS
gr_basic.cpp gr_basic.cpp
hotkeys_basic.cpp hotkeys_basic.cpp
msgpanel.cpp msgpanel.cpp
newstroke_font.cpp
projet_config.cpp projet_config.cpp
# pyhandler.cpp # pyhandler.cpp
richio.cpp richio.cpp

View File

@ -107,7 +107,7 @@ int NegableTextLength( const wxString& aText )
static const char* GetHersheyShapeDescription( int AsciiCode ) static const char* GetHersheyShapeDescription( int AsciiCode )
{ {
/* calculate font length */ /* calculate font length */
int font_length_max = sizeof(newstroke_font)/sizeof(*newstroke_font); int font_length_max = newstroke_font_bufsize;
if ( AsciiCode >= (32 + font_length_max) ) if ( AsciiCode >= (32 + font_length_max) )
AsciiCode = '?'; AsciiCode = '?';
if( AsciiCode < 32 ) if( AsciiCode < 32 )

View File

@ -304,7 +304,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
placeMenu->Append( item ); placeMenu->Append( item );
/* Net name */ /* Net name */
item = new wxMenuItem( placeMenu, ID_LABEL_BUTT, _( "Net name" ), item = new wxMenuItem( placeMenu, ID_LABEL_BUTT, _( "Label" ),
_( "Place net name" ), wxITEM_NORMAL ); _( "Place net name" ), wxITEM_NORMAL );
item->SetBitmap( add_line_label_xpm ); item->SetBitmap( add_line_label_xpm );
placeMenu->Append( item ); placeMenu->Append( item );

File diff suppressed because it is too large Load Diff

View File

@ -216,6 +216,14 @@ public:
MODULE* Select_1_Module_From_BOARD( BOARD* Pcb ); MODULE* Select_1_Module_From_BOARD( BOARD* Pcb );
MODULE* GetModuleByName(); MODULE* GetModuleByName();
/** Function OnModify()
* Virtual
* Must be called after a schematic change
* in order to set the "modify" flag of the current screen
* and update the date in frame reference
*/
virtual void OnModify( );
// Modules (footprints) // Modules (footprints)
MODULE* Create_1_Module( wxDC* DC, MODULE* Create_1_Module( wxDC* DC,
const wxString& module_name ); const wxString& module_name );

Binary file not shown.

View File

@ -2,8 +2,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: kicad\n" "Project-Id-Version: kicad\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-02-17 16:59+0100\n" "POT-Creation-Date: 2010-02-19 08:35+0100\n"
"PO-Revision-Date: 2010-02-17 17:00+0100\n" "PO-Revision-Date: 2010-02-19 08:43+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"
@ -41,11 +41,11 @@ msgstr "Format décimal"
#: pcbnew/dialog_gendrill.cpp:173 #: pcbnew/dialog_gendrill.cpp:173
msgid "suppress leading zeros" msgid "suppress leading zeros"
msgstr "Suppression zeros de tête" msgstr "Suppression zéros de tête"
#: pcbnew/dialog_gendrill.cpp:174 #: pcbnew/dialog_gendrill.cpp:174
msgid "suppress trailing zeros" msgid "suppress trailing zeros"
msgstr "Suppression zeros de fin" msgstr "Suppression zéros de fin"
#: pcbnew/dialog_gendrill.cpp:175 #: pcbnew/dialog_gendrill.cpp:175
msgid "keep zeros" msgid "keep zeros"
@ -130,7 +130,7 @@ msgstr "Rapport de perçage:"
#: pcbnew/dialog_gendrill.cpp:221 #: pcbnew/dialog_gendrill.cpp:221
msgid "Creates a plain text report" msgid "Creates a plain text report"
msgstr "Créer un fichier rapport ascii" msgstr "Créer un fichier rapport format texte"
#: pcbnew/dialog_gendrill.cpp:224 #: pcbnew/dialog_gendrill.cpp:224
msgid "HPGL plotter Options:" msgid "HPGL plotter Options:"
@ -333,7 +333,7 @@ msgstr "Ok pour abandonner?"
#: pcbnew/automove.cpp:194 #: pcbnew/automove.cpp:194
msgid "No modules found!" msgid "No modules found!"
msgstr "Pas demodules" msgstr "Pas de modules"
#: pcbnew/automove.cpp:199 #: pcbnew/automove.cpp:199
msgid "Move modules?" msgid "Move modules?"
@ -365,7 +365,7 @@ msgstr "Net non sélectionné"
#: pcbnew/autorout.cpp:79 #: pcbnew/autorout.cpp:79
msgid "Module not selected" msgid "Module not selected"
msgstr "Module non selectionné" msgstr "Module non sélectionné"
#: pcbnew/autorout.cpp:88 #: pcbnew/autorout.cpp:88
msgid "Pad not selected" msgid "Pad not selected"
@ -1113,12 +1113,12 @@ msgid ""
"Use this attribute for smd components.\n" "Use this attribute for smd components.\n"
"Only components with this option are put in the footprint position list file" "Only components with this option are put in the footprint position list file"
msgstr "" msgstr ""
"Uiliser cet attribut pour les composants CMS.\n" "Utiliser cet attribut pour les composants CMS.\n"
"Seuls les composants avec cette option sont mis dans le fichier de position des composants" "Seuls les composants avec cette option sont mis dans le fichier de position des composants"
#: pcbnew/dialog_edit_module_for_Modedit.cpp:89 #: pcbnew/dialog_edit_module_for_Modedit.cpp:89
msgid "Use this attribute for \"virtual\" components drawn on board (like a old ISA PC bus connector)" msgid "Use this attribute for \"virtual\" components drawn on board (like a old ISA PC bus connector)"
msgstr "Uiliser cet attribut pour les composants \"virtuels\" directement dessinés sur le PCB (tel que les vieux connecteurs ISA de PC)" msgstr "Utiliser cet attribut pour les composants \"virtuels\" directement dessinés sur le PCB (tel que les vieux connecteurs ISA de PC)"
#: pcbnew/dialog_edit_module_for_Modedit.cpp:115 #: pcbnew/dialog_edit_module_for_Modedit.cpp:115
msgid "Enable hotkey move commands and Auto Placement" msgid "Enable hotkey move commands and Auto Placement"
@ -1342,7 +1342,7 @@ msgstr "N'est pas un fichier de Modules"
#: pcbnew/librairi.cpp:174 #: pcbnew/librairi.cpp:174
msgid "Create New Library" msgid "Create New Library"
msgstr "Créer un Nouvelle Librairie" msgstr "Créer une Nouvelle Librairie"
#: pcbnew/librairi.cpp:174 #: pcbnew/librairi.cpp:174
msgid "Export Module" msgid "Export Module"
@ -1706,7 +1706,7 @@ msgstr "Défait dernière édition"
#: pcbnew/tool_pcb.cpp:229 #: pcbnew/tool_pcb.cpp:229
msgid "Redo the last undo command" msgid "Redo the last undo command"
msgstr "Refait la dernière commande defaite" msgstr "Refait la dernière commande défaite"
#: pcbnew/tool_pcb.cpp:233 #: pcbnew/tool_pcb.cpp:233
msgid "Print board" msgid "Print board"
@ -2147,7 +2147,7 @@ msgstr "Pad Dessus"
#: pcbnew/class_pcb_layer_widget.cpp:74 #: pcbnew/class_pcb_layer_widget.cpp:74
msgid "Show footprint pads on board's front" msgid "Show footprint pads on board's front"
msgstr "Afficher les pads placés sur le dessus du ciruit imprimé" msgstr "Afficher les pads placés sur le dessus du circuit imprimé"
#: pcbnew/class_pcb_layer_widget.cpp:75 #: pcbnew/class_pcb_layer_widget.cpp:75
msgid "Pads Back" msgid "Pads Back"
@ -2155,7 +2155,7 @@ msgstr "Pads Dessous"
#: pcbnew/class_pcb_layer_widget.cpp:75 #: pcbnew/class_pcb_layer_widget.cpp:75
msgid "Show footprint pads on board's back" msgid "Show footprint pads on board's back"
msgstr "Afficher les pads placés sur le dessous du ciruit imprimé" msgstr "Afficher les pads placés sur le dessous du circuit imprimé"
#: pcbnew/class_pcb_layer_widget.cpp:77 #: pcbnew/class_pcb_layer_widget.cpp:77
msgid "Text Front" msgid "Text Front"
@ -2164,7 +2164,7 @@ msgstr "Texte Dessus"
#: pcbnew/class_pcb_layer_widget.cpp:77 #: pcbnew/class_pcb_layer_widget.cpp:77
#: pcbnew/class_pcb_layer_widget.cpp:78 #: pcbnew/class_pcb_layer_widget.cpp:78
msgid "Show footprint text on board's back" msgid "Show footprint text on board's back"
msgstr "Afficher les textes sur modules situés sur le dessous du ciruit imprimé" msgstr "Afficher les textes sur modules situés sur le dessous du circuit imprimé"
#: pcbnew/class_pcb_layer_widget.cpp:78 #: pcbnew/class_pcb_layer_widget.cpp:78
msgid "Text Back" msgid "Text Back"
@ -2204,7 +2204,7 @@ msgstr "Modules Dessus"
#: pcbnew/class_pcb_layer_widget.cpp:84 #: pcbnew/class_pcb_layer_widget.cpp:84
msgid "Show footprints that are on board's front" msgid "Show footprints that are on board's front"
msgstr "Afficher les modules situés sur le dessus du ciruit imprimé" msgstr "Afficher les modules situés sur le dessus du circuit imprimé"
#: pcbnew/class_pcb_layer_widget.cpp:85 #: pcbnew/class_pcb_layer_widget.cpp:85
msgid "Modules Back" msgid "Modules Back"
@ -2212,7 +2212,7 @@ msgstr "Modules Dessous"
#: pcbnew/class_pcb_layer_widget.cpp:85 #: pcbnew/class_pcb_layer_widget.cpp:85
msgid "Show footprints that are on board's back" msgid "Show footprints that are on board's back"
msgstr "Afficher les modules situés sur le dessous du ciruit imprimé" msgstr "Afficher les modules situés sur le dessous du circuit imprimé"
#: pcbnew/class_pcb_layer_widget.cpp:86 #: pcbnew/class_pcb_layer_widget.cpp:86
msgid "Values" msgid "Values"
@ -2252,7 +2252,7 @@ msgstr "Couche cuivre dessous"
#: pcbnew/class_pcb_layer_widget.cpp:241 #: pcbnew/class_pcb_layer_widget.cpp:241
msgid "Adhesive on board's front" msgid "Adhesive on board's front"
msgstr "Afficher couche adhésive situés sur le dessus du ciruit imprimé" msgstr "Afficher couche adhésive situés sur le dessus du circuit imprimé"
#: pcbnew/class_pcb_layer_widget.cpp:242 #: pcbnew/class_pcb_layer_widget.cpp:242
msgid "Adhesive on board's back" msgid "Adhesive on board's back"
@ -2264,23 +2264,23 @@ msgstr "Couche de pâte à souder sur dessus du circuit imprimé"
#: pcbnew/class_pcb_layer_widget.cpp:244 #: pcbnew/class_pcb_layer_widget.cpp:244
msgid "Solder paste on board's back" msgid "Solder paste on board's back"
msgstr "Couche de pate à souder sur dessous du circuit imprimé" msgstr "Couche de pâte à souder sur dessous du circuit imprimé"
#: pcbnew/class_pcb_layer_widget.cpp:245 #: pcbnew/class_pcb_layer_widget.cpp:245
msgid "Silkscreen on board's front" msgid "Silkscreen on board's front"
msgstr "Sérigraphie sur le dessus du ciruit imprimé" msgstr "Sérigraphie sur le dessus du circuit imprimé"
#: pcbnew/class_pcb_layer_widget.cpp:246 #: pcbnew/class_pcb_layer_widget.cpp:246
msgid "Silkscreen on board's back" msgid "Silkscreen on board's back"
msgstr "Sérigraphie sur le dessous du ciruit imprimé " msgstr "Sérigraphie sur le dessous du circuit imprimé "
#: pcbnew/class_pcb_layer_widget.cpp:247 #: pcbnew/class_pcb_layer_widget.cpp:247
msgid "Solder mask on board's front" msgid "Solder mask on board's front"
msgstr "Couche masque soudure sur le dessus du ciruit imprimée" msgstr "Couche masque soudure sur le dessus du circuit imprimé"
#: pcbnew/class_pcb_layer_widget.cpp:248 #: pcbnew/class_pcb_layer_widget.cpp:248
msgid "Solder mask on board's back" msgid "Solder mask on board's back"
msgstr "Couche masque soudure sur le dessous du ciruit imprimée" msgstr "Couche masque soudure sur le dessous du circuit imprimé"
#: pcbnew/class_pcb_layer_widget.cpp:249 #: pcbnew/class_pcb_layer_widget.cpp:249
msgid "Explanatory drawings" msgid "Explanatory drawings"
@ -2635,7 +2635,7 @@ msgstr "Style"
#: pcbnew/dialog_pcb_text_properties.cpp:242 #: pcbnew/dialog_pcb_text_properties.cpp:242
msgid "The text thickness is too large for the text size. It will be clamped" msgid "The text thickness is too large for the text size. It will be clamped"
msgstr "L'épaisseur du texte est trop grande pour ses dimensions, Elle sera limitée" msgstr "L'épaisseur du texte est trop grande pour ses dimensions. Elle sera limitée"
#: pcbnew/dialog_pad_properties_base.cpp:25 #: pcbnew/dialog_pad_properties_base.cpp:25
msgid "Pad Num :" msgid "Pad Num :"
@ -2793,7 +2793,7 @@ msgstr ""
#: pcbnew/dialog_pad_properties_base.cpp:272 #: pcbnew/dialog_pad_properties_base.cpp:272
msgid "Solder paste clearance:" msgid "Solder paste clearance:"
msgstr "Marge masque pate des pads" msgstr "Marge masque pâte des pads"
#: pcbnew/dialog_pad_properties_base.cpp:274 #: pcbnew/dialog_pad_properties_base.cpp:274
msgid "" msgid ""
@ -2802,7 +2802,7 @@ msgid ""
"The final clearance value is the sum of this value and the clearance value ratio\n" "The final clearance value is the sum of this value and the clearance value ratio\n"
"A negative value means a smaller mask size than pad size" "A negative value means a smaller mask size than pad size"
msgstr "" msgstr ""
"Ceci est la marge locale entre ce pad et le masque de pate à souder\n" "Ceci est la marge locale entre ce pad et le masque de pâte à souder\n"
"Si 0, la valeur locale du module ou la valeur en Netclasse sera utilisée" "Si 0, la valeur locale du module ou la valeur en Netclasse sera utilisée"
#: pcbnew/dialog_pad_properties_base.cpp:285 #: pcbnew/dialog_pad_properties_base.cpp:285
@ -2817,7 +2817,7 @@ msgid ""
"The final clearance value is the sum of this value and the clearance value\n" "The final clearance value is the sum of this value and the clearance value\n"
"A negative value means a smaller mask size than pad size." "A negative value means a smaller mask size than pad size."
msgstr "" msgstr ""
"Ceci est la valeur locale de la marge entre ce pad et le masque de pate à souder\n" "Ceci est la valeur locale de la marge entre ce pad et le masque de pâte à souder\n"
"Une valeur de 10 signifie que la marge est 10 pour cent de la taille du pad\n" "Une valeur de 10 signifie que la marge est 10 pour cent de la taille du pad\n"
"Si 0 la valeur de l'empreinte ou la valeur globale est utilisée\n" "Si 0 la valeur de l'empreinte ou la valeur globale est utilisée\n"
"La marge finale est la somme de cette valeur et du rapport de marge\n" "La marge finale est la somme de cette valeur et du rapport de marge\n"
@ -3075,7 +3075,7 @@ msgstr "Valeur minimum pour le diamètre de microvia: <b>%s</b><br>\n"
#: pcbnew/dialog_design_rules.cpp:630 #: pcbnew/dialog_design_rules.cpp:630
msgid "Errors detected, Abort" msgid "Errors detected, Abort"
msgstr "Erreurs detectées, Abandon" msgstr "Erreurs détectées, Abandon"
#: pcbnew/dialog_design_rules.cpp:656 #: pcbnew/dialog_design_rules.cpp:656
msgid "New Net Class Name:" msgid "New Net Class Name:"
@ -3097,7 +3097,7 @@ msgstr "%s: <b>Largeur Piste</b> &ge; <b>Largeur Piste Minimum</b><br>"
#: pcbnew/dialog_design_rules.cpp:933 #: pcbnew/dialog_design_rules.cpp:933
#, c-format #, c-format
msgid "%s: <b>Via Diameter</b> &lt; <b>Minimun Via Diameter</b><br>" msgid "%s: <b>Via Diameter</b> &lt; <b>Minimun Via Diameter</b><br>"
msgstr "%s: <b>Diamètre Via</b> &ge; <b>Min. Diamètre Via</b><br>" msgstr "%s: <b>Diamètre Via</b> &ge; <b>Min. Diamètre Via Min.</b><br>"
#: pcbnew/dialog_design_rules.cpp:945 #: pcbnew/dialog_design_rules.cpp:945
#, c-format #, c-format
@ -3137,7 +3137,7 @@ msgstr "<b>Extra Piste %d Largeur</b> %s &gt; <b>25,4 mm!</b><br>"
#: pcbnew/dialog_design_rules.cpp:1036 #: pcbnew/dialog_design_rules.cpp:1036
#, c-format #, c-format
msgid "<b>Extra Via %d Size</b> %s &lt; <b>Min Via Size</b><br>" msgid "<b>Extra Via %d Size</b> %s &lt; <b>Min Via Size</b><br>"
msgstr "<b>Extra Via %d Taille</b> %s &lt; <b>Min Taille Via</b><br>" msgstr "<b>Extra Via %d Taille</b> %s &lt; <b>Taille Via Min.</b><br>"
#: pcbnew/dialog_design_rules.cpp:1044 #: pcbnew/dialog_design_rules.cpp:1044
#, c-format #, c-format
@ -3328,7 +3328,7 @@ msgstr "NETCLASS: '%s' a une isolation:%s qui est moins que la valeur globale:%s
#: pcbnew/drc.cpp:340 #: pcbnew/drc.cpp:340
#, c-format #, c-format
msgid "NETCLASS: '%s' has TrackWidth:%s which is less than global:%s" msgid "NETCLASS: '%s' has TrackWidth:%s which is less than global:%s"
msgstr "NETCLASS: '%s' a une largeur de piste: %s plust petite que la valeur globale:%s" msgstr "NETCLASS: '%s' a une largeur de piste: %s plus petite que la valeur globale:%s"
#: pcbnew/drc.cpp:354 #: pcbnew/drc.cpp:354
#, c-format #, c-format
@ -3708,7 +3708,7 @@ msgstr "Supp. Pistes Mauvaises:"
#: pcbnew/dialog_netlist_fbp.cpp:50 #: pcbnew/dialog_netlist_fbp.cpp:50
msgid "Keep or delete bad tracks after a netlist change" msgid "Keep or delete bad tracks after a netlist change"
msgstr "Garder ou supprimer les mauvaises pistes après un chnagement de netliste" msgstr "Garder ou supprimer les mauvaises pistes après un changement de netliste"
#: pcbnew/dialog_netlist_fbp.cpp:56 #: pcbnew/dialog_netlist_fbp.cpp:56
msgid "Extra Footprints" msgid "Extra Footprints"
@ -3977,7 +3977,7 @@ msgstr "Supprimer Tracé"
#: pcbnew/onrightclick.cpp:179 #: pcbnew/onrightclick.cpp:179
msgid "Delete All Drawing on Layer" msgid "Delete All Drawing on Layer"
msgstr "Supprimer tous Elements Grahiques sur Couche" msgstr "Supprimer tous Eléments Grahiques sur Couche"
#: pcbnew/onrightclick.cpp:185 #: pcbnew/onrightclick.cpp:185
msgid "Delete Zone Filling" msgid "Delete Zone Filling"
@ -4479,7 +4479,7 @@ msgstr "Il y a un problème d'impression"
#: pcbnew/class_edge_mod.cpp:301 #: pcbnew/class_edge_mod.cpp:301
msgid "Graphic Item" msgid "Graphic Item"
msgstr "Element Graphique" msgstr "Elément Graphique"
#: pcbnew/class_edge_mod.cpp:308 #: pcbnew/class_edge_mod.cpp:308
msgid "TimeStamp" msgid "TimeStamp"
@ -4567,7 +4567,7 @@ msgstr "Déplacer les nets sélectionnés dans la liste de gauche vers la liste
#: pcbnew/dialog_design_rules_base.cpp:123 #: pcbnew/dialog_design_rules_base.cpp:123
msgid "<< Select All" msgid "<< Select All"
msgstr "<< Selectionner Tout" msgstr "<< Sélectionner Tout"
#: pcbnew/dialog_design_rules_base.cpp:124 #: pcbnew/dialog_design_rules_base.cpp:124
msgid "Select all nets in the left list" msgid "Select all nets in the left list"
@ -4575,7 +4575,7 @@ msgstr "Sélectionner tous les nets de la liste de gauche"
#: pcbnew/dialog_design_rules_base.cpp:128 #: pcbnew/dialog_design_rules_base.cpp:128
msgid "Select All >>" msgid "Select All >>"
msgstr "Selectionner Tout >>" msgstr "Sélectionner Tout >>"
#: pcbnew/dialog_design_rules_base.cpp:129 #: pcbnew/dialog_design_rules_base.cpp:129
msgid "Select all nets in the right list" msgid "Select all nets in the right list"
@ -4937,7 +4937,7 @@ msgstr "Dessous"
#: pcbnew/dialog_edit_module_for_BoardEditor_base.cpp:50 #: pcbnew/dialog_edit_module_for_BoardEditor_base.cpp:50
msgid "Side Select" msgid "Side Select"
msgstr "Sélection Coté" msgstr "Sélection Côté"
#: pcbnew/dialog_edit_module_for_BoardEditor_base.cpp:57 #: pcbnew/dialog_edit_module_for_BoardEditor_base.cpp:57
msgid "+ 90.0" msgid "+ 90.0"
@ -5059,7 +5059,7 @@ msgid ""
"The final clearance value is the sum of this value and the clearance value ratio\n" "The final clearance value is the sum of this value and the clearance value ratio\n"
"A negative value means a smaller mask size than pad size" "A negative value means a smaller mask size than pad size"
msgstr "" msgstr ""
"Ceci est la valeur locale de la marge entre pads et le masque de pate à souder\n" "Ceci est la valeur locale de la marge entre pads et le masque de pâte à souder\n"
"pour cette empreinte.\n" "pour cette empreinte.\n"
"Cette valeur peut être remplacée par une valeur locale du pad.\n" "Cette valeur peut être remplacée par une valeur locale du pad.\n"
"La marge finale est la somme de cette valeur et du rapport de marge\n" "La marge finale est la somme de cette valeur et du rapport de marge\n"
@ -5075,7 +5075,7 @@ msgid ""
"The final clearance value is the sum of this value and the clearance value\n" "The final clearance value is the sum of this value and the clearance value\n"
"A negative value means a smaller mask size than pad size." "A negative value means a smaller mask size than pad size."
msgstr "" msgstr ""
"Ceci est la valeur locale de la marge entre pads et le masque de pate à souder\n" "Ceci est la valeur locale de la marge entre pads et le masque de pâte à souder\n"
"pour cette empreinte\n" "pour cette empreinte\n"
"Une valeur de 10 signifie que la marge est 10 pour cent de la taille du pad\n" "Une valeur de 10 signifie que la marge est 10 pour cent de la taille du pad\n"
"Cette valeur peut être remplacée par une valeur locale du pad\n" "Cette valeur peut être remplacée par une valeur locale du pad\n"
@ -5355,7 +5355,7 @@ msgid ""
"This value can be superseded by local values for a footprint or a pad.\n" "This value can be superseded by local values for a footprint or a pad.\n"
"The final clearance value is the sum of this value and the clearance value ratio" "The final clearance value is the sum of this value and the clearance value ratio"
msgstr "" msgstr ""
"Ceci est la marge globale entre pads et le masque de pate à souder\n" "Ceci est la marge globale entre pads et le masque de pâte à souder\n"
"Cette valeur peut être remplacée par les valeurs locales de l'empreinte ou du pad\n" "Cette valeur peut être remplacée par les valeurs locales de l'empreinte ou du pad\n"
"La valeur finale est la somme de cette valeur et de la valeur liée au coefficient" "La valeur finale est la somme de cette valeur et de la valeur liée au coefficient"
@ -5366,7 +5366,7 @@ msgid ""
"This value can be superseded by local values for a footprint or a pad.\n" "This value can be superseded by local values for a footprint or a pad.\n"
"The final clearance value is the sum of this value and the clearance value" "The final clearance value is the sum of this value and the clearance value"
msgstr "" msgstr ""
"Ceci est la valeur locale de la marge entre pads et le masque de pate à souder\n" "Ceci est la valeur locale de la marge entre pads et le masque de pâte à souder\n"
"pour cette empreinte\n" "pour cette empreinte\n"
"Une valeur de 10 signifie que la marge est 10 pour cent de la taille du pad\n" "Une valeur de 10 signifie que la marge est 10 pour cent de la taille du pad\n"
"Cette valeur peut être remplacée par une valeur locale du pad\n" "Cette valeur peut être remplacée par une valeur locale du pad\n"
@ -5466,7 +5466,7 @@ msgstr "SoldP_Dessus_réserve"
#: pcbnew/dialog_layers_setup_base.cpp:105 #: pcbnew/dialog_layers_setup_base.cpp:105
msgid "If you want a solder paster layer for front side of the board" msgid "If you want a solder paster layer for front side of the board"
msgstr "Si vous voulez une couche de pate à braser sur le dessus du PCB" msgstr "Si vous voulez une couche de pâte à braser sur le dessus du PCB"
#: pcbnew/dialog_layers_setup_base.cpp:118 #: pcbnew/dialog_layers_setup_base.cpp:118
msgid "SilkS_Front_later" msgid "SilkS_Front_later"
@ -5497,7 +5497,7 @@ msgstr "Dessus_réserve"
#: pcbnew/dialog_layers_setup_base.cpp:170 #: pcbnew/dialog_layers_setup_base.cpp:170
msgid "Layer name of front (top) copper layer" msgid "Layer name of front (top) copper layer"
msgstr "Nom de la couche sur le dessus du circuit (coté composant)" msgstr "Nom de la couche sur le dessus du circuit (côté composant)"
#: pcbnew/dialog_layers_setup_base.cpp:182 #: pcbnew/dialog_layers_setup_base.cpp:182
msgid "If you want a front copper layer" msgid "If you want a front copper layer"
@ -5600,7 +5600,7 @@ msgstr "Type de couches cuivre pour Freerouter. Les couches type \"Power\" sont
#: pcbnew/dialog_layers_setup_base.cpp:579 #: pcbnew/dialog_layers_setup_base.cpp:579
msgid "Layer name of back (bottom) copper layer" msgid "Layer name of back (bottom) copper layer"
msgstr "Nom de la couche sur le dessous du circuit (coté cuivre)" msgstr "Nom de la couche sur le dessous du circuit (côté cuivre)"
#: pcbnew/dialog_layers_setup_base.cpp:591 #: pcbnew/dialog_layers_setup_base.cpp:591
msgid "If you want a back copper layer" msgid "If you want a back copper layer"
@ -5628,7 +5628,7 @@ msgstr "SoldP_Dessous_réserve"
#: pcbnew/dialog_layers_setup_base.cpp:670 #: pcbnew/dialog_layers_setup_base.cpp:670
msgid "If you want a solder paste layer for the back side of the board" msgid "If you want a solder paste layer for the back side of the board"
msgstr "Si vous voulez une couche de pate à braser sur le dessous du PCB" msgstr "Si vous voulez une couche de pâte à braser sur le dessous du PCB"
#: pcbnew/dialog_layers_setup_base.cpp:683 #: pcbnew/dialog_layers_setup_base.cpp:683
msgid "Adhes_Back_later" msgid "Adhes_Back_later"
@ -5773,7 +5773,7 @@ msgid ""
"If Defined Holes is selected, only the non default size holes are shown" "If Defined Holes is selected, only the non default size holes are shown"
msgstr "" msgstr ""
"Montrer (ou non) le perçage des vias.\n" "Montrer (ou non) le perçage des vias.\n"
"Si Trours Définis est sélectionné, seuls les trous à la valeur non défaut sont montrés" "Si Trous Définis est sélectionné, seuls les trous à la valeur non défaut sont montrés"
#: pcbnew/dialog_display_options_base.cpp:49 #: pcbnew/dialog_display_options_base.cpp:49
msgid "Net Names:" msgid "Net Names:"
@ -5935,7 +5935,7 @@ msgstr "Quantité"
#: pcbnew/build_BOM_from_board.cpp:91 #: pcbnew/build_BOM_from_board.cpp:91
msgid "Designation" msgid "Designation"
msgstr "Designation" msgstr "Désignation"
#: pcbnew/build_BOM_from_board.cpp:92 #: pcbnew/build_BOM_from_board.cpp:92
msgid "Supplier and ref" msgid "Supplier and ref"
@ -6570,7 +6570,7 @@ msgstr "Ajuster toutes Pistes (pas les Vias) à leurs Valeurs en NetClass"
#: pcbnew/layer_widget.cpp:358 #: pcbnew/layer_widget.cpp:358
msgid "Left click to select, middle click for color change, right click for menu" msgid "Left click to select, middle click for color change, right click for menu"
msgstr "Cliquer sur bouton gauche pour selectionner, du milieu pour changer la couleur, droit pour le menu" msgstr "Cliquer sur bouton gauche pour sélectionner, du milieu pour changer la couleur, droit pour le menu"
#: pcbnew/layer_widget.cpp:374 #: pcbnew/layer_widget.cpp:374
msgid "Enable this for visibility" msgid "Enable this for visibility"
@ -7072,7 +7072,7 @@ msgstr "Défaire dernière édition"
#: eeschema/tool_lib.cpp:139 #: eeschema/tool_lib.cpp:139
msgid "Redo the last command" msgid "Redo the last command"
msgstr "Refaire la dernière commande defaite" msgstr "Refaire la dernière commande défaite"
#: eeschema/tool_lib.cpp:147 #: eeschema/tool_lib.cpp:147
msgid "Edit component properties" msgid "Edit component properties"
@ -7239,23 +7239,23 @@ msgstr "Mots clé"
msgid "Schematic modified, Save before exit ?" msgid "Schematic modified, Save before exit ?"
msgstr "Schématique modifiée, Sauver avant de quitter ?" msgstr "Schématique modifiée, Sauver avant de quitter ?"
#: eeschema/schframe.cpp:493 #: eeschema/schframe.cpp:514
msgid "Draw wires and buses in any direction" msgid "Draw wires and buses in any direction"
msgstr "Tracer les fils et bus avec direction quelconque" msgstr "Tracer les fils et bus avec direction quelconque"
#: eeschema/schframe.cpp:494 #: eeschema/schframe.cpp:515
msgid "Draw horizontal and vertical wires and buses only" msgid "Draw horizontal and vertical wires and buses only"
msgstr "Autoriser fils et bus verticaux et horizontaux seulement" msgstr "Autoriser fils et bus verticaux et horizontaux seulement"
#: eeschema/schframe.cpp:504 #: eeschema/schframe.cpp:525
msgid "Do not show hidden pins" msgid "Do not show hidden pins"
msgstr "Ne pas affichager les pins invisibles" msgstr "Ne pas affichager les pins invisibles"
#: eeschema/schframe.cpp:505 #: eeschema/schframe.cpp:526
msgid "Show hidden pins" msgid "Show hidden pins"
msgstr "Force affichage des pins invisibles" msgstr "Force affichage des pins invisibles"
#: eeschema/schframe.cpp:596 #: eeschema/schframe.cpp:617
msgid "Schematic" msgid "Schematic"
msgstr "Schématique" msgstr "Schématique"
@ -7279,7 +7279,7 @@ msgid ""
"Please choose another name that does not conflict with any library entries." "Please choose another name that does not conflict with any library entries."
msgstr "" msgstr ""
"Le nom du champ <%s> est en conflit avec un autre composant dans la libairie <%s>.\n" "Le nom du champ <%s> est en conflit avec un autre composant dans la libairie <%s>.\n"
"SVP choisissez un autre nom qui me soit pas en conflit avec un composant en librairie." "SVP choisissez un autre nom qui ne soit pas en conflit avec un composant en librairie."
#: eeschema/libfield.cpp:208 #: eeschema/libfield.cpp:208
msgid "No new text: no change" msgid "No new text: no change"
@ -7500,7 +7500,7 @@ msgstr "Pas de librairies de composants chargées."
#: eeschema/selpart.cpp:32 #: eeschema/selpart.cpp:32
#, c-format #, c-format
msgid " Select 1 of %d libraries." msgid " Select 1 of %d libraries."
msgstr "Selection 1 parmi %d librairies." msgstr "Sélection 1 parmi %d librairies."
#: eeschema/selpart.cpp:34 #: eeschema/selpart.cpp:34
msgid "Select Library" msgid "Select Library"
@ -7611,7 +7611,7 @@ msgid ""
"Select 1 of %d components to delete\n" "Select 1 of %d components to delete\n"
"from library <%s>." "from library <%s>."
msgstr "" msgstr ""
"Selection 1 de %d composants à supprimer\n" "Sélection 1 de %d composants à supprimer\n"
"de la librairie <%s>." "de la librairie <%s>."
#: eeschema/libedit.cpp:397 #: eeschema/libedit.cpp:397
@ -7621,7 +7621,7 @@ msgstr "Suppression Composant"
#: eeschema/libedit.cpp:406 #: eeschema/libedit.cpp:406
#, c-format #, c-format
msgid "Entry <%s> not found in library <%s>." msgid "Entry <%s> not found in library <%s>."
msgstr "Element <%s> non trouvé en librairie <%s>." msgstr "Elément <%s> non trouvé en librairie <%s>."
#: eeschema/libedit.cpp:413 #: eeschema/libedit.cpp:413
#, c-format #, c-format
@ -8957,8 +8957,8 @@ msgid "Place a no connect flag"
msgstr "Placer un Symbole de Non Connexion" msgstr "Placer un Symbole de Non Connexion"
#: eeschema/menubar.cpp:307 #: eeschema/menubar.cpp:307
msgid "Net name" msgid "Label"
msgstr "Net Name" msgstr "Label"
#: eeschema/menubar.cpp:313 #: eeschema/menubar.cpp:313
msgid "Global label" msgid "Global label"
@ -9365,7 +9365,7 @@ msgstr "Editer Options pour le Rectangle"
#: eeschema/libedit_onrightclick.cpp:154 #: eeschema/libedit_onrightclick.cpp:154
msgid "Drag Rectangle Edge" msgid "Drag Rectangle Edge"
msgstr "Drag Coté Rectangle" msgstr "Drag Côté Rectangle"
#: eeschema/libedit_onrightclick.cpp:162 #: eeschema/libedit_onrightclick.cpp:162
msgid "Delete Rectangle " msgid "Delete Rectangle "
@ -9473,11 +9473,11 @@ msgstr "Sélection des Eléments"
#: eeschema/schedit.cpp:173 #: eeschema/schedit.cpp:173
msgid "Push/Pop Hierarchy" msgid "Push/Pop Hierarchy"
msgstr "Naviger dans Hiérarchie" msgstr "Naviguer dans Hiérarchie"
#: eeschema/schedit.cpp:177 #: eeschema/schedit.cpp:177
msgid "Add NoConnect Flag" msgid "Add NoConnect Flag"
msgstr "Ajoutde symboles de non connexion" msgstr "Ajout de symboles de non connexion"
#: eeschema/schedit.cpp:185 #: eeschema/schedit.cpp:185
msgid "Add Bus" msgid "Add Bus"
@ -9821,7 +9821,7 @@ msgstr "Alignement au sommet"
#: eeschema/dialog_bodygraphictext_properties_base.cpp:90 #: eeschema/dialog_bodygraphictext_properties_base.cpp:90
#: eeschema/dialog_edit_libentry_fields_in_lib_base.cpp:71 #: eeschema/dialog_edit_libentry_fields_in_lib_base.cpp:71
msgid "Vert. Justify" msgid "Vert. Justify"
msgstr "Vert. Justifié" msgstr "Justification Vert."
#: eeschema/class_library.cpp:25 #: eeschema/class_library.cpp:25
#, c-format #, c-format
@ -10053,7 +10053,7 @@ msgstr "l'arc a seulement %d paramètres sur les 8 requis"
#: eeschema/classes_body_items.cpp:1696 #: eeschema/classes_body_items.cpp:1696
#: eeschema/classes_body_items.cpp:2066 #: eeschema/classes_body_items.cpp:2066
msgid "Bounding box" msgid "Bounding box"
msgstr "Rectange dencadrement" msgstr "Rectange d'encadrement"
#: eeschema/classes_body_items.cpp:586 #: eeschema/classes_body_items.cpp:586
#, c-format #, c-format
@ -10407,7 +10407,7 @@ msgstr "Nombre d'erreurs:"
#: eeschema/dialog_erc_base.cpp:88 #: eeschema/dialog_erc_base.cpp:88
msgid "&Test Erc" msgid "&Test Erc"
msgstr "&Test Erc" msgstr "&Test ERC"
#: eeschema/dialog_erc_base.cpp:91 #: eeschema/dialog_erc_base.cpp:91
msgid "&Del Markers" msgid "&Del Markers"
@ -10797,7 +10797,7 @@ msgstr "Active le \"&panning\" automatique"
#: eeschema/dialog_eeschema_options_base.cpp:130 #: eeschema/dialog_eeschema_options_base.cpp:130
msgid "Allow buses and wires to be placed in H or V &orientation only" msgid "Allow buses and wires to be placed in H or V &orientation only"
msgstr "Autorise les bus et fils a être placés en &orientation H ou V uniquement" msgstr "Autorise les bus et fils à être placés en &orientation H ou V uniquement"
#: eeschema/dialog_eeschema_options_base.cpp:134 #: eeschema/dialog_eeschema_options_base.cpp:134
msgid "Show p&age limits" msgid "Show p&age limits"
@ -11051,11 +11051,11 @@ msgstr "Lib: "
#: cvpcb/genorcad.cpp:127 #: cvpcb/genorcad.cpp:127
#, c-format #, c-format
msgid "%s %s pin %s : Different Nets" msgid "%s %s pin %s : Different Nets"
msgstr "%s %s pin %s : Nets Differents" msgstr "%s %s pin %s : Nets Différents"
#: cvpcb/savecmp.cpp:24 #: cvpcb/savecmp.cpp:24
msgid "Component Library Error" msgid "Component Library Error"
msgstr "Erreur en Librairie de Composanr" msgstr "Erreur en Librairie de Composant"
#: cvpcb/savecmp.cpp:86 #: cvpcb/savecmp.cpp:86
#, c-format #, c-format
@ -11186,7 +11186,7 @@ msgstr "Erreur Netliste: %s"
#: cvpcb/writenetlistpcbnew.cpp:52 #: cvpcb/writenetlistpcbnew.cpp:52
#, c-format #, c-format
msgid "Component %s %s pin %s : Different Nets" msgid "Component %s %s pin %s : Different Nets"
msgstr "Composant %s %s pin %s : Nets Differents" msgstr "Composant %s %s pin %s : Nets Différents"
#: cvpcb/class_DisplayFootprintsFrame.cpp:156 #: cvpcb/class_DisplayFootprintsFrame.cpp:156
msgid "Display Options" msgid "Display Options"
@ -11587,105 +11587,105 @@ msgstr "Fichier exécutable ("
msgid "Select Prefered Editor" msgid "Select Prefered Editor"
msgstr "Sélection Editeur Préféré" msgstr "Sélection Editeur Préféré"
#: kicad/treeprj_frame.cpp:126 #: kicad/treeprj_frame.cpp:136
msgid "&Run" msgid "&Run"
msgstr "Exécute&r" msgstr "Exécute&r"
#: kicad/treeprj_frame.cpp:127 #: kicad/treeprj_frame.cpp:137
msgid "Run the Python Script" msgid "Run the Python Script"
msgstr "Exécuter le Script Python" msgstr "Exécuter le Script Python"
#: kicad/treeprj_frame.cpp:136 #: kicad/treeprj_frame.cpp:146
#: kicad/treeprj_frame.cpp:211 #: kicad/treeprj_frame.cpp:221
msgid "&Edit in a text editor" msgid "&Edit in a text editor"
msgstr "Editer avec un éditeur de Texte" msgstr "Editer avec un éditeur de Texte"
#: kicad/treeprj_frame.cpp:137 #: kicad/treeprj_frame.cpp:147
msgid "&Open the file in a Text Editor" msgid "&Open the file in a Text Editor"
msgstr "&Ouvrir le fichier avec un Editeur de texte" msgstr "&Ouvrir le fichier avec un Editeur de texte"
#: kicad/treeprj_frame.cpp:154 #: kicad/treeprj_frame.cpp:164
msgid "New D&irectory" msgid "New D&irectory"
msgstr "&Nouveau Répertoire" msgstr "&Nouveau Répertoire"
#: kicad/treeprj_frame.cpp:155 #: kicad/treeprj_frame.cpp:165
msgid "Create a New Directory" msgid "Create a New Directory"
msgstr "Créer un nouveau Répertoire" msgstr "Créer un nouveau Répertoire"
#: kicad/treeprj_frame.cpp:164 #: kicad/treeprj_frame.cpp:174
msgid "New P&ython Script" msgid "New P&ython Script"
msgstr "Nouveau Script P&ython" msgstr "Nouveau Script P&ython"
#: kicad/treeprj_frame.cpp:165 #: kicad/treeprj_frame.cpp:175
msgid "Create a New Python Script" msgid "Create a New Python Script"
msgstr "Créer un nouveau script Python" msgstr "Créer un nouveau script Python"
#: kicad/treeprj_frame.cpp:174 #: kicad/treeprj_frame.cpp:184
msgid "New &Text File" msgid "New &Text File"
msgstr "Nouveau Fichier &Texte" msgstr "Nouveau Fichier &Texte"
#: kicad/treeprj_frame.cpp:175 #: kicad/treeprj_frame.cpp:185
msgid "Create a New Txt File" msgid "Create a New Txt File"
msgstr "Créer un nouveau Fichier texte" msgstr "Créer un nouveau Fichier texte"
#: kicad/treeprj_frame.cpp:183 #: kicad/treeprj_frame.cpp:193
msgid "New &File" msgid "New &File"
msgstr "Nouveau &Fichier" msgstr "Nouveau &Fichier"
#: kicad/treeprj_frame.cpp:184 #: kicad/treeprj_frame.cpp:194
msgid "Create a New File" msgid "Create a New File"
msgstr "Créer un nouveau Fichier" msgstr "Créer un nouveau Fichier"
#: kicad/treeprj_frame.cpp:198 #: kicad/treeprj_frame.cpp:208
msgid "&Rename file" msgid "&Rename file"
msgstr "&Renommer fichier" msgstr "&Renommer fichier"
#: kicad/treeprj_frame.cpp:199 #: kicad/treeprj_frame.cpp:209
#: kicad/treeprj_frame.cpp:201 #: kicad/treeprj_frame.cpp:211
msgid "&Rename directory" msgid "&Rename directory"
msgstr "&Renommer répertoire" msgstr "&Renommer répertoire"
#: kicad/treeprj_frame.cpp:200 #: kicad/treeprj_frame.cpp:210
msgid "Rename file" msgid "Rename file"
msgstr "Renommer fichier" msgstr "Renommer fichier"
#: kicad/treeprj_frame.cpp:212 #: kicad/treeprj_frame.cpp:222
msgid "Open the file in a Text Editor" msgid "Open the file in a Text Editor"
msgstr "Ouvrir le fichier avec un Editeur de texte" msgstr "Ouvrir le fichier avec un Editeur de texte"
#: kicad/treeprj_frame.cpp:220 #: kicad/treeprj_frame.cpp:230
msgid "&Delete File" msgid "&Delete File"
msgstr "&Supprimer Fichier" msgstr "&Supprimer Fichier"
#: kicad/treeprj_frame.cpp:221 #: kicad/treeprj_frame.cpp:231
msgid "&Delete Directory" msgid "&Delete Directory"
msgstr "&Supprimer le Répertoire" msgstr "&Supprimer le Répertoire"
#: kicad/treeprj_frame.cpp:222 #: kicad/treeprj_frame.cpp:232
msgid "Delete the File" msgid "Delete the File"
msgstr "Supprimer le fichier" msgstr "Supprimer le fichier"
#: kicad/treeprj_frame.cpp:223 #: kicad/treeprj_frame.cpp:233
msgid "&Delete the Directory and its content" msgid "&Delete the Directory and its content"
msgstr "Effacer le Répertoire et son contenu" msgstr "Effacer le Répertoire et son contenu"
#: kicad/treeprj_frame.cpp:549 #: kicad/treeprj_frame.cpp:559
msgid "Create New File" msgid "Create New File"
msgstr "Créer un Nouveau Fichier" msgstr "Créer un Nouveau Fichier"
#: kicad/treeprj_frame.cpp:550 #: kicad/treeprj_frame.cpp:560
msgid "Create New Directory" msgid "Create New Directory"
msgstr "Créer un nouveau Répertoire" msgstr "Créer un nouveau Répertoire"
#: kicad/treeprj_frame.cpp:559 #: kicad/treeprj_frame.cpp:569
msgid "noname." msgid "noname."
msgstr "noname." msgstr "noname."
#: kicad/treeprj_frame.cpp:1088 #: kicad/treeprj_frame.cpp:1109
msgid "Change filename: " msgid "Change filename: "
msgstr "Changer Nom Fichier: " msgstr "Changer Nom Fichier: "
#: kicad/treeprj_frame.cpp:1090 #: kicad/treeprj_frame.cpp:1111
msgid "Change filename" msgid "Change filename"
msgstr "Changer Nom Fichier" msgstr "Changer Nom Fichier"
@ -11776,11 +11776,11 @@ msgstr "Top overlay (*.GTO)|*.GTO;*.gto|"
#: gerbview/files.cpp:132 #: gerbview/files.cpp:132
msgid "Bottom paste (*.GBP)|*.GBP;*.gbp|" msgid "Bottom paste (*.GBP)|*.GBP;*.gbp|"
msgstr "Masque pate à souder cuivre (*.GBP)|*.GBP;*.gbp|" msgstr "Masque pâte à souder cuivre (*.GBP)|*.GBP;*.gbp|"
#: gerbview/files.cpp:133 #: gerbview/files.cpp:133
msgid "Top paste (*.GTP)|*.GTP;*.gtp|" msgid "Top paste (*.GTP)|*.GTP;*.gtp|"
msgstr "Masque pate à souder composant (*.GTP)|*.GTP;*.gtp|" msgstr "Masque pâte à souder composant (*.GTP)|*.GTP;*.gtp|"
#: gerbview/files.cpp:134 #: gerbview/files.cpp:134
msgid "Keep-out layer (*.GKO)|*.GKO;*.gko|" msgid "Keep-out layer (*.GKO)|*.GKO;*.gko|"
@ -12631,7 +12631,7 @@ msgstr "Vertex "
#: 3d-viewer/3d_toolbar.cpp:27 #: 3d-viewer/3d_toolbar.cpp:27
msgid "Reload board" msgid "Reload board"
msgstr "Reharger Circuit Imprimé" msgstr "Recharger Circuit Imprimé"
#: 3d-viewer/3d_toolbar.cpp:35 #: 3d-viewer/3d_toolbar.cpp:35
msgid "Copy 3D Image to Clipboard" msgid "Copy 3D Image to Clipboard"
@ -12894,10 +12894,6 @@ msgstr "Fil"
msgid "Bus" msgid "Bus"
msgstr "Bus" msgstr "Bus"
#: eeschema/eelayer.h:87
msgid "Label"
msgstr "Label"
#: eeschema/eelayer.h:93 #: eeschema/eelayer.h:93
msgid "GlobLabel" msgid "GlobLabel"
msgstr "Lab Global" msgstr "Lab Global"
@ -13000,7 +12996,7 @@ msgstr "Propriétés de l'Elément Graphique"
#: eeschema/dialog_erc_base.h:94 #: eeschema/dialog_erc_base.h:94
msgid "EESchema Erc" msgid "EESchema Erc"
msgstr "EESchema Erc" msgstr "EESchema ERC"
#: eeschema/dialog_sch_sheet_props_base.h:52 #: eeschema/dialog_sch_sheet_props_base.h:52
msgid "Schematic Sheet Properties" msgid "Schematic Sheet Properties"
@ -13008,7 +13004,7 @@ msgstr "Propriétés de la Feuille de Hiérarchie"
#: eeschema/dialog_eeschema_options_base.h:77 #: eeschema/dialog_eeschema_options_base.h:77
msgid "Schematic Editor Options" msgid "Schematic Editor Options"
msgstr "Options de l'Editeur de Schematique" msgstr "Options de l'Editeur de Schématique"
#: eeschema/dialog_build_BOM_base.h:69 #: eeschema/dialog_build_BOM_base.h:69
msgid "List of Material" msgid "List of Material"
@ -13026,6 +13022,8 @@ msgstr "Options d'Affichage"
msgid "Page Settings" msgid "Page Settings"
msgstr "Ajustage opt Page" msgstr "Ajustage opt Page"
#~ msgid "Net name"
#~ msgstr "Net Name"
#~ msgid "Alias <%s> not found for component <%s> in library <%s>." #~ msgid "Alias <%s> not found for component <%s> in library <%s>."
#~ msgstr "Alias <%s> non trouvé pour le component <%s> en librairie <%s>." #~ msgstr "Alias <%s> non trouvé pour le component <%s> en librairie <%s>."
#~ msgid "Save as...\tShift+Ctrl+S" #~ msgid "Save as...\tShift+Ctrl+S"

View File

@ -22,7 +22,7 @@ void WinEDA_PcbFrame::Attribut_Segment( TRACK* track, wxDC* DC, bool Flag_On )
if( track == NULL ) if( track == NULL )
return; return;
GetScreen()->SetModify(); OnModify();
DrawPanel->CursorOff( DC ); // Erase cursor shape DrawPanel->CursorOff( DC ); // Erase cursor shape
track->SetState( SEGM_FIXE, Flag_On ); track->SetState( SEGM_FIXE, Flag_On );
track->Draw( DrawPanel, DC, GR_OR | GR_SURBRILL ); track->Draw( DrawPanel, DC, GR_OR | GR_SURBRILL );
@ -53,7 +53,7 @@ void WinEDA_PcbFrame::Attribut_Track( TRACK* track, wxDC* DC, bool Flag_On )
DrawPanel->CursorOn( DC ); // Display cursor shape DrawPanel->CursorOn( DC ); // Display cursor shape
GetScreen()->SetModify(); OnModify();
} }
@ -81,12 +81,12 @@ void WinEDA_PcbFrame::Attribut_net( wxDC* DC, int net_code, bool Flag_On )
if( (net_code >= 0 ) && (net_code != Track->GetNet()) ) if( (net_code >= 0 ) && (net_code != Track->GetNet()) )
break; break;
GetScreen()->SetModify(); OnModify();
Track->SetState( SEGM_FIXE, Flag_On ); Track->SetState( SEGM_FIXE, Flag_On );
Track->Draw( DrawPanel, DC, GR_OR | GR_SURBRILL ); Track->Draw( DrawPanel, DC, GR_OR | GR_SURBRILL );
Track = Track->Next(); Track = Track->Next();
} }
DrawPanel->CursorOn( DC ); // Display cursor shape DrawPanel->CursorOn( DC ); // Display cursor shape
GetScreen()->SetModify(); OnModify();
} }

View File

@ -294,7 +294,7 @@ void WinEDA_PcbFrame::FixeModule( MODULE* Module, bool Fixe )
Module->SetLocked( Fixe ); Module->SetLocked( Fixe );
Module->DisplayInfo( this ); Module->DisplayInfo( this );
GetScreen()->SetModify(); OnModify();
} }
else else
{ {
@ -305,7 +305,7 @@ void WinEDA_PcbFrame::FixeModule( MODULE* Module, bool Fixe )
Module->m_Reference->m_Text ) ) Module->m_Reference->m_Text ) )
{ {
Module->SetLocked( Fixe ); Module->SetLocked( Fixe );
GetScreen()->SetModify(); OnModify();
} }
} }
} }

View File

@ -416,3 +416,18 @@ void WinEDA_BasePcbFrame::SaveSettings()
cfg->Write( m_FrameName + DisplayModuleEdgeEntry, ( long )m_DisplayModEdge ); cfg->Write( m_FrameName + DisplayModuleEdgeEntry, ( long )m_DisplayModEdge );
cfg->Write( m_FrameName + DisplayModuleTextEntry, ( long )m_DisplayModText ); cfg->Write( m_FrameName + DisplayModuleTextEntry, ( long )m_DisplayModText );
} }
/** Function OnModify()
* Must be called after a schematic change
* in order to set the "modify" flag of the current screen
* and update the date in frame reference
*/
void WinEDA_BasePcbFrame::OnModify( )
{
GetScreen()->SetModify( );
wxString date = GenDate();
GetScreen()->m_Date = date;
}

View File

@ -279,7 +279,7 @@ void WinEDA_PcbFrame::HandleBlockPlace( wxDC* DC )
break; break;
} }
GetScreen()->SetModify(); OnModify();
DrawPanel->ManageCurseur = NULL; DrawPanel->ManageCurseur = NULL;
DrawPanel->ForceCloseManageCurseur = NULL; DrawPanel->ForceCloseManageCurseur = NULL;
@ -589,7 +589,7 @@ void WinEDA_PcbFrame::Block_Delete()
if( GetScreen()->m_BlockLocate.GetCount() == 0 ) if( GetScreen()->m_BlockLocate.GetCount() == 0 )
return; return;
GetScreen()->SetModify(); OnModify();
SetCurItem( NULL ); SetCurItem( NULL );
PICKED_ITEMS_LIST* itemsList = &GetScreen()->m_BlockLocate.m_ItemsSelection; PICKED_ITEMS_LIST* itemsList = &GetScreen()->m_BlockLocate.m_ItemsSelection;
@ -668,7 +668,7 @@ void WinEDA_PcbFrame::Block_Rotate()
oldpos = GetScreen()->m_Curseur; oldpos = GetScreen()->m_Curseur;
centre = GetScreen()->m_BlockLocate.Centre(); centre = GetScreen()->m_BlockLocate.Centre();
GetScreen()->SetModify(); OnModify();
PICKED_ITEMS_LIST* itemsList = &GetScreen()->m_BlockLocate.m_ItemsSelection; PICKED_ITEMS_LIST* itemsList = &GetScreen()->m_BlockLocate.m_ItemsSelection;
itemsList->m_Status = UR_ROTATED; itemsList->m_Status = UR_ROTATED;
@ -734,7 +734,7 @@ void WinEDA_PcbFrame::Block_Flip()
if( GetScreen()->m_BlockLocate.GetCount() == 0 ) if( GetScreen()->m_BlockLocate.GetCount() == 0 )
return; return;
GetScreen()->SetModify(); OnModify();
PICKED_ITEMS_LIST* itemsList = &GetScreen()->m_BlockLocate.m_ItemsSelection; PICKED_ITEMS_LIST* itemsList = &GetScreen()->m_BlockLocate.m_ItemsSelection;
itemsList->m_Status = UR_FLIPPED; itemsList->m_Status = UR_FLIPPED;
@ -804,7 +804,7 @@ void WinEDA_PcbFrame::Block_Move()
if( GetScreen()->m_BlockLocate.GetCount() == 0 ) if( GetScreen()->m_BlockLocate.GetCount() == 0 )
return; return;
GetScreen()->SetModify(); OnModify();
wxPoint MoveVector = GetScreen()->m_BlockLocate.m_MoveVector; wxPoint MoveVector = GetScreen()->m_BlockLocate.m_MoveVector;
@ -874,7 +874,7 @@ void WinEDA_PcbFrame::Block_Duplicate()
if( GetScreen()->m_BlockLocate.GetCount() == 0 ) if( GetScreen()->m_BlockLocate.GetCount() == 0 )
return; return;
GetScreen()->SetModify(); OnModify();
PICKED_ITEMS_LIST* itemsList = &GetScreen()->m_BlockLocate.m_ItemsSelection; PICKED_ITEMS_LIST* itemsList = &GetScreen()->m_BlockLocate.m_ItemsSelection;

View File

@ -268,7 +268,7 @@ void WinEDA_ModuleEditFrame::HandleBlockPlace( wxDC* DC )
break; break;
} }
GetScreen()->SetModify(); OnModify();
DrawPanel->ManageCurseur = NULL; DrawPanel->ManageCurseur = NULL;
DrawPanel->ForceCloseManageCurseur = NULL; DrawPanel->ForceCloseManageCurseur = NULL;

View File

@ -597,7 +597,7 @@ void WinEDA_PcbFrame::GetBoardFromUndoList( wxCommandEvent& event )
List->ReversePickersListOrder(); List->ReversePickersListOrder();
GetScreen()->PushCommandToRedoList( List ); GetScreen()->PushCommandToRedoList( List );
GetScreen()->SetModify(); OnModify();
ReCreateHToolbar(); ReCreateHToolbar();
SetToolbars(); SetToolbars();
@ -627,7 +627,7 @@ void WinEDA_PcbFrame::GetBoardFromRedoList( wxCommandEvent& event )
List->ReversePickersListOrder(); List->ReversePickersListOrder();
GetScreen()->PushCommandToUndoList( List ); GetScreen()->PushCommandToUndoList( List );
GetScreen()->SetModify(); OnModify();
ReCreateHToolbar(); ReCreateHToolbar();
SetToolbars(); SetToolbars();

View File

@ -154,7 +154,7 @@ void Clean_Pcb_Items( WinEDA_PcbFrame* frame, wxDC* DC )
frame->Compile_Ratsnest( DC, AFFICHE ); frame->Compile_Ratsnest( DC, AFFICHE );
frame->GetScreen()->SetModify(); frame->OnModify();
} }

View File

@ -251,7 +251,7 @@ void WinEDA_PcbFrame::GeneralControle( wxDC* DC, wxPoint Mouse )
if( flgmodify ) // Set the flags m_Modify cleared by SavePcbFile() if( flgmodify ) // Set the flags m_Modify cleared by SavePcbFile()
{ {
GetScreen()->SetModify(); OnModify();
GetScreen()->SetSave(); // Set the flags m_FlagSave cleared by SetModify() GetScreen()->SetSave(); // Set the flags m_FlagSave cleared by SetModify()
} }
GetScreen()->m_FileName = tmpFileName; GetScreen()->m_FileName = tmpFileName;

View File

@ -116,7 +116,7 @@ TRACK* WinEDA_PcbFrame::Delete_Segment( wxDC* DC, TRACK* aTrack )
DrawPanel->PostDirtyRect( aTrack->GetBoundingBox() ); DrawPanel->PostDirtyRect( aTrack->GetBoundingBox() );
SaveCopyInUndoList( aTrack, UR_DELETED ); SaveCopyInUndoList( aTrack, UR_DELETED );
GetScreen()->SetModify(); OnModify();
test_1_net_connexion( DC, current_net_code ); test_1_net_connexion( DC, current_net_code );
GetBoard()->DisplayInfo( this ); GetBoard()->DisplayInfo( this );
@ -130,7 +130,7 @@ void WinEDA_PcbFrame::Delete_Track( wxDC* DC, TRACK* aTrack )
{ {
int current_net_code = aTrack->GetNet(); int current_net_code = aTrack->GetNet();
Remove_One_Track( DC, aTrack ); Remove_One_Track( DC, aTrack );
GetScreen()->SetModify(); OnModify();
test_1_net_connexion( DC, current_net_code ); test_1_net_connexion( DC, current_net_code );
} }
} }
@ -170,7 +170,7 @@ void WinEDA_PcbFrame::Delete_net( wxDC* DC, TRACK* aTrack )
} }
SaveCopyInUndoList( itemsList, UR_DELETED ); SaveCopyInUndoList( itemsList, UR_DELETED );
GetScreen()->SetModify(); OnModify();
test_1_net_connexion( DC, net_code_delete ); test_1_net_connexion( DC, net_code_delete );
GetBoard()->DisplayInfo( this ); GetBoard()->DisplayInfo( this );
} }

View File

@ -434,7 +434,7 @@ void dialog_copper_zone::ExportSetupToOtherCopperZones( wxCommandEvent& event )
{ {
ZONE_CONTAINER* zone = pcb->GetArea( ii ); ZONE_CONTAINER* zone = pcb->GetArea( ii );
m_Zone_Setting->ExportSetting( *zone, false ); // false = partiel export m_Zone_Setting->ExportSetting( *zone, false ); // false = partiel export
m_Parent->GetScreen()->SetModify(); m_Parent->OnModify();
} }
m_OnExitCode = ZONE_EXPORT_VALUES; // values are exported to others zones m_OnExitCode = ZONE_EXPORT_VALUES; // values are exported to others zones

View File

@ -141,7 +141,7 @@ void DIALOG_MODULE_BOARD_EDITOR::GotoModuleEditor( wxCommandEvent& event )
// null timestamp // null timestamp
{ {
m_CurrentModule->m_TimeStamp = GetTimeStamp(); m_CurrentModule->m_TimeStamp = GetTimeStamp();
m_Parent->GetScreen()->SetModify(); m_Parent->OnModify();
} }
EndModal( 2 ); EndModal( 2 );
@ -561,7 +561,7 @@ void DIALOG_MODULE_BOARD_EDITOR::OnOkClick( wxCommandEvent& event )
m_CurrentModule->Set_Rectangle_Encadrement(); m_CurrentModule->Set_Rectangle_Encadrement();
m_Parent->GetScreen()->SetModify(); m_Parent->OnModify();
EndModal( 1 ); EndModal( 1 );

View File

@ -408,7 +408,7 @@ void DIALOG_MODULE_MODULE_EDITOR::OnOkClick( wxCommandEvent& event )
m_CurrentModule->Set_Rectangle_Encadrement(); m_CurrentModule->Set_Rectangle_Encadrement();
m_Parent->GetScreen()->SetModify(); m_Parent->OnModify();
EndModal( 1 ); EndModal( 1 );
} }

View File

@ -199,7 +199,7 @@ void DialogEditModuleText::OnOkClick( wxCommandEvent& event )
m_CurrentTextMod->Draw( m_Parent->DrawPanel, m_DC, GR_XOR, m_CurrentTextMod->Draw( m_Parent->DrawPanel, m_DC, GR_XOR,
(m_CurrentTextMod->m_Flags & IS_MOVED) ? MoveVector : wxPoint( 0, 0 ) ); (m_CurrentTextMod->m_Flags & IS_MOVED) ? MoveVector : wxPoint( 0, 0 ) );
} }
m_Parent->GetScreen()->SetModify(); m_Parent->OnModify();
if( m_Module ) if( m_Module )
m_Module->m_LastEdit_Time = time( NULL ); m_Module->m_LastEdit_Time = time( NULL );

View File

@ -219,7 +219,7 @@ void DialogGraphicItemProperties::OnOkClick( wxCommandEvent& event )
m_Item->m_Angle = angle; m_Item->m_Angle = angle;
} }
m_Parent->GetScreen()->SetModify(); m_Parent->OnModify();
if ( m_DC ) if ( m_DC )
m_Item->Draw( m_Parent->DrawPanel, m_DC, GR_OR ); m_Item->Draw( m_Parent->DrawPanel, m_DC, GR_OR );
m_Item->DisplayInfo( m_Parent ); m_Item->DisplayInfo( m_Parent );

View File

@ -545,7 +545,7 @@ void DIALOG_LAYERS_SETUP::OnOkButtonClick( wxCommandEvent& event )
} }
} }
m_Parent->GetScreen()->SetModify(); m_Parent->OnModify();
m_Parent->ReCreateLayerBox( NULL ); m_Parent->ReCreateLayerBox( NULL );
m_Parent->ReFillLayerWidget(); m_Parent->ReFillLayerWidget();

View File

@ -253,7 +253,7 @@ void WinEDA_PcbFrame::ReOrientModules( const wxString& ModuleMask,
if( WildCompareString( ModuleMask, module->m_Reference->m_Text, FALSE ) ) if( WildCompareString( ModuleMask, module->m_Reference->m_Text, FALSE ) )
{ {
GetScreen()->SetModify(); OnModify();
redraw = true; redraw = true;
Rotate_Module( NULL, module, Orient, FALSE ); Rotate_Module( NULL, module, Orient, FALSE );
} }

View File

@ -634,7 +634,7 @@ void DIALOG_PAD_PROPERTIES::PadPropertiesAccept( wxCommandEvent& event )
m_CurrentPad->DisplayInfo( m_Parent ); m_CurrentPad->DisplayInfo( m_Parent );
// redraw the area where the pad was // redraw the area where the pad was
m_Parent->DrawPanel->PostDirtyRect( m_CurrentPad->GetBoundingBox() ); m_Parent->DrawPanel->PostDirtyRect( m_CurrentPad->GetBoundingBox() );
m_Parent->GetScreen()->SetModify(); m_Parent->OnModify();
} }
EndModal(1); EndModal(1);

View File

@ -252,6 +252,6 @@ void WinEDA_TextPCBPropertiesFrame::OnOkClick( wxCommandEvent& event )
{ {
CurrentTextPCB->Draw( m_Parent->DrawPanel, m_DC, GR_OR ); CurrentTextPCB->Draw( m_Parent->DrawPanel, m_DC, GR_OR );
} }
m_Parent->GetScreen()->SetModify(); m_Parent->OnModify();
EndModal( 1 ); EndModal( 1 );
} }

View File

@ -181,7 +181,7 @@ void WinEDA_CotationPropertiesFrame::OnOkClick( wxCommandEvent& event )
CurrentCotation->Draw( m_Parent->DrawPanel, m_DC, GR_OR ); CurrentCotation->Draw( m_Parent->DrawPanel, m_DC, GR_OR );
} }
m_Parent->GetScreen()->SetModify(); m_Parent->OnModify();
EndModal( 1 ); EndModal( 1 );
} }
@ -276,7 +276,7 @@ COTATION* WinEDA_PcbFrame::Begin_Cotation( COTATION* Cotation, wxDC* DC )
/* Insertion de la structure dans le Chainage .Drawings du PCB */ /* Insertion de la structure dans le Chainage .Drawings du PCB */
GetBoard()->Add( Cotation ); GetBoard()->Add( Cotation );
GetScreen()->SetModify(); OnModify();
DrawPanel->ManageCurseur = NULL; DrawPanel->ManageCurseur = NULL;
DrawPanel->ForceCloseManageCurseur = NULL; DrawPanel->ForceCloseManageCurseur = NULL;
@ -368,7 +368,7 @@ void WinEDA_PcbFrame::Delete_Cotation( COTATION* Cotation, wxDC* DC )
SaveCopyInUndoList(Cotation, UR_DELETED); SaveCopyInUndoList(Cotation, UR_DELETED);
Cotation->UnLink(); Cotation->UnLink();
GetScreen()->SetModify(); OnModify();
} }

View File

@ -64,7 +64,7 @@ void WinEDA_ModuleEditFrame::Place_EdgeMod( EDGE_MODULE* Edge, wxDC* DC )
DrawPanel->ManageCurseur = NULL; DrawPanel->ManageCurseur = NULL;
DrawPanel->ForceCloseManageCurseur = NULL; DrawPanel->ForceCloseManageCurseur = NULL;
SetCurItem( NULL ); SetCurItem( NULL );
GetScreen()->SetModify(); OnModify();
MODULE* Module = (MODULE*) Edge->GetParent(); MODULE* Module = (MODULE*) Edge->GetParent();
Module->Set_Rectangle_Encadrement(); Module->Set_Rectangle_Encadrement();
} }
@ -143,7 +143,7 @@ void WinEDA_ModuleEditFrame::Edit_Edge_Width( EDGE_MODULE* Edge )
else else
Edge->m_Width = ModuleSegmentWidth; Edge->m_Width = ModuleSegmentWidth;
GetScreen()->SetModify(); OnModify();
DrawPanel->Refresh( TRUE ); DrawPanel->Refresh( TRUE );
Module->Set_Rectangle_Encadrement(); Module->Set_Rectangle_Encadrement();
Module->m_LastEdit_Time = time( NULL ); Module->m_LastEdit_Time = time( NULL );
@ -196,7 +196,7 @@ void WinEDA_ModuleEditFrame::Edit_Edge_Layer( EDGE_MODULE* Edge )
else else
Edge->SetLayer( new_layer ); Edge->SetLayer( new_layer );
GetScreen()->SetModify(); OnModify();
Module->Set_Rectangle_Encadrement(); Module->Set_Rectangle_Encadrement();
Module->m_LastEdit_Time = time( NULL ); Module->m_LastEdit_Time = time( NULL );
DrawPanel->Refresh( TRUE ); DrawPanel->Refresh( TRUE );
@ -234,7 +234,7 @@ void WinEDA_ModuleEditFrame::Enter_Edge_Width( EDGE_MODULE* Edge, wxDC* DC )
Edge->m_Width = ModuleSegmentWidth; Edge->m_Width = ModuleSegmentWidth;
Module->DrawEdgesOnly( DrawPanel, DC, wxPoint( 0, 0 ), GR_XOR ); Module->DrawEdgesOnly( DrawPanel, DC, wxPoint( 0, 0 ), GR_XOR );
Module->Set_Rectangle_Encadrement(); Module->Set_Rectangle_Encadrement();
GetScreen()->SetModify(); OnModify();
} }
} }
@ -260,7 +260,7 @@ void WinEDA_ModuleEditFrame::Delete_Edge_Module( EDGE_MODULE* Edge )
Edge->DeleteStructure(); Edge->DeleteStructure();
Module->m_LastEdit_Time = time( NULL ); Module->m_LastEdit_Time = time( NULL );
Module->Set_Rectangle_Encadrement(); Module->Set_Rectangle_Encadrement();
GetScreen()->SetModify(); OnModify();
} }
@ -389,7 +389,7 @@ EDGE_MODULE* WinEDA_ModuleEditFrame::Begin_Edge_Module( EDGE_MODULE* Edge,
module->Set_Rectangle_Encadrement(); module->Set_Rectangle_Encadrement();
module->m_LastEdit_Time = time( NULL ); module->m_LastEdit_Time = time( NULL );
GetScreen()->SetModify(); OnModify();
} }
} }
else else
@ -414,7 +414,7 @@ void WinEDA_ModuleEditFrame::End_Edge_Module( EDGE_MODULE* Edge, wxDC* DC )
} }
Module->Set_Rectangle_Encadrement(); Module->Set_Rectangle_Encadrement();
Module->m_LastEdit_Time = time( NULL ); Module->m_LastEdit_Time = time( NULL );
GetScreen()->SetModify(); OnModify();
DrawPanel->ManageCurseur = NULL; DrawPanel->ManageCurseur = NULL;
DrawPanel->ForceCloseManageCurseur = NULL; DrawPanel->ForceCloseManageCurseur = NULL;
} }

View File

@ -300,7 +300,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
break; break;
Edit_Track_Width( &dc, (TRACK*) GetCurItem() ); Edit_Track_Width( &dc, (TRACK*) GetCurItem() );
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
GetScreen()->SetModify(); OnModify();
break; break;
case ID_POPUP_PCB_EDIT_TRACKSEG: case ID_POPUP_PCB_EDIT_TRACKSEG:
@ -308,7 +308,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
break; break;
Edit_TrackSegm_Width( &dc, (TRACK*) GetCurItem() ); Edit_TrackSegm_Width( &dc, (TRACK*) GetCurItem() );
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
GetScreen()->SetModify(); OnModify();
break; break;
case ID_POPUP_PCB_EDIT_ALL_VIAS_AND_TRACK_SIZE: case ID_POPUP_PCB_EDIT_ALL_VIAS_AND_TRACK_SIZE:
@ -365,7 +365,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
break; break;
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
SetCurItem( Delete_Segment( &dc, (TRACK*) GetCurItem() ) ); SetCurItem( Delete_Segment( &dc, (TRACK*) GetCurItem() ) );
GetScreen()->SetModify(); OnModify();
break; break;
case ID_POPUP_PCB_DELETE_TRACK: case ID_POPUP_PCB_DELETE_TRACK:
@ -374,14 +374,14 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
Delete_Track( &dc, (TRACK*) GetCurItem() ); Delete_Track( &dc, (TRACK*) GetCurItem() );
SetCurItem( NULL ); SetCurItem( NULL );
GetScreen()->SetModify(); OnModify();
break; break;
case ID_POPUP_PCB_DELETE_TRACKNET: case ID_POPUP_PCB_DELETE_TRACKNET:
DrawPanel->MouseToCursorSchema(); DrawPanel->MouseToCursorSchema();
Delete_net( &dc, (TRACK*) GetCurItem() ); Delete_net( &dc, (TRACK*) GetCurItem() );
SetCurItem( NULL ); SetCurItem( NULL );
GetScreen()->SetModify(); OnModify();
break; break;
case ID_POPUP_PCB_LOCK_ON_TRACKSEG: case ID_POPUP_PCB_LOCK_ON_TRACKSEG:
@ -421,7 +421,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
Delete_Zone_Fill( zsegm ); Delete_Zone_Fill( zsegm );
SetCurItem( NULL ); SetCurItem( NULL );
test_1_net_connexion( NULL, netcode ); test_1_net_connexion( NULL, netcode );
GetScreen()->SetModify(); OnModify();
GetBoard()->DisplayInfo( this ); GetBoard()->DisplayInfo( this );
} }
break; break;
@ -537,7 +537,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
ZONE_CONTAINER* zone_container = (ZONE_CONTAINER*) GetCurItem(); ZONE_CONTAINER* zone_container = (ZONE_CONTAINER*) GetCurItem();
Delete_Zone_Fill( NULL, zone_container->m_TimeStamp ); Delete_Zone_Fill( NULL, zone_container->m_TimeStamp );
test_1_net_connexion( NULL, zone_container->GetNet() ); test_1_net_connexion( NULL, zone_container->GetNet() );
GetScreen()->SetModify(); OnModify();
GetBoard()->DisplayInfo( this ); GetBoard()->DisplayInfo( this );
DrawPanel->Refresh(); DrawPanel->Refresh();
} }
@ -556,7 +556,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
SetCurItem( NULL ); // CurItem might be deleted by this command, clear the pointer SetCurItem( NULL ); // CurItem might be deleted by this command, clear the pointer
test_connexions( NULL ); test_connexions( NULL );
Tst_Ratsnest( NULL, 0 ); // Recalculate the active ratsnest, i.e. the unconnected links */ Tst_Ratsnest( NULL, 0 ); // Recalculate the active ratsnest, i.e. the unconnected links */
GetScreen()->SetModify(); OnModify();
GetBoard()->DisplayInfo( this ); GetBoard()->DisplayInfo( this );
DrawPanel->Refresh(); DrawPanel->Refresh();
break; break;

View File

@ -68,7 +68,7 @@ void WinEDA_PcbFrame::Place_Texte_Pcb( TEXTE_PCB* TextePcb, wxDC* DC )
return; return;
TextePcb->Draw( DrawPanel, DC, GR_OR ); TextePcb->Draw( DrawPanel, DC, GR_OR );
GetScreen()->SetModify(); OnModify();
if( (TextePcb->m_Flags & IS_NEW) ) // If new: prepare undo command if( (TextePcb->m_Flags & IS_NEW) ) // If new: prepare undo command
{ {
@ -202,5 +202,5 @@ void WinEDA_PcbFrame::Rotate_Texte_Pcb( TEXTE_PCB* TextePcb, wxDC* DC )
else // set flag edit, to show it was a complex command else // set flag edit, to show it was a complex command
TextePcb->m_Flags |= IN_EDIT; TextePcb->m_Flags |= IN_EDIT;
GetScreen()->SetModify(); OnModify();
} }

View File

@ -78,7 +78,7 @@ bool WinEDA_PcbFrame::SetTrackSegmentWidth( TRACK* aTrackItem,
if( change_ok ) if( change_ok )
{ {
GetScreen()->SetModify(); OnModify();
if( aItemsListPicker ) if( aItemsListPicker )
{ {
aTrackItem->m_Width = initial_width; aTrackItem->m_Width = initial_width;

View File

@ -52,7 +52,7 @@ void WinEDA_PcbFrame::Place_DrawItem( DRAWSEGMENT* drawitem, wxDC* DC )
DrawPanel->ManageCurseur = NULL; DrawPanel->ManageCurseur = NULL;
DrawPanel->ForceCloseManageCurseur = NULL; DrawPanel->ForceCloseManageCurseur = NULL;
SetCurItem( NULL ); SetCurItem( NULL );
GetScreen()->SetModify(); OnModify();
drawitem->m_Flags = 0; drawitem->m_Flags = 0;
} }
@ -110,7 +110,7 @@ void WinEDA_PcbFrame::Delete_Segment_Edge( DRAWSEGMENT* Segment, wxDC* DC )
SaveCopyInUndoList(Segment, UR_DELETED); SaveCopyInUndoList(Segment, UR_DELETED);
Segment->UnLink(); Segment->UnLink();
SetCurItem( NULL ); SetCurItem( NULL );
GetScreen()->SetModify(); OnModify();
} }
} }
@ -162,7 +162,7 @@ void WinEDA_PcbFrame::Delete_Drawings_All_Layer( int aLayer )
if( pickList.GetCount() ) if( pickList.GetCount() )
{ {
GetScreen()->SetModify(); OnModify();
SaveCopyInUndoList(pickList, UR_DELETED); SaveCopyInUndoList(pickList, UR_DELETED);
} }
} }
@ -238,7 +238,7 @@ DRAWSEGMENT* WinEDA_PcbFrame::Begin_DrawSegment( DRAWSEGMENT* Segment,
SaveCopyInUndoList(Segment, UR_NEW ); SaveCopyInUndoList(Segment, UR_NEW );
GetBoard()->Add( Segment ); GetBoard()->Add( Segment );
GetScreen()->SetModify(); OnModify();
Segment->m_Flags = 0; Segment->m_Flags = 0;
Segment->Draw( DrawPanel, DC, GR_OR ); Segment->Draw( DrawPanel, DC, GR_OR );
@ -281,7 +281,7 @@ void WinEDA_PcbFrame::End_Edge( DRAWSEGMENT* Segment, wxDC* DC )
{ {
Segment->m_Flags = 0; Segment->m_Flags = 0;
GetBoard()->Add( Segment ); GetBoard()->Add( Segment );
GetScreen()->SetModify(); OnModify();
SaveCopyInUndoList( Segment, UR_NEW ); SaveCopyInUndoList( Segment, UR_NEW );
} }

View File

@ -86,7 +86,7 @@ void WinEDA_PcbFrame::ExChange_Track_Layer( TRACK* pt_segm, wxDC* DC )
test_1_net_connexion( DC, pt_track->GetNet() ); test_1_net_connexion( DC, pt_track->GetNet() );
pt_track->DisplayInfo( this ); pt_track->DisplayInfo( this );
GetScreen()->SetModify(); OnModify();
} }

View File

@ -529,7 +529,7 @@ void WinEDA_PcbFrame::End_Route( TRACK* aTrack, wxDC* DC )
// owner of picked items // owner of picked items
/* compute the new rastnest */ /* compute the new rastnest */
test_1_net_connexion( DC, netcode ); test_1_net_connexion( DC, netcode );
GetScreen()->SetModify(); OnModify();
GetBoard()->DisplayInfo( this ); GetBoard()->DisplayInfo( this );
} }

View File

@ -94,7 +94,7 @@ void WinEDA_BasePcbFrame::RotateTextModule( TEXTE_MODULE* Text, wxDC* DC )
if( module ) if( module )
module->m_LastEdit_Time = time( NULL ); module->m_LastEdit_Time = time( NULL );
GetScreen()->SetModify(); OnModify();
} }
@ -114,7 +114,7 @@ void WinEDA_BasePcbFrame::DeleteTextModule( TEXTE_MODULE* Text )
{ {
DrawPanel->PostDirtyRect( Text->GetBoundingBox() ); DrawPanel->PostDirtyRect( Text->GetBoundingBox() );
Text->DeleteStructure(); Text->DeleteStructure();
GetScreen()->SetModify(); OnModify();
Module->m_LastEdit_Time = time( NULL ); Module->m_LastEdit_Time = time( NULL );
} }
} }
@ -216,7 +216,7 @@ void WinEDA_BasePcbFrame::PlaceTexteModule( TEXTE_MODULE* Text, wxDC* DC )
Text->m_Flags = 0; Text->m_Flags = 0;
Module->m_Flags = 0; Module->m_Flags = 0;
Module->m_LastEdit_Time = time( NULL ); Module->m_LastEdit_Time = time( NULL );
GetScreen()->SetModify(); OnModify();
/* Redraw text. */ /* Redraw text. */
DrawPanel->PostDirtyRect( Text->GetBoundingBox() ); DrawPanel->PostDirtyRect( Text->GetBoundingBox() );

View File

@ -139,7 +139,7 @@ bool WinEDA_PcbFrame::LoadOnePcbFile( const wxString& FullFileName, bool Append
if( Append ) if( Append )
{ {
GetScreen()->m_FileName = wxEmptyString; GetScreen()->m_FileName = wxEmptyString;
GetScreen()->SetModify(); OnModify();
GetBoard()->m_Status_Pcb = 0; GetBoard()->m_Status_Pcb = 0;
} }
@ -233,7 +233,7 @@ this file again."));
new_filename += PcbExtBuffer; new_filename += PcbExtBuffer;
GetScreen()->SetModify(); OnModify();
GetScreen()->m_FileName = new_filename; GetScreen()->m_FileName = new_filename;
} }

View File

@ -280,5 +280,5 @@ void WinEDA_BasePcbFrame::Global_Import_Pad_Settings( D_PAD* aPad, bool aDraw )
DrawPanel->PostDirtyRect( Module->GetBoundingBox() ); DrawPanel->PostDirtyRect( Module->GetBoundingBox() );
} }
GetScreen()->SetModify(); OnModify();
} }

View File

@ -254,7 +254,7 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey, EDA_BaseStruct* DrawStruct
break; break;
case HK_SWITCH_LAYER_TO_PREVIOUS: case HK_SWITCH_LAYER_TO_PREVIOUS:
ll = GetScreen()->m_Active_Layer; ll = getActiveLayer();
if( (ll <= LAYER_N_BACK) || (ll > LAYER_N_FRONT) ) if( (ll <= LAYER_N_BACK) || (ll > LAYER_N_FRONT) )
break; break;
@ -269,7 +269,7 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey, EDA_BaseStruct* DrawStruct
break; break;
case HK_SWITCH_LAYER_TO_NEXT: case HK_SWITCH_LAYER_TO_NEXT:
ll = GetScreen()->m_Active_Layer; ll = getActiveLayer();
if( (ll < LAYER_N_BACK) || (ll >= LAYER_N_FRONT) ) if( (ll < LAYER_N_BACK) || (ll >= LAYER_N_FRONT) )
break; break;
if( GetBoard()->GetCopperLayerCount() < 2 ) // Single layer if( GetBoard()->GetCopperLayerCount() < 2 ) // Single layer
@ -369,7 +369,7 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey, EDA_BaseStruct* DrawStruct
DisplayOpt.DisplayPcbTrackFill ^= 1; DisplayOpt.DisplayPcbTrackFill ^= 1;
DisplayOpt.DisplayPcbTrackFill &= 1; DisplayOpt.DisplayPcbTrackFill &= 1;
m_DisplayPcbTrackFill = DisplayOpt.DisplayPcbTrackFill; m_DisplayPcbTrackFill = DisplayOpt.DisplayPcbTrackFill;
GetScreen()->SetRefreshReq(); DrawPanel->Refresh();
break; break;
case HK_DELETE: case HK_DELETE:
@ -377,7 +377,7 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey, EDA_BaseStruct* DrawStruct
break; break;
case HK_BACK_SPACE: case HK_BACK_SPACE:
if( m_ID_current_state == ID_TRACK_BUTT && GetScreen()->m_Active_Layer if( m_ID_current_state == ID_TRACK_BUTT && getActiveLayer()
<= LAYER_N_FRONT ) <= LAYER_N_FRONT )
{ {
if( ItemFree ) if( ItemFree )
@ -395,7 +395,7 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey, EDA_BaseStruct* DrawStruct
Delete_Segment( DC, (TRACK*) DrawStruct ); Delete_Segment( DC, (TRACK*) DrawStruct );
SetCurItem( NULL ); SetCurItem( NULL );
} }
GetScreen()->SetModify(); OnModify();
} }
else if( GetCurItem()->Type() == TYPE_TRACK ) else if( GetCurItem()->Type() == TYPE_TRACK )
{ {
@ -404,7 +404,7 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey, EDA_BaseStruct* DrawStruct
TRACK* track = (TRACK*) GetCurItem(); TRACK* track = (TRACK*) GetCurItem();
track = Delete_Segment( DC, track ); track = Delete_Segment( DC, track );
SetCurItem( track ); SetCurItem( track );
GetScreen()->SetModify(); OnModify();
} }
} }
break; break;
@ -475,7 +475,7 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey, EDA_BaseStruct* DrawStruct
Other_Layer_Route( (TRACK*) GetCurItem(), DC ); Other_Layer_Route( (TRACK*) GetCurItem(), DC );
GetBoard()->GetBoardDesignSettings()->m_CurrentViaType = v_type; GetBoard()->GetBoardDesignSettings()->m_CurrentViaType = v_type;
if( DisplayOpt.ContrastModeDisplay ) if( DisplayOpt.ContrastModeDisplay )
GetScreen()->SetRefreshReq(); DrawPanel->Refresh();
} }
break; break;
@ -493,11 +493,11 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey, EDA_BaseStruct* DrawStruct
return; return;
Other_Layer_Route( (TRACK*) GetCurItem(), DC ); // place via and switch layer Other_Layer_Route( (TRACK*) GetCurItem(), DC ); // place via and switch layer
if( DisplayOpt.ContrastModeDisplay ) if( DisplayOpt.ContrastModeDisplay )
GetScreen()->SetRefreshReq(); DrawPanel->Refresh();
break; break;
case HK_ADD_NEW_TRACK: // Start new track case HK_ADD_NEW_TRACK: // Start new track
if( GetScreen()->m_Active_Layer > LAYER_N_FRONT ) if( getActiveLayer() > LAYER_N_FRONT )
break; break;
if( m_ID_current_state != ID_TRACK_BUTT && ItemFree ) if( m_ID_current_state != ID_TRACK_BUTT && ItemFree )
@ -771,7 +771,7 @@ bool WinEDA_PcbFrame::OnHotkeyDeleteItem( wxDC* DC, EDA_BaseStruct* DrawStruct )
switch( m_ID_current_state ) switch( m_ID_current_state )
{ {
case ID_TRACK_BUTT: case ID_TRACK_BUTT:
if( GetScreen()->m_Active_Layer > LAYER_N_FRONT ) if( getActiveLayer() > LAYER_N_FRONT )
return FALSE; return FALSE;
if( ItemFree ) if( ItemFree )
{ {
@ -786,7 +786,7 @@ bool WinEDA_PcbFrame::OnHotkeyDeleteItem( wxDC* DC, EDA_BaseStruct* DrawStruct )
TRACK* track = (TRACK*) GetCurItem(); TRACK* track = (TRACK*) GetCurItem();
track = Delete_Segment( DC, track ); track = Delete_Segment( DC, track );
SetCurItem( track ); SetCurItem( track );
GetScreen()->SetModify(); OnModify();
return TRUE; return TRUE;
} }
break; break;
@ -810,7 +810,7 @@ bool WinEDA_PcbFrame::OnHotkeyDeleteItem( wxDC* DC, EDA_BaseStruct* DrawStruct )
return FALSE; return FALSE;
} }
GetScreen()->SetModify(); OnModify();
SetCurItem( NULL ); SetCurItem( NULL );
return TRUE; return TRUE;
} }

View File

@ -133,7 +133,7 @@ void WinEDA_PcbGlobalDeleteFrame::AcceptPcbDelete( wxCommandEvent& event )
} }
m_Parent->DrawPanel->Refresh(); m_Parent->DrawPanel->Refresh();
m_Parent->DrawPanel->GetScreen()->SetModify(); m_Parent->OnModify();
EndModal( 1 ); EndModal( 1 );
} }

View File

@ -158,7 +158,7 @@ void WinEDA_MirePropertiesFrame::OnOkClick( wxCommandEvent& event )
m_MirePcb->Draw( m_Parent->DrawPanel, m_DC, m_MirePcb->Draw( m_Parent->DrawPanel, m_DC,
( m_MirePcb->m_Flags & IS_MOVED ) ? GR_XOR : GR_OR ); ( m_MirePcb->m_Flags & IS_MOVED ) ? GR_XOR : GR_OR );
m_Parent->GetScreen()->SetModify(); m_Parent->OnModify();
EndModal( 1 ); EndModal( 1 );
} }
@ -254,7 +254,7 @@ void WinEDA_PcbFrame::Place_Mire( MIREPCB* MirePcb, wxDC* DC )
DrawPanel->ManageCurseur = NULL; DrawPanel->ManageCurseur = NULL;
DrawPanel->ForceCloseManageCurseur = NULL; DrawPanel->ForceCloseManageCurseur = NULL;
SetCurItem( NULL ); SetCurItem( NULL );
GetScreen()->SetModify(); OnModify();
if( (MirePcb->m_Flags & IS_NEW) ) if( (MirePcb->m_Flags & IS_NEW) )
{ {

View File

@ -91,7 +91,7 @@ void WinEDA_ModuleEditFrame::GetComponentFromRedoList( wxCommandEvent& event )
SetCurItem( NULL ); SetCurItem( NULL );
GetScreen()->SetModify(); OnModify();
ReCreateHToolbar(); ReCreateHToolbar();
SetToolbars(); SetToolbars();
DrawPanel->Refresh(); DrawPanel->Refresh();
@ -129,7 +129,7 @@ void WinEDA_ModuleEditFrame::GetComponentFromUndoList( wxCommandEvent& event )
SetCurItem( NULL );; SetCurItem( NULL );;
GetScreen()->SetModify(); OnModify();
ReCreateHToolbar(); ReCreateHToolbar();
SetToolbars(); SetToolbars();
DrawPanel->Refresh(); DrawPanel->Refresh();

View File

@ -242,7 +242,7 @@ MODULE* WinEDA_BasePcbFrame::Copie_Module( MODULE* module )
if( module == NULL ) if( module == NULL )
return NULL; return NULL;
GetScreen()->SetModify(); OnModify();
/* Duplicate module */ /* Duplicate module */
GetBoard()->m_Status_Pcb = 0; GetBoard()->m_Status_Pcb = 0;
@ -316,7 +316,7 @@ bool WinEDA_PcbFrame::Delete_Module( MODULE* module,
} }
} }
GetScreen()->SetModify(); OnModify();
/* Remove module from list, and put it in undo command list */ /* Remove module from list, and put it in undo command list */
m_Pcb->m_Modules.Remove( module ); m_Pcb->m_Modules.Remove( module );
@ -350,7 +350,7 @@ void WinEDA_PcbFrame::Change_Side_Module( MODULE* Module, wxDC* DC )
&& ( Module->GetLayer() != LAYER_N_BACK ) ) && ( Module->GetLayer() != LAYER_N_BACK ) )
return; return;
GetScreen()->SetModify(); OnModify();
if( !( Module->m_Flags & IS_MOVED ) ) /* This is a simple flip, no other if( !( Module->m_Flags & IS_MOVED ) ) /* This is a simple flip, no other
*edition in progress */ *edition in progress */
@ -421,7 +421,7 @@ void WinEDA_BasePcbFrame::Place_Module( MODULE* module,
if( module == 0 ) if( module == 0 )
return; return;
GetScreen()->SetModify(); OnModify();
GetBoard()->m_Status_Pcb &= ~( LISTE_RATSNEST_ITEM_OK | CONNEXION_OK); GetBoard()->m_Status_Pcb &= ~( LISTE_RATSNEST_ITEM_OK | CONNEXION_OK);
if( module->m_Flags & IS_NEW ) if( module->m_Flags & IS_NEW )
@ -506,7 +506,7 @@ void WinEDA_BasePcbFrame::Rotate_Module( wxDC* DC, MODULE* module,
if( module == NULL ) if( module == NULL )
return; return;
GetScreen()->SetModify(); OnModify();
if( !( module->m_Flags & IS_MOVED ) ) /* This is a simple rotation, no other if( !( module->m_Flags & IS_MOVED ) ) /* This is a simple rotation, no other
* edition in progress */ * edition in progress */

View File

@ -253,7 +253,7 @@ void WinEDA_BasePcbFrame::DeletePad( D_PAD* Pad )
Module->Set_Rectangle_Encadrement(); Module->Set_Rectangle_Encadrement();
GetScreen()->SetModify(); OnModify();
} }
@ -376,7 +376,7 @@ void WinEDA_BasePcbFrame::PlacePad( D_PAD* Pad, wxDC* DC )
EraseDragListe(); EraseDragListe();
GetScreen()->SetModify(); OnModify();
DrawPanel->ManageCurseur = NULL; DrawPanel->ManageCurseur = NULL;
DrawPanel->ForceCloseManageCurseur = NULL; DrawPanel->ForceCloseManageCurseur = NULL;
m_Pcb->m_Status_Pcb &= ~( LISTE_RATSNEST_ITEM_OK | CONNEXION_OK ); m_Pcb->m_Status_Pcb &= ~( LISTE_RATSNEST_ITEM_OK | CONNEXION_OK );
@ -395,7 +395,7 @@ void WinEDA_BasePcbFrame::RotatePad( D_PAD* Pad, wxDC* DC )
Module = (MODULE*) Pad->GetParent(); Module = (MODULE*) Pad->GetParent();
Module->m_LastEdit_Time = time( NULL ); Module->m_LastEdit_Time = time( NULL );
GetScreen()->SetModify(); OnModify();
if( DC ) if( DC )
Module->Draw( DrawPanel, DC, GR_XOR ); Module->Draw( DrawPanel, DC, GR_XOR );

View File

@ -1016,7 +1016,7 @@ bool WinEDA_PcbFrame::PlaceDraggedOrMovedTrackSegment( TRACK* Track, wxDC* DC )
s_ItemsListPicker.ClearItemsList(); // s_ItemsListPicker is no more owner s_ItemsListPicker.ClearItemsList(); // s_ItemsListPicker is no more owner
// of picked items // of picked items
GetScreen()->SetModify(); OnModify();
DrawPanel->ManageCurseur = NULL; DrawPanel->ManageCurseur = NULL;
DrawPanel->ForceCloseManageCurseur = NULL; DrawPanel->ForceCloseManageCurseur = NULL;

View File

@ -782,7 +782,7 @@ MODULE* WinEDA_PcbFrame::Create_MuWaveComponent( int shape_type )
Module->Set_Rectangle_Encadrement(); Module->Set_Rectangle_Encadrement();
GetBoard()->m_Status_Pcb = 0; GetBoard()->m_Status_Pcb = 0;
GetScreen()->SetModify(); OnModify();
return Module; return Module;
} }
@ -1120,7 +1120,7 @@ MODULE* WinEDA_PcbFrame::Create_MuWavePolygonShape()
Module->Set_Rectangle_Encadrement(); Module->Set_Rectangle_Encadrement();
GetBoard()->m_Status_Pcb = 0; GetBoard()->m_Status_Pcb = 0;
GetScreen()->SetModify(); OnModify();
return Module; return Module;
} }

View File

@ -178,7 +178,7 @@ void ReadPcbNetlist( WinEDA_PcbFrame* aFrame,
// Clear undo and redo lists to avoid inconsistencies between lists // Clear undo and redo lists to avoid inconsistencies between lists
aFrame->GetScreen()->ClearUndoRedoList(); aFrame->GetScreen()->ClearUndoRedoList();
aFrame->GetScreen()->SetModify(); aFrame->OnModify();
aFrame->GetBoard()->m_Status_Pcb = 0; aFrame->GetBoard()->m_Status_Pcb = 0;
State = 0; LineNum = 0; Comment = 0; State = 0; LineNum = 0; Comment = 0;
s_NbNewModules = 0; s_NbNewModules = 0;

View File

@ -367,7 +367,7 @@ void WinEDA_PcbFrame::OnLeftClick( wxDC* DC, const wxPoint& MousePos )
DrawPanel->DrawAuxiliaryAxis( DC, GR_XOR ); DrawPanel->DrawAuxiliaryAxis( DC, GR_XOR );
m_Auxiliary_Axis_Position = GetScreen()->m_Curseur; m_Auxiliary_Axis_Position = GetScreen()->m_Curseur;
DrawPanel->DrawAuxiliaryAxis( DC, GR_COPY ); DrawPanel->DrawAuxiliaryAxis( DC, GR_COPY );
GetScreen()->SetModify(); OnModify();
break; break;
default: default:

View File

@ -479,7 +479,7 @@ void WinEDA_PcbFrame::ShowDesignRulesEditor( wxCommandEvent& event )
if( returncode == wxID_OK ) // New rules, or others changes. if( returncode == wxID_OK ) // New rules, or others changes.
{ {
ReCreateLayerBox( NULL ); ReCreateLayerBox( NULL );
GetScreen()->SetModify(); OnModify();
} }
} }
@ -613,3 +613,4 @@ void WinEDA_PcbFrame::SetVisibleAlls( )
for( int ii = 0; ii < PCB_VISIBLE(END_PCB_VISIBLE_LIST); ii++ ) for( int ii = 0; ii < PCB_VISIBLE(END_PCB_VISIBLE_LIST); ii++ )
m_Layers->SetRenderState( ii, true ); m_Layers->SetRenderState( ii, true );
} }

View File

@ -113,7 +113,7 @@ void WinEDA_PcbFrame::ImportSpecctraSession( wxCommandEvent& event )
m_TrackAndViasSizesList_Changed = true; m_TrackAndViasSizesList_Changed = true;
GetScreen()->SetModify(); OnModify();
GetBoard()->m_Status_Pcb = 0; GetBoard()->m_Status_Pcb = 0;
/* At this point we should call Compile_Ratsnest() /* At this point we should call Compile_Ratsnest()

View File

@ -2,7 +2,9 @@
/* Dialog frame to swap layers */ /* Dialog frame to swap layers */
/*******************************/ /*******************************/
/* Fichier swap_layers */ /*
* swap_layers.cpp
*/
#include "fctsys.h" #include "fctsys.h"
#include "common.h" #include "common.h"
@ -356,7 +358,7 @@ void WinEDA_PcbFrame::Swap_Layers( wxCommandEvent& event )
pt_segm = GetBoard()->m_Track; pt_segm = GetBoard()->m_Track;
for( ; pt_segm != NULL; pt_segm = pt_segm->Next() ) for( ; pt_segm != NULL; pt_segm = pt_segm->Next() )
{ {
GetScreen()->SetModify(); OnModify();
if( pt_segm->Type() == TYPE_VIA ) if( pt_segm->Type() == TYPE_VIA )
{ {
SEGVIA* Via = (SEGVIA*) pt_segm; SEGVIA* Via = (SEGVIA*) pt_segm;
@ -383,7 +385,7 @@ void WinEDA_PcbFrame::Swap_Layers( wxCommandEvent& event )
/* Change zones. */ /* Change zones. */
for( pt_segm = GetBoard()->m_Zone; pt_segm; pt_segm = pt_segm->Next() ) for( pt_segm = GetBoard()->m_Zone; pt_segm; pt_segm = pt_segm->Next() )
{ {
GetScreen()->SetModify(); OnModify();
jj = pt_segm->GetLayer(); jj = pt_segm->GetLayer();
if( New_Layer[jj] >= 0 && New_Layer[jj] < LAYER_NO_CHANGE ) if( New_Layer[jj] >= 0 && New_Layer[jj] < LAYER_NO_CHANGE )
pt_segm->SetLayer( New_Layer[jj] ); pt_segm->SetLayer( New_Layer[jj] );
@ -395,7 +397,7 @@ void WinEDA_PcbFrame::Swap_Layers( wxCommandEvent& event )
{ {
if( PtStruct->Type() == TYPE_DRAWSEGMENT ) if( PtStruct->Type() == TYPE_DRAWSEGMENT )
{ {
GetScreen()->SetModify(); OnModify();
pt_drawsegm = (DRAWSEGMENT*) PtStruct; pt_drawsegm = (DRAWSEGMENT*) PtStruct;
jj = pt_drawsegm->GetLayer(); jj = pt_drawsegm->GetLayer();
if( New_Layer[jj] >= 0 && New_Layer[jj] < LAYER_NO_CHANGE ) if( New_Layer[jj] >= 0 && New_Layer[jj] < LAYER_NO_CHANGE )

View File

@ -1,5 +1,5 @@
/*******************************/ /*******************************/
/* Pcbnew: exchange of modules */ /* Pcbnew: exchange modules */
/*******************************/ /*******************************/
#include "fctsys.h" #include "fctsys.h"
@ -529,7 +529,7 @@ void WinEDA_PcbFrame::Exchange_Module( MODULE* aOldModule,
GetBoard()->m_Status_Pcb = 0; GetBoard()->m_Status_Pcb = 0;
aNewModule->m_Flags = 0; aNewModule->m_Flags = 0;
GetScreen()->SetModify(); OnModify();
} }

View File

@ -283,7 +283,7 @@ void WinEDA_PcbFrame::End_Move_Zone_Corner_Or_Outlines( wxDC* DC, ZONE_CONTAINER
DrawPanel->ForceCloseManageCurseur = NULL; DrawPanel->ForceCloseManageCurseur = NULL;
if( DC ) if( DC )
zone_container->Draw( DrawPanel, DC, GR_OR ); zone_container->Draw( DrawPanel, DC, GR_OR );
GetScreen()->SetModify(); OnModify();
s_AddCutoutToCurrentZone = false; s_AddCutoutToCurrentZone = false;
s_CurrentZone = NULL; s_CurrentZone = NULL;
@ -324,7 +324,7 @@ void WinEDA_PcbFrame::Remove_Zone_Corner( wxDC* DC, ZONE_CONTAINER* zone_contain
* the member .m_CornerSelection is used as selected corner * the member .m_CornerSelection is used as selected corner
*/ */
{ {
GetScreen()->SetModify(); OnModify();
if( zone_container->m_Poly->GetNumCorners() <= 3 ) if( zone_container->m_Poly->GetNumCorners() <= 3 )
{ {
@ -715,7 +715,7 @@ bool WinEDA_PcbFrame::End_Zone( wxDC* DC )
SaveCopyInUndoList(s_PickedList, UR_UNSPECIFIED); SaveCopyInUndoList(s_PickedList, UR_UNSPECIFIED);
s_PickedList.ClearItemsList(); // s_ItemsListPicker is no more owner of picked items s_PickedList.ClearItemsList(); // s_ItemsListPicker is no more owner of picked items
GetScreen()->SetModify(); OnModify();
return true; return true;
} }
@ -826,7 +826,7 @@ void WinEDA_PcbFrame::Edit_Zone_Params( wxDC* DC, ZONE_CONTAINER* zone_container
SaveCopyInUndoList(s_PickedList, UR_UNSPECIFIED); SaveCopyInUndoList(s_PickedList, UR_UNSPECIFIED);
s_PickedList.ClearItemsList(); // s_ItemsListPicker is no more owner of picked items s_PickedList.ClearItemsList(); // s_ItemsListPicker is no more owner of picked items
GetScreen()->SetModify(); OnModify();
} }
@ -863,6 +863,6 @@ void WinEDA_PcbFrame::Delete_Zone_Contour( wxDC* DC, ZONE_CONTAINER* zone_contai
DrawPanel->PostDirtyRect( dirty ); DrawPanel->PostDirtyRect( dirty );
GetScreen()->SetModify(); OnModify();
} }

View File

@ -81,7 +81,7 @@ void WinEDA_PcbFrame::Delete_Zone_Fill( SEGZONE* aZone, long aTimestamp )
if( modify ) if( modify )
{ {
GetScreen()->SetModify(); OnModify();
GetScreen()->SetRefreshReq(); GetScreen()->SetRefreshReq();
} }
} }
@ -136,7 +136,7 @@ int WinEDA_PcbFrame::Fill_Zone( ZONE_CONTAINER* zone_container, bool verbose )
Delete_Zone_Fill( NULL, zone_container->m_TimeStamp ); Delete_Zone_Fill( NULL, zone_container->m_TimeStamp );
zone_container->BuildFilledPolysListData( GetBoard() ); zone_container->BuildFilledPolysListData( GetBoard() );
GetScreen()->SetModify(); OnModify();
return 0; return 0;
} }