Commit f066aa18 authored by CHARRAS's avatar CHARRAS

test case for OnLeftClick() handling enhancements

parent 10c44291
...@@ -12,6 +12,8 @@ email address. ...@@ -12,6 +12,8 @@ email address.
(SHIHT ou CTRL or ALT key is sufficient to suppress the popup menu (SHIHT ou CTRL or ALT key is sufficient to suppress the popup menu
if needed for a double click ) if needed for a double click )
Some work is still needed, of course Some work is still needed, of course
+ pcbnew
Color grid setting now works
2007-Sep-26 UPDATE Dick Hollenbeck <dick@softplc.com> 2007-Sep-26 UPDATE Dick Hollenbeck <dick@softplc.com>
......
...@@ -343,7 +343,7 @@ void PCB_SCREEN::Init() ...@@ -343,7 +343,7 @@ void PCB_SCREEN::Init()
/*************************/ /*************************/
/* /*
* Options diverses d'affichage �l'�ran: * Handle display options like enable/disable some optional drawings:
*/ */
DISPLAY_OPTIONS::DISPLAY_OPTIONS() DISPLAY_OPTIONS::DISPLAY_OPTIONS()
......
/**********************************************************/ /**********************************************************/
/** pcbcfg.h : configuration: definition des structures **/ /** pcbcfg.h : configuration: definition des structures **/
/**********************************************************/ /**********************************************************/
#define GROUP wxT("/pcbnew") #define GROUP wxT( "/pcbnew" )
#define GROUPLIB wxT("/pcbnew/libraries") #define GROUPLIB wxT( "/pcbnew/libraries" )
#define GROUPCOMMON wxT("/common") #define GROUPCOMMON wxT( "/common" )
// Flag for member .m_Setup // Flag for member .m_Setup
// .m_Setup = TRUE: write info in user config // .m_Setup = TRUE: write info in user config
...@@ -13,908 +13,908 @@ ...@@ -13,908 +13,908 @@
#define INSETUP TRUE #define INSETUP TRUE
static int Pcbdiv_grille; /* memorisation temporaire */ static int Pcbdiv_grille; /* memorisation temporaire */
/* Liste des parametres */ /* Liste des parametres */
static PARAM_CFG_WXSTRING UserLibDirBufCfg static PARAM_CFG_WXSTRING UserLibDirBufCfg
( (
wxT("LibDir"), /* identification */ wxT( "LibDir" ), /* Keyword */
&g_UserLibDirBuffer, /* Adresse du parametre */ & g_UserLibDirBuffer, /* Parameter address */
GROUPLIB GROUPLIB
); );
static PARAM_CFG_LIBNAME_LIST LibNameBufCfg static PARAM_CFG_LIBNAME_LIST LibNameBufCfg
( (
wxT("LibName"), /* identification */ wxT( "LibName" ), /* Keyword */
&g_LibName_List, /* Adresse du parametre */ & g_LibName_List, /* Parameter address */
GROUPLIB GROUPLIB
); );
static PARAM_CFG_INT PadDrillCfg static PARAM_CFG_INT PadDrillCfg
( (
wxT("PadDrlX"), /* identification */ wxT( "PadDrlX" ), /* Keyword */
&g_Pad_Master.m_Drill.x, /* Adresse du parametre */ & g_Pad_Master.m_Drill.x, /* Parameter address */
320, /* Valeur par defaut */ 320, /* Default value */
0, 0x7FFF /* Valeurs extremes */ 0, 0x7FFF /* Valeurs extremes */
); );
static PARAM_CFG_INT PadDimHCfg //Pad Diameter / H Size static PARAM_CFG_INT PadDimHCfg //Pad Diameter / H Size
( (
wxT("PadDimH"), /* identification */ wxT( "PadDimH" ), /* Keyword */
&g_Pad_Master.m_Size.x,/* Adresse du parametre */ & g_Pad_Master.m_Size.x, /* Parameter address */
550, /* Valeur par defaut */ 550, /* Default value */
0, 0x7FFF /* Valeurs extremes */ 0, 0x7FFF /* Valeurs extremes */
); );
static PARAM_CFG_INT PadDimVCfg static PARAM_CFG_INT PadDimVCfg
( (
wxT("PadDimV"), /* identification */ wxT( "PadDimV" ), /* Keyword */
&g_Pad_Master.m_Size.y, /* Adresse du parametre */ & g_Pad_Master.m_Size.y, /* Parameter address */
550, /* Valeur par defaut */ 550, /* Default value */
0, 0x7FFF /* Valeurs extremes */ 0, 0x7FFF /* Valeurs extremes */
); );
static PARAM_CFG_INT PadFormeCfg static PARAM_CFG_INT PadFormeCfg
( (
wxT("PadForm"), /* identification */ wxT( "PadForm" ), /* Keyword */
&g_Pad_Master.m_PadShape, /* Adresse du parametre */ & g_Pad_Master.m_PadShape, /* Parameter address */
CIRCLE, /* Valeur par defaut */ CIRCLE, /* Default value */
0, 0x7F /* Valeurs extremes */ 0, 0x7F /* Valeurs extremes */
); );
static PARAM_CFG_INT PadMasqueLayerCfg static PARAM_CFG_INT PadMasqueLayerCfg
( (
wxT("PadMask"), /* identification */ wxT( "PadMask" ), /* Keyword */
&g_Pad_Master.m_Masque_Layer, /* Adresse du parametre */ & g_Pad_Master.m_Masque_Layer, /* Parameter address */
0x0000FFFF /* Valeur par defaut */ 0x0000FFFF /* Default value */
); );
static PARAM_CFG_INT ViaDiametreCfg static PARAM_CFG_INT ViaDiametreCfg
( (
wxT("ViaDiam"), /* identification */ wxT( "ViaDiam" ), /* Keyword */
&g_DesignSettings.m_CurrentViaSize, /* Adresse du parametre */ & g_DesignSettings.m_CurrentViaSize, /* Parameter address */
450, /* Valeur par defaut */ 450, /* Default value */
0, 0xFFFF /* Valeurs extremes */ 0, 0xFFFF /* Valeurs extremes */
); );
static PARAM_CFG_INT ViaDrillCfg static PARAM_CFG_INT ViaDrillCfg
( (
wxT("ViaDril"), /* identification */ wxT( "ViaDril" ), /* Keyword */
&g_DesignSettings.m_ViaDrill, /* Adresse du parametre */ & g_DesignSettings.m_ViaDrill, /* Parameter address */
250, /* Valeur par defaut */ 250, /* Default value */
0, 0xFFFF /* Valeurs extremes */ 0, 0xFFFF /* Valeurs extremes */
); );
static PARAM_CFG_INT ViaShowHoleCfg static PARAM_CFG_INT ViaShowHoleCfg
( (
INSETUP, INSETUP,
wxT("ViaSHole"), /* identification */ wxT( "ViaSHole" ), /* Keyword */
&DisplayOpt.m_DisplayViaMode, /* Adresse du parametre */ & DisplayOpt.m_DisplayViaMode, /* Parameter address */
VIA_SPECIAL_HOLE_SHOW, /* Valeur par defaut */ VIA_SPECIAL_HOLE_SHOW, /* Default value */
VIA_HOLE_NOT_SHOW, /* Valeurs extremes */ VIA_HOLE_NOT_SHOW, /* Valeurs extremes */
OPT_VIA_HOLE_END-1 /* Valeurs extremes */ OPT_VIA_HOLE_END - 1 /* Valeurs extremes */
); );
static PARAM_CFG_INT TrackClearenceCfg static PARAM_CFG_INT TrackClearenceCfg
( (
wxT("Isol"), /* identification */ wxT( "Isol" ), /* Keyword */
&g_DesignSettings.m_TrackClearence, /* Adresse du parametre */ & g_DesignSettings.m_TrackClearence, /* Parameter address */
120, /* Valeur par defaut */ 120, /* Default value */
0, 0xFFFF /* Valeurs extremes */ 0, 0xFFFF /* Valeurs extremes */
); );
static PARAM_CFG_INT LayerCountCfg // Mask Working Layers static PARAM_CFG_INT LayerCountCfg // Mask Working Layers
( (
wxT("Countlayer"), /* identification */ wxT( "Countlayer" ), /* Keyword */
&g_DesignSettings.m_CopperLayerCount, /* Adresse du parametre */ & g_DesignSettings.m_CopperLayerCount, /* Parameter address */
2, /* Valeur par defaut */ 2, /* Default value */
1, NB_COPPER_LAYERS /* Valeurs extremes */ 1, NB_COPPER_LAYERS /* Valeurs extremes */
); );
static PARAM_CFG_INT TrackWidthCfg static PARAM_CFG_INT TrackWidthCfg
( (
wxT("Lpiste"), /* identification */ wxT( "Lpiste" ), /* Keyword */
&g_DesignSettings.m_CurrentTrackWidth, /* Adresse du parametre */ & g_DesignSettings.m_CurrentTrackWidth, /* Parameter address */
170, /* Valeur par defaut */ 170, /* Default value */
2, 0xFFFF /* Valeurs extremes */ 2, 0xFFFF /* Valeurs extremes */
); );
static PARAM_CFG_INT RouteLayTopCfg // First current working layer static PARAM_CFG_INT RouteLayTopCfg // First current working layer
( (
wxT("RouteTo"), /* identification */ wxT( "RouteTo" ), /* Keyword */
&Route_Layer_TOP, /* Adresse du parametre */ & Route_Layer_TOP, /* Parameter address */
15, /* Valeur par defaut */ 15, /* Default value */
0, 15 /* Valeurs extremes */ 0, 15 /* Valeurs extremes */
); );
static PARAM_CFG_INT RouteLayBotCfg // second current working layer static PARAM_CFG_INT RouteLayBotCfg // second current working layer
( (
wxT("RouteBo"), /* identification */ wxT( "RouteBo" ), /* Keyword */
&Route_Layer_BOTTOM, /* Adresse du parametre */ & Route_Layer_BOTTOM, /* Parameter address */
0, /* Valeur par defaut */ 0, /* Default value */
0, 15 /* Valeurs extremes */ 0, 15 /* Valeurs extremes */
); );
static PARAM_CFG_INT TypeViaCfg static PARAM_CFG_INT TypeViaCfg
( (
wxT("TypeVia"), /* identification */ wxT( "TypeVia" ), /* Keyword */
&g_DesignSettings.m_CurrentViaType, /* Adresse du parametre */ & g_DesignSettings.m_CurrentViaType, /* Parameter address */
VIA_NORMALE, /* Valeur par defaut */ VIA_NORMALE, /* Default value */
0, 3 /* Valeurs extremes */ 0, 3 /* Valeurs extremes */
); );
static PARAM_CFG_BOOL Segm45Cfg // Segm Pistes a 0, 45, 90 degres uniquement static PARAM_CFG_BOOL Segm45Cfg // Segm Pistes a 0, 45, 90 degres uniquement
( (
wxT("Segm45"), /* identification */ wxT( "Segm45" ), /* Keyword */
&Track_45_Only, /* Adresse du parametre */ & Track_45_Only, /* Parameter address */
TRUE /* Valeur par defaut */ TRUE /* Default value */
); );
static PARAM_CFG_BOOL Raccord45Cfg // Generation automatique des Raccords a 45 degres static PARAM_CFG_BOOL Raccord45Cfg // Generation automatique des Raccords a 45 degres
( (
wxT("Racc45"), /* identification */ wxT( "Racc45" ), /* Keyword */
&g_Raccord_45_Auto, /* Adresse du parametre */ & g_Raccord_45_Auto, /* Parameter address */
TRUE /* Valeur par defaut */ TRUE /* Default value */
); );
static PARAM_CFG_INT UnitCfg // Units: 0 inch, 1 mm static PARAM_CFG_INT UnitCfg // Units: 0 inch, 1 mm
( (
wxT("Unite"), /* identification */ wxT( "Unite" ), /* Keyword */
&g_UnitMetric, /* Adresse du parametre */ & g_UnitMetric, /* Parameter address */
FALSE /* Valeur par defaut */ FALSE /* Default value */
); );
static PARAM_CFG_BOOL SegmFillCfg static PARAM_CFG_BOOL SegmFillCfg
( (
wxT("SegFill"), /* identification */ wxT( "SegFill" ), /* Keyword */
&DisplayOpt.DisplayPcbTrackFill, /* Adresse du parametre */ & DisplayOpt.DisplayPcbTrackFill, /* Parameter address */
TRUE /* Valeur par defaut */ TRUE /* Default value */
); );
static PARAM_CFG_BOOL NewTrackAfficheGardeCfg static PARAM_CFG_BOOL NewTrackAfficheGardeCfg
( (
wxT("NewAffG"), /* identification */ wxT( "NewAffG" ), /* Keyword */
&g_ShowIsolDuringCreateTrack, /* Adresse du parametre */ & g_ShowIsolDuringCreateTrack, /* Parameter address */
TRUE /* Valeur par defaut */ TRUE /* Default value */
); );
static PARAM_CFG_BOOL TrackAfficheGardeCfg static PARAM_CFG_BOOL TrackAfficheGardeCfg
( (
wxT("SegAffG"), /* identification */ wxT( "SegAffG" ), /* Keyword */
&DisplayOpt.DisplayTrackIsol, /* Adresse du parametre */ & DisplayOpt.DisplayTrackIsol, /* Parameter address */
FALSE /* Valeur par defaut */ FALSE /* Default value */
); );
static PARAM_CFG_BOOL PadFillCfg static PARAM_CFG_BOOL PadFillCfg
( (
wxT("PadFill"), /* identification */ wxT( "PadFill" ), /* Keyword */
&DisplayOpt.DisplayPadFill, /* Adresse du parametre */ & DisplayOpt.DisplayPadFill, /* Parameter address */
TRUE /* Valeur par defaut */ TRUE /* Default value */
); );
static PARAM_CFG_BOOL PadAfficheGardeCfg static PARAM_CFG_BOOL PadAfficheGardeCfg
( (
wxT("PadAffG"), /* identification */ wxT( "PadAffG" ), /* Keyword */
&DisplayOpt.DisplayPadIsol, /* Adresse du parametre */ & DisplayOpt.DisplayPadIsol, /* Parameter address */
TRUE /* Valeur par defaut */ TRUE /* Default value */
); );
static PARAM_CFG_BOOL PadShowNumCfg static PARAM_CFG_BOOL PadShowNumCfg
( (
wxT("PadSNum"), /* identification */ wxT( "PadSNum" ), /* Keyword */
&DisplayOpt.DisplayPadNum, /* Adresse du parametre */ & DisplayOpt.DisplayPadNum, /* Parameter address */
TRUE /* Valeur par defaut */ TRUE /* Default value */
); );
static PARAM_CFG_INT AfficheContourModuleCfg // Module Edges: fill/line/sketch static PARAM_CFG_INT AfficheContourModuleCfg // Module Edges: fill/line/sketch
( (
wxT("ModAffC"), /* identification */ wxT( "ModAffC" ), /* Keyword */
&DisplayOpt.DisplayModEdge, /* Adresse du parametre */ & DisplayOpt.DisplayModEdge, /* Parameter address */
FILAIRE, /* Valeur par defaut */ FILAIRE, /* Default value */
0, 2 /* Valeurs extremes */ 0, 2 /* Valeurs extremes */
); );
static PARAM_CFG_INT AfficheTexteModuleCfg // Module Texts: fill/line/sketch static PARAM_CFG_INT AfficheTexteModuleCfg // Module Texts: fill/line/sketch
( (
wxT("ModAffT"), /* identification */ wxT( "ModAffT" ), /* Keyword */
&DisplayOpt.DisplayModText, /* Adresse du parametre */ & DisplayOpt.DisplayModText, /* Parameter address */
FILAIRE, /* Valeur par defaut */ FILAIRE, /* Default value */
0, 2 /* Valeurs extremes */ 0, 2 /* Valeurs extremes */
); );
static PARAM_CFG_INT AfficheTextePcbCfg // PCB Texts: fill/line/sketch static PARAM_CFG_INT AfficheTextePcbCfg // PCB Texts: fill/line/sketch
( (
wxT("PcbAffT"), /* identification */ wxT( "PcbAffT" ), /* Keyword */
&DisplayOpt.DisplayDrawItems, /* Adresse du parametre */ & DisplayOpt.DisplayDrawItems, /* Parameter address */
FILAIRE, /* Valeur par defaut */ FILAIRE, /* Default value */
0, 2 /* Valeurs extremes */ 0, 2 /* Valeurs extremes */
); );
static PARAM_CFG_BOOL SegmPcb45Cfg // Force 45 degrees for segments static PARAM_CFG_BOOL SegmPcb45Cfg // Force 45 degrees for segments
( (
wxT("SgPcb45"), /* identification */ wxT( "SgPcb45" ), /* Keyword */
&Segments_45_Only, /* Adresse du parametre */ & Segments_45_Only, /* Parameter address */
TRUE /* Valeur par defaut */ TRUE /* Default value */
); );
static PARAM_CFG_INT TextePcbDimVCfg static PARAM_CFG_INT TextePcbDimVCfg
( (
wxT("TxtPcbV"), /* identification */ wxT( "TxtPcbV" ), /* Keyword */
&g_DesignSettings.m_PcbTextSize.y, /* Adresse du parametre */ & g_DesignSettings.m_PcbTextSize.y, /* Parameter address */
600, /* Valeur par defaut */ 600, /* Default value */
10, 2000 /* Valeurs extremes */ 10, 2000 /* Valeurs extremes */
); );
static PARAM_CFG_INT TextePcbDimHCfg static PARAM_CFG_INT TextePcbDimHCfg
( (
wxT("TxtPcbH"), /* identification */ wxT( "TxtPcbH" ), /* Keyword */
&g_DesignSettings.m_PcbTextSize.x, /* Adresse du parametre */ & g_DesignSettings.m_PcbTextSize.x, /* Parameter address */
600, /* Valeur par defaut */ 600, /* Default value */
10, 2000 /* Valeurs extremes */ 10, 2000 /* Valeurs extremes */
); );
static PARAM_CFG_SETCOLOR ColorLayer0Cfg // CU Layer Color static PARAM_CFG_SETCOLOR ColorLayer0Cfg // CU Layer Color
( (
INSETUP, INSETUP,
wxT("ColLay0"), /* identification */ wxT( "ColLay0" ), /* Keyword */
&g_DesignSettings.m_LayerColor[0], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[0], /* Parameter address */
GREEN /* Valeur par defaut */ GREEN /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer1Cfg static PARAM_CFG_SETCOLOR ColorLayer1Cfg
( (
INSETUP, INSETUP,
wxT("ColLay1"), /* identification */ wxT( "ColLay1" ), /* Keyword */
&g_DesignSettings.m_LayerColor[1], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[1], /* Parameter address */
BLUE /* Valeur par defaut */ BLUE /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer2Cfg static PARAM_CFG_SETCOLOR ColorLayer2Cfg
( (
INSETUP, INSETUP,
wxT("ColLay2"), /* identification */ wxT( "ColLay2" ), /* Keyword */
&g_DesignSettings.m_LayerColor[2], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[2], /* Parameter address */
LIGHTGRAY /* Valeur par defaut */ LIGHTGRAY /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer3Cfg static PARAM_CFG_SETCOLOR ColorLayer3Cfg
( (
INSETUP, INSETUP,
wxT("ColLay3"), /* identification */ wxT( "ColLay3" ), /* Keyword */
&g_DesignSettings.m_LayerColor[3], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[3], /* Parameter address */
5 /* Valeur par defaut */ 5 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer4Cfg static PARAM_CFG_SETCOLOR ColorLayer4Cfg
( (
INSETUP, INSETUP,
wxT("ColLay4"), /* identification */ wxT( "ColLay4" ), /* Keyword */
&g_DesignSettings.m_LayerColor[4], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[4], /* Parameter address */
4 /* Valeur par defaut */ 4 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer5Cfg static PARAM_CFG_SETCOLOR ColorLayer5Cfg
( (
INSETUP, INSETUP,
wxT("ColLay5"), /* identification */ wxT( "ColLay5" ), /* Keyword */
&g_DesignSettings.m_LayerColor[5], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[5], /* Parameter address */
5 /* Valeur par defaut */ 5 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer6Cfg static PARAM_CFG_SETCOLOR ColorLayer6Cfg
( (
INSETUP, INSETUP,
wxT("ColLay6"), /* identification */ wxT( "ColLay6" ), /* Keyword */
&g_DesignSettings.m_LayerColor[6], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[6], /* Parameter address */
6 /* Valeur par defaut */ 6 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer7Cfg static PARAM_CFG_SETCOLOR ColorLayer7Cfg
( (
INSETUP, INSETUP,
wxT("ColLay7"), /* identification */ wxT( "ColLay7" ), /* Keyword */
&g_DesignSettings.m_LayerColor[7], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[7], /* Parameter address */
5 /* Valeur par defaut */ 5 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer8Cfg static PARAM_CFG_SETCOLOR ColorLayer8Cfg
( (
INSETUP, INSETUP,
wxT("ColLay8"), /* identification */ wxT( "ColLay8" ), /* Keyword */
&g_DesignSettings.m_LayerColor[8], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[8], /* Parameter address */
7 /* Valeur par defaut */ 7 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer9Cfg static PARAM_CFG_SETCOLOR ColorLayer9Cfg
( (
INSETUP, INSETUP,
wxT("ColLay9"), /* identification */ wxT( "ColLay9" ), /* Keyword */
&g_DesignSettings.m_LayerColor[9], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[9], /* Parameter address */
1 /* Valeur par defaut */ 1 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer10Cfg static PARAM_CFG_SETCOLOR ColorLayer10Cfg
( (
INSETUP, INSETUP,
wxT("ColLayA"), /* identification */ wxT( "ColLayA" ), /* Keyword */
&g_DesignSettings.m_LayerColor[10], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[10], /* Parameter address */
2 /* Valeur par defaut */ 2 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer11Cfg static PARAM_CFG_SETCOLOR ColorLayer11Cfg
( (
INSETUP, INSETUP,
wxT("ColLayB"), /* identification */ wxT( "ColLayB" ), /* Keyword */
&g_DesignSettings.m_LayerColor[11], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[11], /* Parameter address */
3 /* Valeur par defaut */ 3 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer12Cfg static PARAM_CFG_SETCOLOR ColorLayer12Cfg
( (
INSETUP, INSETUP,
wxT("ColLayC"), /* identification */ wxT( "ColLayC" ), /* Keyword */
&g_DesignSettings.m_LayerColor[12], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[12], /* Parameter address */
12 /* Valeur par defaut */ 12 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer13Cfg static PARAM_CFG_SETCOLOR ColorLayer13Cfg
( (
INSETUP, INSETUP,
wxT("ColLayD"), /* identification */ wxT( "ColLayD" ), /* Keyword */
&g_DesignSettings.m_LayerColor[13], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[13], /* Parameter address */
13 /* Valeur par defaut */ 13 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer14Cfg static PARAM_CFG_SETCOLOR ColorLayer14Cfg
( (
INSETUP, INSETUP,
wxT("ColLayE"), /* identification */ wxT( "ColLayE" ), /* Keyword */
&g_DesignSettings.m_LayerColor[14], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[14], /* Parameter address */
14 /* Valeur par defaut */ 14 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer15Cfg // CMP Layer Color static PARAM_CFG_SETCOLOR ColorLayer15Cfg // CMP Layer Color
( (
INSETUP, INSETUP,
wxT("ColLayF"), /* identification */ wxT( "ColLayF" ), /* Keyword */
&g_DesignSettings.m_LayerColor[15], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[15], /* Parameter address */
RED /* Valeur par defaut */ RED /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer16Cfg // Adhesive CU Layer Color static PARAM_CFG_SETCOLOR ColorLayer16Cfg // Adhesive CU Layer Color
( (
INSETUP, INSETUP,
wxT("ColLayG"), /* identification */ wxT( "ColLayG" ), /* Keyword */
&g_DesignSettings.m_LayerColor[16], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[16], /* Parameter address */
1 /* Valeur par defaut */ 1 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer17Cfg // Adhesive CMP Layer Color static PARAM_CFG_SETCOLOR ColorLayer17Cfg // Adhesive CMP Layer Color
( (
INSETUP, INSETUP,
wxT("ColLayH"), /* identification */ wxT( "ColLayH" ), /* Keyword */
&g_DesignSettings.m_LayerColor[17], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[17], /* Parameter address */
5 /* Valeur par defaut */ 5 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer18Cfg // Solder Mask CU Layer Color static PARAM_CFG_SETCOLOR ColorLayer18Cfg // Solder Mask CU Layer Color
( (
INSETUP, INSETUP,
wxT("ColLayI"), /* identification */ wxT( "ColLayI" ), /* Keyword */
&g_DesignSettings.m_LayerColor[18], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[18], /* Parameter address */
11 /* Valeur par defaut */ 11 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer19Cfg // Solder Mask CMP Layer Color static PARAM_CFG_SETCOLOR ColorLayer19Cfg // Solder Mask CMP Layer Color
( (
INSETUP, INSETUP,
wxT("ColLayJ"), /* identification */ wxT( "ColLayJ" ), /* Keyword */
&g_DesignSettings.m_LayerColor[19], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[19], /* Parameter address */
4 /* Valeur par defaut */ 4 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer20Cfg // Silk Screen CU Layer Color static PARAM_CFG_SETCOLOR ColorLayer20Cfg // Silk Screen CU Layer Color
( (
INSETUP, INSETUP,
wxT("ColLayK"), /* identification */ wxT( "ColLayK" ), /* Keyword */
&g_DesignSettings.m_LayerColor[20], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[20], /* Parameter address */
5 /* Valeur par defaut */ 5 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer21Cfg // Silk Screen CMP Layer Color static PARAM_CFG_SETCOLOR ColorLayer21Cfg // Silk Screen CMP Layer Color
( (
INSETUP, INSETUP,
wxT("ColLayL"), /* identification */ wxT( "ColLayL" ), /* Keyword */
&g_DesignSettings.m_LayerColor[21], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[21], /* Parameter address */
3 /* Valeur par defaut */ 3 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer22Cfg // Mask CU Layer Color static PARAM_CFG_SETCOLOR ColorLayer22Cfg // Mask CU Layer Color
( (
INSETUP, INSETUP,
wxT("ColLayM"), /* identification */ wxT( "ColLayM" ), /* Keyword */
&g_DesignSettings.m_LayerColor[22], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[22], /* Parameter address */
6 /* Valeur par defaut */ 6 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer23Cfg // Mask CMP Layer Color static PARAM_CFG_SETCOLOR ColorLayer23Cfg // Mask CMP Layer Color
( (
INSETUP, INSETUP,
wxT("ColLayN"), /* identification */ wxT( "ColLayN" ), /* Keyword */
&g_DesignSettings.m_LayerColor[23], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[23], /* Parameter address */
5 /* Valeur par defaut */ 5 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer24Cfg // DRAW Layer Color static PARAM_CFG_SETCOLOR ColorLayer24Cfg // DRAW Layer Color
( (
INSETUP, INSETUP,
wxT("ColLayO"), /* identification */ wxT( "ColLayO" ), /* Keyword */
&g_DesignSettings.m_LayerColor[24], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[24], /* Parameter address */
LIGHTGRAY /* Valeur par defaut */ LIGHTGRAY /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer25Cfg // Comment Layer Color static PARAM_CFG_SETCOLOR ColorLayer25Cfg // Comment Layer Color
( (
INSETUP, INSETUP,
wxT("ColLayP"), /* identification */ wxT( "ColLayP" ), /* Keyword */
&g_DesignSettings.m_LayerColor[25], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[25], /* Parameter address */
1 /* Valeur par defaut */ 1 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer26Cfg // ECO1 Layer Color static PARAM_CFG_SETCOLOR ColorLayer26Cfg // ECO1 Layer Color
( (
INSETUP, INSETUP,
wxT("ColLayQ"), /* identification */ wxT( "ColLayQ" ), /* Keyword */
&g_DesignSettings.m_LayerColor[26], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[26], /* Parameter address */
2 /* Valeur par defaut */ 2 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer27Cfg //ECO2 Layer Color static PARAM_CFG_SETCOLOR ColorLayer27Cfg //ECO2 Layer Color
( (
INSETUP, INSETUP,
wxT("ColLayR"), /* identification */ wxT( "ColLayR" ), /* Keyword */
&g_DesignSettings.m_LayerColor[27], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[27], /* Parameter address */
14 /* Valeur par defaut */ 14 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer28Cfg // EDGES Layer Color static PARAM_CFG_SETCOLOR ColorLayer28Cfg // EDGES Layer Color
( (
INSETUP, INSETUP,
wxT("ColLayS"), /* identification */ wxT( "ColLayS" ), /* Keyword */
&g_DesignSettings.m_LayerColor[28], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[28], /* Parameter address */
YELLOW /* Valeur par defaut */ YELLOW /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer29Cfg static PARAM_CFG_SETCOLOR ColorLayer29Cfg
( (
INSETUP, INSETUP,
wxT("ColLayT"), /* identification */ wxT( "ColLayT" ), /* Keyword */
&g_DesignSettings.m_LayerColor[29], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[29], /* Parameter address */
13 /* Valeur par defaut */ 13 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer30Cfg static PARAM_CFG_SETCOLOR ColorLayer30Cfg
( (
INSETUP, INSETUP,
wxT("ColLayU"), /* identification */ wxT( "ColLayU" ), /* Keyword */
&g_DesignSettings.m_LayerColor[30], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[30], /* Parameter address */
14 /* Valeur par defaut */ 14 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorLayer31Cfg static PARAM_CFG_SETCOLOR ColorLayer31Cfg
( (
INSETUP, INSETUP,
wxT("ColLayV"), /* identification */ wxT( "ColLayV" ), /* Keyword */
&g_DesignSettings.m_LayerColor[31], /* Adresse du parametre */ & g_DesignSettings.m_LayerColor[31], /* Parameter address */
7 /* Valeur par defaut */ 7 /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorTxtModCmpCfg static PARAM_CFG_SETCOLOR ColorTxtModCmpCfg
( (
INSETUP, INSETUP,
wxT("CTxtMoC"), /* identification */ wxT( "CTxtMoC" ), /* Keyword */
&g_ModuleTextCMPColor, /* Adresse du parametre */ & g_ModuleTextCMPColor, /* Parameter address */
LIGHTGRAY /* Valeur par defaut */ LIGHTGRAY /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorTxtModCuCfg static PARAM_CFG_SETCOLOR ColorTxtModCuCfg
( (
INSETUP, INSETUP,
wxT("CTxtMoS"), /* identification */ wxT( "CTxtMoS" ), /* Keyword */
&g_ModuleTextCUColor, /* Adresse du parametre */ & g_ModuleTextCUColor, /* Parameter address */
1 /* Valeur par defaut */ 1 /* Default value */
); );
static PARAM_CFG_SETCOLOR VisibleTxtModCfg static PARAM_CFG_SETCOLOR VisibleTxtModCfg
( (
INSETUP, INSETUP,
wxT("CTxtVis"), /* identification */ wxT( "CTxtVis" ), /* Keyword */
&g_ModuleTextNOVColor, /* Adresse du parametre */ & g_ModuleTextNOVColor, /* Parameter address */
DARKGRAY /* Valeur par defaut */ DARKGRAY /* Default value */
); );
static PARAM_CFG_INT TexteModDimVCfg static PARAM_CFG_INT TexteModDimVCfg
( (
wxT("TxtModV"), /* identification */ wxT( "TxtModV" ), /* Keyword */
&ModuleTextSize.y, /* Adresse du parametre */ & ModuleTextSize.y, /* Parameter address */
500, /* Valeur par defaut */ 500, /* Default value */
1, 20000 /* Valeurs extremes */ 1, 20000 /* Valeurs extremes */
); );
static PARAM_CFG_INT TexteModDimHCfg static PARAM_CFG_INT TexteModDimHCfg
( (
wxT("TxtModH"), /* identification */ wxT( "TxtModH" ), /* Keyword */
&ModuleTextSize.x, /* Adresse du parametre */ & ModuleTextSize.x, /* Parameter address */
500, /* Valeur par defaut */ 500, /* Default value */
1, 20000 /* Valeurs extremes */ 1, 20000 /* Valeurs extremes */
); );
static PARAM_CFG_INT TexteModWidthCfg static PARAM_CFG_INT TexteModWidthCfg
( (
wxT("TxtModW"), /* identification */ wxT( "TxtModW" ), /* Keyword */
&ModuleTextWidth, /* Adresse du parametre */ & ModuleTextWidth, /* Parameter address */
100, /* Valeur par defaut */ 100, /* Default value */
1, 10000 /* Valeurs extremes */ 1, 10000 /* Valeurs extremes */
); );
static PARAM_CFG_SETCOLOR ColorAncreModCfg static PARAM_CFG_SETCOLOR ColorAncreModCfg
( (
INSETUP, INSETUP,
wxT("CAncreM"), /* identification */ wxT( "CAncreM" ), /* Keyword */
&g_AnchorColor, /* Adresse du parametre */ & g_AnchorColor, /* Parameter address */
BLUE /* Valeur par defaut */ BLUE /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorPadCuCfg static PARAM_CFG_SETCOLOR ColorPadCuCfg
( (
INSETUP, INSETUP,
wxT("CoPadCu"), /* identification */ wxT( "CoPadCu" ), /* Keyword */
&g_PadCUColor, /* Adresse du parametre */ & g_PadCUColor, /* Parameter address */
GREEN /* Valeur par defaut */ GREEN /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorPadCmpCfg static PARAM_CFG_SETCOLOR ColorPadCmpCfg
( (
INSETUP, INSETUP,
wxT("CoPadCm"), /* identification */ wxT( "CoPadCm" ), /* Keyword */
&g_PadCMPColor, /* Adresse du parametre */ & g_PadCMPColor, /* Parameter address */
RED /* Valeur par defaut */ RED /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorViaNormCfg static PARAM_CFG_SETCOLOR ColorViaNormCfg
( (
INSETUP, INSETUP,
wxT("CoViaNo"), /* identification */ wxT( "CoViaNo" ), /* Keyword */
&g_DesignSettings.m_ViaColor[VIA_NORMALE], /* Adresse du parametre */ & g_DesignSettings.m_ViaColor[VIA_NORMALE], /* Parameter address */
LIGHTGRAY /* Valeur par defaut */ LIGHTGRAY /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorViaborgneCfg static PARAM_CFG_SETCOLOR ColorViaborgneCfg
( (
INSETUP, INSETUP,
wxT("CoViaBo"), /* identification */ wxT( "CoViaBo" ), /* Keyword */
&g_DesignSettings.m_ViaColor[VIA_BORGNE], /* Adresse du parametre */ & g_DesignSettings.m_ViaColor[VIA_BORGNE], /* Parameter address */
CYAN /* Valeur par defaut */ CYAN /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorViaEnterreeCfg // Buried Via Color static PARAM_CFG_SETCOLOR ColorViaEnterreeCfg // Buried Via Color
( (
INSETUP, INSETUP,
wxT("CoViaEn"), /* identification */ wxT( "CoViaEn" ), /* Keyword */
&g_DesignSettings.m_ViaColor[VIA_ENTERREE], /* Adresse du parametre */ & g_DesignSettings.m_ViaColor[VIA_ENTERREE], /* Parameter address */
BROWN /* Valeur par defaut */ BROWN /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorpcbGrilleCfg static PARAM_CFG_SETCOLOR ColorpcbGrilleCfg
( (
INSETUP, INSETUP,
wxT("CoPcbGr"), /* identification */ wxT( "CoPcbGr" ), /* Keyword */
&g_PcbGridColor, /* Adresse du parametre */ & g_GridColor, /* Parameter address */
DARKGRAY /* Valeur par defaut */ DARKGRAY /* Default value */
); );
static PARAM_CFG_SETCOLOR ColorCheveluCfg static PARAM_CFG_SETCOLOR ColorCheveluCfg
( (
INSETUP, INSETUP,
wxT("CoRatsN"), /* identification */ wxT( "CoRatsN" ), /* Keyword */
&g_DesignSettings.m_RatsnestColor, /* Adresse du parametre */ & g_DesignSettings.m_RatsnestColor, /* Parameter address */
WHITE /* Valeur par defaut */ WHITE /* Default value */
); );
static PARAM_CFG_INT HPGLpenNumCfg static PARAM_CFG_INT HPGLpenNumCfg
( (
wxT("HPGLnum"), /* identification */ wxT( "HPGLnum" ), /* Keyword */
&g_HPGL_Pen_Num, /* Adresse du parametre */ & g_HPGL_Pen_Num, /* Parameter address */
1, /* Valeur par defaut */ 1, /* Default value */
1, 16 /* Valeurs extremes */ 1, 16 /* Valeurs extremes */
); );
static PARAM_CFG_INT HPGLdiamCfg // HPGL pen size (mils) static PARAM_CFG_INT HPGLdiamCfg // HPGL pen size (mils)
( (
wxT("HPGdiam"), /* identification */ wxT( "HPGdiam" ), /* Keyword */
&g_HPGL_Pen_Diam, /* Adresse du parametre */ & g_HPGL_Pen_Diam, /* Parameter address */
15, /* Valeur par defaut */ 15, /* Default value */
0,100 /* Valeurs extremes */ 0, 100 /* Valeurs extremes */
); );
static PARAM_CFG_INT HPGLspeedCfg //HPGL pen speed (cm/s) static PARAM_CFG_INT HPGLspeedCfg //HPGL pen speed (cm/s)
( (
wxT("HPGLSpd"), /* identification */ wxT( "HPGLSpd" ), /* Keyword */
&g_HPGL_Pen_Speed, /* Adresse du parametre */ & g_HPGL_Pen_Speed, /* Parameter address */
20, /* Valeur par defaut */ 20, /* Default value */
0,1000 /* Valeurs extremes */ 0, 1000 /* Valeurs extremes */
); );
static PARAM_CFG_INT HPGLrecouvrementCfg static PARAM_CFG_INT HPGLrecouvrementCfg
( (
wxT("HPGLrec"), /* identification */ wxT( "HPGLrec" ), /* Keyword */
&g_HPGL_Pen_Recouvrement, /* Adresse du parametre */ & g_HPGL_Pen_Recouvrement, /* Parameter address */
2, /* Valeur par defaut */ 2, /* Default value */
0,0x100 /* Valeurs extremes */ 0, 0x100 /* Valeurs extremes */
); );
static PARAM_CFG_BOOL HPGLcenterCfg //HPGL Org Coord ( 0 normal, 1 Centre) static PARAM_CFG_BOOL HPGLcenterCfg //HPGL Org Coord ( 0 normal, 1 Centre)
( (
wxT("HPGLorg"), /* identification */ wxT( "HPGLorg" ), /* Keyword */
&HPGL_Org_Centre, /* Adresse du parametre */ & HPGL_Org_Centre, /* Parameter address */
FALSE /* Valeur par defaut */ FALSE /* Default value */
); );
static PARAM_CFG_INT GERBERSpotMiniCfg //Aperture Mini (mils) static PARAM_CFG_INT GERBERSpotMiniCfg //Aperture Mini (mils)
( (
wxT("GERBmin"), /* identification */ wxT( "GERBmin" ), /* Keyword */
&spot_mini, /* Adresse du parametre */ & spot_mini, /* Parameter address */
15, /* Valeur par defaut */ 15, /* Default value */
1,100 /* Valeurs extremes */ 1, 100 /* Valeurs extremes */
); );
static PARAM_CFG_INT VernisEpargneGardeCfg static PARAM_CFG_INT VernisEpargneGardeCfg
( (
wxT("VEgarde"), /* identification */ wxT( "VEgarde" ), /* Keyword */
&g_DesignSettings.m_MaskMargin, /* Adresse du parametre */ & g_DesignSettings.m_MaskMargin, /* Parameter address */
100, /* Valeur par defaut */ 100, /* Default value */
0,0xFFFF /* Valeurs extremes */ 0, 0xFFFF /* Valeurs extremes */
); );
static PARAM_CFG_INT DrawSegmLargeurCfg static PARAM_CFG_INT DrawSegmLargeurCfg
( (
wxT("DrawLar"), /* identification */ wxT( "DrawLar" ), /* Keyword */
&g_DesignSettings.m_DrawSegmentWidth, /* Adresse du parametre */ & g_DesignSettings.m_DrawSegmentWidth, /* Parameter address */
120, /* Valeur par defaut */ 120, /* Default value */
0,0xFFFF /* Valeurs extremes */ 0, 0xFFFF /* Valeurs extremes */
); );
static PARAM_CFG_INT EdgeSegmLargeurCfg static PARAM_CFG_INT EdgeSegmLargeurCfg
( (
wxT("EdgeLar"), /* identification */ wxT( "EdgeLar" ), /* Keyword */
&g_DesignSettings.m_EdgeSegmentWidth, /* Adresse du parametre */ & g_DesignSettings.m_EdgeSegmentWidth, /* Parameter address */
120, /* Valeur par defaut */ 120, /* Default value */
0,0xFFFF /* Valeurs extremes */ 0, 0xFFFF /* Valeurs extremes */
); );
static PARAM_CFG_INT TexteSegmLargeurCfg static PARAM_CFG_INT TexteSegmLargeurCfg
( (
wxT("TxtLar"), /* identification */ wxT( "TxtLar" ), /* Keyword */
&g_DesignSettings.m_PcbTextWidth, /* Adresse du parametre */ & g_DesignSettings.m_PcbTextWidth, /* Parameter address */
120, /* Valeur par defaut */ 120, /* Default value */
0,0xFFFF /* Valeurs extremes */ 0, 0xFFFF /* Valeurs extremes */
); );
static PARAM_CFG_INT ModuleSegmWidthCfg static PARAM_CFG_INT ModuleSegmWidthCfg
( (
wxT("MSegLar"), /* identification */ wxT( "MSegLar" ), /* Keyword */
&ModuleSegmentWidth, /* Adresse du parametre */ & ModuleSegmentWidth, /* Parameter address */
120, /* Valeur par defaut */ 120, /* Default value */
0,0xFFFF /* Valeurs extremes */ 0, 0xFFFF /* Valeurs extremes */
); );
static PARAM_CFG_INT FormatPlotCfg static PARAM_CFG_INT FormatPlotCfg
( (
wxT("ForPlot"), /* identification */ wxT( "ForPlot" ), /* Keyword */
&format_plot, /* Adresse du parametre */ & format_plot, /* Parameter address */
1, /* Valeur par defaut */ 1, /* Default value */
0,3 /* Valeurs extremes */ 0, 3 /* Valeurs extremes */
); );
static PARAM_CFG_INT WTraitSerigraphiePlotCfg static PARAM_CFG_INT WTraitSerigraphiePlotCfg
( (
wxT("WpenSer"), /* identification */ wxT( "WpenSer" ), /* Keyword */
&g_PlotLine_Width, /* Adresse du parametre */ & g_PlotLine_Width, /* Parameter address */
10, /* Valeur par defaut */ 10, /* Default value */
1,10000 /* Valeurs extremes */ 1, 10000 /* Valeurs extremes */
); );
static PARAM_CFG_DOUBLE UserGrilleXCfg static PARAM_CFG_DOUBLE UserGrilleXCfg
( (
wxT("UserGrX"), /* identification */ wxT( "UserGrX" ), /* Keyword */
&g_UserGrid.x, /* Adresse du parametre */ & g_UserGrid.x, /* Parameter address */
0.01, /* Valeur par defaut */ 0.01, /* Default value */
0.0001, 100.0 /* Valeurs extremes (inches)*/ 0.0001, 100.0 /* Valeurs extremes (inches)*/
); );
static PARAM_CFG_DOUBLE UserGrilleYCfg static PARAM_CFG_DOUBLE UserGrilleYCfg
( (
wxT("UserGrY"), /* identification */ wxT( "UserGrY" ), /* Keyword */
&g_UserGrid.y, /* Adresse du parametre */ & g_UserGrid.y, /* Parameter address */
0.01, /* Valeur par defaut */ 0.01, /* Default value */
0.0001, 100.0 /* Valeurs extremes (inches)*/ 0.0001, 100.0 /* Valeurs extremes (inches)*/
); );
static PARAM_CFG_INT UserGrilleUnitCfg static PARAM_CFG_INT UserGrilleUnitCfg
( (
wxT("UserGrU"), /* identification */ wxT( "UserGrU" ), /* Keyword */
&g_UserGrid_Unit, /* Adresse du parametre */ & g_UserGrid_Unit, /* Parameter address */
1, /* Valeur par defaut */ 1, /* Default value */
0, 1 /* Valeurs extremes */ 0, 1 /* Valeurs extremes */
); );
static PARAM_CFG_INT DivGrillePcbCfg static PARAM_CFG_INT DivGrillePcbCfg
( (
wxT("DivGrPc"), /* identification */ wxT( "DivGrPc" ), /* Keyword */
&Pcbdiv_grille, /* Adresse du parametre */ & Pcbdiv_grille, /* Parameter address */
1, /* Valeur par defaut */ 1, /* Default value */
1,10 /* Valeurs extremes */ 1, 10 /* Valeurs extremes */
); );
static PARAM_CFG_INT TimeOutCfg //Duree entre Sauvegardes auto en secondes static PARAM_CFG_INT TimeOutCfg //Duree entre Sauvegardes auto en secondes
( (
wxT("TimeOut"), /* identification */ wxT( "TimeOut" ), /* Keyword */
&g_TimeOut, /* Adresse du parametre */ & g_TimeOut, /* Parameter address */
600, /* Valeur par defaut */ 600, /* Default value */
0,60000 /* Valeurs extremes */ 0, 60000 /* Valeurs extremes */
); );
static PARAM_CFG_BOOL DisplPolairCfg static PARAM_CFG_BOOL DisplPolairCfg
( (
INSETUP, INSETUP,
wxT("DPolair"), /* identification */ wxT( "DPolair" ), /* Keyword */
&DisplayOpt.DisplayPolarCood, /* Adresse du parametre */ & DisplayOpt.DisplayPolarCood, /* Parameter address */
FALSE /* Valeur par defaut */ FALSE /* Default value */
); );
static PARAM_CFG_INT CursorShapeCfg static PARAM_CFG_INT CursorShapeCfg
( (
INSETUP, INSETUP,
wxT("CuShape"), /* identification */ wxT( "CuShape" ), /* Keyword */
&g_CursorShape, /* Adresse du parametre */ & g_CursorShape, /* Parameter address */
0, /* Valeur par defaut */ 0, /* Default value */
0, 1 /* Valeurs extremes */ 0, 1 /* Valeurs extremes */
); );
static PARAM_CFG_INT PrmMaxLinksShowed static PARAM_CFG_INT PrmMaxLinksShowed
( (
wxT("MaxLnkS"), /* identification */ wxT( "MaxLnkS" ), /* Keyword */
&g_MaxLinksShowed, /* Adresse du parametre */ & g_MaxLinksShowed, /* Parameter address */
3, /* Valeur par defaut */ 3, /* Default value */
0, 15 /* Valeurs extremes */ 0, 15 /* Valeurs extremes */
); );
static PARAM_CFG_BOOL ShowRatsnestCfg static PARAM_CFG_BOOL ShowRatsnestCfg
( (
wxT("ShowRat"), /* identification */ wxT( "ShowRat" ), /* Keyword */
&g_Show_Ratsnest, /* Adresse du parametre */ & g_Show_Ratsnest, /* Parameter address */
FALSE /* Valeur par defaut */ FALSE /* Default value */
); );
static PARAM_CFG_BOOL ShowModuleRatsnestCfg static PARAM_CFG_BOOL ShowModuleRatsnestCfg
( (
wxT("ShowMRa"), /* identification */ wxT( "ShowMRa" ), /* Keyword */
&g_Show_Module_Ratsnest, /* Adresse du parametre */ & g_Show_Module_Ratsnest, /* Parameter address */
TRUE /* Valeur par defaut */ TRUE /* Default value */
); );
static PARAM_CFG_BOOL TwoSegmentTrackBuildCfg static PARAM_CFG_BOOL TwoSegmentTrackBuildCfg
( (
INSETUP, INSETUP,
wxT("TwoSegT"), /* identification */ wxT( "TwoSegT" ), /* Keyword */
&g_TwoSegmentTrackBuild, /* Adresse du parametre */ & g_TwoSegmentTrackBuild, /* Parameter address */
TRUE /* Valeur par defaut */ TRUE /* Default value */
); );
PARAM_CFG_BASE * ParamCfgList[] = PARAM_CFG_BASE* ParamCfgList[] =
{ {
& UserLibDirBufCfg, &UserLibDirBufCfg,
& LibNameBufCfg, &LibNameBufCfg,
& PadDrillCfg, &PadDrillCfg,
& PadDimHCfg, &PadDimHCfg,
& PadDimVCfg, &PadDimVCfg,
& PadFormeCfg, &PadFormeCfg,
& PadMasqueLayerCfg, &PadMasqueLayerCfg,
& ViaDiametreCfg, &ViaDiametreCfg,
& ViaDrillCfg, &ViaDrillCfg,
& ViaShowHoleCfg, &ViaShowHoleCfg,
& TrackClearenceCfg, &TrackClearenceCfg,
& LayerCountCfg, &LayerCountCfg,
& TrackWidthCfg, &TrackWidthCfg,
& RouteLayTopCfg, &RouteLayTopCfg,
& RouteLayBotCfg, &RouteLayBotCfg,
& TypeViaCfg, &TypeViaCfg,
& Segm45Cfg, &Segm45Cfg,
& Raccord45Cfg, &Raccord45Cfg,
& UnitCfg, &UnitCfg,
& SegmFillCfg, &SegmFillCfg,
& TrackAfficheGardeCfg, &TrackAfficheGardeCfg,
& NewTrackAfficheGardeCfg, &NewTrackAfficheGardeCfg,
& PadFillCfg, &PadFillCfg,
& PadAfficheGardeCfg, &PadAfficheGardeCfg,
& PadShowNumCfg, &PadShowNumCfg,
& AfficheContourModuleCfg, &AfficheContourModuleCfg,
& AfficheTexteModuleCfg, &AfficheTexteModuleCfg,
& AfficheTextePcbCfg, &AfficheTextePcbCfg,
& SegmPcb45Cfg, &SegmPcb45Cfg,
& TextePcbDimVCfg, &TextePcbDimVCfg,
& TextePcbDimHCfg, &TextePcbDimHCfg,
& ColorLayer0Cfg, &ColorLayer0Cfg,
& ColorLayer1Cfg, &ColorLayer1Cfg,
& ColorLayer2Cfg, &ColorLayer2Cfg,
& ColorLayer3Cfg, &ColorLayer3Cfg,
& ColorLayer4Cfg, &ColorLayer4Cfg,
& ColorLayer5Cfg, &ColorLayer5Cfg,
& ColorLayer6Cfg, &ColorLayer6Cfg,
& ColorLayer7Cfg, &ColorLayer7Cfg,
& ColorLayer8Cfg, &ColorLayer8Cfg,
& ColorLayer9Cfg, &ColorLayer9Cfg,
& ColorLayer10Cfg, &ColorLayer10Cfg,
& ColorLayer11Cfg, &ColorLayer11Cfg,
& ColorLayer12Cfg, &ColorLayer12Cfg,
& ColorLayer13Cfg, &ColorLayer13Cfg,
& ColorLayer14Cfg, &ColorLayer14Cfg,
& ColorLayer15Cfg, &ColorLayer15Cfg,
& ColorLayer16Cfg, &ColorLayer16Cfg,
& ColorLayer17Cfg, &ColorLayer17Cfg,
& ColorLayer18Cfg, &ColorLayer18Cfg,
& ColorLayer19Cfg, &ColorLayer19Cfg,
& ColorLayer20Cfg, &ColorLayer20Cfg,
& ColorLayer21Cfg, &ColorLayer21Cfg,
& ColorLayer22Cfg, &ColorLayer22Cfg,
& ColorLayer23Cfg, &ColorLayer23Cfg,
& ColorLayer24Cfg, &ColorLayer24Cfg,
& ColorLayer25Cfg, &ColorLayer25Cfg,
& ColorLayer26Cfg, &ColorLayer26Cfg,
& ColorLayer27Cfg, &ColorLayer27Cfg,
& ColorLayer28Cfg, &ColorLayer28Cfg,
& ColorLayer29Cfg, &ColorLayer29Cfg,
& ColorLayer30Cfg, &ColorLayer30Cfg,
& ColorLayer31Cfg, &ColorLayer31Cfg,
& ColorTxtModCmpCfg, &ColorTxtModCmpCfg,
& ColorTxtModCuCfg, &ColorTxtModCuCfg,
& VisibleTxtModCfg, &VisibleTxtModCfg,
& TexteModDimVCfg, &TexteModDimVCfg,
& TexteModDimHCfg, &TexteModDimHCfg,
& TexteModWidthCfg, &TexteModWidthCfg,
& ColorAncreModCfg, &ColorAncreModCfg,
& ColorPadCuCfg, &ColorPadCuCfg,
& ColorPadCmpCfg, &ColorPadCmpCfg,
& ColorViaNormCfg, &ColorViaNormCfg,
& ColorViaborgneCfg, &ColorViaborgneCfg,
& ColorViaEnterreeCfg, &ColorViaEnterreeCfg,
& ColorpcbGrilleCfg, &ColorpcbGrilleCfg,
& ColorCheveluCfg, &ColorCheveluCfg,
& HPGLpenNumCfg, &HPGLpenNumCfg,
& HPGLdiamCfg, &HPGLdiamCfg,
& HPGLspeedCfg, &HPGLspeedCfg,
& HPGLrecouvrementCfg, &HPGLrecouvrementCfg,
& HPGLcenterCfg, &HPGLcenterCfg,
& GERBERSpotMiniCfg, &GERBERSpotMiniCfg,
& VernisEpargneGardeCfg, &VernisEpargneGardeCfg,
& DrawSegmLargeurCfg, &DrawSegmLargeurCfg,
& EdgeSegmLargeurCfg, &EdgeSegmLargeurCfg,
& TexteSegmLargeurCfg, &TexteSegmLargeurCfg,
& ModuleSegmWidthCfg, &ModuleSegmWidthCfg,
& FormatPlotCfg, &FormatPlotCfg,
& WTraitSerigraphiePlotCfg, &WTraitSerigraphiePlotCfg,
& UserGrilleXCfg, &UserGrilleXCfg,
& UserGrilleYCfg, &UserGrilleYCfg,
& UserGrilleUnitCfg, &UserGrilleUnitCfg,
& DivGrillePcbCfg, &DivGrillePcbCfg,
& TimeOutCfg, &TimeOutCfg,
& DisplPolairCfg, &DisplPolairCfg,
& CursorShapeCfg, &CursorShapeCfg,
& PrmMaxLinksShowed, &PrmMaxLinksShowed,
& ShowRatsnestCfg, &ShowRatsnestCfg,
& ShowModuleRatsnestCfg, &ShowModuleRatsnestCfg,
& TwoSegmentTrackBuildCfg, &TwoSegmentTrackBuildCfg,
NULL NULL
}; };
...@@ -292,9 +292,6 @@ eda_global wxString g_ViaType_Name[4] ...@@ -292,9 +292,6 @@ eda_global wxString g_ViaType_Name[4]
; ;
eda_global int g_ViaHoleLastValue; // Last value for non default value via hole eda_global int g_ViaHoleLastValue; // Last value for non default value via hole
/* Couleur de fond affichage de bas d'ecran */
eda_global int g_PcbGridColor;
/* couleurs des autres items des empreintes */ /* couleurs des autres items des empreintes */
#if defined MAIN #if defined MAIN
int g_PadCMPColor = RED; int g_PadCMPColor = RED;
......
...@@ -379,7 +379,7 @@ static ColorButton Grid_Butt = ...@@ -379,7 +379,7 @@ static ColorButton Grid_Butt =
{ {
_( "Grid" ), /* Title */ _( "Grid" ), /* Title */
-1, -1,
&g_PcbGridColor, /* adr du parametre optionnel */ &g_GridColor, /* adr du parametre optionnel */
FALSE, FALSE,
&g_ShowGrid // address of boolean display control parameter to toggle &g_ShowGrid // address of boolean display control parameter to toggle
}; };
......
...@@ -1007,7 +1007,7 @@ void WinEDA_DrawPanel::OnKeyEvent( wxKeyEvent& event ) ...@@ -1007,7 +1007,7 @@ void WinEDA_DrawPanel::OnKeyEvent( wxKeyEvent& event )
case WXK_NUMLOCK: case WXK_NUMLOCK:
case WXK_LBUTTON: case WXK_LBUTTON:
case WXK_RBUTTON: case WXK_RBUTTON:
case 0x0135: /* Alt key */ case WXK_ALT:
return; return;
case WXK_ESCAPE: case WXK_ESCAPE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment