diff --git a/change_log.txt b/change_log.txt index e8894f513b..d7855f8faf 100644 --- a/change_log.txt +++ b/change_log.txt @@ -4,6 +4,15 @@ Started 2007-June-11 Please add newer entries at the top, list the date and your name with email address. +2007-Jul-30 UPDATE Jean-Pierre Charras +================================================================================ ++ pcbnew + Some file are added (missing .prj files) + Better Drc test: + Zones can be tested. + better pad to pad test. + + 2007-Jul-25 UPDATE Jean-Pierre Charras ================================================================================ ** Some minor enhancements diff --git a/include/build_version.h b/include/build_version.h index 33d0a00ea6..84a2fec3e0 100644 --- a/include/build_version.h +++ b/include/build_version.h @@ -5,7 +5,7 @@ COMMON_GLOBL wxString g_BuildVersion #ifdef EDA_BASE - (wxT("(2007-07-24)")) + (wxT("(2007-07-30)")) #endif ; diff --git a/include/macros.h b/include/macros.h index 4b16a094db..5932be2def 100644 --- a/include/macros.h +++ b/include/macros.h @@ -41,6 +41,10 @@ #define NEGATE_AND_NORMALIZE_ANGLE_POS(Angle) \ { Angle = - Angle; while (Angle < 0) Angle += 3600; while (Angle >= 3600) Angle -= 3600; } +/* Normalize angle to be in the -90.0 .. 90.0 range */ +#define NORMALIZE_ANGLE_90(Angle) { while (Angle < -900) Angle += 1800; \ + while (Angle > 900) Angle -= 1800; } + /* exchange 2 donnees */ #define EXCHG(a,b) { typeof(a) __temp__ = (a); (a) = (b); (b) = __temp__; } diff --git a/include/wxstruct.h b/include/wxstruct.h index 66a10012e3..0b0fd0cf82 100644 --- a/include/wxstruct.h +++ b/include/wxstruct.h @@ -565,7 +565,7 @@ public: MODULE * ListAndSelectModuleName(void); void Liste_Equipot(wxCommandEvent & event); void Swap_Layers(wxCommandEvent & event); - int Test_DRC(wxDC * DC); + int Test_DRC(wxDC * DC, bool TestPad2Pad, bool TestZone); void Install_Test_DRC_Frame(wxDC * DC); void Trace_Pcb(wxDC * DC, int mode); void Trace_PcbEdges(wxDC * DC, int mode_color); @@ -595,7 +595,7 @@ public: void Erase_Pistes(wxDC * DC, int masque_type, bool query); void Erase_Modules(wxDC * DC, bool query); void Erase_Textes_Pcb(wxDC * DC, bool query); - void Erase_Marqueurs(wxDC * DC, bool query); + void Erase_Marqueurs(void); void UnDeleteItem(wxDC * DC); void RemoveStruct(EDA_BaseStruct * Item, wxDC * DC); void Via_Edit_Control(wxDC * DC, int command_type, SEGVIA * via); diff --git a/internat/fr/kicad.mo b/internat/fr/kicad.mo index c55b68ddfe..62921b6479 100644 Binary files a/internat/fr/kicad.mo and b/internat/fr/kicad.mo differ diff --git a/internat/fr/kicad.po b/internat/fr/kicad.po index 8057a44c63..0a0d71a976 100644 --- a/internat/fr/kicad.po +++ b/internat/fr/kicad.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: kicad\n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2007-07-25 10:24+0100\n" +"PO-Revision-Date: 2007-07-30 14:17+0100\n" "Last-Translator: \n" "Language-Team: kicad team \n" "MIME-Version: 1.0\n" @@ -1493,7 +1493,7 @@ msgid "Compile" msgstr "Compile" #: pcbnew/dialog_netlist.cpp:178 -#: pcbnew/dialog_drc.cpp:164 +#: pcbnew/dialog_drc.cpp:193 #: pcbnew/gendrill.cpp:254 #: eeschema/plotps.cpp:207 #: eeschema/netlist_control.cpp:124 @@ -1602,75 +1602,89 @@ msgstr "Inclure pistes autorout msgid "Include Locked Tracks" msgstr "Inclure pistes verrouillées" -#: pcbnew/drc.cpp:65 +#: pcbnew/drc.cpp:71 msgid "Look for active routes\n" msgstr "Recherche des chevelus actifs\n" -#: pcbnew/drc.cpp:71 +#: pcbnew/drc.cpp:77 msgid "Unconnected found:\n" msgstr "Non connecté trouvé:\n" -#: pcbnew/drc.cpp:76 +#: pcbnew/drc.cpp:82 #, c-format msgid "%d > Pad %s (%s) @ %.4f,%.4f and " msgstr "%d > Pad %s (%s) @ %.4f,%.4f et " -#: pcbnew/drc.cpp:84 +#: pcbnew/drc.cpp:90 #, c-format msgid "Pad %s (%s) @ %.4f,%.4f\n" msgstr "Pad %s (%s) @ %.4f,%.4f\n" -#: pcbnew/drc.cpp:89 +#: pcbnew/drc.cpp:95 #, c-format msgid "Active routes: %d\n" msgstr "Active routes: %d\n" -#: pcbnew/drc.cpp:90 +#: pcbnew/drc.cpp:96 msgid "OK! (No active routes)\n" msgstr "OK! (Pas de chevelu actif)\n" -#: pcbnew/drc.cpp:112 +#: pcbnew/drc.cpp:122 #, c-format msgid "** End Drc: %d errors **\n" msgstr "** FinDrc: %d erreurs **\n" -#: pcbnew/drc.cpp:114 +#: pcbnew/drc.cpp:124 msgid "** End Drc: No Error **\n" msgstr "** Fin Drc: Aucune Erreur **\n" -#: pcbnew/drc.cpp:229 +#: pcbnew/drc.cpp:198 +msgid "Tst Pad to Pad\n" +msgstr "Tst Pad to Pad\n" + +#: pcbnew/drc.cpp:237 +#: pcbnew/drc.cpp:301 msgid "SegmNb" msgstr "SegmNb" -#: pcbnew/drc.cpp:230 +#: pcbnew/drc.cpp:238 msgid "Track Err" msgstr "Err Pistes" -#: pcbnew/drc.cpp:233 +#: pcbnew/drc.cpp:241 msgid "Tst Tracks\n" msgstr "Tst Pistes\n" -#: pcbnew/drc.cpp:252 +#: pcbnew/drc.cpp:265 +#: pcbnew/drc.cpp:330 #: eeschema/eelayer.cpp:141 msgid "Netname" msgstr "NetName" -#: pcbnew/drc.cpp:950 +#: pcbnew/drc.cpp:302 +msgid "Zone Err" +msgstr "Err. Zone" + +#: pcbnew/drc.cpp:304 +msgid "Tst Zones\n" +msgstr "Test Zones\n" + +#: pcbnew/drc.cpp:1119 #, c-format msgid "%d Drc Err %d PAD %s (%s) @ %d,%d\n" msgstr "%d Err Drc %d PAD %s (%s) @ %d,%d\n" -#: pcbnew/drc.cpp:961 +#: pcbnew/drc.cpp:1130 #, c-format msgid "%d Err type %d: sur VIA @ %d,%d\n" msgstr "%d Err type %d: sur VIA @ %d,%d\n" -#: pcbnew/drc.cpp:972 +#: pcbnew/drc.cpp:1141 #, c-format msgid "%d Err type %d: sur SEGMENT @ %d,%d\n" msgstr "%d Err type %d: sur SEGMENT @ %d,%d\n" -#: pcbnew/drc.cpp:1007 +#: pcbnew/drc.cpp:1176 #, c-format msgid "%d Drc Err: PAD %s (%s) @ %d,%d and PAD %s (%s) @ %d,%d\n" msgstr "%d Err Drc: PAD %s (%s) @ %d,%d et PAD %s (%s) @ %d,%d\n" @@ -1857,11 +1871,11 @@ msgstr "Effacement contour" msgid "Set Width" msgstr "Ajuste Epaiss" -#: pcbnew/class_pad.cpp:629 +#: pcbnew/class_pad.cpp:630 msgid "Unknown Pad shape" msgstr "Forme pad inconnue" -#: pcbnew/class_pad.cpp:697 +#: pcbnew/class_pad.cpp:698 #: pcbnew/affiche.cpp:76 #: pcbnew/affiche.cpp:266 #: pcbnew/class_module.cpp:1060 @@ -1869,15 +1883,15 @@ msgstr "Forme pad inconnue" msgid "Module" msgstr "Module" -#: pcbnew/class_pad.cpp:700 +#: pcbnew/class_pad.cpp:701 msgid "RefP" msgstr "RefP" -#: pcbnew/class_pad.cpp:703 +#: pcbnew/class_pad.cpp:704 msgid "Net" msgstr "Net" -#: pcbnew/class_pad.cpp:769 +#: pcbnew/class_pad.cpp:770 #: pcbnew/affiche.cpp:36 #: pcbnew/affiche.cpp:91 #: pcbnew/affiche.cpp:95 @@ -1890,21 +1904,21 @@ msgstr "Net" msgid "Layer" msgstr "Couche" -#: pcbnew/class_pad.cpp:781 +#: pcbnew/class_pad.cpp:782 #: pcbnew/affiche.cpp:53 #: pcbnew/affiche.cpp:109 #: gerbview/affiche.cpp:49 msgid "H Size" msgstr "Taille H" -#: pcbnew/class_pad.cpp:785 +#: pcbnew/class_pad.cpp:786 #: pcbnew/affiche.cpp:56 #: pcbnew/affiche.cpp:112 #: gerbview/affiche.cpp:52 msgid "V Size" msgstr "Taille V" -#: pcbnew/class_pad.cpp:791 +#: pcbnew/class_pad.cpp:792 #: pcbnew/affiche.cpp:208 #: pcbnew/affiche.cpp:210 #: pcbnew/gendrill.cpp:398 @@ -1912,11 +1926,11 @@ msgstr "Taille V" msgid "Drill" msgstr "Perçage" -#: pcbnew/class_pad.cpp:799 +#: pcbnew/class_pad.cpp:800 msgid "Drill X / Y" msgstr "Perçage X/Y" -#: pcbnew/class_pad.cpp:810 +#: pcbnew/class_pad.cpp:811 #: pcbnew/affiche.cpp:47 #: pcbnew/affiche.cpp:103 #: pcbnew/class_module.cpp:1057 @@ -1926,11 +1940,11 @@ msgstr "Per msgid "Orient" msgstr "Orient" -#: pcbnew/class_pad.cpp:814 +#: pcbnew/class_pad.cpp:815 msgid "X Pos" msgstr "X Pos" -#: pcbnew/class_pad.cpp:818 +#: pcbnew/class_pad.cpp:819 msgid "Y pos" msgstr "Y pos" @@ -2002,7 +2016,7 @@ msgid "Track Width" msgstr "Epais. Piste" #: pcbnew/dialog_track_options.cpp:164 -#: pcbnew/dialog_drc.cpp:133 +#: pcbnew/dialog_drc.cpp:141 msgid "Clearance" msgstr "Isolation" @@ -2538,23 +2552,53 @@ msgstr "Effacer" msgid "Pcb Text" msgstr "Texte Pcb" -#: pcbnew/dialog_drc.cpp:145 +#: pcbnew/dialog_drc.cpp:137 +#: eeschema/fieldedi.cpp:223 +#: eeschema/dialog_erc.cpp:237 +#: eeschema/dialog_edit_component_in_lib.cpp:166 +#: eeschema/dialog_create_component.cpp:176 +#: eeschema/libedpart.cpp:241 +#: eeschema/dialog_edit_component_in_schematic.cpp:204 +#: eeschema/editpart.cpp:204 +#: eeschema/dialog_build_BOM.cpp:279 +#: cvpcb/dialog_display_options.h:43 +msgid "Options" +msgstr "Options" + +#: pcbnew/dialog_drc.cpp:149 +msgid "Test Drc:" +msgstr "Test Drc:" + +#: pcbnew/dialog_drc.cpp:153 +msgid "Include pad to pad test" +msgstr "Inclure test pad à pad" + +#: pcbnew/dialog_drc.cpp:157 +msgid "Include unconnected" +msgstr "Inclure non connexions" + +#: pcbnew/dialog_drc.cpp:161 +#: pcbnew/block.cpp:136 +msgid "Include zones" +msgstr "Inclure zones" + +#: pcbnew/dialog_drc.cpp:174 msgid "Test Drc" msgstr "Test Drc" -#: pcbnew/dialog_drc.cpp:149 +#: pcbnew/dialog_drc.cpp:178 msgid "Stop Drc" msgstr "Stop Drc" -#: pcbnew/dialog_drc.cpp:156 +#: pcbnew/dialog_drc.cpp:185 msgid "Del Markers" msgstr "Supprimer Marqueurs" -#: pcbnew/dialog_drc.cpp:160 +#: pcbnew/dialog_drc.cpp:189 msgid "List Unconn" msgstr "Liste Non Conn." -#: pcbnew/dialog_drc.cpp:167 +#: pcbnew/dialog_drc.cpp:196 #: common/svg_print.cpp:232 #: share/svg_print.cpp:232 msgid "Messages:" @@ -2568,10 +2612,6 @@ msgstr "Inclure Modules" msgid "Include tracks" msgstr "Inclure Pistes" -#: pcbnew/block.cpp:136 -msgid "Include zones" -msgstr "Inclure zones" - #: pcbnew/block.cpp:141 msgid "Include Text on copper layers" msgstr "Inclure Texte sur couches cuivre" @@ -2692,7 +2732,7 @@ msgstr "Pads: Edition globale" #: pcbnew/menubarpcb.cpp:205 #: pcbnew/menubarmodedit.cpp:45 #: pcbnew/tool_modedit.cpp:125 -#: pcbnew/modedit.cpp:365 +#: pcbnew/modedit.cpp:299 msgid "Pad Settings" msgstr "Caract pads" @@ -2804,11 +2844,11 @@ msgstr "Impossible de cr msgid "Create temporary file " msgstr "Creation fichier temporaire " -#: pcbnew/router.cpp:525 +#: pcbnew/router.cpp:526 msgid "Unable to find data file " msgstr "Impossible de trouver le fichier de données " -#: pcbnew/router.cpp:531 +#: pcbnew/router.cpp:532 msgid "Reading autorouter data file " msgstr "Lecture fichier données de l'autorouteur" @@ -4104,7 +4144,7 @@ msgid "Local Ratsnest" msgstr "Monter le chevelu général" #: pcbnew/edit.cpp:720 -#: pcbnew/modedit.cpp:393 +#: pcbnew/modedit.cpp:327 #: eeschema/schedit.cpp:443 #: eeschema/libframe.cpp:554 msgid "Delete item" @@ -4625,7 +4665,7 @@ msgid "Add Pads" msgstr "Addition de \"pins\"" #: pcbnew/tool_modedit.cpp:175 -#: pcbnew/modedit.cpp:379 +#: pcbnew/modedit.cpp:313 msgid "Place anchor" msgstr "Place Ancre" @@ -4652,11 +4692,35 @@ msgstr "Grille %.1f" msgid "Grid %.3f" msgstr "Grille %.3f" -#: pcbnew/modedit.cpp:362 +#: pcbnew/modedit.cpp:175 +msgid "Unable to find the footprint source on the main board" +msgstr "Impossible de trouver le module source sur le PCB principal" + +#: pcbnew/modedit.cpp:176 +msgid "" +"\n" +"Cannot update the footprint" +msgstr "" +"\n" +"Ne peut mettre à jour le module" + +#: pcbnew/modedit.cpp:184 +msgid "A footprint source was found on the main board" +msgstr "Un module source a été trouvé sur le PCB principal" + +#: pcbnew/modedit.cpp:185 +msgid "" +"\n" +"Cannot insert this footprint" +msgstr "" +"\n" +"Ne peut insérer cd module" + +#: pcbnew/modedit.cpp:296 msgid "Add Pad" msgstr "Ajouter Pastilles" -#: pcbnew/modedit.cpp:375 +#: pcbnew/modedit.cpp:309 #: eeschema/schedit.cpp:293 msgid "Add Drawing" msgstr "Ajout d'éléments graphiques" @@ -4718,18 +4782,6 @@ msgstr "Erreur sur msgid "Componant properties" msgstr "Propriétés du composant" -#: eeschema/fieldedi.cpp:223 -#: eeschema/dialog_erc.cpp:237 -#: eeschema/dialog_edit_component_in_lib.cpp:166 -#: eeschema/dialog_create_component.cpp:176 -#: eeschema/libedpart.cpp:241 -#: eeschema/dialog_edit_component_in_schematic.cpp:204 -#: eeschema/editpart.cpp:204 -#: eeschema/dialog_build_BOM.cpp:279 -#: cvpcb/dialog_display_options.h:43 -msgid "Options" -msgstr "Options" - #: eeschema/fieldedi.cpp:226 msgid " General : " msgstr " Général :" @@ -9753,10 +9805,6 @@ msgstr "Nbr segm = %d, Longueur = " msgid "Find" msgstr "Trouver" -#: pcbnew/dialog_drc.h:43 -msgid "DRC Control" -msgstr "Controle ERC" - #: pcbnew/dialog_pad_edit.h:43 msgid "Pad properties" msgstr "Propriétés des Pads" @@ -9781,6 +9829,10 @@ msgstr "Netliste: " msgid "General Options" msgstr "Options générales" +#: pcbnew/dialog_drc.h:53 +msgid "DRC Control" +msgstr "Controle ERC" + #: pcbnew/win_eda_cleaningoptionsframe.h:50 #: pcbnew/cleaningoptions_dialog.h:48 msgid "Cleaning options" diff --git a/pcbnew/class_pad.cpp b/pcbnew/class_pad.cpp index 7863f1123d..b6873fd47c 100644 --- a/pcbnew/class_pad.cpp +++ b/pcbnew/class_pad.cpp @@ -477,15 +477,16 @@ wxPoint shape_pos; } /* Trace de la reference */ if( ! frame->m_DisplayPadNum) return; - dx = min(m_Size.x, m_Size.y); /* dx = taille du texte */ - if( (dx / zoom) > 12 ) /* Si taille suffisante pour 2 lettres */ + dx = min(m_Size.x, m_Size.y); /* dx = text size */ + if( (dx / zoom) > 12 ) /* size must be enought to draw 2 chars */ { wxString buffer; ReturnStringPadName(buffer); dy = buffer.Len(); - if ( dy < 2 ) dy = 2; /* alignement sur textes a 2 lettres */ - dx = (dx * 9 ) / (dy * 13 ); /* le texte est ajuste pour - tenir entierement dans la pastille */ + /* Draw text with an angle between -90 deg and + 90 deg */ + NORMALIZE_ANGLE_90(angle); + if ( dy < 2 ) dy = 2; /* text min size is 2 char */ + dx = (dx * 9 ) / (dy * 13 ); /* Text size ajusted to pad size */ DrawGraphicText(panel, DC, wxPoint(ux0, uy0), WHITE, buffer, angle, wxSize(dx, dx), GR_TEXT_HJUSTIFY_CENTER, GR_TEXT_VJUSTIFY_CENTER); diff --git a/pcbnew/class_pad.h b/pcbnew/class_pad.h index 7ccb718fa3..aca764c83c 100644 --- a/pcbnew/class_pad.h +++ b/pcbnew/class_pad.h @@ -25,7 +25,7 @@ class D_PAD: public EDA_BaseStruct public: union { unsigned long m_NumPadName; - char m_Padname[4] ; /* nom (numero) de la pastille (assimilatble a un long)*/ + char m_Padname[4] ; /* nom (numero) de la pastille (assimilable a un long)*/ }; wxString m_Netname; /* Net Name */ int m_Masque_Layer; // (Bit a Bit :1= cuivre, 15= cmp, diff --git a/pcbnew/dialog_display_options.pjd b/pcbnew/dialog_display_options.pjd new file mode 100644 index 0000000000..072e9136ca --- /dev/null +++ b/pcbnew/dialog_display_options.pjd @@ -0,0 +1,1136 @@ + + +
+ 0 + "" + "" + "" + "" + 28 + "" + 0 + 0 + 0 + 1 + 1 + 0 + "jean-pierre Charras" + "License GNU" + "" + 0 + "<All platforms>" + "<Any>" + "///////////////////////////////////////////////////////////////////////////// +// Name: %HEADER-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SOURCE-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + " +/*! + * %BODY% + */ + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SYMBOLS-FILENAME% +// Purpose: Symbols file +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma interface "%HEADER-FILENAME%" +#endif + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma implementation "%HEADER-FILENAME%" +#endif + +// For compilers that support precompilation, includes "wx/wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ +#pragma hdrstop +#endif + +#ifndef WX_PRECOMP +#include "wx/wx.h" +#endif + +" + "app_resources.h" + "app_resources.cpp" + "AppResources" + "app.h" + "app.cpp" + "Application" + 0 + "" + "<None>" + "<System>" + "<System>" + "" + 0 + 1 + 1 +
+ + + "" + "data-document" + "" + "" + 0 + 1 + 0 + 0 + + "Configurations" + "config-data-document" + "" + "" + 0 + 1 + 0 + 0 + "" + 1 + "" + "Debug" + "ANSI" + "Static" + "Modular" + "GUI" + "wxMSW" + "Dynamic" + "Yes" + "No" + "No" + "%WXVERSION%" + "%EXECUTABLE%" + "" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + + + + + + + "Projects" + "root-document" + "" + "project" + 1 + 1 + 0 + 0 + + "Windows" + "html-document" + "" + "dialogsfolder" + 1 + 1 + 0 + 1 + + "Display Options" + "dialog-document" + "" + "dialog" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbDialogProxy" + 10000 + 0 + "" + 0 + "ID_DIALOG" + 10000 + "WinEDA_DisplayOptionsDialog" + "wxDialog" + "wxDialog" + "dialog_display_options.cpp" + "dialog_display_options.h" + "" + "Display Options" + 1 + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + "" + 0 + 1 + -1 + -1 + 400 + 300 + "" + + "wxBoxSizer H" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "wbBoxSizerProxy" + "Horizontal" + "" + 0 + 0 + 0 + "<Any platform>" + + "wxStaticBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbStaticBoxSizerProxy" + "wxID_ANY" + -1 + "Tracks and vias" + "" + "" + "" + 0 + 1 + "Vertical" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxRadioBox: ID_RADIOBOX_OPT_TRACK" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbRadioBoxProxy" + "ID_RADIOBOX_OPT_TRACK" + 10001 + "wxRadioBox" + "m_OptDisplayTracks" + "Tracks:" + 1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + "Sketch|Filled" + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxRadioBox: ID_RADIOBOX_SHOWCLR" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbRadioBoxProxy" + "ID_RADIOBOX_SHOWCLR" + 10002 + "wxRadioBox" + "m_OptDisplayTracksClearance" + "Show Track Clearance" + 1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + "Always|New track|Never" + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxRadioBox: ID_RADIOBOX_SHOW_VIAS" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbRadioBoxProxy" + "ID_RADIOBOX_SHOW_VIAS" + 10003 + "wxRadioBox" + "m_OptDisplayViaHole" + "Show Via Holes" + 1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "DisplayOpt.m_DisplayViaMode" + "wxGenericValidator(& %VARIABLE%)" + 0 + 1 + "Never|defined holes|Always" + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + "wxStaticBoxSizer H" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbStaticBoxSizerProxy" + "wxID_ANY" + -1 + "Modules" + "" + "" + "" + 0 + 1 + "Horizontal" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxRadioBox: ID_RADIOBOX_MODTXT" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbRadioBoxProxy" + "ID_RADIOBOX_MODTXT" + 10004 + "wxRadioBox" + "m_OptDisplayModTexts" + "Module Texts" + 1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "DisplayOpt.DisplayModText" + "wxGenericValidator(& %VARIABLE%)" + 0 + 1 + "Line|Filled|Sketch" + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxRadioBox: ID_RADIOBOX_MOD_EDGES" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbRadioBoxProxy" + "ID_RADIOBOX_MOD_EDGES" + 10005 + "wxRadioBox" + "m_OptDisplayModEdges" + "Module Edges:" + 1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "DisplayOpt.DisplayModEdge" + "wxGenericValidator(& %VARIABLE%)" + 0 + 1 + "Line|Filled|Sketch" + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxRadioBox: ID_RADIOBOX_SHOWPADS" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbRadioBoxProxy" + "ID_RADIOBOX_SHOWPADS" + 10007 + "wxRadioBox" + "m_OptDisplayPads" + "Pads:" + 1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + "Sketch|Filled" + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX_PAD_CLR" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX_PAD_CLR" + 10008 + "wxCheckBox" + "m_OptDisplayPadClearence" + "Show Pad Clearance" + 0 + "" + "" + "DisplayOpt.DisplayPadIsol" + "wxGenericValidator(& %VARIABLE%)" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX_PADNUM" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX_PADNUM" + 10009 + "wxCheckBox" + "m_OptDisplayPadNumber" + "Show Pad Number" + 0 + "" + "" + "DisplayOpt.DisplayPadNum" + "wxGenericValidator(& %VARIABLE%)" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX_PADNC" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX_PADNC" + 10010 + "wxCheckBox" + "m_OptDisplayPadNoConn" + "Show Pad NoConnect" + 0 + "" + "" + "DisplayOpt.DisplayPadNoConn" + "wxGenericValidator(& %VARIABLE%)" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxRadioBox: ID_RADIOBOX_SHOW_OTHERS" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbRadioBoxProxy" + "ID_RADIOBOX_SHOW_OTHERS" + 10011 + "wxRadioBox" + "m_OptDisplayDrawings" + "Display other items:" + 1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "DisplayOpt.DisplayDrawItems" + "wxGenericValidator(& %VARIABLE%)" + 0 + 1 + "Line|Filled|Sketch" + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxRadioBox: ID_RADIOBOX_PAGE_LIMITS" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbRadioBoxProxy" + "ID_RADIOBOX_PAGE_LIMITS" + 10006 + "wxRadioBox" + "m_Show_Page_Limits" + "Show page limits" + 1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + "Yes|No" + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "Spacer" + "dialog-control-document" + "" + "spacer" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbSpacerProxy" + 5 + 5 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + + "wxButton: wxID_OK" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnOkClick" + "wxID_OK" + 5100 + "wxButton" + "" + "&OK" + 0 + "" + "" + "" + "CA0000" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxButton: wxID_CANCEL" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnCancelClick" + "wxID_CANCEL" + 5101 + "wxButton" + "" + "&Cancel" + 0 + "" + "" + "" + "0000FF" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + + + + "Sources" + "html-document" + "" + "sourcesfolder" + 1 + 1 + 0 + 1 + + "dialog_display_options.rc" + "source-editor-document" + "dialog_display_options.rc" + "source-editor" + 0 + 0 + 1 + 0 + "25/4/2006" + "" + + + + "Images" + "html-document" + "" + "bitmapsfolder" + 1 + 1 + 0 + 1 + + + + +
diff --git a/pcbnew/dialog_drc.cpp b/pcbnew/dialog_drc.cpp index 988017d4c5..b09c282bfd 100644 --- a/pcbnew/dialog_drc.cpp +++ b/pcbnew/dialog_drc.cpp @@ -47,6 +47,8 @@ IMPLEMENT_DYNAMIC_CLASS( WinEDA_DrcFrame, wxDialog ) BEGIN_EVENT_TABLE( WinEDA_DrcFrame, wxDialog ) ////@begin WinEDA_DrcFrame event table entries + EVT_CLOSE( WinEDA_DrcFrame::OnCloseWindow ) + EVT_BUTTON( ID_DRC_RUN, WinEDA_DrcFrame::OnDrcRunClick ) EVT_BUTTON( ID_STOP_CONTROL_DRC, WinEDA_DrcFrame::OnStopControlDrcClick ) @@ -93,16 +95,21 @@ bool WinEDA_DrcFrame::Create( wxWindow* parent, wxWindowID id, const wxString& c m_CommandSizer = NULL; m_ClearenceTitle = NULL; m_SetClearance = NULL; + m_Pad2PadTestCtrl = NULL; + m_UnconnectedTestCtrl = NULL; + m_ZonesTestCtrl = NULL; m_logWindow = NULL; ////@end WinEDA_DrcFrame member initialisation ////@begin WinEDA_DrcFrame creation - SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS); + SetExtraStyle(wxWS_EX_BLOCK_EVENTS); wxDialog::Create( parent, id, caption, pos, size, style ); CreateControls(); - GetSizer()->Fit(this); - GetSizer()->SetSizeHints(this); + if (GetSizer()) + { + GetSizer()->SetSizeHints(this); + } Centre(); ////@end WinEDA_DrcFrame creation return true; @@ -117,7 +124,7 @@ void WinEDA_DrcFrame::CreateControls() SetFont(*g_DialogFont); ////@begin WinEDA_DrcFrame content construction - // Generated by DialogBlocks, 27/02/2006 21:15:33 (unregistered) + // Generated by DialogBlocks, 30/07/2007 12:44:15 (unregistered) WinEDA_DrcFrame* itemDialog1 = this; @@ -127,49 +134,75 @@ void WinEDA_DrcFrame::CreateControls() m_CommandSizer = new wxBoxSizer(wxHORIZONTAL); m_MainSizer->Add(m_CommandSizer, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5); - wxBoxSizer* itemBoxSizer4 = new wxBoxSizer(wxVERTICAL); - m_CommandSizer->Add(itemBoxSizer4, 0, wxGROW|wxALL, 5); + wxStaticBox* itemStaticBoxSizer4Static = new wxStaticBox(itemDialog1, wxID_ANY, _("Options")); + wxStaticBoxSizer* itemStaticBoxSizer4 = new wxStaticBoxSizer(itemStaticBoxSizer4Static, wxVERTICAL); + m_CommandSizer->Add(itemStaticBoxSizer4, 0, wxGROW|wxALL, 5); m_ClearenceTitle = new wxStaticText( itemDialog1, wxID_STATIC, _("Clearance"), wxDefaultPosition, wxDefaultSize, 0 ); - itemBoxSizer4->Add(m_ClearenceTitle, 0, wxGROW|wxLEFT|wxRIGHT|wxTOP|wxADJUST_MINSIZE, 5); + itemStaticBoxSizer4->Add(m_ClearenceTitle, 0, wxGROW|wxLEFT|wxRIGHT|wxTOP|wxADJUST_MINSIZE, 5); m_SetClearance = new wxTextCtrl( itemDialog1, ID_TEXTCTRL1, _T(""), wxDefaultPosition, wxDefaultSize, 0 ); - itemBoxSizer4->Add(m_SetClearance, 0, wxGROW|wxLEFT|wxRIGHT|wxBOTTOM, 5); + itemStaticBoxSizer4->Add(m_SetClearance, 0, wxGROW|wxLEFT|wxRIGHT|wxBOTTOM, 5); - wxBoxSizer* itemBoxSizer7 = new wxBoxSizer(wxHORIZONTAL); - m_CommandSizer->Add(itemBoxSizer7, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); + itemStaticBoxSizer4->Add(5, 5, 0, wxGROW|wxALL, 5); - wxBoxSizer* itemBoxSizer8 = new wxBoxSizer(wxVERTICAL); - itemBoxSizer7->Add(itemBoxSizer8, 0, wxGROW|wxALL, 5); + wxStaticBox* itemStaticBoxSizer8Static = new wxStaticBox(itemDialog1, wxID_ANY, _("Test Drc:")); + wxStaticBoxSizer* itemStaticBoxSizer8 = new wxStaticBoxSizer(itemStaticBoxSizer8Static, wxVERTICAL); + itemStaticBoxSizer4->Add(itemStaticBoxSizer8, 0, wxGROW|wxALL, 5); - wxButton* itemButton9 = new wxButton( itemDialog1, ID_DRC_RUN, _("Test Drc"), wxDefaultPosition, wxDefaultSize, 0 ); - itemButton9->SetForegroundColour(wxColour(202, 0, 0)); - itemBoxSizer8->Add(itemButton9, 0, wxGROW|wxALL, 5); + m_Pad2PadTestCtrl = new wxCheckBox( itemDialog1, ID_CHECKBOX_PAD2PAD, _("Include pad to pad test"), wxDefaultPosition, wxDefaultSize, 0 ); + m_Pad2PadTestCtrl->SetValue(false); + itemStaticBoxSizer8->Add(m_Pad2PadTestCtrl, 0, wxGROW|wxALL, 5); - wxButton* itemButton10 = new wxButton( itemDialog1, ID_STOP_CONTROL_DRC, _("Stop Drc"), wxDefaultPosition, wxDefaultSize, 0 ); - itemButton10->SetForegroundColour(wxColour(0, 128, 128)); - itemBoxSizer8->Add(itemButton10, 0, wxGROW|wxALL, 5); + m_UnconnectedTestCtrl = new wxCheckBox( itemDialog1, ID_CHECKBOX, _("Include unconnected"), wxDefaultPosition, wxDefaultSize, 0 ); + m_UnconnectedTestCtrl->SetValue(false); + itemStaticBoxSizer8->Add(m_UnconnectedTestCtrl, 0, wxGROW|wxALL, 5); - wxBoxSizer* itemBoxSizer11 = new wxBoxSizer(wxVERTICAL); - itemBoxSizer7->Add(itemBoxSizer11, 0, wxGROW|wxALL, 5); + m_ZonesTestCtrl = new wxCheckBox( itemDialog1, ID_CHECKBOX_TEST_ZONES, _("Include zones"), wxDefaultPosition, wxDefaultSize, 0 ); + m_ZonesTestCtrl->SetValue(false); + itemStaticBoxSizer8->Add(m_ZonesTestCtrl, 0, wxGROW|wxALL, 5); - wxButton* itemButton12 = new wxButton( itemDialog1, ID_ERASE_DRC_MARKERS, _("Del Markers"), wxDefaultPosition, wxDefaultSize, 0 ); - itemButton12->SetForegroundColour(wxColour(0, 128, 0)); - itemBoxSizer11->Add(itemButton12, 0, wxGROW|wxALL, 5); + wxBoxSizer* itemBoxSizer12 = new wxBoxSizer(wxVERTICAL); + m_CommandSizer->Add(itemBoxSizer12, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); - wxButton* itemButton13 = new wxButton( itemDialog1, ID_LIST_UNCONNECTED_PADS, _("List Unconn"), wxDefaultPosition, wxDefaultSize, 0 ); - itemButton13->SetForegroundColour(wxColour(0, 0, 255)); - itemBoxSizer11->Add(itemButton13, 0, wxGROW|wxALL, 5); + wxBoxSizer* itemBoxSizer13 = new wxBoxSizer(wxHORIZONTAL); + itemBoxSizer12->Add(itemBoxSizer13, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5); - wxButton* itemButton14 = new wxButton( itemDialog1, wxID_CLOSE, _("&Close"), wxDefaultPosition, wxDefaultSize, 0 ); - itemBoxSizer11->Add(itemButton14, 0, wxGROW|wxALL, 5); + wxBoxSizer* itemBoxSizer14 = new wxBoxSizer(wxVERTICAL); + itemBoxSizer13->Add(itemBoxSizer14, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); - wxStaticText* itemStaticText15 = new wxStaticText( itemDialog1, wxID_STATIC, _("Messages:"), wxDefaultPosition, wxDefaultSize, 0 ); - m_MainSizer->Add(itemStaticText15, 0, wxGROW|wxLEFT|wxRIGHT|wxTOP|wxADJUST_MINSIZE, 5); + wxButton* itemButton15 = new wxButton( itemDialog1, ID_DRC_RUN, _("Test Drc"), wxDefaultPosition, wxDefaultSize, 0 ); + itemButton15->SetForegroundColour(wxColour(202, 0, 0)); + itemBoxSizer14->Add(itemButton15, 0, wxGROW|wxALL, 5); + + wxButton* itemButton16 = new wxButton( itemDialog1, ID_STOP_CONTROL_DRC, _("Stop Drc"), wxDefaultPosition, wxDefaultSize, 0 ); + itemButton16->SetForegroundColour(wxColour(0, 128, 128)); + itemBoxSizer14->Add(itemButton16, 0, wxGROW|wxALL, 5); + + wxBoxSizer* itemBoxSizer17 = new wxBoxSizer(wxVERTICAL); + itemBoxSizer13->Add(itemBoxSizer17, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); + + wxButton* itemButton18 = new wxButton( itemDialog1, ID_ERASE_DRC_MARKERS, _("Del Markers"), wxDefaultPosition, wxDefaultSize, 0 ); + itemButton18->SetForegroundColour(wxColour(0, 128, 0)); + itemBoxSizer17->Add(itemButton18, 0, wxGROW|wxALL, 5); + + wxButton* itemButton19 = new wxButton( itemDialog1, ID_LIST_UNCONNECTED_PADS, _("List Unconn"), wxDefaultPosition, wxDefaultSize, 0 ); + itemButton19->SetForegroundColour(wxColour(0, 0, 255)); + itemBoxSizer17->Add(itemButton19, 0, wxGROW|wxALL, 5); + + wxButton* itemButton20 = new wxButton( itemDialog1, wxID_CLOSE, _("&Close"), wxDefaultPosition, wxDefaultSize, 0 ); + itemBoxSizer12->Add(itemButton20, 0, wxGROW|wxALL, 5); + + wxStaticText* itemStaticText21 = new wxStaticText( itemDialog1, wxID_STATIC, _("Messages:"), wxDefaultPosition, wxDefaultSize, 0 ); + m_MainSizer->Add(itemStaticText21, 0, wxGROW|wxLEFT|wxRIGHT|wxTOP|wxADJUST_MINSIZE, 5); m_logWindow = new wxTextCtrl( itemDialog1, ID_TEXTCTRL, _T(""), wxDefaultPosition, wxSize(-1, 200), wxTE_MULTILINE|wxTE_READONLY ); m_MainSizer->Add(m_logWindow, 0, wxGROW|wxLEFT|wxRIGHT|wxBOTTOM, 5); + // Set validators + m_Pad2PadTestCtrl->SetValidator( wxGenericValidator(& s_Pad2PadTestOpt) ); + m_UnconnectedTestCtrl->SetValidator( wxGenericValidator(& s_UnconnectedTestOpt) ); + m_ZonesTestCtrl->SetValidator( wxGenericValidator(& s_ZonesTestOpt) ); ////@end WinEDA_DrcFrame content construction AddUnitSymbol(*m_ClearenceTitle); @@ -252,7 +285,25 @@ void WinEDA_DrcFrame::OnListUnconnectedPadsClick( wxCommandEvent& event ) void WinEDA_DrcFrame::OnCloseClick( wxCommandEvent& event ) { + s_Pad2PadTestOpt = m_Pad2PadTestCtrl->IsChecked(); + s_UnconnectedTestOpt = m_UnconnectedTestCtrl->IsChecked(); + s_ZonesTestOpt = m_ZonesTestCtrl->IsChecked(); Close(); } + + + +/*! + * wxEVT_CLOSE_WINDOW event handler for ID_DIALOG + */ + +void WinEDA_DrcFrame::OnCloseWindow( wxCloseEvent& event ) +{ + s_Pad2PadTestOpt = m_Pad2PadTestCtrl->IsChecked(); + s_UnconnectedTestOpt = m_UnconnectedTestCtrl->IsChecked(); + s_ZonesTestOpt = m_ZonesTestCtrl->IsChecked(); + event.Skip(); +} + diff --git a/pcbnew/dialog_drc.h b/pcbnew/dialog_drc.h index ed2e8c7659..01741412d1 100644 --- a/pcbnew/dialog_drc.h +++ b/pcbnew/dialog_drc.h @@ -23,6 +23,7 @@ */ ////@begin includes +#include "wx/valgen.h" ////@end includes /*! @@ -39,17 +40,20 @@ class wxBoxSizer; ////@begin control identifiers #define ID_DIALOG 10000 -#define SYMBOL_WINEDA_DRCFRAME_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX -#define SYMBOL_WINEDA_DRCFRAME_TITLE _("DRC Control") -#define SYMBOL_WINEDA_DRCFRAME_IDNAME ID_DIALOG -#define SYMBOL_WINEDA_DRCFRAME_SIZE wxSize(400, 300) -#define SYMBOL_WINEDA_DRCFRAME_POSITION wxDefaultPosition #define ID_TEXTCTRL1 10002 +#define ID_CHECKBOX_PAD2PAD 10009 +#define ID_CHECKBOX 10008 +#define ID_CHECKBOX_TEST_ZONES 10007 #define ID_DRC_RUN 10003 #define ID_STOP_CONTROL_DRC 10004 #define ID_ERASE_DRC_MARKERS 10005 #define ID_LIST_UNCONNECTED_PADS 10006 #define ID_TEXTCTRL 10001 +#define SYMBOL_WINEDA_DRCFRAME_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX +#define SYMBOL_WINEDA_DRCFRAME_TITLE _("DRC Control") +#define SYMBOL_WINEDA_DRCFRAME_IDNAME ID_DIALOG +#define SYMBOL_WINEDA_DRCFRAME_SIZE wxSize(400, 300) +#define SYMBOL_WINEDA_DRCFRAME_POSITION wxDefaultPosition ////@end control identifiers /*! @@ -83,6 +87,9 @@ public: ////@begin WinEDA_DrcFrame event handler declarations + /// wxEVT_CLOSE_WINDOW event handler for ID_DIALOG + void OnCloseWindow( wxCloseEvent& event ); + /// wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_DRC_RUN void OnDrcRunClick( wxCommandEvent& event ); @@ -121,6 +128,9 @@ public: wxBoxSizer* m_CommandSizer; wxStaticText* m_ClearenceTitle; wxTextCtrl* m_SetClearance; + wxCheckBox* m_Pad2PadTestCtrl; + wxCheckBox* m_UnconnectedTestCtrl; + wxCheckBox* m_ZonesTestCtrl; wxTextCtrl* m_logWindow; ////@end WinEDA_DrcFrame member variables WinEDA_PcbFrame * m_Parent; diff --git a/pcbnew/dialog_edit_mod_text.pjd b/pcbnew/dialog_edit_mod_text.pjd new file mode 100644 index 0000000000..2a20048768 --- /dev/null +++ b/pcbnew/dialog_edit_mod_text.pjd @@ -0,0 +1,1488 @@ + + +
+ 0 + "" + "" + "" + "" + 32 + "" + 0 + 0 + 0 + 1 + 1 + 0 + "jean-pierre Charras" + "License GNU" + "" + 0 + "<All platforms>" + "<Any>" + "///////////////////////////////////////////////////////////////////////////// +// Name: %HEADER-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SOURCE-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + " +/*! + * %BODY% + */ + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SYMBOLS-FILENAME% +// Purpose: Symbols file +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma interface "%HEADER-FILENAME%" +#endif + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma implementation "%HEADER-FILENAME%" +#endif + +// For compilers that support precompilation, includes "wx/wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ +#pragma hdrstop +#endif + +#ifndef WX_PRECOMP +#include "wx/wx.h" +#endif + +" + "app_resources.h" + "app_resources.cpp" + "AppResources" + "app.h" + "app.cpp" + "Application" + 0 + "" + "<None>" + "<System>" + "<System>" + "" + 0 + 1 + 1 +
+ + + "" + "data-document" + "" + "" + 0 + 1 + 0 + 0 + + "Configurations" + "config-data-document" + "" + "" + 0 + 1 + 0 + 0 + "" + 1 + "" + "Debug" + "ANSI" + "Static" + "Modular" + "GUI" + "wxMSW" + "Dynamic" + "Yes" + "No" + "No" + "%WXVERSION%" + "%EXECUTABLE%" + "" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + + + + + + + "Projects" + "root-document" + "" + "project" + 1 + 1 + 0 + 0 + + "Windows" + "html-document" + "" + "dialogsfolder" + 1 + 1 + 0 + 1 + + "TextMod properties" + "dialog-document" + "" + "dialog" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbDialogProxy" + 10000 + 0 + "" + 0 + "ID_DIALOG" + 10000 + "WinEDA_TextModPropertiesFrame" + "wxDialog" + "wxDialog" + "dialog_edit_mod_text.cpp" + "dialog_edit_mod_text.h" + "" + "TextMod properties" + 1 + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + "" + 0 + 1 + -1 + -1 + 400 + 300 + "" + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "wbBoxSizerProxy" + "Vertical" + "" + 0 + 0 + 0 + "<Any platform>" + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_ModuleInfoText" + "Module %s (%s) orient %.1f" + "" + "" + "" + "0000FF" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 1 + 0 + "" + "" + + + "wxStaticLine: wxID_STATIC" + "dialog-control-document" + "" + "staticline" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbStaticLineProxy" + "wxID_STATIC" + 5105 + "wxStaticLine" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_TextDataTitle" + "Reference:" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL" + 10003 + "wxTextCtrl" + "m_Name" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "wxBoxSizer H" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbBoxSizerProxy" + "Horizontal" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_SizeXTitle" + "Size X" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL1" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL1" + 10004 + "wxTextCtrl" + "m_TxtSizeCtrlX" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_SizeYTitle" + "Size Y" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL2" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL2" + 10005 + "wxTextCtrl" + "m_TxtSizeCtrlY" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "Spacer" + "dialog-control-document" + "" + "spacer" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbSpacerProxy" + 5 + 5 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_PosXTitle" + "Offset X" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL3" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL3" + 10006 + "wxTextCtrl" + "m_TxtPosCtrlX" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_PosYTitle" + "Offset Y" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL4" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL4" + 10007 + "wxTextCtrl" + "m_TxtPosCtrlY" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_WidthTitle" + "Width" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL5" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL5" + 10008 + "wxTextCtrl" + "m_TxtWidthCtlr" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxButton: wxID_OK" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnOkClick" + "wxID_OK" + 5100 + "wxButton" + "" + "&OK" + 0 + "" + "" + "" + "C60000" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxButton: wxID_CANCEL" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnCancelClick" + "wxID_CANCEL" + 5101 + "wxButton" + "" + "&Cancel" + 0 + "" + "" + "" + "0000FF" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxRadioBox: ID_RADIOBOX" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbRadioBoxProxy" + "ID_RADIOBOX" + 10001 + "wxRadioBox" + "m_Orient" + "Orientation" + 1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + "horiz|vertical" + 0 + "" + -1 + -1 + -1 + -1 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxRadioBox: ID_RADIOBOX1" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "9/5/2006" + "wbRadioBoxProxy" + "ID_RADIOBOX1" + 10002 + "wxRadioBox" + "m_Show" + "Display" + 1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + "show|no show" + 0 + "" + -1 + -1 + -1 + -1 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + + + + + "Sources" + "html-document" + "" + "sourcesfolder" + 1 + 1 + 0 + 1 + + "dialog_edit_mod_text.rc" + "source-editor-document" + "dialog_edit_mod_text.rc" + "source-editor" + 0 + 0 + 1 + 0 + "9/5/2006" + "" + + + + "Images" + "html-document" + "" + "bitmapsfolder" + 1 + 1 + 0 + 1 + + + + +
diff --git a/pcbnew/dialog_general_options.pjd b/pcbnew/dialog_general_options.pjd new file mode 100644 index 0000000000..24b485bc0c --- /dev/null +++ b/pcbnew/dialog_general_options.pjd @@ -0,0 +1,1483 @@ + + +
+ 0 + "" + "" + "" + "" + 35 + "" + 0 + 0 + 0 + 1 + 1 + 0 + "jean-pierre Charras" + "License GNU" + "" + 0 + "<All platforms>" + "<Any>" + "///////////////////////////////////////////////////////////////////////////// +// Name: %HEADER-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SOURCE-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + " +/*! + * %BODY% + */ + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SYMBOLS-FILENAME% +// Purpose: Symbols file +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma interface "%HEADER-FILENAME%" +#endif + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma implementation "%HEADER-FILENAME%" +#endif + +// For compilers that support precompilation, includes "wx/wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ +#pragma hdrstop +#endif + +#ifndef WX_PRECOMP +#include "wx/wx.h" +#endif + +" + "app_resources.h" + "app_resources.cpp" + "AppResources" + "app.h" + "app.cpp" + "Application" + 0 + "" + "<None>" + "<System>" + "<System>" + "" + 0 + 1 + 1 +
+ + + "" + "data-document" + "" + "" + 0 + 1 + 0 + 0 + + "Configurations" + "config-data-document" + "" + "" + 0 + 1 + 0 + 0 + "" + 1 + "" + "Debug" + "ANSI" + "Static" + "Modular" + "GUI" + "wxMSW" + "Dynamic" + "Yes" + "No" + "No" + "%WXVERSION%" + "%EXECUTABLE%" + "" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + + "GCC Release" + "gcc-config-data-document" + "" + "" + 0 + 1 + 0 + 0 + "GCC" + 1 + "GCC" + "Release" + "ANSI" + "Static" + "Modular" + "GUI" + "wxMSW" + "Dynamic" + "Yes" + "No" + "No" + "Yes" + "No" + "%WXVERSION%" + "%EXECUTABLE%" + "" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + + + + + + + + "Projects" + "root-document" + "" + "project" + 1 + 1 + 0 + 0 + + "Windows" + "html-document" + "" + "dialogsfolder" + 1 + 1 + 0 + 1 + + "General Options" + "dialog-document" + "" + "dialog" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbDialogProxy" + 10000 + 0 + "" + 0 + "wxID_CANCEL" + 5101 + "WinEDA_PcbGeneralOptionsFrame" + "wxDialog" + "wxDialog" + "dialog_general_options.cpp" + "dialog_general_options.h" + "" + "General Options" + 1 + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + "" + 0 + 1 + -1 + -1 + 400 + 300 + "" + + "wxBoxSizer H" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "wbBoxSizerProxy" + "Horizontal" + "" + 0 + 0 + 0 + "<Any platform>" + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxRadioBox: ID_RADIOBOX" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbRadioBoxProxy" + "ID_RADIOBOX" + 10001 + "wxRadioBox" + "m_PolarDisplay" + "Display Polar Coord" + 1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + "No Display|Display" + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxRadioBox: ID_RADIOBOX1" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbRadioBoxProxy" + "ID_RADIOBOX1" + 10002 + "wxRadioBox" + "m_BoxUnits" + "Units" + 1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + "Inches|millimeters" + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxRadioBox: ID_RADIOBOX2" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbRadioBoxProxy" + "ID_RADIOBOX2" + 10003 + "wxRadioBox" + "m_CursorShape" + "Cursor" + 1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + "Small|Big" + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxStaticBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbStaticBoxSizerProxy" + "wxID_ANY" + -1 + "Number of Layers:" + "" + "" + "" + 0 + 1 + "Vertical" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxSpinCtrl: ID_SPINCTRL1" + "dialog-control-document" + "" + "spinctrl" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbSpinCtrlProxy" + "ID_SPINCTRL1" + 10005 + "wxSpinCtrl" + "m_LayerNumber" + 1 + 16 + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + "wxStaticBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbStaticBoxSizerProxy" + "wxID_ANY" + -1 + "Max Links:" + "" + "" + "" + 0 + 1 + "Vertical" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxSpinCtrl: ID_SPINCTRL2" + "dialog-control-document" + "" + "spinctrl" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbSpinCtrlProxy" + "ID_SPINCTRL2" + 10006 + "wxSpinCtrl" + "m_MaxShowLinks" + 1 + 5 + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + "wxStaticBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbStaticBoxSizerProxy" + "wxID_ANY" + -1 + "Auto Save (minuts):" + "" + "" + "" + 0 + 1 + "Vertical" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxSpinCtrl: ID_SPINCTRL3" + "dialog-control-document" + "" + "spinctrl" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbSpinCtrlProxy" + "ID_SPINCTRL3" + 10004 + "wxSpinCtrl" + "m_SaveTime" + 0 + 60 + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxStaticBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbStaticBoxSizerProxy" + "wxID_ANY" + -1 + "Options:" + "" + "" + "" + 0 + 1 + "Vertical" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxCheckBox: ID_CHECKBOX" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX" + 10007 + "wxCheckBox" + "m_DrcOn" + "Drc ON" + 0 + "" + "" + "" + "" + "" + "C60000" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX1" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX1" + 10008 + "wxCheckBox" + "m_ShowGlobalRatsnest" + "Show Ratsnest" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX2" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX2" + 10009 + "wxCheckBox" + "m_ShowModuleRatsnest" + "Show Mod Ratsnest" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX3" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX3" + 10010 + "wxCheckBox" + "m_TrackAutodel" + "Tracks Auto Del" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX4" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX4" + 10011 + "wxCheckBox" + "m_Track_45_Only_Ctrl" + "Track 45 Only" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX5" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX5" + 10012 + "wxCheckBox" + "m_Segments_45_Only_Ctrl" + "Segments 45 Only" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX6" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX6" + 10013 + "wxCheckBox" + "m_AutoPANOpt" + "Auto PAN" + 0 + "" + "" + "" + "" + "" + "0000FF" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX7" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX7" + 10014 + "wxCheckBox" + "m_Track_DoubleSegm_Ctrl" + "Double Segm Track" + 0 + "" + "" + "" + "" + "" + "009000" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxRadioBox: ID_MAGNETIC_PAD_CTRL" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "13/6/2006" + "wbRadioBoxProxy" + "ID_MAGNETIC_PAD_CTRL" + 10000 + "wxRadioBox" + "m_MagneticPadOptCtrl" + "Magnetic Pads" + 1 + "" + "control the capture of the pcb cursor when the mouse cursor enters a pad area" + "" + "" + "" + 0 + 1 + "<Any platform>" + "g_MagneticPadOption" + "wxGenericValidator(& %VARIABLE%)" + 0 + 1 + "Never|When creating tracks|Always" + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxButton: wxID_OK" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "21/6/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnOkClick" + "wxID_OK" + 5100 + "wxButton" + "" + "&OK" + 0 + "" + "" + "" + "DD0000" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxButton: wxID_CANCEL" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "22/8/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnCancelClick" + "wxID_CANCEL" + 5101 + "wxButton" + "" + "&Cancel" + 0 + "" + "" + "" + "0000FF" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + + + + "Sources" + "html-document" + "" + "sourcesfolder" + 1 + 1 + 0 + 1 + + "dialog_general_options.rc" + "source-editor-document" + "dialog_general_options.rc" + "source-editor" + 0 + 0 + 1 + 0 + "21/6/2006" + "" + + + + "Images" + "html-document" + "" + "bitmapsfolder" + 1 + 1 + 0 + 1 + + + + +
diff --git a/pcbnew/dialog_graphic_items_options.pjd b/pcbnew/dialog_graphic_items_options.pjd new file mode 100644 index 0000000000..74af5fd883 --- /dev/null +++ b/pcbnew/dialog_graphic_items_options.pjd @@ -0,0 +1,1673 @@ + + +
+ 0 + "" + "" + "" + "" + 34 + "" + 0 + 0 + 0 + 1 + 1 + 0 + "jean-pierre Charras" + "License GNU" + "" + 0 + "<All platforms>" + "<Any>" + "///////////////////////////////////////////////////////////////////////////// +// Name: %HEADER-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SOURCE-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + " +/*! + * %BODY% + */ + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SYMBOLS-FILENAME% +// Purpose: Symbols file +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma interface "%HEADER-FILENAME%" +#endif + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma implementation "%HEADER-FILENAME%" +#endif + +// For compilers that support precompilation, includes "wx/wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ +#pragma hdrstop +#endif + +#ifndef WX_PRECOMP +#include "wx/wx.h" +#endif + +" + "app_resources.h" + "app_resources.cpp" + "AppResources" + "app.h" + "app.cpp" + "Application" + 0 + "" + "<None>" + "<System>" + "<System>" + "" + 0 + 1 + 1 +
+ + + "" + "data-document" + "" + "" + 0 + 1 + 0 + 0 + + "Configurations" + "config-data-document" + "" + "" + 0 + 1 + 0 + 0 + "" + 1 + "" + "Debug" + "ANSI" + "Static" + "Modular" + "GUI" + "wxMSW" + "Dynamic" + "Yes" + "No" + "No" + "%WXVERSION%" + "%EXECUTABLE%" + "" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + + + + + + + "Projects" + "root-document" + "" + "project" + 1 + 1 + 0 + 0 + + "Windows" + "html-document" + "" + "dialogsfolder" + 1 + 1 + 0 + 1 + + "Texts and Drawings" + "dialog-document" + "" + "dialog" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbDialogProxy" + 10000 + 0 + "" + 0 + "ID_DIALOG" + 10000 + "WinEDA_GraphicItemsOptionsDialog" + "wxDialog" + "wxDialog" + "dialog_graphic_items_options.cpp" + "dialog_graphic_items_options.h" + "" + "Texts and Drawings" + 1 + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + "" + 0 + 1 + -1 + -1 + 400 + 300 + "" + + "wxBoxSizer H" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "wbBoxSizerProxy" + "Horizontal" + "" + 0 + 0 + 0 + "<Any platform>" + + "wxStaticBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbStaticBoxSizerProxy" + "wxID_ANY" + "-1" + "Graphics:" + "" + "" + "" + 0 + 1 + "Vertical" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_GraphicSegmWidthTitle" + "Graphic segm Width" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL_SEGW" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL_SEGW" + 10001 + "wxTextCtrl" + "m_OptPcbSegmWidth" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_BoardEdgesWidthTitle" + "Board Edges Width" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL_EDGES" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL_EDGES" + 10002 + "wxTextCtrl" + "m_OptPcbEdgesWidth" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_CopperTextWidthTitle" + "Copper Text Width" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL_TEXTW" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL_TEXTW" + 10003 + "wxTextCtrl" + "m_OptPcbTextWidth" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_TextSizeVTitle" + "Text Size V" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL_TEXTV" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL_TEXTV" + 10004 + "wxTextCtrl" + "m_OptPcbTextVSize" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_TextSizeHTitle" + "Text Size H" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL_TEXTH" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL_TEXTH" + 10005 + "wxTextCtrl" + "m_OptPcbTextHSize" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + + "Spacer" + "dialog-control-document" + "" + "spacer" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbSpacerProxy" + 5 + 5 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + + "wxStaticBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbStaticBoxSizerProxy" + "wxID_ANY" + "-1" + "Modules:" + "" + "" + "" + 0 + 1 + "Vertical" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_EdgeModWidthTitle" + "Edges Module Width" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL_EDGEMOD_W" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL_EDGEMOD_W" + 10006 + "wxTextCtrl" + "m_OptModuleEdgesWidth" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_TextModWidthTitle" + "Text Module Width" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL_TXTMOD_W" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL_TXTMOD_W" + 10007 + "wxTextCtrl" + "m_OptModuleTextWidth" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_TextModSizeVTitle" + "Text Module Size V" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL_TXTMOD_V" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL_TXTMOD_V" + 10008 + "wxTextCtrl" + "m_OptModuleTextVSize" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_TextModSizeHTitle" + "Text Module Size H" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL_TXTMOD_H" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL_TXTMOD_H" + 10009 + "wxTextCtrl" + "m_OptModuleTextHSize" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + + "Spacer" + "dialog-control-document" + "" + "spacer" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbSpacerProxy" + 5 + 5 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxButton: wxID_OK" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnOkClick" + "wxID_OK" + 5100 + "wxButton" + "" + "&OK" + 0 + "" + "" + "" + "CE0000" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxButton: wxID_CANCEL" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "25/6/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnCancelClick" + "wxID_CANCEL" + 5101 + "wxButton" + "" + "&Cancel" + 0 + "" + "" + "" + "0000FF" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + + + + "Sources" + "html-document" + "" + "sourcesfolder" + 1 + 1 + 0 + 1 + + "dialog_graphic_items_options.rc" + "source-editor-document" + "dialog_graphic_items_options.rc" + "source-editor" + 0 + 0 + 1 + 0 + "25/6/2006" + "" + + + + "Images" + "html-document" + "" + "bitmapsfolder" + 1 + 1 + 0 + 1 + + + + +
diff --git a/pcbnew/dialog_initpcb.pjd b/pcbnew/dialog_initpcb.pjd new file mode 100644 index 0000000000..e1bedaeb5c --- /dev/null +++ b/pcbnew/dialog_initpcb.pjd @@ -0,0 +1,1019 @@ + + +
+ 0 + "" + "" + "" + "" + 26 + "" + 0 + 0 + 0 + 1 + 1 + 0 + "jean-pierre Charras" + "License GNU" + "" + 0 + "<All platforms>" + "<Any>" + "///////////////////////////////////////////////////////////////////////////// +// Name: %HEADER-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SOURCE-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + " +/*! + * %BODY% + */ + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SYMBOLS-FILENAME% +// Purpose: Symbols file +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma interface "%HEADER-FILENAME%" +#endif + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma implementation "%HEADER-FILENAME%" +#endif + +// For compilers that support precompilation, includes "wx/wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ +#pragma hdrstop +#endif + +#ifndef WX_PRECOMP +#include "wx/wx.h" +#endif + +" + "app_resources.h" + "app_resources.cpp" + "AppResources" + "app.h" + "app.cpp" + "Application" + 0 + "" + "<None>" + "<System>" + "<System>" + "" + 0 + 1 + 1 +
+ + + "" + "data-document" + "" + "" + 0 + 1 + 0 + 0 + + "Configurations" + "config-data-document" + "" + "" + 0 + 1 + 0 + 0 + "" + 1 + + + + + + + "Projects" + "root-document" + "" + "project" + 1 + 1 + 0 + 0 + + "Windows" + "html-document" + "" + "dialogsfolder" + 1 + 1 + 0 + 1 + + "Global Delete" + "dialog-document" + "" + "dialog" + 0 + 1 + 0 + 0 + "15/2/2006" + "wbDialogProxy" + 10000 + 0 + "" + 0 + "ID_DIALOG" + 10000 + "WinEDA_PcbGlobalDeleteFrame" + "wxDialog" + "wxDialog" + "dialog_initpcb.cpp" + "dialog_initpcb.h" + "" + "Global Delete" + 1 + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + "" + 0 + 1 + -1 + -1 + 400 + 300 + "" + + "wxBoxSizer H" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "15/2/2006" + "wbBoxSizerProxy" + "Horizontal" + "" + 0 + 0 + 0 + "<Any platform>" + + "wxStaticBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "15/2/2006" + "wbStaticBoxSizerProxy" + "wxID_ANY" + -1 + "Items to delete" + "" + "" + "" + 0 + 1 + "Vertical" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxCheckBox: ID_CHECKBOX" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "15/2/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX" + 10001 + "wxCheckBox" + "m_DelZones" + "Delete Zones" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX1" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "15/2/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX1" + 10002 + "wxCheckBox" + "m_DelTexts" + "Delete Texts" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX2" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "15/2/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX2" + 10003 + "wxCheckBox" + "m_DelEdges" + "Delete Edges" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX3" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "15/2/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX3" + 10004 + "wxCheckBox" + "m_DelDrawings" + "Delete Drawings" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX4" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "15/2/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX4" + 10005 + "wxCheckBox" + "m_DelModules" + "Delete Modules" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX5" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "15/2/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX5" + 10006 + "wxCheckBox" + "m_DelTracks" + "Delete Tracks" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX6" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "15/2/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX6" + 10007 + "wxCheckBox" + "m_DelMarkers" + "Delete Markers" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX7" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "15/2/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX7" + 10008 + "wxCheckBox" + "m_DelAlls" + "Clear Board" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "15/2/2006" + "wbBoxSizerProxy" + "Vertical" + "" + 0 + 0 + 0 + "<Any platform>" + + "wxStaticBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "15/2/2006" + "wbStaticBoxSizerProxy" + "wxID_ANY" + -1 + "Track Filter" + "" + "" + "" + 0 + 1 + "Vertical" + "" + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxCheckBox: ID_CHECKBOX8" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "15/2/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX8" + 10009 + "wxCheckBox" + "m_TrackFilterAR" + "Include AutoRouted Tracks" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX9" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "15/2/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX9" + 10010 + "wxCheckBox" + "m_TrackFilterLocked" + "Include Locked Tracks" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + "Spacer" + "dialog-control-document" + "" + "spacer" + 0 + 1 + 0 + 0 + "15/2/2006" + "wbSpacerProxy" + 5 + 5 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "15/2/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxButton: wxID_OK" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "15/2/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnOkClick" + "wxID_OK" + 5100 + "wxButton" + "" + "&OK" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxButton: wxID_CANCEL" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "15/2/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnCancelClick" + "wxID_CANCEL" + 5101 + "wxButton" + "" + "&Cancel" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + + + + + "Sources" + "html-document" + "" + "sourcesfolder" + 1 + 1 + 0 + 1 + + "dialog_initpcb.rc" + "source-editor-document" + "dialog_initpcb.rc" + "source-editor" + 0 + 0 + 1 + 0 + "15/2/2006" + "" + + + + "Images" + "html-document" + "" + "bitmapsfolder" + 1 + 1 + 0 + 1 + + + + +
diff --git a/pcbnew/dialog_netlist.pjd b/pcbnew/dialog_netlist.pjd new file mode 100644 index 0000000000..bb4e4730e4 --- /dev/null +++ b/pcbnew/dialog_netlist.pjd @@ -0,0 +1,940 @@ + + +
+ 0 + "" + "" + "" + "" + 23 + "" + 0 + 0 + 0 + 1 + 1 + 0 + "jean-pierre Charras" + "License GNU" + "" + 0 + "<All platforms>" + "<Any>" + "///////////////////////////////////////////////////////////////////////////// +// Name: %HEADER-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SOURCE-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + " +/*! + * %BODY% + */ + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SYMBOLS-FILENAME% +// Purpose: Symbols file +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma interface "%HEADER-FILENAME%" +#endif + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma implementation "%HEADER-FILENAME%" +#endif + +// For compilers that support precompilation, includes "wx/wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ +#pragma hdrstop +#endif + +#ifndef WX_PRECOMP +#include "wx/wx.h" +#endif + +" + "app_resources.h" + "app_resources.cpp" + "AppResources" + "app.h" + "app.cpp" + "Application" + 0 + "" + "<None>" + "<System>" + "<System>" + "" + 0 + 1 + 1 +
+ + + "" + "data-document" + "" + "" + 0 + 1 + 0 + 0 + + "Configurations" + "config-data-document" + "" + "" + 0 + 1 + 0 + 0 + "" + 1 + "" + "Debug" + "ANSI" + "Static" + "Modular" + "GUI" + "wxMSW" + "Dynamic" + "Yes" + "No" + "No" + "%WXVERSION%" + "%EXECUTABLE%" + "" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + + + + + + + "Projects" + "root-document" + "" + "project" + 1 + 1 + 0 + 0 + + "Windows" + "html-document" + "" + "dialogsfolder" + 1 + 1 + 0 + 1 + + "Netlist: " + "dialog-document" + "" + "dialog" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbDialogProxy" + 10000 + 0 + "" + 0 + "ID_DIALOG" + 10000 + "WinEDA_NetlistFrame" + "wxDialog" + "wxDialog" + "dialog_netlist.cpp" + "dialog_netlist.h" + "" + "Netlist: " + 1 + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + "" + 0 + 1 + -1 + -1 + 400 + 300 + "" + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "wbBoxSizerProxy" + "Vertical" + "" + 0 + 0 + 0 + "<Any platform>" + + "wxBoxSizer H" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbBoxSizerProxy" + "Horizontal" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxRadioBox: ID_RADIOBOX" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbRadioBoxProxy" + "ID_RADIOBOX" + 10005 + "wxRadioBox" + "m_Select_By_Timestamp" + "Module Selection:" + 1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + "Reference|Timestamp" + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxRadioBox: ID_RADIOBOX1" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbRadioBoxProxy" + "ID_RADIOBOX1" + 10006 + "wxRadioBox" + "m_DeleteBadTracks" + "Bad Tracks Deletion:" + 1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + "Keep|Delete" + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxRadioBox: ID_RADIOBOX2" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbRadioBoxProxy" + "ID_RADIOBOX2" + 10007 + "wxRadioBox" + "m_ChangeExistantModuleCtrl" + "Exchange Module:" + 1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + "Keep|Change" + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX" + 10008 + "wxCheckBox" + "m_DisplayWarningCtrl" + "Display Warnings" + 0 + "" + "" + "DisplayWarning" + "wxGenericValidator(& %VARIABLE%)" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + "Spacer" + "dialog-control-document" + "" + "spacer" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbSpacerProxy" + 5 + 5 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxButton: ID_OPEN_NELIST" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnOpenNelistClick" + "ID_OPEN_NELIST" + 10001 + "wxButton" + "" + "Select" + 0 + "" + "" + "" + "D90000" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxButton: ID_READ_NETLIST_FILE" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnReadNetlistFileClick" + "ID_READ_NETLIST_FILE" + 10002 + "wxButton" + "" + "Read" + 0 + "" + "" + "" + "008000" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxButton: ID_TEST_NETLIST" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnTestNetlistClick" + "ID_TEST_NETLIST" + 10003 + "wxButton" + "" + "Module Test" + 0 + "" + "" + "" + "008080" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxButton: ID_COMPILE_RATSNEST" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnCompileRatsnestClick" + "ID_COMPILE_RATSNEST" + 10004 + "wxButton" + "" + "Compile" + 0 + "" + "" + "" + "000084" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxButton: wxID_CLOSE" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnCloseClick" + "wxID_CLOSE" + 5001 + "wxButton" + "" + "&Close" + 0 + "" + "" + "" + "800080" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + + "wxTextCtrl: ID_TEXTCTRL" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL" + 10009 + "wxTextCtrl" + "m_MessageWindow" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 1 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + 120 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + + + "Sources" + "html-document" + "" + "sourcesfolder" + 1 + 1 + 0 + 1 + + "dialog_netlist.rc" + "source-editor-document" + "dialog_netlist.rc" + "source-editor" + 0 + 0 + 1 + 0 + "26/3/2006" + "" + + + + "Images" + "html-document" + "" + "bitmapsfolder" + 1 + 1 + 0 + 1 + + + + +
diff --git a/pcbnew/dialog_pad_edit.pjd b/pcbnew/dialog_pad_edit.pjd new file mode 100644 index 0000000000..80dab493dc --- /dev/null +++ b/pcbnew/dialog_pad_edit.pjd @@ -0,0 +1,1777 @@ + + +
+ 0 + "" + "" + "" + "" + 39 + "" + 0 + 0 + 0 + 1 + 1 + 0 + "jean-pierre Charras" + "License GNU" + "" + 0 + "<All platforms>" + "<Any>" + "///////////////////////////////////////////////////////////////////////////// +// Name: %HEADER-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SOURCE-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + " +/*! + * %BODY% + */ + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SYMBOLS-FILENAME% +// Purpose: Symbols file +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma interface "%HEADER-FILENAME%" +#endif + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma implementation "%HEADER-FILENAME%" +#endif + +// For compilers that support precompilation, includes "wx/wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ +#pragma hdrstop +#endif + +#ifndef WX_PRECOMP +#include "wx/wx.h" +#endif + +" + "app_resources.h" + "app_resources.cpp" + "AppResources" + "app.h" + "app.cpp" + "Application" + 0 + "" + "<None>" + "<System>" + "<System>" + "" + 0 + 0 + 4 + "" + 0 + 0 + 1 + 1 + 1 + 1 +
+ + + "" + "data-document" + "" + "" + 0 + 1 + 0 + 0 + + "Configurations" + "config-data-document" + "" + "" + 0 + 1 + 0 + 0 + "" + 1 + "" + "Debug" + "ANSI" + "Static" + "Modular" + "GUI" + "wxMSW" + "Dynamic" + "Yes" + "No" + "No" + "%WXVERSION%" + "%EXECUTABLE%" + "" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + + + + + + + "Projects" + "root-document" + "" + "project" + 1 + 1 + 0 + 0 + + "Windows" + "html-document" + "" + "dialogsfolder" + 1 + 1 + 0 + 1 + + "Pad properties" + "dialog-document" + "" + "dialog" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbDialogProxy" + 10000 + 0 + "" + 0 + "ID_DIALOG" + 10000 + "WinEDA_PadPropertiesFrame" + "wxDialog" + "wxDialog" + "dialog_pad_edit.cpp" + "dialog_pad_edit.h" + "" + "Pad properties" + 1 + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + "" + 0 + 1 + -1 + -1 + 400 + 300 + "" + + "wxBoxSizer H" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "wbBoxSizerProxy" + "Horizontal" + "" + 0 + 0 + 0 + "<Any platform>" + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbBoxSizerProxy" + "Vertical" + "m_LeftBoxSizer" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "" + "Pad Num :" + -1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL_PADNUM" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL_PADNUM" + 10001 + "wxTextCtrl" + "m_PadNumCtrl" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "" + "Pad Net Name :" + -1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL_NETNAME" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL_NETNAME" + 10002 + "wxTextCtrl" + "m_PadNetNameCtrl" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "30/5/2006" + "wbBoxSizerProxy" + "Vertical" + "m_PadPositionBoxSizer" + "Expand" + "Centre" + 0 + 5 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + "<Any platform>" + + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "3/8/2006" + "wbBoxSizerProxy" + "Vertical" + "m_DrillShapeBoxSizer" + "Expand" + "Expand" + 0 + 5 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + "<Any platform>" + + "wxRadioBox: ID_RADIOBOX_DRILL_SHAPE" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "3/8/2006" + "wbRadioBoxProxy" + "wxEVT_COMMAND_RADIOBOX_SELECTED|OnRadioboxDrillShapeSelected" + "ID_RADIOBOX_DRILL_SHAPE" + 10019 + "wxRadioBox" + "m_DrillShapeCtrl" + "Drill Shape:" + 1 + "Circle|Oval" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbBoxSizerProxy" + "Vertical" + "m_PadOptSizer" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxRadioBox: ID_LISTBOX_ORIENT_PAD" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbRadioBoxProxy" + "wxEVT_COMMAND_RADIOBOX_SELECTED|OnListboxOrientPadSelected" + "ID_LISTBOX_ORIENT_PAD" + 10003 + "wxRadioBox" + "m_PadOrient" + "Pad Orient:" + 1 + "0|90|-90|180|User" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxRadioBox: ID_LISTBOX_SHAPE_PAD" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbRadioBoxProxy" + "wxEVT_COMMAND_RADIOBOX_SELECTED|OnListboxShapePadSelected" + "ID_LISTBOX_SHAPE_PAD" + 10004 + "wxRadioBox" + "m_PadShape" + "Pad Shape:" + 1 + "Circle|Oval|Rect|Trapezoidal" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxRadioBox: ID_LISTBOX_TYPE_PAD" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbRadioBoxProxy" + "wxEVT_COMMAND_RADIOBOX_SELECTED|OnListboxTypePadSelected" + "ID_LISTBOX_TYPE_PAD" + 10005 + "wxRadioBox" + "m_PadType" + "Pad Type:" + 1 + "Standard|SMD|Conn|Hole|Mechanical" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxButton: wxID_OK" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnOkClick" + "wxID_OK" + 5100 + "wxButton" + "" + "&OK" + 0 + "" + "" + "" + "CC0000" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxButton: wxID_CANCEL" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnCancelClick" + "wxID_CANCEL" + 5101 + "wxButton" + "" + "&Cancel" + 0 + "" + "" + "" + "0000FF" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxStaticBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbStaticBoxSizerProxy" + "wxID_ANY" + "-1" + "Layers:" + "" + "" + "" + 0 + 1 + "Vertical" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxCheckBox: ID_CHECKBOX" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX" + 10006 + "wxCheckBox" + "m_PadLayerCu" + "Copper layer" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX1" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX1" + 10007 + "wxCheckBox" + "m_PadLayerCmp" + "Comp layer" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "Spacer" + "dialog-control-document" + "" + "spacer" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbSpacerProxy" + 5 + 5 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + + "wxCheckBox: ID_CHECKBOX2" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX2" + 10008 + "wxCheckBox" + "m_PadLayerAdhCmp" + "Adhesive Cmp" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX3" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX3" + 10009 + "wxCheckBox" + "m_PadLayerAdhCu" + "Adhesive Copper" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX4" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX4" + 10010 + "wxCheckBox" + "m_PadLayerPateCmp" + "Solder paste Cmp" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX5" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX5" + 10011 + "wxCheckBox" + "m_PadLayerPateCu" + "Solder paste Copper" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX6" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX6" + 10012 + "wxCheckBox" + "m_PadLayerSilkCmp" + "Silkscreen Cmp" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX7" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX7" + 10013 + "wxCheckBox" + "m_PadLayerSilkCu" + "Silkscreen Copper" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX8" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX8" + 10014 + "wxCheckBox" + "m_PadLayerMaskCmp" + "Solder mask Cmp" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX9" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX9" + 10015 + "wxCheckBox" + "m_PadLayerMaskCu" + "Solder mask Copper" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX10" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX10" + 10016 + "wxCheckBox" + "m_PadLayerECO1" + "E.C.O.1 layer" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX11" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX11" + 10017 + "wxCheckBox" + "m_PadLayerECO2" + "E.C.O.2 layer" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX12" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "28/7/2006" + "wbCheckBoxProxy" + "ID_CHECKBOX12" + 10018 + "wxCheckBox" + "m_PadLayerDraft" + "Draft layer" + 0 + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + + + + + "Sources" + "html-document" + "" + "sourcesfolder" + 1 + 1 + 0 + 1 + + "dialog_pad_edit.rc" + "source-editor-document" + "dialog_pad_edit.rc" + "source-editor" + 0 + 0 + 1 + 0 + "28/7/2006" + "" + + + + "Images" + "html-document" + "" + "bitmapsfolder" + 1 + 1 + 0 + 1 + + + + +
diff --git a/pcbnew/dialog_setup_libs.pjd b/pcbnew/dialog_setup_libs.pjd new file mode 100644 index 0000000000..d6ac829000 --- /dev/null +++ b/pcbnew/dialog_setup_libs.pjd @@ -0,0 +1,1123 @@ + + +
+ 0 + "" + "" + "" + "" + 28 + "" + 0 + 0 + 0 + 1 + 1 + 0 + "jean-pierre Charras" + "License GNU" + "" + 0 + "<All platforms>" + "<Any>" + "///////////////////////////////////////////////////////////////////////////// +// Name: %HEADER-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SOURCE-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + " +/*! + * %BODY% + */ + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SYMBOLS-FILENAME% +// Purpose: Symbols file +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma interface "%HEADER-FILENAME%" +#endif + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma implementation "%HEADER-FILENAME%" +#endif + +// For compilers that support precompilation, includes "wx/wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ +#pragma hdrstop +#endif + +#ifndef WX_PRECOMP +#include "wx/wx.h" +#endif + +" + "app_resources.h" + "app_resources.cpp" + "AppResources" + "app.h" + "app.cpp" + "Application" + 0 + "" + "<None>" + "<System>" + "<System>" + "" + 0 + 1 + 1 +
+ + + "" + "data-document" + "" + "" + 0 + 1 + 0 + 0 + + "Configurations" + "config-data-document" + "" + "" + 0 + 1 + 0 + 0 + "" + 1 + "" + "Debug" + "ANSI" + "Static" + "Modular" + "GUI" + "wxMSW" + "Dynamic" + "Yes" + "No" + "No" + "%WXVERSION%" + "%EXECUTABLE%" + "" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + + + + + + + "Projects" + "root-document" + "" + "project" + 1 + 1 + 0 + 0 + + "Windows" + "html-document" + "" + "dialogsfolder" + 1 + 1 + 0 + 1 + + "Untitled" + "dialog-document" + "" + "dialog" + 0 + 1 + 0 + 0 + "17/2/2006" + "wbDialogProxy" + 10000 + 0 + "" + 0 + "wxEVT_CLOSE_WINDOW|OnCloseWindow" + "ID_DIALOG" + 10000 + "KiConfigPcbnewFrame" + "wxDialog" + "wxDialog" + "dialog_setup_libs.cpp" + "dialog_setup_libs.h" + "" + "Dialog" + 1 + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + "" + 0 + 1 + -1 + -1 + 400 + 300 + "" + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "17/10/2006" + "wbBoxSizerProxy" + "Vertical" + "" + 0 + 0 + 0 + "<Any platform>" + + "wxBoxSizer H" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "17/10/2006" + "wbBoxSizerProxy" + "Horizontal" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "17/10/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxButton: SAVE_CFG" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "17/10/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnSaveCfgClick" + "SAVE_CFG" + 10001 + "wxButton" + "" + "Save Cfg" + 0 + "" + "" + "" + "CC0000" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "Spacer" + "dialog-control-document" + "" + "spacer" + 0 + 1 + 0 + 0 + "18/4/2006" + "wbSpacerProxy" + 5 + 5 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + + "wxStaticBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "17/10/2006" + "wbStaticBoxSizerProxy" + "wxID_ANY" + -1 + "Files ext:" + "m_FileExtList" + "" + "" + 0 + 1 + "Vertical" + "" + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "17/10/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxBoxSizer H" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "17/10/2006" + "wbBoxSizerProxy" + "Horizontal" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "17/10/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Centre" + 0 + 5 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "<Any platform>" + + "wxBoxSizer H" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "17/10/2006" + "wbBoxSizerProxy" + "Horizontal" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxButton: DEL_LIB" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "17/10/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnDelLibClick" + "DEL_LIB" + 10002 + "wxButton" + "" + "Del" + 0 + "" + "" + "" + "CC0000" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxButton: ADD_LIB" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "17/10/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnAddLibClick" + "ADD_LIB" + 10003 + "wxButton" + "" + "Add" + 0 + "" + "" + "" + "008000" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxButton: INSERT_LIB" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "17/10/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnInsertLibClick" + "INSERT_LIB" + 10004 + "wxButton" + "" + "Ins" + 1 + "" + "" + "" + "0000FF" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "17/10/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "17/10/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "" + "Libraries" + "" + "" + "" + "CC0000" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 0 + 0 + 0 + 1 + 0 + "" + "" + + + "wxListBox: ID_LIST_LIBS" + "dialog-control-document" + "" + "listbox" + 0 + 1 + 0 + 0 + "17/10/2006" + "wbListBoxProxy" + "ID_LIST_LIBS" + 10005 + "wxListBox" + "m_ListLibr" + "" + "" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + 200 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + + + + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "17/10/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "" + "Lib Modules Dir:" + "" + "" + "" + "CC0000" + "" + 0 + 1 + "<Any platform>" + "" + "" + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Top" + 0 + 5 + 1 + 1 + 0 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "17/10/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL" + 10007 + "wxTextCtrl" + "m_TextLibDir" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "g_UserLibDirBuffer" + "wxTextValidator(wxFILTER_NONE, & %VARIABLE%)" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "18/3/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "" + "Module Doc File:" + "" + "" + "" + "CC0000" + "" + 0 + 1 + "<Any platform>" + "" + "" + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Top" + 0 + 5 + 1 + 1 + 0 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL1" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "18/3/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL1" + 10008 + "wxTextCtrl" + "m_TextHelpModulesFileName" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + + + + "Sources" + "html-document" + "" + "sourcesfolder" + 1 + 1 + 0 + 1 + + "dialog_setup_libs.rc" + "source-editor-document" + "dialog_setup_libs.rc" + "source-editor" + 0 + 0 + 1 + 0 + "17/2/2006" + "" + + + + "Images" + "html-document" + "" + "bitmapsfolder" + 1 + 1 + 0 + 1 + + + + +
diff --git a/pcbnew/dialog_track_options.pjd b/pcbnew/dialog_track_options.pjd new file mode 100644 index 0000000000..a53f834dc5 --- /dev/null +++ b/pcbnew/dialog_track_options.pjd @@ -0,0 +1,1361 @@ + + +
+ 0 + "" + "" + "" + "" + 30 + "" + 0 + 0 + 0 + 1 + 1 + 0 + "jean-pierre Charras" + "License GNU" + "" + 0 + "<All platforms>" + "<Any>" + "///////////////////////////////////////////////////////////////////////////// +// Name: %HEADER-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SOURCE-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + " +/*! + * %BODY% + */ + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SYMBOLS-FILENAME% +// Purpose: Symbols file +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma interface "%HEADER-FILENAME%" +#endif + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma implementation "%HEADER-FILENAME%" +#endif + +// For compilers that support precompilation, includes "wx/wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ +#pragma hdrstop +#endif + +#ifndef WX_PRECOMP +#include "wx/wx.h" +#endif + +" + "app_resources.h" + "app_resources.cpp" + "AppResources" + "app.h" + "app.cpp" + "Application" + 0 + "" + "<None>" + "<System>" + "<System>" + "" + 0 + 1 + 1 +
+ + + "" + "data-document" + "" + "" + 0 + 1 + 0 + 0 + + "Configurations" + "config-data-document" + "" + "" + 0 + 1 + 0 + 0 + "" + 1 + "" + "Debug" + "ANSI" + "Static" + "Modular" + "GUI" + "wxMSW" + "Dynamic" + "Yes" + "No" + "No" + "%WXVERSION%" + "%EXECUTABLE%" + "" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + + + + + + + "Projects" + "root-document" + "" + "project" + 1 + 1 + 0 + 0 + + "Windows" + "html-document" + "" + "dialogsfolder" + 1 + 1 + 0 + 1 + + "Tracks and Vias Sizes" + "dialog-document" + "" + "dialog" + 0 + 1 + 0 + 0 + "24/4/2006" + "wbDialogProxy" + 10000 + 0 + "" + 0 + "ID_DIALOG" + 10000 + "WinEDA_PcbTracksDialog" + "wxDialog" + "wxDialog" + "dialog_track_options.cpp" + "dialog_track_options.h" + "" + "Tracks and Vias Sizes" + 1 + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + "" + 0 + 1 + -1 + -1 + 400 + 300 + "" + + "wxBoxSizer H" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "wbBoxSizerProxy" + "Horizontal" + "" + 0 + 0 + 0 + "<Any platform>" + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "24/4/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "24/4/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_ViaSizeTitle" + "Via Size" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "24/4/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL" + 10001 + "wxTextCtrl" + "m_OptViaSize" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "24/4/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_ViaDefaultDrillValueTitle" + "Default Via Drill" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL1" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "24/4/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL1" + 10002 + "wxTextCtrl" + "m_OptViaDrill" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "24/4/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_ViaAltDrillValueTitle" + "Alternate Via Drill" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL2" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "24/4/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL2" + 10003 + "wxTextCtrl" + "m_OptCustomViaDrill" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "Spacer" + "dialog-control-document" + "" + "spacer" + 0 + 1 + 0 + 0 + "24/4/2006" + "wbSpacerProxy" + 5 + 5 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + + "wxRadioBox: ID_VIA_TYPE_SELECTION" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "24/4/2006" + "wbRadioBoxProxy" + "ID_VIA_TYPE_SELECTION" + 10004 + "wxRadioBox" + "m_OptViaType" + "Via Type" + 1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + "Blind Via|Buried Via|Standard Via" + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + "Spacer" + "dialog-control-document" + "" + "spacer" + 0 + 1 + 0 + 0 + "24/4/2006" + "wbSpacerProxy" + 5 + 5 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "24/4/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "24/4/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_TrackWidthTitle" + "Track Width" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL3" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "24/4/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL3" + 10005 + "wxTextCtrl" + "m_OptTrackWidth" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "24/4/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_TrackClearanceTitle" + "Clearance" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL4" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "24/4/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL4" + 10006 + "wxTextCtrl" + "m_OptTrackClearance" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "24/4/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_MaskClearanceTitle" + "Mask clearance" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL5" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "24/4/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL5" + 10007 + "wxTextCtrl" + "m_OptMaskMargin" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "Spacer" + "dialog-control-document" + "" + "spacer" + 0 + 1 + 0 + 0 + "24/4/2006" + "wbSpacerProxy" + 5 + 5 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "25/2/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxButton: wxID_OK" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "25/2/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnOkClick" + "wxID_OK" + 5100 + "wxButton" + "" + "&OK" + 0 + "" + "" + "" + "D20000" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxButton: wxID_CANCEL" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "25/2/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnCancelClick" + "wxID_CANCEL" + 5101 + "wxButton" + "" + "&Cancel" + 0 + "" + "" + "" + "0000FF" + "" + 0 + 1 + "<Any platform>" + 1 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + + + + + "Sources" + "html-document" + "" + "sourcesfolder" + 1 + 1 + 0 + 1 + + "dialog_track_options.rc" + "source-editor-document" + "dialog_track_options.rc" + "source-editor" + 0 + 0 + 1 + 0 + "24/4/2006" + "" + + + + "Images" + "html-document" + "" + "bitmapsfolder" + 1 + 1 + 0 + 1 + + + + +
diff --git a/pcbnew/drc.cpp b/pcbnew/drc.cpp index eb336bc2e4..e06ab440de 100644 --- a/pcbnew/drc.cpp +++ b/pcbnew/drc.cpp @@ -16,6 +16,12 @@ class WinEDA_DrcFrame; WinEDA_DrcFrame * DrcFrame; +/* saving drc options */ +bool s_Pad2PadTestOpt = true; +bool s_UnconnectedTestOpt = true; +bool s_ZonesTestOpt = false; + + int NumberOfErrors; static MARQUEUR * current_marqueur; /* Pour gestion des marqueurs sur pcb */ @@ -28,10 +34,10 @@ static int xcliplo,ycliplo,xcliphi,ycliphi ; /* coord de la surface de securite /* Routines Locales */ static int Pad_to_Pad_Isol(D_PAD * pad_ref, D_PAD * pad, const int dist_min); -static bool TestPadDrc(WinEDA_BasePcbFrame *frame, wxDC * DC, D_PAD * pad_ref, +static bool Test_Pad_to_Pads_Drc(WinEDA_BasePcbFrame *frame, wxDC * DC, D_PAD * pad_ref, LISTE_PAD * start_buffer, LISTE_PAD * end_buffer, int max_size, bool show_err); -static int distance_a_pad(const D_PAD* pad_to_test, int seg_width, int isol); -static int distance_a_rond(int cx, int cy, int rayon, int longueur); +static int TestClearanceSegmToPad(const D_PAD* pad_to_test, int seg_width, int isol); +static int TestMarginToCircle(int cx, int cy, int rayon, int longueur); static int Tst_Ligne(int x1,int y1,int x2,int y2); static void Affiche_Erreur_DRC(WinEDA_DrawPanel * panel, wxDC * DC, BOARD * Pcb, TRACK * pt_ref, void * pt_item, int errnumber); @@ -100,14 +106,18 @@ int errors; wxString msg; if ( ! DrcInProgress ) { + s_Pad2PadTestOpt = m_Pad2PadTestCtrl->IsChecked(); + s_UnconnectedTestOpt = m_UnconnectedTestCtrl->IsChecked(); + s_ZonesTestOpt = m_ZonesTestCtrl->IsChecked(); AbortDrc = FALSE; m_logWindow->Clear(); g_DesignSettings.m_TrackClearence = ReturnValueFromTextCtrl(*m_SetClearance, m_Parent->m_InternalUnits); /* Test DRC errors (clearance errors, bad connections .. */ - errors = m_Parent->Test_DRC(m_DC); - /* Serach for active routes (unconnected pads) */ - ListUnconnectedPads(event); + errors = m_Parent->Test_DRC(m_DC, m_Pad2PadTestCtrl->IsChecked(), m_ZonesTestCtrl->IsChecked()); + /* Search for active routes (unconnected pads) */ + if ( m_UnconnectedTestCtrl->IsChecked() ) ListUnconnectedPads(event); + else m_UnconnectedCount = 0; if ( errors ) msg.Printf(_("** End Drc: %d errors **\n"),errors); else if ( m_UnconnectedCount == 0 ) @@ -122,10 +132,10 @@ void WinEDA_DrcFrame::DelDRCMarkers(wxCommandEvent & event) /*********************************************************/ { if ( ! DrcInProgress ) - { - m_Parent->Erase_Marqueurs(m_DC, FALSE); + { + m_Parent->Erase_Marqueurs(); m_Parent->DrawPanel->ReDraw(m_DC,TRUE); - } + } else wxBell(); } @@ -145,27 +155,29 @@ void WinEDA_PcbFrame::Install_Test_DRC_Frame(wxDC * DC) } -/***************************************/ -int WinEDA_PcbFrame::Test_DRC(wxDC * DC) -/***************************************/ +/************************************************************************/ +int WinEDA_PcbFrame::Test_DRC(wxDC * DC, bool TestPad2Pad, bool TestZone) +/************************************************************************/ /* Test des isolements : teste les isolements des pistes et place un marqueur sur les divers segments en defaut Principe: Appelle la routine drc() pour chaque segment de piste existant */ { -int ii, old_net; +int ii, jj, old_net; int flag_err_Drc; TRACK * pt_segm; D_PAD * pad; MARQUEUR * Marqueur; -EDA_BaseStruct * PtStruct, *PtNext; +EDA_BaseStruct * PtStruct; wxString Line; #define PRINT_NB_PAD_POS 42 #define PRINT_PAD_ERR_POS 48 #define PRINT_TST_POS 20 #define PRINT_NB_SEGM_POS 26 #define PRINT_TRACK_ERR_POS 32 +#define PRINT_NB_ZONESEGM_POS 60 +#define PRINT_ZONE_ERR_POS 70 DrcInProgress = TRUE; NumberOfErrors = 0; @@ -176,82 +188,86 @@ wxString Line; m_CurrentScreen->SetRefreshReq(); /* Effacement des anciens marqueurs */ - PtStruct = (EDA_BaseStruct*) m_Pcb->m_Drawings; - for( ; PtStruct != NULL; PtStruct = PtNext) - { - PtNext = PtStruct->Pnext; - if(PtStruct->m_StructType == TYPEMARQUEUR ) DeleteStructure(PtStruct); - } + Erase_Marqueurs(); - /* Test DRC des pads entre eux */ - Line.Printf( wxT("%d"),m_Pcb->m_NbPads) ; - Affiche_1_Parametre(this, PRINT_NB_PAD_POS, wxT("NbPad"),Line,RED) ; - Affiche_1_Parametre(this, PRINT_PAD_ERR_POS, wxT("Pad Err"), wxT("0"), LIGHTRED); - Line = wxT("Tst Pad to Pad\n"); - if ( DrcFrame ) DrcFrame->m_logWindow->AppendText(Line); - LISTE_PAD * pad_list_start = CreateSortedPadListByXCoord(m_Pcb); - LISTE_PAD * pad_list_limit = &pad_list_start[m_Pcb->m_NbPads]; - int max_size = 0; - LISTE_PAD * pad_list; - /* Compute the max size of the pads ( used to stop the test) */ - for ( pad_list = pad_list_start; pad_list < pad_list_limit; pad_list++) + if ( TestPad2Pad ) /* Test DRC des pads entre eux */ { - pad = * pad_list; - if ( pad->m_Rayon > max_size ) max_size = pad->m_Rayon; - } - /* Test the pads */ - for ( pad_list = pad_list_start; pad_list < pad_list_limit; pad_list++) - { - pad = * pad_list; - if ( TestPadDrc(this, DC, pad, pad_list, pad_list_limit, max_size, TRUE) == BAD_DRC ) + Line.Printf( wxT("%d"),m_Pcb->m_NbPads) ; + Affiche_1_Parametre(this, PRINT_NB_PAD_POS, wxT("NbPad"),Line,RED) ; + Affiche_1_Parametre(this, PRINT_PAD_ERR_POS, wxT("Pad Err"), wxT("0"), LIGHTRED); + if ( DrcFrame ) DrcFrame->m_logWindow->AppendText(_("Tst Pad to Pad\n")); + LISTE_PAD * pad_list_start = CreateSortedPadListByXCoord(m_Pcb); + LISTE_PAD * pad_list_limit = &pad_list_start[m_Pcb->m_NbPads]; + int max_size = 0; + LISTE_PAD * pad_list; + /* Compute the max size of the pads ( used to stop the test) */ + for ( pad_list = pad_list_start; pad_list < pad_list_limit; pad_list++) { - Marqueur = current_marqueur; - current_marqueur = NULL; - if( Marqueur == NULL ) - { - DisplayError(this, wxT("Test_Drc(): internal err")); - return NumberOfErrors; - } - Line.Printf( wxT("%d"),NumberOfErrors) ; - Affiche_1_Parametre(this, PRINT_PAD_ERR_POS,wxEmptyString,Line, LIGHTRED); - Marqueur->Pnext = m_Pcb->m_Drawings; - Marqueur->Pback = m_Pcb; - - PtStruct = m_Pcb->m_Drawings; - if(PtStruct) PtStruct->Pback = Marqueur; - m_Pcb->m_Drawings = Marqueur; + pad = * pad_list; + if ( pad->m_Rayon > max_size ) max_size = pad->m_Rayon; } + /* Test the pads */ + for ( pad_list = pad_list_start; pad_list < pad_list_limit; pad_list++) + { + pad = * pad_list; + if ( Test_Pad_to_Pads_Drc(this, DC, pad, pad_list, pad_list_limit, max_size, TRUE) == BAD_DRC ) + { + Marqueur = current_marqueur; + current_marqueur = NULL; + if( Marqueur == NULL ) + { + DisplayError(this, wxT("Test_Drc(): internal err")); + return NumberOfErrors; + } + Line.Printf( wxT("%d"),NumberOfErrors) ; + Affiche_1_Parametre(this, PRINT_PAD_ERR_POS,wxEmptyString,Line, LIGHTRED); + Marqueur->Pnext = m_Pcb->m_Drawings; + Marqueur->Pback = m_Pcb; + + PtStruct = m_Pcb->m_Drawings; + if(PtStruct) PtStruct->Pback = Marqueur; + m_Pcb->m_Drawings = Marqueur; + } + } + free(pad_list_start); } - free(pad_list_start); - /* Test des segments de piste */ + /* Test track segments */ Line.Printf( wxT("%d"),m_Pcb->m_NbSegmTrack) ; Affiche_1_Parametre(this, PRINT_NB_SEGM_POS,_("SegmNb"),Line,RED) ; Affiche_1_Parametre(this, PRINT_TRACK_ERR_POS,_("Track Err"), wxT("0"), LIGHTRED); - pt_segm = (TRACK*)m_Pcb->m_Track; + pt_segm = m_Pcb->m_Track; if ( DrcFrame ) DrcFrame->m_logWindow->AppendText( _("Tst Tracks\n") ); - for( ii = 0, old_net = -1; pt_segm != NULL; pt_segm = (TRACK*)pt_segm->Pnext, ii++) + for( ii = 0, old_net = -1, jj = 0; pt_segm != NULL; pt_segm = (TRACK*)pt_segm->Pnext, ii++, jj--) { - wxYield(); - if(AbortDrc) - { - AbortDrc = FALSE; break; - } if( pt_segm->Pnext == NULL) break; - g_HightLigth_NetCode = pt_segm->m_NetCode; - flag_err_Drc = Drc(this, DC, pt_segm,(TRACK*)pt_segm->Pnext, 1); - Line.Printf( wxT("%d"),ii); - Affiche_1_Parametre(this, PRINT_TST_POS, wxT("Test"),Line,CYAN) ; + if ( jj == 0 ) + { + jj = 10; + wxYield(); + if(AbortDrc) + { + AbortDrc = FALSE; break; + } + /* Print stats */ + Line.Printf( wxT("%d"),ii); + Affiche_1_Parametre(this, PRINT_TST_POS, wxT("Test"),Line,CYAN) ; + } + if ( old_net != pt_segm->m_NetCode) { wxString msg; + jj = 1; EQUIPOT * equipot = GetEquipot(m_Pcb, pt_segm->m_NetCode); if ( equipot ) msg = equipot->m_Netname + wxT(" "); else msg = wxT(""); Affiche_1_Parametre(this, 0,_("Netname"),msg, YELLOW); old_net = pt_segm->m_NetCode; } + + g_HightLigth_NetCode = pt_segm->m_NetCode; + flag_err_Drc = Drc(this, DC, pt_segm,(TRACK*)pt_segm->Pnext, 1); if(flag_err_Drc == BAD_DRC) { Marqueur = current_marqueur; @@ -272,11 +288,102 @@ wxString Line; pt_segm->Draw(DrawPanel, DC, RED^LIGHTRED ); Line.Printf( wxT("%d"),NumberOfErrors); Affiche_1_Parametre(this, PRINT_TRACK_ERR_POS,wxEmptyString,Line, LIGHTRED); - Line.Printf( wxT("%d"),m_Pcb->m_NbSegmTrack); - Affiche_1_Parametre(this, PRINT_NB_SEGM_POS,wxEmptyString,Line,RED) ; } } + /* Test zone segments segments */ + if ( TestZone ) + { + m_Pcb->m_NbSegmZone = 0; + for( pt_segm = (TRACK*)m_Pcb->m_Zone; pt_segm != NULL; pt_segm = (TRACK*)pt_segm->Pnext) + m_Pcb->m_NbSegmZone++; + Line.Printf( wxT("%d"),m_Pcb->m_NbSegmZone) ; + Affiche_1_Parametre(this, PRINT_NB_ZONESEGM_POS,_("SegmNb"),Line,RED) ; + Affiche_1_Parametre(this, PRINT_ZONE_ERR_POS,_("Zone Err"), wxT("0"), LIGHTRED); + + if ( DrcFrame ) DrcFrame->m_logWindow->AppendText( _("Tst Zones\n") ); + + pt_segm = (TRACK*)m_Pcb->m_Zone; + for( ii = 0, old_net = -1, jj = 0; pt_segm != NULL; pt_segm = (TRACK*)pt_segm->Pnext, ii++, jj--) + { + if( pt_segm->Pnext == NULL) break; + if ( jj == 0 ) + { + jj = 100; + wxYield(); + if(AbortDrc) + { + AbortDrc = FALSE; break; + } + /* Print stats */ + Line.Printf( wxT("%d"),ii); + Affiche_1_Parametre(this, PRINT_TST_POS, wxT("Test"),Line,CYAN) ; + } + + if ( old_net != pt_segm->m_NetCode) + { + jj = 1; + wxString msg; + EQUIPOT * equipot = GetEquipot(m_Pcb, pt_segm->m_NetCode); + if ( equipot ) msg = equipot->m_Netname + wxT(" "); + else msg = wxT(""); + Affiche_1_Parametre(this, 0,_("Netname"),msg, YELLOW); + old_net = pt_segm->m_NetCode; + } + g_HightLigth_NetCode = pt_segm->m_NetCode; + /* Test drc with other zone segments, and pads */ + flag_err_Drc = Drc(this, DC, pt_segm,(TRACK*)pt_segm->Pnext, 1); + if(flag_err_Drc == BAD_DRC) + { + Marqueur = current_marqueur; + current_marqueur = NULL; + if( Marqueur == NULL ) + { + DisplayError(this, wxT("Test_Drc(): internal err")); + return NumberOfErrors; + } + Marqueur->Pnext = m_Pcb->m_Drawings; + Marqueur->Pback = m_Pcb; + + PtStruct = m_Pcb->m_Drawings; + if(PtStruct) PtStruct->Pback = Marqueur; + m_Pcb->m_Drawings = Marqueur; + + GRSetDrawMode(DC, GR_OR); + pt_segm->Draw(DrawPanel, DC, RED^LIGHTRED ); + Line.Printf( wxT("%d"),NumberOfErrors); + Affiche_1_Parametre(this, PRINT_ZONE_ERR_POS, wxEmptyString, Line, LIGHTRED); + } + + /* Test drc with track segments */ + int tmp = m_Pcb->m_NbPads; m_Pcb->m_NbPads = 0; // Pads already tested: disable pad test + flag_err_Drc = Drc(this, DC, pt_segm, m_Pcb->m_Track, 1); + m_Pcb->m_NbPads = tmp; + if(flag_err_Drc == BAD_DRC) + { + Marqueur = current_marqueur; + current_marqueur = NULL; + if( Marqueur == NULL ) + { + DisplayError(this, wxT("Test_Drc(): internal err")); + return NumberOfErrors; + } + Marqueur->Pnext = m_Pcb->m_Drawings; + Marqueur->Pback = m_Pcb; + + PtStruct = m_Pcb->m_Drawings; + if(PtStruct) PtStruct->Pback = Marqueur; + m_Pcb->m_Drawings = Marqueur; + + GRSetDrawMode(DC, GR_OR); + pt_segm->Draw(DrawPanel, DC, RED^LIGHTRED ); + Line.Printf( wxT("%d"),NumberOfErrors); + Affiche_1_Parametre(this, PRINT_ZONE_ERR_POS, wxEmptyString, Line, LIGHTRED); + } + } + } + + AbortDrc = FALSE; DrcInProgress = FALSE; return NumberOfErrors; @@ -328,7 +435,7 @@ wxPoint shape_pos; segm_long = dx; /******************************************/ - /* Phase 1 : test DRC avec les pastilles :*/ + /* Phase 1 : test DRC track to pads :*/ /******************************************/ /* calcul de la distance min aux pads : */ @@ -342,7 +449,7 @@ wxPoint shape_pos; face sur CI double face */ if( (pt_pad->m_Masque_Layer & MaskLayer ) == 0 ) { - /* We must test the pad hole. In order to use the function "distance_a_pad", + /* We must test the pad hole. In order to use the function "TestClearanceSegmToPad", a pseudo pad is used, with a shape and a size like the hole */ if ( pt_pad->m_Drill.x == 0 ) continue; D_PAD pseudo_pad((MODULE*)NULL); @@ -353,7 +460,7 @@ wxPoint shape_pos; pseudo_pad.ComputeRayon(); spot_cX = pseudo_pad.m_Pos.x - org_X; spot_cY = pseudo_pad.m_Pos.y - org_Y; - if( distance_a_pad(&pseudo_pad, w_dist, g_DesignSettings.m_TrackClearence) != OK_DRC ) + if( TestClearanceSegmToPad(&pseudo_pad, w_dist, g_DesignSettings.m_TrackClearence) != OK_DRC ) { NumberOfErrors++; if( show_err ) @@ -373,7 +480,7 @@ wxPoint shape_pos; shape_pos = pt_pad->ReturnShapePos(); spot_cX = shape_pos.x - org_X; spot_cY = shape_pos.y - org_Y; - if( distance_a_pad(pt_pad, w_dist, g_DesignSettings.m_TrackClearence) == OK_DRC ) continue ; + if( TestClearanceSegmToPad(pt_pad, w_dist, g_DesignSettings.m_TrackClearence) == OK_DRC ) continue ; /* extremite sur pad ou defaut d'isolation trouve */ else @@ -435,7 +542,7 @@ wxPoint shape_pos; RotatePoint(&dx, &dy, angle); RotatePoint(&x0, &y0, angle); - if( distance_a_rond(x0, y0, w_dist, dx) == BAD_DRC ) + if( TestMarginToCircle(x0, y0, w_dist, dx) == BAD_DRC ) { NumberOfErrors++; if(show_err) @@ -455,7 +562,7 @@ wxPoint shape_pos; if ( pttrack->m_StructType == TYPEVIA ) { - if( distance_a_rond(x0, y0,w_dist,segm_long) == OK_DRC) continue; + if( TestMarginToCircle(x0, y0,w_dist,segm_long) == OK_DRC) continue; NumberOfErrors++; if(show_err) Affiche_Erreur_DRC(frame->DrawPanel, DC, frame->m_Pcb, pt_segment,pttrack,21); @@ -482,7 +589,7 @@ wxPoint shape_pos; Affiche_Erreur_DRC(frame->DrawPanel, DC, frame->m_Pcb, pt_segment,pttrack,2); return(BAD_DRC) ; } - if( distance_a_rond(x0, y0, w_dist,segm_long) == BAD_DRC) + if( TestMarginToCircle(x0, y0, w_dist,segm_long) == BAD_DRC) { NumberOfErrors++; if(show_err) @@ -500,7 +607,7 @@ wxPoint shape_pos; Affiche_Erreur_DRC(frame->DrawPanel, DC, frame->m_Pcb, pt_segment,pttrack,3); return(BAD_DRC) ; } - if( distance_a_rond(xf, yf, w_dist,segm_long) == BAD_DRC) + if( TestMarginToCircle(xf, yf, w_dist,segm_long) == BAD_DRC) { NumberOfErrors++; if(show_err) @@ -534,14 +641,14 @@ wxPoint shape_pos; /* ici l'erreur est due a une extremite pres d'une extremite du segm de reference */ - if(distance_a_rond(x0,y0,w_dist,segm_long) == BAD_DRC) + if(TestMarginToCircle(x0,y0,w_dist,segm_long) == BAD_DRC) { NumberOfErrors++; if(show_err) Affiche_Erreur_DRC(frame->DrawPanel, DC, frame->m_Pcb, pt_segment,pttrack,7); return(BAD_DRC) ; } - if(distance_a_rond(xf,yf,w_dist,segm_long) == BAD_DRC) + if(TestMarginToCircle(xf,yf,w_dist,segm_long) == BAD_DRC) { NumberOfErrors++; if(show_err) @@ -596,14 +703,14 @@ wxPoint shape_pos; RotatePoint(&rx0,&ry0, angle); RotatePoint(&rxf,&ryf, angle); - if(distance_a_rond(rx0,ry0,w_dist,dx) == BAD_DRC) + if(TestMarginToCircle(rx0,ry0,w_dist,dx) == BAD_DRC) { NumberOfErrors++; if(show_err) Affiche_Erreur_DRC(frame->DrawPanel, DC, frame->m_Pcb, pt_segment,pttrack,10); return(BAD_DRC) ; } - if(distance_a_rond(rxf,ryf,w_dist,dx) == BAD_DRC) + if(TestMarginToCircle(rxf,ryf,w_dist,dx) == BAD_DRC) { NumberOfErrors++; if(show_err) @@ -618,7 +725,7 @@ wxPoint shape_pos; } /*****************************************************************************/ -static bool TestPadDrc(WinEDA_BasePcbFrame *frame, wxDC * DC, D_PAD * pad_ref, +static bool Test_Pad_to_Pads_Drc(WinEDA_BasePcbFrame *frame, wxDC * DC, D_PAD * pad_ref, LISTE_PAD * start_buffer, LISTE_PAD * end_buffer, int max_size, bool show_err) /*****************************************************************************/ /* Teste l'isolation de pad_ref avec les autres pads. @@ -652,9 +759,8 @@ LISTE_PAD * pad_list = start_buffer; /* pas de pb si les pads sont du meme module et de la meme reference ( pads multiples ) */ - if ( (pad->m_Parent == pad_ref->m_Parent) && - (strncmp(pad->m_Padname, pad_ref->m_Padname, 4 ) == 0) ) - continue; + if ( (pad->m_Parent == pad_ref->m_Parent) && (pad->m_NumPadName == pad_ref->m_NumPadName) ) + continue; if( Pad_to_Pad_Isol(pad_ref, pad, g_DesignSettings.m_TrackClearence) == OK_DRC ) continue ; else /* defaut d'isolation trouve */ @@ -671,19 +777,23 @@ LISTE_PAD * pad_list = start_buffer; /**************************************************************************************/ static int Pad_to_Pad_Isol(D_PAD * pad_ref, D_PAD * pad, const int dist_min) /***************************************************************************************/ -/* Return OK_DRC si distance entre pad_ref et pas >= dist_min -et BAD_DRC sinon */ +/* Return OK_DRC si clearance between pad_ref and pad is >= dist_min + or BAD_DRC if not */ { wxPoint rel_pos; int dist, diag; wxPoint shape_pos; - +int pad_angle; + rel_pos = pad->ReturnShapePos(); shape_pos = pad_ref->ReturnShapePos(); + // rel_pos is pad position relative to the pad_ref position rel_pos.x -= shape_pos.x; rel_pos.y -= shape_pos.y; dist = (int) hypot( (double) rel_pos.x, (double) rel_pos.y); + diag = OK_DRC; + /* tst rapide: si les cercles exinscrits sont distants de dist_min au moins, il n'y a pas de risque: */ if ( (dist - pad_ref->m_Rayon - pad->m_Rayon) >= dist_min ) @@ -691,7 +801,14 @@ wxPoint shape_pos; /* Ici les pads sont proches et les cercles exinxcrits sont trop proches Selon les formes relatives il peut y avoir ou non erreur */ + + bool swap_pads = false; if ( (pad_ref->m_PadShape != CIRCLE) && (pad->m_PadShape == CIRCLE) ) + swap_pads = true; + else if ( (pad_ref->m_PadShape != OVALE) && (pad->m_PadShape == OVALE) ) + swap_pads = true; + + if ( swap_pads ) { EXCHG (pad_ref, pad); rel_pos.x = - rel_pos.x; @@ -700,30 +817,82 @@ wxPoint shape_pos; switch (pad_ref->m_PadShape) { - case CIRCLE: // pad_ref est assimile a un segment de longeur nulle + case CIRCLE: // pad_ref is like a track segment with a null lenght segm_long = 0; segm_angle = 0; finx = finy = 0; spot_cX = rel_pos.x; spot_cY = rel_pos.y; - diag = distance_a_pad(pad, pad_ref->m_Rayon, dist_min ); + diag = TestClearanceSegmToPad(pad, pad_ref->m_Rayon, dist_min ); break; case RECT: - case OVALE : + RotatePoint(&rel_pos.x, &rel_pos.y, pad_ref->m_Orient); + pad_angle = pad_ref->m_Orient + pad->m_Orient; // pad_angle = pad orient relative to the pad_ref orient + NORMALIZE_ANGLE_POS(pad_angle); + if ( pad->m_PadShape == RECT ) + { + wxSize size = pad->m_Size; + if ( (pad_angle == 0) || (pad_angle == 900) || (pad_angle == 1800) || (pad_angle == 2700)) + { + if ( (pad_angle == 900) || (pad_angle == 2700) ) + { + EXCHG(size.x, size.y ); + } + // Test DRC: + diag = BAD_DRC; + rel_pos.x = ABS(rel_pos.x); rel_pos.y = ABS(rel_pos.y); + if ( (rel_pos.x - ((size.x + pad_ref->m_Size.x)/2) ) >= dist_min ) + diag = OK_DRC; + if ( (rel_pos.y - ((size.y + pad_ref->m_Size.y)/2) ) >= dist_min ) + diag = OK_DRC; + } + + else // Any other orient + { /* TODO : any orient ... */ + } + } + break; + + case OVALE: /* an oval pad is like a track segment */ + { + /* Create and test a track segment with same dimensions */ + int segm_width; + segm_angle = pad_ref->m_Orient; // Segment orient. + if ( pad_ref->m_Size.y < pad_ref->m_Size.x ) /* We suppose the pad is an horizontal oval */ + { + segm_width = pad_ref->m_Size.y; + segm_long = pad_ref->m_Size.x - pad_ref->m_Size.y; + } + else // it was a vertical oval, change to a rotated horizontal one + { + segm_width = pad_ref->m_Size.x; + segm_long = pad_ref->m_Size.y - pad_ref->m_Size.x; + segm_angle += 900; + } + /* the start point must be 0,0 and currently rel_pos is relative the center of pad coordinate */ + int sx = - segm_long /2, sy = 0; // Start point coordinate of the horizontal equivalent segment + RotatePoint(&sx, &sy, segm_angle); // True start point coordinate of the equivalent segment + spot_cX = rel_pos.x + sx; + spot_cY = rel_pos.y + sy; // pad position / segment origin + finx = - sx; + finy = - sy; // end of segment coordinate + diag = TestClearanceSegmToPad(pad, segm_width/2, dist_min); + break; + } + default: /* TODO...*/ - diag = OK_DRC; break; } return diag; } /***************************************************************************/ -static int distance_a_pad(const D_PAD* pad_to_test, int w_segm, int dist_min) +static int TestClearanceSegmToPad(const D_PAD* pad_to_test, int w_segm, int dist_min) /****************************************************************************/ /* - Routine adaptee de la "distance()" (LOCATE.CC) + Routine adaptee de la "distance()" (LOCATE.CPP) teste la distance du pad au segment de droite en cours retourne: @@ -757,7 +926,7 @@ int deltay; /* calcul des coord centre du pad dans le repere axe X confondu avec le segment en tst */ RotatePoint(&spot_cX, &spot_cY, segm_angle); - return (distance_a_rond(spot_cX, spot_cY, seuil+p_dimx, segm_long)); + return (TestMarginToCircle(spot_cX, spot_cY, seuil+p_dimx, segm_long)); } else { @@ -805,14 +974,14 @@ int deltay; y0 = spot_cY + deltay; RotatePoint(&x0,&y0, spot_cX, spot_cY, orient); RotatePoint(&x0,&y0, segm_angle); - bflag = distance_a_rond(x0,y0,p_dimx + seuil, segm_long); + bflag = TestMarginToCircle(x0,y0,p_dimx + seuil, segm_long); if( bflag == BAD_DRC) return(BAD_DRC); x0 = spot_cX; /* x0,y0 = centre du cercle inferieur du pad ovale */ y0 = spot_cY - deltay; RotatePoint(&x0,&y0, spot_cX, spot_cY, orient); RotatePoint(&x0,&y0, segm_angle); - bflag = distance_a_rond(x0,y0,p_dimx + seuil, segm_long); + bflag = TestMarginToCircle(x0,y0,p_dimx + seuil, segm_long); if( bflag == BAD_DRC) return(BAD_DRC); break; @@ -847,7 +1016,7 @@ int deltay; y0 = spot_cY - p_dimy; RotatePoint(&x0,&y0, spot_cX, spot_cY, orient); RotatePoint(&x0,&y0, segm_angle); - bflag = distance_a_rond(x0, y0, seuil, segm_long); + bflag = TestMarginToCircle(x0, y0, seuil, segm_long); if( bflag == BAD_DRC) { return(BAD_DRC); @@ -858,7 +1027,7 @@ int deltay; y0 = spot_cY - p_dimy; RotatePoint(&x0,&y0, spot_cX, spot_cY, orient); RotatePoint(&x0,&y0, segm_angle); - bflag = distance_a_rond(x0, y0, seuil, segm_long); + bflag = TestMarginToCircle(x0, y0, seuil, segm_long); if( bflag == BAD_DRC) { return(BAD_DRC); @@ -869,7 +1038,7 @@ int deltay; y0 = spot_cY + p_dimy; RotatePoint(&x0,&y0, spot_cX, spot_cY, orient); RotatePoint(&x0,&y0, segm_angle); - bflag = distance_a_rond(x0, y0, seuil, segm_long); + bflag = TestMarginToCircle(x0, y0, seuil, segm_long); if( bflag == BAD_DRC) { return(BAD_DRC); @@ -880,7 +1049,7 @@ int deltay; y0 = spot_cY + p_dimy; RotatePoint(&x0,&y0, spot_cX, spot_cY, orient); RotatePoint(&x0,&y0, segm_angle); - bflag = distance_a_rond(x0, y0, seuil, segm_long); + bflag = TestMarginToCircle(x0, y0, seuil, segm_long); if( bflag == BAD_DRC) { return(BAD_DRC); @@ -894,10 +1063,10 @@ int deltay; } /*******************************************************************/ -static int distance_a_rond(int cx, int cy, int rayon, int longueur ) +static int TestMarginToCircle(int cx, int cy, int rayon, int longueur ) /*******************************************************************/ /* - Routine analogue a distance_a_pad. + Routine analogue a TestClearanceSegmToPad. Calcul de la distance d'un cercle (via ronde, extremite de piste) au segment de droite en cours de controle (segment de reference dans son repere ) diff --git a/pcbnew/drc_dialog.pjd b/pcbnew/drc_dialog.pjd new file mode 100644 index 0000000000..75d4eba6e1 --- /dev/null +++ b/pcbnew/drc_dialog.pjd @@ -0,0 +1,1298 @@ + + +
+ 0 + "" + "" + "" + "" + "" + 0 + 0 + 0 + 1 + 1 + 0 + "jean-pierre Charras" + "License GNU" + "" + 0 + 0 + "<All platforms>" + "<Any>" + "///////////////////////////////////////////////////////////////////////////// +// Name: %HEADER-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SOURCE-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SYMBOLS-FILENAME% +// Purpose: Symbols file +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma interface "%HEADER-FILENAME%" +#endif + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma implementation "%HEADER-FILENAME%" +#endif + +// For compilers that support precompilation, includes "wx/wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ +#pragma hdrstop +#endif + +#ifndef WX_PRECOMP +#include "wx/wx.h" +#endif + +" + " /// %BODY% +" + " +/*! + * %BODY% + */ + +" + "app_resources.h" + "app_resources.cpp" + "AppResources" + "app.h" + "app.cpp" + "Application" + 0 + "" + "<None>" + "<System>" + "utf-8" + "<System>" + "" + 0 + 0 + 4 + " " + "" + 0 + 0 + 1 + 1 + 1 + 0 + 1 +
+ + + "" + "data-document" + "" + "" + 0 + 1 + 0 + 0 + + "Configurations" + "config-data-document" + "" + "" + 0 + 1 + 0 + 0 + "" + 1 + "" + "Debug" + "ANSI" + "Static" + "Modular" + "GUI" + "wxMSW" + "Dynamic" + "Yes" + "No" + "No" + "%WXVERSION%" + "%EXECUTABLE%" + "" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + + + + + + + "Projects" + "root-document" + "" + "project" + 1 + 1 + 0 + 1 + + "Windows" + "html-document" + "" + "dialogsfolder" + 1 + 1 + 0 + 1 + + "DRC Control" + "dialog-document" + "" + "dialog" + 0 + 1 + 0 + 0 + "27/4/2006" + "wbDialogProxy" + 10000 + 0 + "" + 0 + "" + 0 + "wxEVT_CLOSE_WINDOW|OnCloseWindow|NONE||" + "ID_DIALOG" + 10000 + "WinEDA_DrcFrame" + "wxDialog" + "wxDialog" + "dialog_drc.cpp" + "dialog_drc.h" + "" + "DRC Control" + 1 + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + "" + 0 + 1 + -1 + -1 + 400 + 300 + 0 + "" + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "wbBoxSizerProxy" + "Vertical" + "m_MainSizer" + 0 + 0 + 0 + "<Any platform>" + + "wxBoxSizer H" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "27/3/2006" + "wbBoxSizerProxy" + "Horizontal" + "m_CommandSizer" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxStaticBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "27/3/2006" + "wbStaticBoxSizerProxy" + "wxID_ANY" + -1 + "Options" + "" + "" + "" + "" + 0 + 1 + "wxStaticBox" + "Vertical" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "27/3/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "wxStaticText" + 1 + 0 + "" + "" + "m_ClearenceTitle" + "Clearance" + -1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL1" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "27/3/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL1" + 10002 + "wxTextCtrl" + "wxTextCtrl" + 1 + 0 + "" + "" + "m_SetClearance" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "Spacer" + "dialog-control-document" + "" + "spacer" + 0 + 1 + 0 + 0 + "30/7/2007" + "wbSpacerProxy" + 5 + 5 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + + "wxStaticBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "30/7/2007" + "wbStaticBoxSizerProxy" + "wxID_ANY" + -1 + "Test Drc:" + "" + "" + "" + "" + 0 + 1 + "wxStaticBox" + "Vertical" + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxCheckBox: ID_CHECKBOX_PAD2PAD" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "30/7/2007" + "wbCheckBoxProxy" + "ID_CHECKBOX_PAD2PAD" + 10009 + "wxCheckBox" + "wxCheckBox" + 1 + 0 + "" + "" + "m_Pad2PadTestCtrl" + "Include pad to pad test" + 0 + "" + "" + "s_Pad2PadTestOpt" + "wxGenericValidator(& %VARIABLE%)" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "30/7/2007" + "wbCheckBoxProxy" + "ID_CHECKBOX" + 10008 + "wxCheckBox" + "wxCheckBox" + 1 + 0 + "" + "" + "m_UnconnectedTestCtrl" + "Include unconnected" + 0 + "" + "" + "s_UnconnectedTestOpt" + "wxGenericValidator(& %VARIABLE%)" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxCheckBox: ID_CHECKBOX_TEST_ZONES" + "dialog-control-document" + "" + "checkbox" + 0 + 1 + 0 + 0 + "30/7/2007" + "wbCheckBoxProxy" + "ID_CHECKBOX_TEST_ZONES" + 10007 + "wxCheckBox" + "wxCheckBox" + 1 + 0 + "" + "" + "m_ZonesTestCtrl" + "Include zones" + 0 + "" + "" + "s_ZonesTestOpt" + "wxGenericValidator(& %VARIABLE%)" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "30/7/2007" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxBoxSizer H" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "30/7/2007" + "wbBoxSizerProxy" + "Horizontal" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "30/7/2007" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxButton: ID_DRC_RUN" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "30/7/2007" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnDrcRunClick" + "ID_DRC_RUN" + 10003 + "wxButton" + "wxButton" + 1 + 0 + "" + "" + "" + "Test Drc" + 0 + "" + "" + "" + "CA0000" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxButton: ID_STOP_CONTROL_DRC" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "30/7/2007" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnStopControlDrcClick" + "ID_STOP_CONTROL_DRC" + 10004 + "wxButton" + "wxButton" + 1 + 0 + "" + "" + "" + "Stop Drc" + 0 + "" + "" + "" + "008080" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "30/7/2007" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxButton: ID_ERASE_DRC_MARKERS" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "30/7/2007" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnEraseDrcMarkersClick" + "ID_ERASE_DRC_MARKERS" + 10005 + "wxButton" + "wxButton" + 1 + 0 + "" + "" + "" + "Del Markers" + 0 + "" + "" + "" + "008000" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxButton: ID_LIST_UNCONNECTED_PADS" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "30/7/2007" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnListUnconnectedPadsClick" + "ID_LIST_UNCONNECTED_PADS" + 10006 + "wxButton" + "wxButton" + 1 + 0 + "" + "" + "" + "List Unconn" + 0 + "" + "" + "" + "0000FF" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + + "wxButton: wxID_CLOSE" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "30/7/2007" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnCloseClick" + "wxID_CLOSE" + 5001 + "wxButton" + "wxButton" + 1 + 0 + "" + "" + "" + "&Close" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "27/3/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "wxStaticText" + 1 + 0 + "" + "" + "" + "Messages:" + -1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "27/3/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL" + 10001 + "wxTextCtrl" + "wxTextCtrl" + 1 + 0 + "" + "" + "m_logWindow" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 1 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + 200 + "Expand" + "Expand" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + + + + "Sources" + "html-document" + "" + "sourcesfolder" + 1 + 1 + 0 + 1 + + "erc_dialog.rc" + "source-editor-document" + "erc_dialog.rc" + "source-editor" + 0 + 0 + 1 + 0 + "27/4/2006" + "" + + + + "Images" + "html-document" + "" + "bitmapsfolder" + 1 + 1 + 0 + 1 + + + + +
diff --git a/pcbnew/find.pjd b/pcbnew/find.pjd new file mode 100644 index 0000000000..b6358d8961 --- /dev/null +++ b/pcbnew/find.pjd @@ -0,0 +1,676 @@ + + +
+ 0 + "" + "" + "" + "" + 18 + "" + 0 + 0 + 0 + 1 + 1 + 0 + "jean-pierre Charras" + "License GNU" + "" + 0 + "<All platforms>" + "<Any>" + "///////////////////////////////////////////////////////////////////////////// +// Name: %HEADER-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SOURCE-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + " +/*! + * %BODY% + */ + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SYMBOLS-FILENAME% +// Purpose: Symbols file +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma interface "%HEADER-FILENAME%" +#endif + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma implementation "%HEADER-FILENAME%" +#endif + +// For compilers that support precompilation, includes "wx/wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ +#pragma hdrstop +#endif + +#ifndef WX_PRECOMP +#include "wx/wx.h" +#endif + +" + "app_resources.h" + "app_resources.cpp" + "AppResources" + "app.h" + "app.cpp" + "Application" + 0 + "" + "<None>" + "<System>" + "<System>" + "" + 0 + 1 + 1 +
+ + + "" + "data-document" + "" + "" + 0 + 1 + 0 + 0 + + "Configurations" + "config-data-document" + "" + "" + 0 + 1 + 0 + 0 + "" + 1 + + + + + + + "Projects" + "root-document" + "" + "project" + 1 + 1 + 0 + 0 + + "Windows" + "html-document" + "" + "dialogsfolder" + 1 + 1 + 0 + 1 + + "Find" + "dialog-document" + "" + "dialog" + 0 + 1 + 0 + 0 + "4/3/2006" + "wbDialogProxy" + 10000 + 0 + "" + 0 + "ID_DIALOG" + 10000 + "WinEDA_PcbFindFrame" + "wxDialog" + "wxDialog" + "find.cpp" + "find.h" + "" + "Find" + 1 + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + "" + 0 + 1 + -1 + -1 + 400 + 300 + "" + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "wbBoxSizerProxy" + "Vertical" + "" + 0 + 0 + 0 + "<Any platform>" + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "4/3/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "" + "Item to find:" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "4/3/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL" + 10001 + "wxTextCtrl" + "m_NewText" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "wxBoxSizer H" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "4/3/2006" + "wbBoxSizerProxy" + "Horizontal" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "4/3/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + "<Any platform>" + + "wxButton: ID_FIND_ITEM" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "4/3/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnFindItemClick" + "ID_FIND_ITEM" + 10002 + "wxButton" + "" + "Find Item" + 1 + "" + "" + "" + "660000" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 0 + 0 + "" + "" + + + "wxButton: ID_FIND_NEXT_ITEM" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "4/3/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnFindNextItemClick" + "ID_FIND_NEXT_ITEM" + 10003 + "wxButton" + "" + "Find Next Item" + 0 + "" + "" + "" + "6F0000" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "4/3/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + "<Any platform>" + + "wxButton: ID_FIND_MARKER" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "4/3/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnFindMarkerClick" + "ID_FIND_MARKER" + 10004 + "wxButton" + "" + "Find Marker" + 0 + "" + "" + "" + "0000FF" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 0 + 0 + "" + "" + + + "wxButton: ID_FIND_NEXT_MARKER" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "4/3/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnFindNextMarkerClick" + "ID_FIND_NEXT_MARKER" + 10005 + "wxButton" + "" + "Find Next Marker" + 0 + "" + "" + "" + "0000FF" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + + + + + + "Sources" + "html-document" + "" + "sourcesfolder" + 1 + 1 + 0 + 1 + + "find.rc" + "source-editor-document" + "find.rc" + "source-editor" + 0 + 0 + 1 + 0 + "4/3/2006" + "" + + + + "Images" + "html-document" + "" + "bitmapsfolder" + 1 + 1 + 0 + 1 + + + + +
diff --git a/pcbnew/initpcb.cpp b/pcbnew/initpcb.cpp index 27334f8bd7..5c92b6a4c3 100644 --- a/pcbnew/initpcb.cpp +++ b/pcbnew/initpcb.cpp @@ -90,7 +90,7 @@ wxClientDC dc(m_Parent->DrawPanel); if ( m_DelMarkers->GetValue() ) { - m_Parent->Erase_Marqueurs(&dc, FALSE); + m_Parent->Erase_Marqueurs(); redraw = TRUE; } @@ -335,18 +335,18 @@ EDA_BaseStruct * PtStruct, *PtNext; } -/************************************************************/ -void WinEDA_PcbFrame::Erase_Marqueurs(wxDC * DC, bool query) -/************************************************************/ +/*******************************************/ +void WinEDA_PcbFrame::Erase_Marqueurs(void) +/*******************************************/ { EDA_BaseStruct * PtStruct, *PtNext; PtStruct = m_Pcb->m_Drawings; for( ; PtStruct != NULL; PtStruct = PtNext) - { + { PtNext = PtStruct->Pnext; if(PtStruct->m_StructType == TYPEMARQUEUR ) DeleteStructure(PtStruct); - } + } GetScreen()->SetModify(); } diff --git a/pcbnew/router.cpp b/pcbnew/router.cpp index cc7d49f70f..90b13476f0 100644 --- a/pcbnew/router.cpp +++ b/pcbnew/router.cpp @@ -70,6 +70,7 @@ int net_number; Compile_Ratsnest(DC, TRUE); m_Pcb->ComputeBoundaryBox(); + g_GridRoutingSize = GetScreen()->GetGrid().x; // Sortie de la dimension hors tout du pcb (dimensions + marge + g_GridRoutingSize) #define B_MARGE 1000 // en 1/10000 inch diff --git a/pcbnew/set_grid.pjd b/pcbnew/set_grid.pjd new file mode 100644 index 0000000000..b968a10ba9 --- /dev/null +++ b/pcbnew/set_grid.pjd @@ -0,0 +1,813 @@ + + +
+ 0 + "" + "" + "" + "" + 19 + "" + 0 + 0 + 0 + 1 + 1 + 0 + "jean-pierre Charras" + "License GNU" + "" + 0 + "<All platforms>" + "<Any>" + "///////////////////////////////////////////////////////////////////////////// +// Name: %HEADER-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SOURCE-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + " +/*! + * %BODY% + */ + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SYMBOLS-FILENAME% +// Purpose: Symbols file +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma interface "%HEADER-FILENAME%" +#endif + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma implementation "%HEADER-FILENAME%" +#endif + +// For compilers that support precompilation, includes "wx/wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ +#pragma hdrstop +#endif + +#ifndef WX_PRECOMP +#include "wx/wx.h" +#endif + +" + "app_resources.h" + "app_resources.cpp" + "AppResources" + "app.h" + "app.cpp" + "Application" + 0 + "" + "<None>" + "<System>" + "<System>" + "" + 0 + 0 + 4 + "" + 0 + 0 + 1 + 1 + 1 + 1 +
+ + + "" + "data-document" + "" + "" + 0 + 1 + 0 + 0 + + "Configurations" + "config-data-document" + "" + "" + 0 + 1 + 0 + 0 + "" + 1 + "" + "Debug" + "ANSI" + "Static" + "Modular" + "GUI" + "wxMSW" + "Dynamic" + "Yes" + "No" + "No" + "%WXVERSION%" + "%EXECUTABLE%" + "" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + + + + + + + "Projects" + "root-document" + "" + "project" + 1 + 1 + 0 + 0 + + "Windows" + "html-document" + "" + "dialogsfolder" + 1 + 1 + 0 + 1 + + "User Grid Size" + "dialog-document" + "" + "dialog" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbDialogProxy" + 10000 + 0 + "" + 0 + "ID_DIALOG" + 10000 + "WinEDA_PcbGridFrame" + "wxDialog" + "wxDialog" + "set_grid.cpp" + "set_grid.h" + "" + "User Grid Size" + 0 + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + "" + 0 + 1 + -1 + -1 + 400 + 300 + "" + + "wxBoxSizer H" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "wbBoxSizerProxy" + "Horizontal" + "" + 0 + 0 + 0 + "<Any platform>" + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxRadioBox: ID_RADIOBOX" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbRadioBoxProxy" + "ID_RADIOBOX" + 10001 + "wxRadioBox" + "m_UnitGrid" + "Grid Size Units" + 1 + "Inches|mm" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "Spacer" + "dialog-control-document" + "" + "spacer" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbSpacerProxy" + 5 + 5 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "" + "User Grid Size X" + -1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL" + 10002 + "wxTextCtrl" + "m_OptGridSizeX" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "" + "User Grid Size Y" + -1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL1" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL1" + 10003 + "wxTextCtrl" + "m_OptGridSizeY" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxButton: wxID_OK" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnOkClick" + "wxID_OK" + 5100 + "wxButton" + "" + "&OK" + 1 + "" + "" + "" + "CA0000" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxButton: wxID_CANCEL" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "26/3/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnCancelClick" + "wxID_CANCEL" + 5101 + "wxButton" + "" + "&Cancel" + 0 + "" + "" + "" + "0000FF" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Centre" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + + + + "Sources" + "html-document" + "" + "sourcesfolder" + 1 + 1 + 0 + 1 + + "set_grid.rc" + "source-editor-document" + "set_grid.rc" + "source-editor" + 0 + 0 + 1 + 0 + "26/3/2006" + "" + + + + "Images" + "html-document" + "" + "bitmapsfolder" + 1 + 1 + 0 + 1 + + + + +
diff --git a/pcbnew/zones.pjd b/pcbnew/zones.pjd new file mode 100644 index 0000000000..313eafec18 --- /dev/null +++ b/pcbnew/zones.pjd @@ -0,0 +1,893 @@ + + +
+ 0 + "" + "" + "" + "" + 23 + "" + 0 + 0 + 0 + 1 + 1 + 0 + "jean-pierre Charras" + "GNU License" + "" + 0 + "<All platforms>" + "<Any>" + "///////////////////////////////////////////////////////////////////////////// +// Name: %HEADER-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SOURCE-FILENAME% +// Purpose: +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + " +/*! + * %BODY% + */ + +" + "///////////////////////////////////////////////////////////////////////////// +// Name: %SYMBOLS-FILENAME% +// Purpose: Symbols file +// Author: %AUTHOR% +// Modified by: +// Created: %DATE% +// RCS-ID: +// Copyright: %COPYRIGHT% +// Licence: +///////////////////////////////////////////////////////////////////////////// + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma interface "%HEADER-FILENAME%" +#endif + +" + "#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma implementation "%HEADER-FILENAME%" +#endif + +// For compilers that support precompilation, includes "wx/wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ +#pragma hdrstop +#endif + +#ifndef WX_PRECOMP +#include "wx/wx.h" +#endif + +" + "app_resources.h" + "app_resources.cpp" + "AppResources" + "app.h" + "app.cpp" + "Application" + 0 + "" + "<None>" + "<System>" + "<System>" + "" + 0 + 1 + 1 +
+ + + "" + "data-document" + "" + "" + 0 + 1 + 0 + 0 + + "Configurations" + "config-data-document" + "" + "" + 0 + 1 + 0 + 0 + "" + 1 + "" + "Debug" + "ANSI" + "Static" + "Modular" + "GUI" + "wxMSW" + "Dynamic" + "Yes" + "No" + "No" + "%WXVERSION%" + "%EXECUTABLE%" + "" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + "%AUTO%" + + + + + + + "Projects" + "root-document" + "" + "project" + 1 + 1 + 0 + 0 + + "Windows" + "html-document" + "" + "dialogsfolder" + 1 + 1 + 0 + 1 + + "Fill Zones Options" + "dialog-document" + "" + "dialog" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbDialogProxy" + 10000 + 0 + "" + 0 + "ID_DIALOG" + 10000 + "WinEDA_ZoneFrame" + "wxDialog" + "wxDialog" + "zones.cpp" + "zones.h" + "" + "Fill Zones Options" + 1 + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + "" + 0 + 1 + -1 + -1 + 400 + 300 + "" + + "wxBoxSizer H" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "wbBoxSizerProxy" + "Horizontal" + "" + 0 + 0 + 0 + "<Any platform>" + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxRadioBox: ID_RADIOBOX" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbRadioBoxProxy" + "ID_RADIOBOX" + 10001 + "wxRadioBox" + "m_GridCtrl" + "Grid size:" + 1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + "0.00000|0.00000|0.00000|0.00000" + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxStaticText: wxID_STATIC" + "dialog-control-document" + "" + "statictext" + 0 + 1 + 0 + 0 + "25/12/2006" + "wbStaticTextProxy" + "wxID_STATIC" + 5105 + "wxStaticText" + "m_ClearanceValueTitle" + "Zone clearance value (mm):" + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + "" + "" + + + "wxTextCtrl: ID_TEXTCTRL" + "dialog-control-document" + "" + "textctrl" + 0 + 1 + 0 + 0 + "25/12/2006" + "wbTextCtrlProxy" + "ID_TEXTCTRL" + 10006 + "wxTextCtrl" + "m_ZoneClearanceCtrl" + "" + 0 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + "" + "" + + + + "Spacer" + "dialog-control-document" + "" + "spacer" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbSpacerProxy" + 5 + 5 + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxRadioBox: ID_RADIOBOX1" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbRadioBoxProxy" + "ID_RADIOBOX1" + 10004 + "wxRadioBox" + "m_FillOpt" + "Pad options:" + 1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + "Include Pads|Thermal|Exclude Pads" + 0 + "" + -1 + -1 + -1 + -1 + "Left" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxRadioBox: ID_RADIOBOX2" + "dialog-control-document" + "" + "radiobox" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbRadioBoxProxy" + "ID_RADIOBOX2" + 10005 + "wxRadioBox" + "m_OrientEdgesOpt" + "Zone edges orient:" + 1 + "" + "" + "" + "" + "" + 0 + 1 + "<Any platform>" + "" + "" + 0 + 1 + "Any|H , V and 45 deg" + 0 + "" + -1 + -1 + -1 + -1 + "Right" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + "Spacer" + "dialog-control-document" + "" + "spacer" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbSpacerProxy" + 5 + 5 + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + + "wxBoxSizer V" + "dialog-control-document" + "" + "sizer" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbBoxSizerProxy" + "Vertical" + "" + "Centre" + "Top" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + "wxButton: ID_FILL_ZONE" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|ExecFillZone" + "ID_FILL_ZONE" + 10002 + "wxButton" + "" + "Fill" + 1 + "" + "" + "" + "CC0000" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxButton: wxID_CANCEL" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|OnCancelClick" + "wxID_CANCEL" + 5101 + "wxButton" + "" + "&Cancel" + 0 + "" + "" + "" + "0000FF" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + "wxButton: ID_SET_OPTIONS_ZONE" + "dialog-control-document" + "" + "dialogcontrol" + 0 + 1 + 0 + 0 + "25/4/2006" + "wbButtonProxy" + "wxEVT_COMMAND_BUTTON_CLICKED|ExecFillZone" + "ID_SET_OPTIONS_ZONE" + 10003 + "wxButton" + "" + "Update Options" + 0 + "" + "" + "" + "006400" + "" + 0 + 1 + "<Any platform>" + 0 + 0 + 0 + 0 + 0 + 0 + 0 + "" + -1 + -1 + -1 + -1 + "Expand" + "Centre" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "" + "" + + + + "Spacer" + "dialog-control-document" + "" + "spacer" + 0 + 1 + 0 + 0 + "25/9/2006" + "wbSpacerProxy" + 5 + 5 + "Centre" + "Expand" + 0 + 5 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + "<Any platform>" + + + + + + "Sources" + "html-document" + "" + "sourcesfolder" + 1 + 1 + 0 + 1 + + "zones.rc" + "source-editor-document" + "zones.rc" + "source-editor" + 0 + 0 + 1 + 0 + "25/4/2006" + "" + + + + "Images" + "html-document" + "" + "bitmapsfolder" + 1 + 1 + 0 + 1 + + + + +