Commit a70a5805 authored by charras's avatar charras

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

parent 815bbddf
......@@ -42,6 +42,7 @@ set(COMMON_SRCS
gr_basic.cpp
hotkeys_basic.cpp
msgpanel.cpp
newstroke_font.cpp
projet_config.cpp
# pyhandler.cpp
richio.cpp
......
......@@ -107,7 +107,7 @@ int NegableTextLength( const wxString& aText )
static const char* GetHersheyShapeDescription( int AsciiCode )
{
/* 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) )
AsciiCode = '?';
if( AsciiCode < 32 )
......
......@@ -304,7 +304,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
placeMenu->Append( item );
/* Net name */
item = new wxMenuItem( placeMenu, ID_LABEL_BUTT, _( "Net name" ),
item = new wxMenuItem( placeMenu, ID_LABEL_BUTT, _( "Label" ),
_( "Place net name" ), wxITEM_NORMAL );
item->SetBitmap( add_line_label_xpm );
placeMenu->Append( item );
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -216,6 +216,14 @@ public:
MODULE* Select_1_Module_From_BOARD( BOARD* Pcb );
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)
MODULE* Create_1_Module( wxDC* DC,
const wxString& module_name );
......
No preview for this file type
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: kicad\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-02-17 16:59+0100\n"
"PO-Revision-Date: 2010-02-17 17:00+0100\n"
"POT-Creation-Date: 2010-02-19 08:35+0100\n"
"PO-Revision-Date: 2010-02-19 08:43+0100\n"
"Last-Translator: \n"
"Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n"
"MIME-Version: 1.0\n"
......@@ -41,11 +41,11 @@ msgstr "Format décimal"
#: pcbnew/dialog_gendrill.cpp:173
msgid "suppress leading zeros"
msgstr "Suppression zeros de tête"
msgstr "Suppression zéros de tête"
#: pcbnew/dialog_gendrill.cpp:174
msgid "suppress trailing zeros"
msgstr "Suppression zeros de fin"
msgstr "Suppression zéros de fin"
#: pcbnew/dialog_gendrill.cpp:175
msgid "keep zeros"
......@@ -130,7 +130,7 @@ msgstr "Rapport de perçage:"
#: pcbnew/dialog_gendrill.cpp:221
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
msgid "HPGL plotter Options:"
......@@ -333,7 +333,7 @@ msgstr "Ok pour abandonner?"
#: pcbnew/automove.cpp:194
msgid "No modules found!"
msgstr "Pas demodules"
msgstr "Pas de modules"
#: pcbnew/automove.cpp:199
msgid "Move modules?"
......@@ -365,7 +365,7 @@ msgstr "Net non sélectionné"
#: pcbnew/autorout.cpp:79
msgid "Module not selected"
msgstr "Module non selectionné"
msgstr "Module non sélectionné"
#: pcbnew/autorout.cpp:88
msgid "Pad not selected"
......@@ -1113,12 +1113,12 @@ msgid ""
"Use this attribute for smd components.\n"
"Only components with this option are put in the footprint position list file"
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"
#: 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)"
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
msgid "Enable hotkey move commands and Auto Placement"
......@@ -1342,7 +1342,7 @@ msgstr "N'est pas un fichier de Modules"
#: pcbnew/librairi.cpp:174
msgid "Create New Library"
msgstr "Créer un Nouvelle Librairie"
msgstr "Créer une Nouvelle Librairie"
#: pcbnew/librairi.cpp:174
msgid "Export Module"
......@@ -1706,7 +1706,7 @@ msgstr "Défait dernière édition"
#: pcbnew/tool_pcb.cpp:229
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
msgid "Print board"
......@@ -2147,7 +2147,7 @@ msgstr "Pad Dessus"
#: pcbnew/class_pcb_layer_widget.cpp:74
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
msgid "Pads Back"
......@@ -2155,7 +2155,7 @@ msgstr "Pads Dessous"
#: pcbnew/class_pcb_layer_widget.cpp:75
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
msgid "Text Front"
......@@ -2164,7 +2164,7 @@ msgstr "Texte Dessus"
#: pcbnew/class_pcb_layer_widget.cpp:77
#: pcbnew/class_pcb_layer_widget.cpp:78
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
msgid "Text Back"
......@@ -2204,7 +2204,7 @@ msgstr "Modules Dessus"
#: pcbnew/class_pcb_layer_widget.cpp:84
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
msgid "Modules Back"
......@@ -2212,7 +2212,7 @@ msgstr "Modules Dessous"
#: pcbnew/class_pcb_layer_widget.cpp:85
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
msgid "Values"
......@@ -2252,7 +2252,7 @@ msgstr "Couche cuivre dessous"
#: pcbnew/class_pcb_layer_widget.cpp:241
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
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
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
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
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
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
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
msgid "Explanatory drawings"
......@@ -2635,7 +2635,7 @@ msgstr "Style"
#: pcbnew/dialog_pcb_text_properties.cpp:242
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
msgid "Pad Num :"
......@@ -2793,7 +2793,7 @@ msgstr ""
#: pcbnew/dialog_pad_properties_base.cpp:272
msgid "Solder paste clearance:"
msgstr "Marge masque pate des pads"
msgstr "Marge masque pâte des pads"
#: pcbnew/dialog_pad_properties_base.cpp:274
msgid ""
......@@ -2802,7 +2802,7 @@ msgid ""
"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"
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"
#: 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"
"A negative value means a smaller mask size than pad size."
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"
"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"
......@@ -3075,7 +3075,7 @@ msgstr "Valeur minimum pour le diamètre de microvia: <b>%s</b><br>\n"
#: pcbnew/dialog_design_rules.cpp:630
msgid "Errors detected, Abort"
msgstr "Erreurs detectées, Abandon"
msgstr "Erreurs détectées, Abandon"
#: pcbnew/dialog_design_rules.cpp:656
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
#, c-format
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
#, 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
#, c-format
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
#, 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
#, c-format
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
#, c-format
......@@ -3708,7 +3708,7 @@ msgstr "Supp. Pistes Mauvaises:"
#: pcbnew/dialog_netlist_fbp.cpp:50
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
msgid "Extra Footprints"
......@@ -3977,7 +3977,7 @@ msgstr "Supprimer Tracé"
#: pcbnew/onrightclick.cpp:179
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
msgid "Delete Zone Filling"
......@@ -4479,7 +4479,7 @@ msgstr "Il y a un problème d'impression"
#: pcbnew/class_edge_mod.cpp:301
msgid "Graphic Item"
msgstr "Element Graphique"
msgstr "Elément Graphique"
#: pcbnew/class_edge_mod.cpp:308
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
msgid "<< Select All"
msgstr "<< Selectionner Tout"
msgstr "<< Sélectionner Tout"
#: pcbnew/dialog_design_rules_base.cpp:124
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
msgid "Select All >>"
msgstr "Selectionner Tout >>"
msgstr "Sélectionner Tout >>"
#: pcbnew/dialog_design_rules_base.cpp:129
msgid "Select all nets in the right list"
......@@ -4937,7 +4937,7 @@ msgstr "Dessous"
#: pcbnew/dialog_edit_module_for_BoardEditor_base.cpp:50
msgid "Side Select"
msgstr "Sélection Coté"
msgstr "Sélection Côté"
#: pcbnew/dialog_edit_module_for_BoardEditor_base.cpp:57
msgid "+ 90.0"
......@@ -5059,7 +5059,7 @@ msgid ""
"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"
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"
"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"
......@@ -5075,7 +5075,7 @@ msgid ""
"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."
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"
"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"
......@@ -5355,7 +5355,7 @@ msgid ""
"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"
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"
"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"
"The final clearance value is the sum of this value and the clearance value"
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"
"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"
......@@ -5466,7 +5466,7 @@ msgstr "SoldP_Dessus_réserve"
#: pcbnew/dialog_layers_setup_base.cpp:105
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
msgid "SilkS_Front_later"
......@@ -5497,7 +5497,7 @@ msgstr "Dessus_réserve"
#: pcbnew/dialog_layers_setup_base.cpp:170
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
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
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
msgid "If you want a back copper layer"
......@@ -5628,7 +5628,7 @@ msgstr "SoldP_Dessous_réserve"
#: pcbnew/dialog_layers_setup_base.cpp:670
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
msgid "Adhes_Back_later"
......@@ -5773,7 +5773,7 @@ msgid ""
"If Defined Holes is selected, only the non default size holes are shown"
msgstr ""
"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
msgid "Net Names:"
......@@ -5935,7 +5935,7 @@ msgstr "Quantité"
#: pcbnew/build_BOM_from_board.cpp:91
msgid "Designation"
msgstr "Designation"
msgstr "Désignation"
#: pcbnew/build_BOM_from_board.cpp:92
msgid "Supplier and ref"
......@@ -6570,7 +6570,7 @@ msgstr "Ajuster toutes Pistes (pas les Vias) à leurs Valeurs en NetClass"
#: pcbnew/layer_widget.cpp:358
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
msgid "Enable this for visibility"
......@@ -7072,7 +7072,7 @@ msgstr "Défaire dernière édition"
#: eeschema/tool_lib.cpp:139
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
msgid "Edit component properties"
......@@ -7239,23 +7239,23 @@ msgstr "Mots clé"
msgid "Schematic modified, Save before exit ?"
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"
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"
msgstr "Autoriser fils et bus verticaux et horizontaux seulement"
#: eeschema/schframe.cpp:504
#: eeschema/schframe.cpp:525
msgid "Do not show hidden pins"
msgstr "Ne pas affichager les pins invisibles"
#: eeschema/schframe.cpp:505
#: eeschema/schframe.cpp:526
msgid "Show hidden pins"
msgstr "Force affichage des pins invisibles"
#: eeschema/schframe.cpp:596
#: eeschema/schframe.cpp:617
msgid "Schematic"
msgstr "Schématique"
......@@ -7279,7 +7279,7 @@ msgid ""
"Please choose another name that does not conflict with any library entries."
msgstr ""
"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
msgid "No new text: no change"
......@@ -7500,7 +7500,7 @@ msgstr "Pas de librairies de composants chargées."
#: eeschema/selpart.cpp:32
#, c-format
msgid " Select 1 of %d libraries."
msgstr "Selection 1 parmi %d librairies."
msgstr "Sélection 1 parmi %d librairies."
#: eeschema/selpart.cpp:34
msgid "Select Library"
......@@ -7611,7 +7611,7 @@ msgid ""
"Select 1 of %d components to delete\n"
"from library <%s>."
msgstr ""
"Selection 1 de %d composants à supprimer\n"
"Sélection 1 de %d composants à supprimer\n"
"de la librairie <%s>."
#: eeschema/libedit.cpp:397
......@@ -7621,7 +7621,7 @@ msgstr "Suppression Composant"
#: eeschema/libedit.cpp:406
#, c-format
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
#, c-format
......@@ -8957,8 +8957,8 @@ msgid "Place a no connect flag"
msgstr "Placer un Symbole de Non Connexion"
#: eeschema/menubar.cpp:307
msgid "Net name"
msgstr "Net Name"
msgid "Label"
msgstr "Label"
#: eeschema/menubar.cpp:313
msgid "Global label"
......@@ -9365,7 +9365,7 @@ msgstr "Editer Options pour le Rectangle"
#: eeschema/libedit_onrightclick.cpp:154
msgid "Drag Rectangle Edge"
msgstr "Drag Coté Rectangle"
msgstr "Drag Côté Rectangle"
#: eeschema/libedit_onrightclick.cpp:162
msgid "Delete Rectangle "
......@@ -9473,11 +9473,11 @@ msgstr "Sélection des Eléments"
#: eeschema/schedit.cpp:173
msgid "Push/Pop Hierarchy"
msgstr "Naviger dans Hiérarchie"
msgstr "Naviguer dans Hiérarchie"
#: eeschema/schedit.cpp:177
msgid "Add NoConnect Flag"
msgstr "Ajoutde symboles de non connexion"
msgstr "Ajout de symboles de non connexion"
#: eeschema/schedit.cpp:185
msgid "Add Bus"
......@@ -9821,7 +9821,7 @@ msgstr "Alignement au sommet"
#: eeschema/dialog_bodygraphictext_properties_base.cpp:90
#: eeschema/dialog_edit_libentry_fields_in_lib_base.cpp:71
msgid "Vert. Justify"
msgstr "Vert. Justifié"
msgstr "Justification Vert."
#: eeschema/class_library.cpp:25
#, 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:2066
msgid "Bounding box"
msgstr "Rectange dencadrement"
msgstr "Rectange d'encadrement"
#: eeschema/classes_body_items.cpp:586
#, c-format
......@@ -10407,7 +10407,7 @@ msgstr "Nombre d'erreurs:"
#: eeschema/dialog_erc_base.cpp:88
msgid "&Test Erc"
msgstr "&Test Erc"
msgstr "&Test ERC"
#: eeschema/dialog_erc_base.cpp:91
msgid "&Del Markers"
......@@ -10797,7 +10797,7 @@ msgstr "Active le \"&panning\" automatique"
#: eeschema/dialog_eeschema_options_base.cpp:130
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
msgid "Show p&age limits"
......@@ -11051,11 +11051,11 @@ msgstr "Lib: "
#: cvpcb/genorcad.cpp:127
#, c-format
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
msgid "Component Library Error"
msgstr "Erreur en Librairie de Composanr"
msgstr "Erreur en Librairie de Composant"
#: cvpcb/savecmp.cpp:86
#, c-format
......@@ -11186,7 +11186,7 @@ msgstr "Erreur Netliste: %s"
#: cvpcb/writenetlistpcbnew.cpp:52
#, c-format
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
msgid "Display Options"
......@@ -11587,105 +11587,105 @@ msgstr "Fichier exécutable ("
msgid "Select Prefered Editor"
msgstr "Sélection Editeur Préféré"
#: kicad/treeprj_frame.cpp:126
#: kicad/treeprj_frame.cpp:136
msgid "&Run"
msgstr "Exécute&r"
#: kicad/treeprj_frame.cpp:127
#: kicad/treeprj_frame.cpp:137
msgid "Run the Python Script"
msgstr "Exécuter le Script Python"
#: kicad/treeprj_frame.cpp:136
#: kicad/treeprj_frame.cpp:211
#: kicad/treeprj_frame.cpp:146
#: kicad/treeprj_frame.cpp:221
msgid "&Edit in a text editor"
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"
msgstr "&Ouvrir le fichier avec un Editeur de texte"
#: kicad/treeprj_frame.cpp:154
#: kicad/treeprj_frame.cpp:164
msgid "New D&irectory"
msgstr "&Nouveau Répertoire"
#: kicad/treeprj_frame.cpp:155
#: kicad/treeprj_frame.cpp:165
msgid "Create a New Directory"
msgstr "Créer un nouveau Répertoire"
#: kicad/treeprj_frame.cpp:164
#: kicad/treeprj_frame.cpp:174
msgid "New P&ython Script"
msgstr "Nouveau Script P&ython"
#: kicad/treeprj_frame.cpp:165
#: kicad/treeprj_frame.cpp:175
msgid "Create a New Python Script"
msgstr "Créer un nouveau script Python"
#: kicad/treeprj_frame.cpp:174
#: kicad/treeprj_frame.cpp:184
msgid "New &Text File"
msgstr "Nouveau Fichier &Texte"
#: kicad/treeprj_frame.cpp:175
#: kicad/treeprj_frame.cpp:185
msgid "Create a New Txt File"
msgstr "Créer un nouveau Fichier texte"
#: kicad/treeprj_frame.cpp:183
#: kicad/treeprj_frame.cpp:193
msgid "New &File"
msgstr "Nouveau &Fichier"
#: kicad/treeprj_frame.cpp:184
#: kicad/treeprj_frame.cpp:194
msgid "Create a New File"
msgstr "Créer un nouveau Fichier"
#: kicad/treeprj_frame.cpp:198
#: kicad/treeprj_frame.cpp:208
msgid "&Rename file"
msgstr "&Renommer fichier"
#: kicad/treeprj_frame.cpp:199
#: kicad/treeprj_frame.cpp:201
#: kicad/treeprj_frame.cpp:209
#: kicad/treeprj_frame.cpp:211
msgid "&Rename directory"
msgstr "&Renommer répertoire"
#: kicad/treeprj_frame.cpp:200
#: kicad/treeprj_frame.cpp:210
msgid "Rename file"
msgstr "Renommer fichier"
#: kicad/treeprj_frame.cpp:212
#: kicad/treeprj_frame.cpp:222
msgid "Open the file in a Text Editor"
msgstr "Ouvrir le fichier avec un Editeur de texte"
#: kicad/treeprj_frame.cpp:220
#: kicad/treeprj_frame.cpp:230
msgid "&Delete File"
msgstr "&Supprimer Fichier"
#: kicad/treeprj_frame.cpp:221
#: kicad/treeprj_frame.cpp:231
msgid "&Delete Directory"
msgstr "&Supprimer le Répertoire"
#: kicad/treeprj_frame.cpp:222
#: kicad/treeprj_frame.cpp:232
msgid "Delete the File"
msgstr "Supprimer le fichier"
#: kicad/treeprj_frame.cpp:223
#: kicad/treeprj_frame.cpp:233
msgid "&Delete the Directory and its content"
msgstr "Effacer le Répertoire et son contenu"
#: kicad/treeprj_frame.cpp:549
#: kicad/treeprj_frame.cpp:559
msgid "Create New File"
msgstr "Créer un Nouveau Fichier"
#: kicad/treeprj_frame.cpp:550
#: kicad/treeprj_frame.cpp:560
msgid "Create New Directory"
msgstr "Créer un nouveau Répertoire"
#: kicad/treeprj_frame.cpp:559
#: kicad/treeprj_frame.cpp:569
msgid "noname."
msgstr "noname."
#: kicad/treeprj_frame.cpp:1088
#: kicad/treeprj_frame.cpp:1109
msgid "Change filename: "
msgstr "Changer Nom Fichier: "
#: kicad/treeprj_frame.cpp:1090
#: kicad/treeprj_frame.cpp:1111
msgid "Change filename"
msgstr "Changer Nom Fichier"
......@@ -11776,11 +11776,11 @@ msgstr "Top overlay (*.GTO)|*.GTO;*.gto|"
#: gerbview/files.cpp:132
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
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
msgid "Keep-out layer (*.GKO)|*.GKO;*.gko|"
......@@ -12631,7 +12631,7 @@ msgstr "Vertex "
#: 3d-viewer/3d_toolbar.cpp:27
msgid "Reload board"
msgstr "Reharger Circuit Imprimé"
msgstr "Recharger Circuit Imprimé"
#: 3d-viewer/3d_toolbar.cpp:35
msgid "Copy 3D Image to Clipboard"
......@@ -12894,10 +12894,6 @@ msgstr "Fil"
msgid "Bus"
msgstr "Bus"
#: eeschema/eelayer.h:87
msgid "Label"
msgstr "Label"
#: eeschema/eelayer.h:93
msgid "GlobLabel"
msgstr "Lab Global"
......@@ -13000,7 +12996,7 @@ msgstr "Propriétés de l'Elément Graphique"
#: eeschema/dialog_erc_base.h:94
msgid "EESchema Erc"
msgstr "EESchema Erc"
msgstr "EESchema ERC"
#: eeschema/dialog_sch_sheet_props_base.h:52
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
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
msgid "List of Material"
......@@ -13026,6 +13022,8 @@ msgstr "Options d'Affichage"
msgid "Page Settings"
msgstr "Ajustage opt Page"
#~ msgid "Net name"
#~ msgstr "Net Name"
#~ msgid "Alias <%s> not found for component <%s> in library <%s>."
#~ msgstr "Alias <%s> non trouvé pour le component <%s> en librairie <%s>."
#~ msgid "Save as...\tShift+Ctrl+S"
......
......@@ -22,7 +22,7 @@ void WinEDA_PcbFrame::Attribut_Segment( TRACK* track, wxDC* DC, bool Flag_On )
if( track == NULL )
return;
GetScreen()->SetModify();
OnModify();
DrawPanel->CursorOff( DC ); // Erase cursor shape
track->SetState( SEGM_FIXE, Flag_On );
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
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()) )
break;
GetScreen()->SetModify();
OnModify();
Track->SetState( SEGM_FIXE, Flag_On );
Track->Draw( DrawPanel, DC, GR_OR | GR_SURBRILL );
Track = Track->Next();
}
DrawPanel->CursorOn( DC ); // Display cursor shape
GetScreen()->SetModify();
OnModify();
}
......@@ -294,7 +294,7 @@ void WinEDA_PcbFrame::FixeModule( MODULE* Module, bool Fixe )
Module->SetLocked( Fixe );
Module->DisplayInfo( this );
GetScreen()->SetModify();
OnModify();
}
else
{
......@@ -305,7 +305,7 @@ void WinEDA_PcbFrame::FixeModule( MODULE* Module, bool Fixe )
Module->m_Reference->m_Text ) )
{
Module->SetLocked( Fixe );
GetScreen()->SetModify();
OnModify();
}
}
}
......
......@@ -416,3 +416,18 @@ void WinEDA_BasePcbFrame::SaveSettings()
cfg->Write( m_FrameName + DisplayModuleEdgeEntry, ( long )m_DisplayModEdge );
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;
}
......@@ -279,7 +279,7 @@ void WinEDA_PcbFrame::HandleBlockPlace( wxDC* DC )
break;
}
GetScreen()->SetModify();
OnModify();
DrawPanel->ManageCurseur = NULL;
DrawPanel->ForceCloseManageCurseur = NULL;
......@@ -589,7 +589,7 @@ void WinEDA_PcbFrame::Block_Delete()
if( GetScreen()->m_BlockLocate.GetCount() == 0 )
return;
GetScreen()->SetModify();
OnModify();
SetCurItem( NULL );
PICKED_ITEMS_LIST* itemsList = &GetScreen()->m_BlockLocate.m_ItemsSelection;
......@@ -668,7 +668,7 @@ void WinEDA_PcbFrame::Block_Rotate()
oldpos = GetScreen()->m_Curseur;
centre = GetScreen()->m_BlockLocate.Centre();
GetScreen()->SetModify();
OnModify();
PICKED_ITEMS_LIST* itemsList = &GetScreen()->m_BlockLocate.m_ItemsSelection;
itemsList->m_Status = UR_ROTATED;
......@@ -734,7 +734,7 @@ void WinEDA_PcbFrame::Block_Flip()
if( GetScreen()->m_BlockLocate.GetCount() == 0 )
return;
GetScreen()->SetModify();
OnModify();
PICKED_ITEMS_LIST* itemsList = &GetScreen()->m_BlockLocate.m_ItemsSelection;
itemsList->m_Status = UR_FLIPPED;
......@@ -804,7 +804,7 @@ void WinEDA_PcbFrame::Block_Move()
if( GetScreen()->m_BlockLocate.GetCount() == 0 )
return;
GetScreen()->SetModify();
OnModify();
wxPoint MoveVector = GetScreen()->m_BlockLocate.m_MoveVector;
......@@ -874,7 +874,7 @@ void WinEDA_PcbFrame::Block_Duplicate()
if( GetScreen()->m_BlockLocate.GetCount() == 0 )
return;
GetScreen()->SetModify();
OnModify();
PICKED_ITEMS_LIST* itemsList = &GetScreen()->m_BlockLocate.m_ItemsSelection;
......
......@@ -268,7 +268,7 @@ void WinEDA_ModuleEditFrame::HandleBlockPlace( wxDC* DC )
break;
}
GetScreen()->SetModify();
OnModify();
DrawPanel->ManageCurseur = NULL;
DrawPanel->ForceCloseManageCurseur = NULL;
......
......@@ -597,7 +597,7 @@ void WinEDA_PcbFrame::GetBoardFromUndoList( wxCommandEvent& event )
List->ReversePickersListOrder();
GetScreen()->PushCommandToRedoList( List );
GetScreen()->SetModify();
OnModify();
ReCreateHToolbar();
SetToolbars();
......@@ -627,7 +627,7 @@ void WinEDA_PcbFrame::GetBoardFromRedoList( wxCommandEvent& event )
List->ReversePickersListOrder();
GetScreen()->PushCommandToUndoList( List );
GetScreen()->SetModify();
OnModify();
ReCreateHToolbar();
SetToolbars();
......
......@@ -154,7 +154,7 @@ void Clean_Pcb_Items( WinEDA_PcbFrame* frame, wxDC* DC )
frame->Compile_Ratsnest( DC, AFFICHE );
frame->GetScreen()->SetModify();
frame->OnModify();
}
......
......@@ -251,7 +251,7 @@ void WinEDA_PcbFrame::GeneralControle( wxDC* DC, wxPoint Mouse )
if( flgmodify ) // Set the flags m_Modify cleared by SavePcbFile()
{
GetScreen()->SetModify();
OnModify();
GetScreen()->SetSave(); // Set the flags m_FlagSave cleared by SetModify()
}
GetScreen()->m_FileName = tmpFileName;
......
......@@ -116,7 +116,7 @@ TRACK* WinEDA_PcbFrame::Delete_Segment( wxDC* DC, TRACK* aTrack )
DrawPanel->PostDirtyRect( aTrack->GetBoundingBox() );
SaveCopyInUndoList( aTrack, UR_DELETED );
GetScreen()->SetModify();
OnModify();
test_1_net_connexion( DC, current_net_code );
GetBoard()->DisplayInfo( this );
......@@ -130,7 +130,7 @@ void WinEDA_PcbFrame::Delete_Track( wxDC* DC, TRACK* aTrack )
{
int current_net_code = aTrack->GetNet();
Remove_One_Track( DC, aTrack );
GetScreen()->SetModify();
OnModify();
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 );
GetScreen()->SetModify();
OnModify();
test_1_net_connexion( DC, net_code_delete );
GetBoard()->DisplayInfo( this );
}
......
......@@ -37,7 +37,7 @@ dialog_copper_zone::dialog_copper_zone( WinEDA_PcbFrame* parent, ZONE_SETTING* z
}
SetReturnCode( ZONE_ABORT ); // Will be changed on buttons click
initDialog();
GetSizer()->SetSizeHints( this );
......@@ -434,7 +434,7 @@ void dialog_copper_zone::ExportSetupToOtherCopperZones( wxCommandEvent& event )
{
ZONE_CONTAINER* zone = pcb->GetArea( ii );
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
......
......@@ -141,7 +141,7 @@ void DIALOG_MODULE_BOARD_EDITOR::GotoModuleEditor( wxCommandEvent& event )
// null timestamp
{
m_CurrentModule->m_TimeStamp = GetTimeStamp();
m_Parent->GetScreen()->SetModify();
m_Parent->OnModify();
}
EndModal( 2 );
......@@ -561,7 +561,7 @@ void DIALOG_MODULE_BOARD_EDITOR::OnOkClick( wxCommandEvent& event )
m_CurrentModule->Set_Rectangle_Encadrement();
m_Parent->GetScreen()->SetModify();
m_Parent->OnModify();
EndModal( 1 );
......
......@@ -408,7 +408,7 @@ void DIALOG_MODULE_MODULE_EDITOR::OnOkClick( wxCommandEvent& event )
m_CurrentModule->Set_Rectangle_Encadrement();
m_Parent->GetScreen()->SetModify();
m_Parent->OnModify();
EndModal( 1 );
}
......
......@@ -199,7 +199,7 @@ void DialogEditModuleText::OnOkClick( wxCommandEvent& event )
m_CurrentTextMod->Draw( m_Parent->DrawPanel, m_DC, GR_XOR,
(m_CurrentTextMod->m_Flags & IS_MOVED) ? MoveVector : wxPoint( 0, 0 ) );
}
m_Parent->GetScreen()->SetModify();
m_Parent->OnModify();
if( m_Module )
m_Module->m_LastEdit_Time = time( NULL );
......
......@@ -219,7 +219,7 @@ void DialogGraphicItemProperties::OnOkClick( wxCommandEvent& event )
m_Item->m_Angle = angle;
}
m_Parent->GetScreen()->SetModify();
m_Parent->OnModify();
if ( m_DC )
m_Item->Draw( m_Parent->DrawPanel, m_DC, GR_OR );
m_Item->DisplayInfo( m_Parent );
......
......@@ -545,7 +545,7 @@ void DIALOG_LAYERS_SETUP::OnOkButtonClick( wxCommandEvent& event )
}
}
m_Parent->GetScreen()->SetModify();
m_Parent->OnModify();
m_Parent->ReCreateLayerBox( NULL );
m_Parent->ReFillLayerWidget();
......
......@@ -253,7 +253,7 @@ void WinEDA_PcbFrame::ReOrientModules( const wxString& ModuleMask,
if( WildCompareString( ModuleMask, module->m_Reference->m_Text, FALSE ) )
{
GetScreen()->SetModify();
OnModify();
redraw = true;
Rotate_Module( NULL, module, Orient, FALSE );
}
......
......@@ -634,7 +634,7 @@ void DIALOG_PAD_PROPERTIES::PadPropertiesAccept( wxCommandEvent& event )
m_CurrentPad->DisplayInfo( m_Parent );
// redraw the area where the pad was
m_Parent->DrawPanel->PostDirtyRect( m_CurrentPad->GetBoundingBox() );
m_Parent->GetScreen()->SetModify();
m_Parent->OnModify();
}
EndModal(1);
......
......@@ -252,6 +252,6 @@ void WinEDA_TextPCBPropertiesFrame::OnOkClick( wxCommandEvent& event )
{
CurrentTextPCB->Draw( m_Parent->DrawPanel, m_DC, GR_OR );
}
m_Parent->GetScreen()->SetModify();
m_Parent->OnModify();
EndModal( 1 );
}
......@@ -181,7 +181,7 @@ void WinEDA_CotationPropertiesFrame::OnOkClick( wxCommandEvent& event )
CurrentCotation->Draw( m_Parent->DrawPanel, m_DC, GR_OR );
}
m_Parent->GetScreen()->SetModify();
m_Parent->OnModify();
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 */
GetBoard()->Add( Cotation );
GetScreen()->SetModify();
OnModify();
DrawPanel->ManageCurseur = NULL;
DrawPanel->ForceCloseManageCurseur = NULL;
......@@ -368,7 +368,7 @@ void WinEDA_PcbFrame::Delete_Cotation( COTATION* Cotation, wxDC* DC )
SaveCopyInUndoList(Cotation, UR_DELETED);
Cotation->UnLink();
GetScreen()->SetModify();
OnModify();
}
......
......@@ -64,7 +64,7 @@ void WinEDA_ModuleEditFrame::Place_EdgeMod( EDGE_MODULE* Edge, wxDC* DC )
DrawPanel->ManageCurseur = NULL;
DrawPanel->ForceCloseManageCurseur = NULL;
SetCurItem( NULL );
GetScreen()->SetModify();
OnModify();
MODULE* Module = (MODULE*) Edge->GetParent();
Module->Set_Rectangle_Encadrement();
}
......@@ -143,7 +143,7 @@ void WinEDA_ModuleEditFrame::Edit_Edge_Width( EDGE_MODULE* Edge )
else
Edge->m_Width = ModuleSegmentWidth;
GetScreen()->SetModify();
OnModify();
DrawPanel->Refresh( TRUE );
Module->Set_Rectangle_Encadrement();
Module->m_LastEdit_Time = time( NULL );
......@@ -196,7 +196,7 @@ void WinEDA_ModuleEditFrame::Edit_Edge_Layer( EDGE_MODULE* Edge )
else
Edge->SetLayer( new_layer );
GetScreen()->SetModify();
OnModify();
Module->Set_Rectangle_Encadrement();
Module->m_LastEdit_Time = time( NULL );
DrawPanel->Refresh( TRUE );
......@@ -234,7 +234,7 @@ void WinEDA_ModuleEditFrame::Enter_Edge_Width( EDGE_MODULE* Edge, wxDC* DC )
Edge->m_Width = ModuleSegmentWidth;
Module->DrawEdgesOnly( DrawPanel, DC, wxPoint( 0, 0 ), GR_XOR );
Module->Set_Rectangle_Encadrement();
GetScreen()->SetModify();
OnModify();
}
}
......@@ -260,7 +260,7 @@ void WinEDA_ModuleEditFrame::Delete_Edge_Module( EDGE_MODULE* Edge )
Edge->DeleteStructure();
Module->m_LastEdit_Time = time( NULL );
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->m_LastEdit_Time = time( NULL );
GetScreen()->SetModify();
OnModify();
}
}
else
......@@ -414,7 +414,7 @@ void WinEDA_ModuleEditFrame::End_Edge_Module( EDGE_MODULE* Edge, wxDC* DC )
}
Module->Set_Rectangle_Encadrement();
Module->m_LastEdit_Time = time( NULL );
GetScreen()->SetModify();
OnModify();
DrawPanel->ManageCurseur = NULL;
DrawPanel->ForceCloseManageCurseur = NULL;
}
......@@ -300,7 +300,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
break;
Edit_Track_Width( &dc, (TRACK*) GetCurItem() );
DrawPanel->MouseToCursorSchema();
GetScreen()->SetModify();
OnModify();
break;
case ID_POPUP_PCB_EDIT_TRACKSEG:
......@@ -308,7 +308,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
break;
Edit_TrackSegm_Width( &dc, (TRACK*) GetCurItem() );
DrawPanel->MouseToCursorSchema();
GetScreen()->SetModify();
OnModify();
break;
case ID_POPUP_PCB_EDIT_ALL_VIAS_AND_TRACK_SIZE:
......@@ -365,7 +365,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
break;
DrawPanel->MouseToCursorSchema();
SetCurItem( Delete_Segment( &dc, (TRACK*) GetCurItem() ) );
GetScreen()->SetModify();
OnModify();
break;
case ID_POPUP_PCB_DELETE_TRACK:
......@@ -374,14 +374,14 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
DrawPanel->MouseToCursorSchema();
Delete_Track( &dc, (TRACK*) GetCurItem() );
SetCurItem( NULL );
GetScreen()->SetModify();
OnModify();
break;
case ID_POPUP_PCB_DELETE_TRACKNET:
DrawPanel->MouseToCursorSchema();
Delete_net( &dc, (TRACK*) GetCurItem() );
SetCurItem( NULL );
GetScreen()->SetModify();
OnModify();
break;
case ID_POPUP_PCB_LOCK_ON_TRACKSEG:
......@@ -421,7 +421,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
Delete_Zone_Fill( zsegm );
SetCurItem( NULL );
test_1_net_connexion( NULL, netcode );
GetScreen()->SetModify();
OnModify();
GetBoard()->DisplayInfo( this );
}
break;
......@@ -537,7 +537,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
ZONE_CONTAINER* zone_container = (ZONE_CONTAINER*) GetCurItem();
Delete_Zone_Fill( NULL, zone_container->m_TimeStamp );
test_1_net_connexion( NULL, zone_container->GetNet() );
GetScreen()->SetModify();
OnModify();
GetBoard()->DisplayInfo( this );
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
test_connexions( NULL );
Tst_Ratsnest( NULL, 0 ); // Recalculate the active ratsnest, i.e. the unconnected links */
GetScreen()->SetModify();
OnModify();
GetBoard()->DisplayInfo( this );
DrawPanel->Refresh();
break;
......
......@@ -68,7 +68,7 @@ void WinEDA_PcbFrame::Place_Texte_Pcb( TEXTE_PCB* TextePcb, wxDC* DC )
return;
TextePcb->Draw( DrawPanel, DC, GR_OR );
GetScreen()->SetModify();
OnModify();
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
TextePcb->m_Flags |= IN_EDIT;
GetScreen()->SetModify();
OnModify();
}
......@@ -78,7 +78,7 @@ bool WinEDA_PcbFrame::SetTrackSegmentWidth( TRACK* aTrackItem,
if( change_ok )
{
GetScreen()->SetModify();
OnModify();
if( aItemsListPicker )
{
aTrackItem->m_Width = initial_width;
......
......@@ -52,7 +52,7 @@ void WinEDA_PcbFrame::Place_DrawItem( DRAWSEGMENT* drawitem, wxDC* DC )
DrawPanel->ManageCurseur = NULL;
DrawPanel->ForceCloseManageCurseur = NULL;
SetCurItem( NULL );
GetScreen()->SetModify();
OnModify();
drawitem->m_Flags = 0;
}
......@@ -110,7 +110,7 @@ void WinEDA_PcbFrame::Delete_Segment_Edge( DRAWSEGMENT* Segment, wxDC* DC )
SaveCopyInUndoList(Segment, UR_DELETED);
Segment->UnLink();
SetCurItem( NULL );
GetScreen()->SetModify();
OnModify();
}
}
......@@ -162,7 +162,7 @@ void WinEDA_PcbFrame::Delete_Drawings_All_Layer( int aLayer )
if( pickList.GetCount() )
{
GetScreen()->SetModify();
OnModify();
SaveCopyInUndoList(pickList, UR_DELETED);
}
}
......@@ -238,7 +238,7 @@ DRAWSEGMENT* WinEDA_PcbFrame::Begin_DrawSegment( DRAWSEGMENT* Segment,
SaveCopyInUndoList(Segment, UR_NEW );
GetBoard()->Add( Segment );
GetScreen()->SetModify();
OnModify();
Segment->m_Flags = 0;
Segment->Draw( DrawPanel, DC, GR_OR );
......@@ -281,7 +281,7 @@ void WinEDA_PcbFrame::End_Edge( DRAWSEGMENT* Segment, wxDC* DC )
{
Segment->m_Flags = 0;
GetBoard()->Add( Segment );
GetScreen()->SetModify();
OnModify();
SaveCopyInUndoList( Segment, UR_NEW );
}
......
......@@ -86,7 +86,7 @@ void WinEDA_PcbFrame::ExChange_Track_Layer( TRACK* pt_segm, wxDC* DC )
test_1_net_connexion( DC, pt_track->GetNet() );
pt_track->DisplayInfo( this );
GetScreen()->SetModify();
OnModify();
}
......
......@@ -529,7 +529,7 @@ void WinEDA_PcbFrame::End_Route( TRACK* aTrack, wxDC* DC )
// owner of picked items
/* compute the new rastnest */
test_1_net_connexion( DC, netcode );
GetScreen()->SetModify();
OnModify();
GetBoard()->DisplayInfo( this );
}
......
......@@ -94,7 +94,7 @@ void WinEDA_BasePcbFrame::RotateTextModule( TEXTE_MODULE* Text, wxDC* DC )
if( module )
module->m_LastEdit_Time = time( NULL );
GetScreen()->SetModify();
OnModify();
}
......@@ -114,7 +114,7 @@ void WinEDA_BasePcbFrame::DeleteTextModule( TEXTE_MODULE* Text )
{
DrawPanel->PostDirtyRect( Text->GetBoundingBox() );
Text->DeleteStructure();
GetScreen()->SetModify();
OnModify();
Module->m_LastEdit_Time = time( NULL );
}
}
......@@ -216,7 +216,7 @@ void WinEDA_BasePcbFrame::PlaceTexteModule( TEXTE_MODULE* Text, wxDC* DC )
Text->m_Flags = 0;
Module->m_Flags = 0;
Module->m_LastEdit_Time = time( NULL );
GetScreen()->SetModify();
OnModify();
/* Redraw text. */
DrawPanel->PostDirtyRect( Text->GetBoundingBox() );
......
......@@ -139,7 +139,7 @@ bool WinEDA_PcbFrame::LoadOnePcbFile( const wxString& FullFileName, bool Append
if( Append )
{
GetScreen()->m_FileName = wxEmptyString;
GetScreen()->SetModify();
OnModify();
GetBoard()->m_Status_Pcb = 0;
}
......@@ -233,7 +233,7 @@ this file again."));
new_filename += PcbExtBuffer;
GetScreen()->SetModify();
OnModify();
GetScreen()->m_FileName = new_filename;
}
......
......@@ -280,5 +280,5 @@ void WinEDA_BasePcbFrame::Global_Import_Pad_Settings( D_PAD* aPad, bool aDraw )
DrawPanel->PostDirtyRect( Module->GetBoundingBox() );
}
GetScreen()->SetModify();
OnModify();
}
......@@ -254,7 +254,7 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey, EDA_BaseStruct* DrawStruct
break;
case HK_SWITCH_LAYER_TO_PREVIOUS:
ll = GetScreen()->m_Active_Layer;
ll = getActiveLayer();
if( (ll <= LAYER_N_BACK) || (ll > LAYER_N_FRONT) )
break;
......@@ -269,7 +269,7 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey, EDA_BaseStruct* DrawStruct
break;
case HK_SWITCH_LAYER_TO_NEXT:
ll = GetScreen()->m_Active_Layer;
ll = getActiveLayer();
if( (ll < LAYER_N_BACK) || (ll >= LAYER_N_FRONT) )
break;
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;
m_DisplayPcbTrackFill = DisplayOpt.DisplayPcbTrackFill;
GetScreen()->SetRefreshReq();
DrawPanel->Refresh();
break;
case HK_DELETE:
......@@ -377,7 +377,7 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey, EDA_BaseStruct* DrawStruct
break;
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 )
{
if( ItemFree )
......@@ -395,7 +395,7 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey, EDA_BaseStruct* DrawStruct
Delete_Segment( DC, (TRACK*) DrawStruct );
SetCurItem( NULL );
}
GetScreen()->SetModify();
OnModify();
}
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 = Delete_Segment( DC, track );
SetCurItem( track );
GetScreen()->SetModify();
OnModify();
}
}
break;
......@@ -475,7 +475,7 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey, EDA_BaseStruct* DrawStruct
Other_Layer_Route( (TRACK*) GetCurItem(), DC );
GetBoard()->GetBoardDesignSettings()->m_CurrentViaType = v_type;
if( DisplayOpt.ContrastModeDisplay )
GetScreen()->SetRefreshReq();
DrawPanel->Refresh();
}
break;
......@@ -493,11 +493,11 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* DC, int hotkey, EDA_BaseStruct* DrawStruct
return;
Other_Layer_Route( (TRACK*) GetCurItem(), DC ); // place via and switch layer
if( DisplayOpt.ContrastModeDisplay )
GetScreen()->SetRefreshReq();
DrawPanel->Refresh();
break;
case HK_ADD_NEW_TRACK: // Start new track
if( GetScreen()->m_Active_Layer > LAYER_N_FRONT )
if( getActiveLayer() > LAYER_N_FRONT )
break;
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 )
{
case ID_TRACK_BUTT:
if( GetScreen()->m_Active_Layer > LAYER_N_FRONT )
if( getActiveLayer() > LAYER_N_FRONT )
return FALSE;
if( ItemFree )
{
......@@ -786,7 +786,7 @@ bool WinEDA_PcbFrame::OnHotkeyDeleteItem( wxDC* DC, EDA_BaseStruct* DrawStruct )
TRACK* track = (TRACK*) GetCurItem();
track = Delete_Segment( DC, track );
SetCurItem( track );
GetScreen()->SetModify();
OnModify();
return TRUE;
}
break;
......@@ -810,7 +810,7 @@ bool WinEDA_PcbFrame::OnHotkeyDeleteItem( wxDC* DC, EDA_BaseStruct* DrawStruct )
return FALSE;
}
GetScreen()->SetModify();
OnModify();
SetCurItem( NULL );
return TRUE;
}
......@@ -133,7 +133,7 @@ void WinEDA_PcbGlobalDeleteFrame::AcceptPcbDelete( wxCommandEvent& event )
}
m_Parent->DrawPanel->Refresh();
m_Parent->DrawPanel->GetScreen()->SetModify();
m_Parent->OnModify();
EndModal( 1 );
}
......
......@@ -158,7 +158,7 @@ void WinEDA_MirePropertiesFrame::OnOkClick( wxCommandEvent& event )
m_MirePcb->Draw( m_Parent->DrawPanel, m_DC,
( m_MirePcb->m_Flags & IS_MOVED ) ? GR_XOR : GR_OR );
m_Parent->GetScreen()->SetModify();
m_Parent->OnModify();
EndModal( 1 );
}
......@@ -254,7 +254,7 @@ void WinEDA_PcbFrame::Place_Mire( MIREPCB* MirePcb, wxDC* DC )
DrawPanel->ManageCurseur = NULL;
DrawPanel->ForceCloseManageCurseur = NULL;
SetCurItem( NULL );
GetScreen()->SetModify();
OnModify();
if( (MirePcb->m_Flags & IS_NEW) )
{
......
......@@ -91,7 +91,7 @@ void WinEDA_ModuleEditFrame::GetComponentFromRedoList( wxCommandEvent& event )
SetCurItem( NULL );
GetScreen()->SetModify();
OnModify();
ReCreateHToolbar();
SetToolbars();
DrawPanel->Refresh();
......@@ -129,7 +129,7 @@ void WinEDA_ModuleEditFrame::GetComponentFromUndoList( wxCommandEvent& event )
SetCurItem( NULL );;
GetScreen()->SetModify();
OnModify();
ReCreateHToolbar();
SetToolbars();
DrawPanel->Refresh();
......
......@@ -242,7 +242,7 @@ MODULE* WinEDA_BasePcbFrame::Copie_Module( MODULE* module )
if( module == NULL )
return NULL;
GetScreen()->SetModify();
OnModify();
/* Duplicate module */
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 */
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 ) )
return;
GetScreen()->SetModify();
OnModify();
if( !( Module->m_Flags & IS_MOVED ) ) /* This is a simple flip, no other
*edition in progress */
......@@ -421,7 +421,7 @@ void WinEDA_BasePcbFrame::Place_Module( MODULE* module,
if( module == 0 )
return;
GetScreen()->SetModify();
OnModify();
GetBoard()->m_Status_Pcb &= ~( LISTE_RATSNEST_ITEM_OK | CONNEXION_OK);
if( module->m_Flags & IS_NEW )
......@@ -506,7 +506,7 @@ void WinEDA_BasePcbFrame::Rotate_Module( wxDC* DC, MODULE* module,
if( module == NULL )
return;
GetScreen()->SetModify();
OnModify();
if( !( module->m_Flags & IS_MOVED ) ) /* This is a simple rotation, no other
* edition in progress */
......
......@@ -253,7 +253,7 @@ void WinEDA_BasePcbFrame::DeletePad( D_PAD* Pad )
Module->Set_Rectangle_Encadrement();
GetScreen()->SetModify();
OnModify();
}
......@@ -376,7 +376,7 @@ void WinEDA_BasePcbFrame::PlacePad( D_PAD* Pad, wxDC* DC )
EraseDragListe();
GetScreen()->SetModify();
OnModify();
DrawPanel->ManageCurseur = NULL;
DrawPanel->ForceCloseManageCurseur = NULL;
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->m_LastEdit_Time = time( NULL );
GetScreen()->SetModify();
OnModify();
if( DC )
Module->Draw( DrawPanel, DC, GR_XOR );
......
......@@ -1016,7 +1016,7 @@ bool WinEDA_PcbFrame::PlaceDraggedOrMovedTrackSegment( TRACK* Track, wxDC* DC )
s_ItemsListPicker.ClearItemsList(); // s_ItemsListPicker is no more owner
// of picked items
GetScreen()->SetModify();
OnModify();
DrawPanel->ManageCurseur = NULL;
DrawPanel->ForceCloseManageCurseur = NULL;
......
......@@ -782,7 +782,7 @@ MODULE* WinEDA_PcbFrame::Create_MuWaveComponent( int shape_type )
Module->Set_Rectangle_Encadrement();
GetBoard()->m_Status_Pcb = 0;
GetScreen()->SetModify();
OnModify();
return Module;
}
......@@ -1120,7 +1120,7 @@ MODULE* WinEDA_PcbFrame::Create_MuWavePolygonShape()
Module->Set_Rectangle_Encadrement();
GetBoard()->m_Status_Pcb = 0;
GetScreen()->SetModify();
OnModify();
return Module;
}
......
......@@ -178,7 +178,7 @@ void ReadPcbNetlist( WinEDA_PcbFrame* aFrame,
// Clear undo and redo lists to avoid inconsistencies between lists
aFrame->GetScreen()->ClearUndoRedoList();
aFrame->GetScreen()->SetModify();
aFrame->OnModify();
aFrame->GetBoard()->m_Status_Pcb = 0;
State = 0; LineNum = 0; Comment = 0;
s_NbNewModules = 0;
......
......@@ -367,7 +367,7 @@ void WinEDA_PcbFrame::OnLeftClick( wxDC* DC, const wxPoint& MousePos )
DrawPanel->DrawAuxiliaryAxis( DC, GR_XOR );
m_Auxiliary_Axis_Position = GetScreen()->m_Curseur;
DrawPanel->DrawAuxiliaryAxis( DC, GR_COPY );
GetScreen()->SetModify();
OnModify();
break;
default:
......
......@@ -479,7 +479,7 @@ void WinEDA_PcbFrame::ShowDesignRulesEditor( wxCommandEvent& event )
if( returncode == wxID_OK ) // New rules, or others changes.
{
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++ )
m_Layers->SetRenderState( ii, true );
}
......@@ -113,7 +113,7 @@ void WinEDA_PcbFrame::ImportSpecctraSession( wxCommandEvent& event )
m_TrackAndViasSizesList_Changed = true;
GetScreen()->SetModify();
OnModify();
GetBoard()->m_Status_Pcb = 0;
/* At this point we should call Compile_Ratsnest()
......
......@@ -2,7 +2,9 @@
/* Dialog frame to swap layers */
/*******************************/
/* Fichier swap_layers */
/*
* swap_layers.cpp
*/
#include "fctsys.h"
#include "common.h"
......@@ -356,7 +358,7 @@ void WinEDA_PcbFrame::Swap_Layers( wxCommandEvent& event )
pt_segm = GetBoard()->m_Track;
for( ; pt_segm != NULL; pt_segm = pt_segm->Next() )
{
GetScreen()->SetModify();
OnModify();
if( pt_segm->Type() == TYPE_VIA )
{
SEGVIA* Via = (SEGVIA*) pt_segm;
......@@ -383,7 +385,7 @@ void WinEDA_PcbFrame::Swap_Layers( wxCommandEvent& event )
/* Change zones. */
for( pt_segm = GetBoard()->m_Zone; pt_segm; pt_segm = pt_segm->Next() )
{
GetScreen()->SetModify();
OnModify();
jj = pt_segm->GetLayer();
if( New_Layer[jj] >= 0 && New_Layer[jj] < LAYER_NO_CHANGE )
pt_segm->SetLayer( New_Layer[jj] );
......@@ -395,7 +397,7 @@ void WinEDA_PcbFrame::Swap_Layers( wxCommandEvent& event )
{
if( PtStruct->Type() == TYPE_DRAWSEGMENT )
{
GetScreen()->SetModify();
OnModify();
pt_drawsegm = (DRAWSEGMENT*) PtStruct;
jj = pt_drawsegm->GetLayer();
if( New_Layer[jj] >= 0 && New_Layer[jj] < LAYER_NO_CHANGE )
......
/*******************************/
/* Pcbnew: exchange of modules */
/* Pcbnew: exchange modules */
/*******************************/
#include "fctsys.h"
......@@ -529,7 +529,7 @@ void WinEDA_PcbFrame::Exchange_Module( MODULE* aOldModule,
GetBoard()->m_Status_Pcb = 0;
aNewModule->m_Flags = 0;
GetScreen()->SetModify();
OnModify();
}
......
......@@ -283,7 +283,7 @@ void WinEDA_PcbFrame::End_Move_Zone_Corner_Or_Outlines( wxDC* DC, ZONE_CONTAINER
DrawPanel->ForceCloseManageCurseur = NULL;
if( DC )
zone_container->Draw( DrawPanel, DC, GR_OR );
GetScreen()->SetModify();
OnModify();
s_AddCutoutToCurrentZone = false;
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
*/
{
GetScreen()->SetModify();
OnModify();
if( zone_container->m_Poly->GetNumCorners() <= 3 )
{
......@@ -715,7 +715,7 @@ bool WinEDA_PcbFrame::End_Zone( wxDC* DC )
SaveCopyInUndoList(s_PickedList, UR_UNSPECIFIED);
s_PickedList.ClearItemsList(); // s_ItemsListPicker is no more owner of picked items
GetScreen()->SetModify();
OnModify();
return true;
}
......@@ -826,7 +826,7 @@ void WinEDA_PcbFrame::Edit_Zone_Params( wxDC* DC, ZONE_CONTAINER* zone_container
SaveCopyInUndoList(s_PickedList, UR_UNSPECIFIED);
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 );
GetScreen()->SetModify();
OnModify();
}
......@@ -81,7 +81,7 @@ void WinEDA_PcbFrame::Delete_Zone_Fill( SEGZONE* aZone, long aTimestamp )
if( modify )
{
GetScreen()->SetModify();
OnModify();
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 );
zone_container->BuildFilledPolysListData( GetBoard() );
GetScreen()->SetModify();
OnModify();
return 0;
}
......
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