2007-09-27 09:08:47 +00:00
|
|
|
/**********************************************************/
|
|
|
|
/** pcbcfg.h : configuration: definition des structures **/
|
|
|
|
/**********************************************************/
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
#define GROUP wxT( "/pcbnew" )
|
|
|
|
#define GROUPLIB wxT( "/pcbnew/libraries" )
|
|
|
|
#define GROUPCOMMON wxT( "/common" )
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
// Flag for member .m_Setup
|
|
|
|
// .m_Setup = TRUE: write info in user config
|
|
|
|
// (i.e. for all project, in registry base or equivalent)
|
|
|
|
// .m_Setup = FALSE: write info in project config (i.e. only for this project, in .pro file)
|
|
|
|
#define INSETUP TRUE
|
|
|
|
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static int Pcbdiv_grille; /* memorisation temporaire */
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
/* Liste des parametres */
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_WXSTRING UserLibDirBufCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "LibDir" ), /* Keyword */
|
|
|
|
& g_UserLibDirBuffer, /* Parameter address */
|
|
|
|
GROUPLIB
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_LIBNAME_LIST LibNameBufCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "LibName" ), /* Keyword */
|
|
|
|
& g_LibName_List, /* Parameter address */
|
|
|
|
GROUPLIB
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT PadDrillCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "PadDrlX" ), /* Keyword */
|
|
|
|
& g_Pad_Master.m_Drill.x, /* Parameter address */
|
|
|
|
320, /* Default value */
|
|
|
|
0, 0x7FFF /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT PadDimHCfg //Pad Diameter / H Size
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "PadDimH" ), /* Keyword */
|
|
|
|
& g_Pad_Master.m_Size.x, /* Parameter address */
|
|
|
|
550, /* Default value */
|
|
|
|
0, 0x7FFF /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT PadDimVCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "PadDimV" ), /* Keyword */
|
|
|
|
& g_Pad_Master.m_Size.y, /* Parameter address */
|
|
|
|
550, /* Default value */
|
|
|
|
0, 0x7FFF /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT PadFormeCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "PadForm" ), /* Keyword */
|
|
|
|
& g_Pad_Master.m_PadShape, /* Parameter address */
|
|
|
|
CIRCLE, /* Default value */
|
|
|
|
0, 0x7F /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT PadMasqueLayerCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "PadMask" ), /* Keyword */
|
|
|
|
& g_Pad_Master.m_Masque_Layer, /* Parameter address */
|
|
|
|
0x0000FFFF /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT ViaDiametreCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "ViaDiam" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_CurrentViaSize, /* Parameter address */
|
|
|
|
450, /* Default value */
|
|
|
|
0, 0xFFFF /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT ViaDrillCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "ViaDril" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_ViaDrill, /* Parameter address */
|
|
|
|
250, /* Default value */
|
|
|
|
0, 0xFFFF /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT ViaShowHoleCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ViaSHole" ), /* Keyword */
|
|
|
|
& DisplayOpt.m_DisplayViaMode, /* Parameter address */
|
|
|
|
VIA_SPECIAL_HOLE_SHOW, /* Default value */
|
|
|
|
VIA_HOLE_NOT_SHOW, /* Valeurs extremes */
|
|
|
|
OPT_VIA_HOLE_END - 1 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT TrackClearenceCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "Isol" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_TrackClearence, /* Parameter address */
|
|
|
|
120, /* Default value */
|
|
|
|
0, 0xFFFF /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT LayerCountCfg // Mask Working Layers
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "Countlayer" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_CopperLayerCount, /* Parameter address */
|
|
|
|
2, /* Default value */
|
|
|
|
1, NB_COPPER_LAYERS /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT TrackWidthCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "Lpiste" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_CurrentTrackWidth, /* Parameter address */
|
|
|
|
170, /* Default value */
|
|
|
|
2, 0xFFFF /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT RouteLayTopCfg // First current working layer
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "RouteTo" ), /* Keyword */
|
|
|
|
& Route_Layer_TOP, /* Parameter address */
|
|
|
|
15, /* Default value */
|
|
|
|
0, 15 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT RouteLayBotCfg // second current working layer
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "RouteBo" ), /* Keyword */
|
|
|
|
& Route_Layer_BOTTOM, /* Parameter address */
|
|
|
|
0, /* Default value */
|
|
|
|
0, 15 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT TypeViaCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "TypeVia" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_CurrentViaType, /* Parameter address */
|
2007-10-19 16:24:44 +00:00
|
|
|
VIA_THROUGH, /* Default value */
|
2007-09-27 09:08:47 +00:00
|
|
|
0, 3 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_BOOL Segm45Cfg // Segm Pistes a 0, 45, 90 degres uniquement
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "Segm45" ), /* Keyword */
|
|
|
|
& Track_45_Only, /* Parameter address */
|
|
|
|
TRUE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_BOOL Raccord45Cfg // Generation automatique des Raccords a 45 degres
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "Racc45" ), /* Keyword */
|
|
|
|
& g_Raccord_45_Auto, /* Parameter address */
|
|
|
|
TRUE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT UnitCfg // Units: 0 inch, 1 mm
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "Unite" ), /* Keyword */
|
|
|
|
& g_UnitMetric, /* Parameter address */
|
|
|
|
FALSE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_BOOL SegmFillCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "SegFill" ), /* Keyword */
|
|
|
|
& DisplayOpt.DisplayPcbTrackFill, /* Parameter address */
|
|
|
|
TRUE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_BOOL NewTrackAfficheGardeCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "NewAffG" ), /* Keyword */
|
|
|
|
& g_ShowIsolDuringCreateTrack, /* Parameter address */
|
|
|
|
TRUE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_BOOL TrackAfficheGardeCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "SegAffG" ), /* Keyword */
|
|
|
|
& DisplayOpt.DisplayTrackIsol, /* Parameter address */
|
|
|
|
FALSE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_BOOL PadFillCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "PadFill" ), /* Keyword */
|
|
|
|
& DisplayOpt.DisplayPadFill, /* Parameter address */
|
|
|
|
TRUE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_BOOL PadAfficheGardeCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "PadAffG" ), /* Keyword */
|
|
|
|
& DisplayOpt.DisplayPadIsol, /* Parameter address */
|
|
|
|
TRUE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_BOOL PadShowNumCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "PadSNum" ), /* Keyword */
|
|
|
|
& DisplayOpt.DisplayPadNum, /* Parameter address */
|
|
|
|
TRUE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT AfficheContourModuleCfg // Module Edges: fill/line/sketch
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "ModAffC" ), /* Keyword */
|
|
|
|
& DisplayOpt.DisplayModEdge, /* Parameter address */
|
|
|
|
FILAIRE, /* Default value */
|
|
|
|
0, 2 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT AfficheTexteModuleCfg // Module Texts: fill/line/sketch
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "ModAffT" ), /* Keyword */
|
|
|
|
& DisplayOpt.DisplayModText, /* Parameter address */
|
|
|
|
FILAIRE, /* Default value */
|
|
|
|
0, 2 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT AfficheTextePcbCfg // PCB Texts: fill/line/sketch
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "PcbAffT" ), /* Keyword */
|
|
|
|
& DisplayOpt.DisplayDrawItems, /* Parameter address */
|
|
|
|
FILAIRE, /* Default value */
|
|
|
|
0, 2 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_BOOL SegmPcb45Cfg // Force 45 degrees for segments
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "SgPcb45" ), /* Keyword */
|
|
|
|
& Segments_45_Only, /* Parameter address */
|
|
|
|
TRUE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT TextePcbDimVCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "TxtPcbV" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_PcbTextSize.y, /* Parameter address */
|
|
|
|
600, /* Default value */
|
|
|
|
10, 2000 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT TextePcbDimHCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "TxtPcbH" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_PcbTextSize.x, /* Parameter address */
|
|
|
|
600, /* Default value */
|
|
|
|
10, 2000 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer0Cfg // CU Layer Color
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLay0" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[0], /* Parameter address */
|
|
|
|
GREEN /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer1Cfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLay1" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[1], /* Parameter address */
|
|
|
|
BLUE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer2Cfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLay2" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[2], /* Parameter address */
|
|
|
|
LIGHTGRAY /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer3Cfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLay3" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[3], /* Parameter address */
|
|
|
|
5 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer4Cfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLay4" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[4], /* Parameter address */
|
|
|
|
4 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer5Cfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLay5" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[5], /* Parameter address */
|
|
|
|
5 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer6Cfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLay6" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[6], /* Parameter address */
|
|
|
|
6 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer7Cfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLay7" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[7], /* Parameter address */
|
|
|
|
5 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer8Cfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLay8" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[8], /* Parameter address */
|
|
|
|
7 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer9Cfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLay9" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[9], /* Parameter address */
|
|
|
|
1 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer10Cfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayA" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[10], /* Parameter address */
|
|
|
|
2 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer11Cfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayB" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[11], /* Parameter address */
|
|
|
|
3 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer12Cfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayC" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[12], /* Parameter address */
|
|
|
|
12 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer13Cfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayD" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[13], /* Parameter address */
|
|
|
|
13 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer14Cfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayE" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[14], /* Parameter address */
|
|
|
|
14 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer15Cfg // CMP Layer Color
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayF" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[15], /* Parameter address */
|
|
|
|
RED /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer16Cfg // Adhesive CU Layer Color
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayG" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[16], /* Parameter address */
|
|
|
|
1 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer17Cfg // Adhesive CMP Layer Color
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayH" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[17], /* Parameter address */
|
|
|
|
5 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer18Cfg // Solder Mask CU Layer Color
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayI" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[18], /* Parameter address */
|
|
|
|
11 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer19Cfg // Solder Mask CMP Layer Color
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayJ" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[19], /* Parameter address */
|
|
|
|
4 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer20Cfg // Silk Screen CU Layer Color
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayK" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[20], /* Parameter address */
|
|
|
|
5 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer21Cfg // Silk Screen CMP Layer Color
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayL" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[21], /* Parameter address */
|
|
|
|
3 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer22Cfg // Mask CU Layer Color
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayM" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[22], /* Parameter address */
|
|
|
|
6 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer23Cfg // Mask CMP Layer Color
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayN" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[23], /* Parameter address */
|
|
|
|
5 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer24Cfg // DRAW Layer Color
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayO" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[24], /* Parameter address */
|
|
|
|
LIGHTGRAY /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer25Cfg // Comment Layer Color
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayP" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[25], /* Parameter address */
|
|
|
|
1 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer26Cfg // ECO1 Layer Color
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayQ" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[26], /* Parameter address */
|
|
|
|
2 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer27Cfg //ECO2 Layer Color
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayR" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[27], /* Parameter address */
|
|
|
|
14 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer28Cfg // EDGES Layer Color
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayS" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[28], /* Parameter address */
|
|
|
|
YELLOW /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer29Cfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayT" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[29], /* Parameter address */
|
|
|
|
13 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer30Cfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayU" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[30], /* Parameter address */
|
|
|
|
14 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorLayer31Cfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayV" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_LayerColor[31], /* Parameter address */
|
|
|
|
7 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorTxtModCmpCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "CTxtMoC" ), /* Keyword */
|
|
|
|
& g_ModuleTextCMPColor, /* Parameter address */
|
|
|
|
LIGHTGRAY /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorTxtModCuCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "CTxtMoS" ), /* Keyword */
|
|
|
|
& g_ModuleTextCUColor, /* Parameter address */
|
|
|
|
1 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR VisibleTxtModCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "CTxtVis" ), /* Keyword */
|
|
|
|
& g_ModuleTextNOVColor, /* Parameter address */
|
|
|
|
DARKGRAY /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT TexteModDimVCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "TxtModV" ), /* Keyword */
|
|
|
|
& ModuleTextSize.y, /* Parameter address */
|
|
|
|
500, /* Default value */
|
|
|
|
1, 20000 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT TexteModDimHCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "TxtModH" ), /* Keyword */
|
|
|
|
& ModuleTextSize.x, /* Parameter address */
|
|
|
|
500, /* Default value */
|
|
|
|
1, 20000 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT TexteModWidthCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "TxtModW" ), /* Keyword */
|
|
|
|
& ModuleTextWidth, /* Parameter address */
|
|
|
|
100, /* Default value */
|
|
|
|
1, 10000 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorAncreModCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "CAncreM" ), /* Keyword */
|
|
|
|
& g_AnchorColor, /* Parameter address */
|
|
|
|
BLUE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorPadCuCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "CoPadCu" ), /* Keyword */
|
|
|
|
& g_PadCUColor, /* Parameter address */
|
|
|
|
GREEN /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorPadCmpCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "CoPadCm" ), /* Keyword */
|
|
|
|
& g_PadCMPColor, /* Parameter address */
|
|
|
|
RED /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorViaNormCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "CoViaNo" ), /* Keyword */
|
2007-10-19 16:24:44 +00:00
|
|
|
& g_DesignSettings.m_ViaColor[VIA_THROUGH], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
LIGHTGRAY /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorViaborgneCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "CoViaBo" ), /* Keyword */
|
2007-10-19 16:24:44 +00:00
|
|
|
& g_DesignSettings.m_ViaColor[VIA_BURIED], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
CYAN /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorViaEnterreeCfg // Buried Via Color
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "CoViaEn" ), /* Keyword */
|
2007-10-19 16:24:44 +00:00
|
|
|
& g_DesignSettings.m_ViaColor[VIA_BLIND], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
BROWN /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorpcbGrilleCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "CoPcbGr" ), /* Keyword */
|
|
|
|
& g_GridColor, /* Parameter address */
|
|
|
|
DARKGRAY /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorCheveluCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "CoRatsN" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_RatsnestColor, /* Parameter address */
|
|
|
|
WHITE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT HPGLpenNumCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "HPGLnum" ), /* Keyword */
|
|
|
|
& g_HPGL_Pen_Num, /* Parameter address */
|
|
|
|
1, /* Default value */
|
|
|
|
1, 16 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT HPGLdiamCfg // HPGL pen size (mils)
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "HPGdiam" ), /* Keyword */
|
|
|
|
& g_HPGL_Pen_Diam, /* Parameter address */
|
|
|
|
15, /* Default value */
|
|
|
|
0, 100 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT HPGLspeedCfg //HPGL pen speed (cm/s)
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "HPGLSpd" ), /* Keyword */
|
|
|
|
& g_HPGL_Pen_Speed, /* Parameter address */
|
|
|
|
20, /* Default value */
|
|
|
|
0, 1000 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT HPGLrecouvrementCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "HPGLrec" ), /* Keyword */
|
|
|
|
& g_HPGL_Pen_Recouvrement, /* Parameter address */
|
|
|
|
2, /* Default value */
|
|
|
|
0, 0x100 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_BOOL HPGLcenterCfg //HPGL Org Coord ( 0 normal, 1 Centre)
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "HPGLorg" ), /* Keyword */
|
|
|
|
& HPGL_Org_Centre, /* Parameter address */
|
|
|
|
FALSE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT GERBERSpotMiniCfg //Aperture Mini (mils)
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "GERBmin" ), /* Keyword */
|
|
|
|
& spot_mini, /* Parameter address */
|
|
|
|
15, /* Default value */
|
|
|
|
1, 100 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT VernisEpargneGardeCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "VEgarde" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_MaskMargin, /* Parameter address */
|
|
|
|
100, /* Default value */
|
|
|
|
0, 0xFFFF /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT DrawSegmLargeurCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "DrawLar" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_DrawSegmentWidth, /* Parameter address */
|
|
|
|
120, /* Default value */
|
|
|
|
0, 0xFFFF /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT EdgeSegmLargeurCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "EdgeLar" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_EdgeSegmentWidth, /* Parameter address */
|
|
|
|
120, /* Default value */
|
|
|
|
0, 0xFFFF /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT TexteSegmLargeurCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "TxtLar" ), /* Keyword */
|
|
|
|
& g_DesignSettings.m_PcbTextWidth, /* Parameter address */
|
|
|
|
120, /* Default value */
|
|
|
|
0, 0xFFFF /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT ModuleSegmWidthCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "MSegLar" ), /* Keyword */
|
|
|
|
& ModuleSegmentWidth, /* Parameter address */
|
|
|
|
120, /* Default value */
|
|
|
|
0, 0xFFFF /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT FormatPlotCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "ForPlot" ), /* Keyword */
|
|
|
|
& format_plot, /* Parameter address */
|
|
|
|
1, /* Default value */
|
|
|
|
0, 3 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT WTraitSerigraphiePlotCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "WpenSer" ), /* Keyword */
|
|
|
|
& g_PlotLine_Width, /* Parameter address */
|
|
|
|
10, /* Default value */
|
|
|
|
1, 10000 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_DOUBLE UserGrilleXCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "UserGrX" ), /* Keyword */
|
|
|
|
& g_UserGrid.x, /* Parameter address */
|
|
|
|
0.01, /* Default value */
|
|
|
|
0.0001, 100.0 /* Valeurs extremes (inches)*/
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_DOUBLE UserGrilleYCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "UserGrY" ), /* Keyword */
|
|
|
|
& g_UserGrid.y, /* Parameter address */
|
|
|
|
0.01, /* Default value */
|
|
|
|
0.0001, 100.0 /* Valeurs extremes (inches)*/
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT UserGrilleUnitCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "UserGrU" ), /* Keyword */
|
|
|
|
& g_UserGrid_Unit, /* Parameter address */
|
|
|
|
1, /* Default value */
|
|
|
|
0, 1 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT DivGrillePcbCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "DivGrPc" ), /* Keyword */
|
|
|
|
& Pcbdiv_grille, /* Parameter address */
|
|
|
|
1, /* Default value */
|
|
|
|
1, 10 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT TimeOutCfg //Duree entre Sauvegardes auto en secondes
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "TimeOut" ), /* Keyword */
|
|
|
|
& g_TimeOut, /* Parameter address */
|
|
|
|
600, /* Default value */
|
|
|
|
0, 60000 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_BOOL DisplPolairCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "DPolair" ), /* Keyword */
|
|
|
|
& DisplayOpt.DisplayPolarCood, /* Parameter address */
|
|
|
|
FALSE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT CursorShapeCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "CuShape" ), /* Keyword */
|
|
|
|
& g_CursorShape, /* Parameter address */
|
|
|
|
0, /* Default value */
|
|
|
|
0, 1 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_INT PrmMaxLinksShowed
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "MaxLnkS" ), /* Keyword */
|
|
|
|
& g_MaxLinksShowed, /* Parameter address */
|
|
|
|
3, /* Default value */
|
|
|
|
0, 15 /* Valeurs extremes */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_BOOL ShowRatsnestCfg
|
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "ShowRat" ), /* Keyword */
|
|
|
|
& g_Show_Ratsnest, /* Parameter address */
|
|
|
|
FALSE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_BOOL ShowModuleRatsnestCfg
|
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "ShowMRa" ), /* Keyword */
|
|
|
|
& g_Show_Module_Ratsnest, /* Parameter address */
|
|
|
|
TRUE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_BOOL TwoSegmentTrackBuildCfg
|
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "TwoSegT" ), /* Keyword */
|
|
|
|
& g_TwoSegmentTrackBuild, /* Parameter address */
|
|
|
|
TRUE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
PARAM_CFG_BASE* ParamCfgList[] =
|
2007-06-05 12:10:51 +00:00
|
|
|
{
|
2007-09-27 09:08:47 +00:00
|
|
|
&UserLibDirBufCfg,
|
|
|
|
&LibNameBufCfg,
|
|
|
|
&PadDrillCfg,
|
|
|
|
&PadDimHCfg,
|
|
|
|
&PadDimVCfg,
|
|
|
|
&PadFormeCfg,
|
|
|
|
&PadMasqueLayerCfg,
|
|
|
|
&ViaDiametreCfg,
|
|
|
|
&ViaDrillCfg,
|
|
|
|
&ViaShowHoleCfg,
|
|
|
|
&TrackClearenceCfg,
|
|
|
|
&LayerCountCfg,
|
|
|
|
&TrackWidthCfg,
|
|
|
|
&RouteLayTopCfg,
|
|
|
|
&RouteLayBotCfg,
|
|
|
|
&TypeViaCfg,
|
|
|
|
&Segm45Cfg,
|
|
|
|
&Raccord45Cfg,
|
|
|
|
&UnitCfg,
|
|
|
|
&SegmFillCfg,
|
|
|
|
&TrackAfficheGardeCfg,
|
|
|
|
&NewTrackAfficheGardeCfg,
|
|
|
|
&PadFillCfg,
|
|
|
|
&PadAfficheGardeCfg,
|
|
|
|
&PadShowNumCfg,
|
|
|
|
&AfficheContourModuleCfg,
|
|
|
|
&AfficheTexteModuleCfg,
|
|
|
|
&AfficheTextePcbCfg,
|
|
|
|
&SegmPcb45Cfg,
|
|
|
|
&TextePcbDimVCfg,
|
|
|
|
&TextePcbDimHCfg,
|
|
|
|
&ColorLayer0Cfg,
|
|
|
|
&ColorLayer1Cfg,
|
|
|
|
&ColorLayer2Cfg,
|
|
|
|
&ColorLayer3Cfg,
|
|
|
|
&ColorLayer4Cfg,
|
|
|
|
&ColorLayer5Cfg,
|
|
|
|
&ColorLayer6Cfg,
|
|
|
|
&ColorLayer7Cfg,
|
|
|
|
&ColorLayer8Cfg,
|
|
|
|
&ColorLayer9Cfg,
|
|
|
|
&ColorLayer10Cfg,
|
|
|
|
&ColorLayer11Cfg,
|
|
|
|
&ColorLayer12Cfg,
|
|
|
|
&ColorLayer13Cfg,
|
|
|
|
&ColorLayer14Cfg,
|
|
|
|
&ColorLayer15Cfg,
|
|
|
|
&ColorLayer16Cfg,
|
|
|
|
&ColorLayer17Cfg,
|
|
|
|
&ColorLayer18Cfg,
|
|
|
|
&ColorLayer19Cfg,
|
|
|
|
&ColorLayer20Cfg,
|
|
|
|
&ColorLayer21Cfg,
|
|
|
|
&ColorLayer22Cfg,
|
|
|
|
&ColorLayer23Cfg,
|
|
|
|
&ColorLayer24Cfg,
|
|
|
|
&ColorLayer25Cfg,
|
|
|
|
&ColorLayer26Cfg,
|
|
|
|
&ColorLayer27Cfg,
|
|
|
|
&ColorLayer28Cfg,
|
|
|
|
&ColorLayer29Cfg,
|
|
|
|
&ColorLayer30Cfg,
|
|
|
|
&ColorLayer31Cfg,
|
|
|
|
&ColorTxtModCmpCfg,
|
|
|
|
&ColorTxtModCuCfg,
|
|
|
|
&VisibleTxtModCfg,
|
|
|
|
&TexteModDimVCfg,
|
|
|
|
&TexteModDimHCfg,
|
|
|
|
&TexteModWidthCfg,
|
|
|
|
&ColorAncreModCfg,
|
|
|
|
&ColorPadCuCfg,
|
|
|
|
&ColorPadCmpCfg,
|
|
|
|
&ColorViaNormCfg,
|
|
|
|
&ColorViaborgneCfg,
|
|
|
|
&ColorViaEnterreeCfg,
|
|
|
|
&ColorpcbGrilleCfg,
|
|
|
|
&ColorCheveluCfg,
|
|
|
|
&HPGLpenNumCfg,
|
|
|
|
&HPGLdiamCfg,
|
|
|
|
&HPGLspeedCfg,
|
|
|
|
&HPGLrecouvrementCfg,
|
|
|
|
&HPGLcenterCfg,
|
|
|
|
&GERBERSpotMiniCfg,
|
|
|
|
&VernisEpargneGardeCfg,
|
|
|
|
&DrawSegmLargeurCfg,
|
|
|
|
&EdgeSegmLargeurCfg,
|
|
|
|
&TexteSegmLargeurCfg,
|
|
|
|
&ModuleSegmWidthCfg,
|
|
|
|
&FormatPlotCfg,
|
|
|
|
&WTraitSerigraphiePlotCfg,
|
|
|
|
&UserGrilleXCfg,
|
|
|
|
&UserGrilleYCfg,
|
|
|
|
&UserGrilleUnitCfg,
|
|
|
|
&DivGrillePcbCfg,
|
|
|
|
&TimeOutCfg,
|
|
|
|
&DisplPolairCfg,
|
|
|
|
&CursorShapeCfg,
|
|
|
|
&PrmMaxLinksShowed,
|
|
|
|
&ShowRatsnestCfg,
|
|
|
|
&ShowModuleRatsnestCfg,
|
|
|
|
&TwoSegmentTrackBuildCfg,
|
|
|
|
|
|
|
|
NULL
|
2007-06-05 12:10:51 +00:00
|
|
|
};
|