2007-09-27 09:08:47 +00:00
|
|
|
/**********************************************************/
|
|
|
|
/** pcbcfg.h : configuration: definition des structures **/
|
|
|
|
/**********************************************************/
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-03-28 20:02:34 +00:00
|
|
|
#include "param_config.h"
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
/* 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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_UserLibDirBuffer, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_LibName_List, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_Pad_Master.m_Drill.x, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
320, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 0x7FFF /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_Pad_Master.m_Size.x, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
550, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 0x7FFF /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_Pad_Master.m_Size.y, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
550, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 0x7FFF /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_CurrentViaSize, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
450, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 0xFFFF /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_ViaDrill, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
250, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 0xFFFF /* Min and max values*/
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
2008-01-12 20:31:56 +00:00
|
|
|
|
2009-02-09 07:49:02 +00:00
|
|
|
static PARAM_CFG_INT ViaAltDrillCfg
|
|
|
|
(
|
|
|
|
wxT( "ViaAltD" ), /* Keyword */
|
|
|
|
&g_DesignSettings.m_ViaDrillCustomValue, /* Parameter address */
|
|
|
|
250, /* Default value */
|
|
|
|
0, 0xFFFF /* Min and max values*/
|
|
|
|
);
|
2009-06-19 20:13:22 +00:00
|
|
|
static PARAM_CFG_INT LayerThicknessCfg
|
|
|
|
(
|
|
|
|
wxT( "LayerThickness" ), /* Keyword */
|
|
|
|
&g_DesignSettings.m_LayerThickness, /* Parameter address */
|
|
|
|
630, /* Default value */
|
|
|
|
0, 0xFFFF /* Min and max values*/
|
|
|
|
);
|
2009-02-09 07:49:02 +00:00
|
|
|
|
2008-01-12 20:31:56 +00:00
|
|
|
static PARAM_CFG_INT MicroViaDiametreCfg
|
|
|
|
(
|
|
|
|
wxT( "MViaDia" ), /* Keyword */
|
|
|
|
&g_DesignSettings.m_CurrentMicroViaSize, /* Parameter address */
|
|
|
|
200, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 1000 /* Min and max values*/
|
2008-01-12 20:31:56 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_INT MicroViaDrillCfg
|
|
|
|
(
|
|
|
|
wxT( "MViaDrl" ), /* Keyword */
|
|
|
|
&g_DesignSettings.m_MicroViaDrill, /* Parameter address */
|
|
|
|
80, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 800 /* Min and max values*/
|
2008-01-12 20:31:56 +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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&DisplayOpt.m_DisplayViaMode, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
VIA_SPECIAL_HOLE_SHOW, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
VIA_HOLE_NOT_SHOW, /* Min and max values*/
|
|
|
|
OPT_VIA_HOLE_END - 1 /* Min and max values*/
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2009-03-26 19:27:50 +00:00
|
|
|
static PARAM_CFG_INT ShowNetNamesModeCfg
|
|
|
|
(
|
|
|
|
INSETUP,
|
|
|
|
wxT( "ShowNetNamesMode" ), /* Keyword */
|
|
|
|
&DisplayOpt.DisplayNetNamesMode, /* Parameter address */
|
|
|
|
3, /* Default value */
|
|
|
|
0, /* Min and max values*/
|
|
|
|
3 /* Min and max values*/
|
|
|
|
);
|
|
|
|
|
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 */
|
2009-09-10 15:22:26 +00:00
|
|
|
&g_DesignSettings.m_TrackClearance, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
120, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 0xFFFF /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_CopperLayerCount, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
2, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
1, NB_COPPER_LAYERS /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_CurrentTrackWidth, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
170, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
2, 0xFFFF /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&Route_Layer_TOP, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
15, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 15 /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&Route_Layer_BOTTOM, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
0, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 15 /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_CurrentViaType, /* Parameter address */
|
2007-10-19 16:24:44 +00:00
|
|
|
VIA_THROUGH, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 3 /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&Track_45_Only, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_Raccord_45_Auto, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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
|
|
|
(
|
2008-06-06 16:39:45 +00:00
|
|
|
INSETUP,
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "Unite" ), /* Keyword */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_UnitMetric, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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
|
|
|
(
|
2008-06-06 16:39:45 +00:00
|
|
|
INSETUP,
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "SegFill" ), /* Keyword */
|
2008-01-12 20:31:56 +00:00
|
|
|
&DisplayOpt.DisplayPcbTrackFill, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
TRUE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
2009-06-18 20:51:01 +00:00
|
|
|
static PARAM_CFG_INT TrackDisplayClearanceCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2008-06-06 16:39:45 +00:00
|
|
|
INSETUP,
|
2009-06-18 20:51:01 +00:00
|
|
|
wxT( "TrackDisplayClearance" ), /* Keyword */
|
|
|
|
&DisplayOpt.ShowTrackClearanceMode, /* Parameter address */
|
|
|
|
SHOW_CLEARANCE_NEW_TRACKS_AND_VIA_AREAS /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2009-06-04 19:39:50 +00:00
|
|
|
static PARAM_CFG_BOOL PadFillCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2008-06-06 16:39:45 +00:00
|
|
|
INSETUP,
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "PadFill" ), /* Keyword */
|
2009-06-04 19:39:50 +00:00
|
|
|
&DisplayOpt.DisplayPadFill, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
TRUE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2009-09-29 04:44:35 +00:00
|
|
|
static PARAM_CFG_BOOL ViaFillCfg
|
|
|
|
(
|
|
|
|
INSETUP,
|
|
|
|
wxT( "ViaFill" ), /* Keyword */
|
|
|
|
&DisplayOpt.DisplayViaFill, /* Parameter address */
|
|
|
|
TRUE /* Default value */
|
|
|
|
);
|
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_BOOL PadAfficheGardeCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2008-06-06 16:39:45 +00:00
|
|
|
INSETUP,
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "PadAffG" ), /* Keyword */
|
2008-01-12 20:31:56 +00:00
|
|
|
&DisplayOpt.DisplayPadIsol, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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
|
|
|
(
|
2008-06-06 16:39:45 +00:00
|
|
|
INSETUP,
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "PadSNum" ), /* Keyword */
|
2008-01-12 20:31:56 +00:00
|
|
|
&DisplayOpt.DisplayPadNum, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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
|
|
|
(
|
2008-06-06 16:39:45 +00:00
|
|
|
INSETUP,
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "ModAffC" ), /* Keyword */
|
2008-01-12 20:31:56 +00:00
|
|
|
&DisplayOpt.DisplayModEdge, /* Parameter address */
|
2009-03-26 19:27:50 +00:00
|
|
|
FILLED, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 2 /* Min and max values*/
|
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
|
|
|
(
|
2008-06-06 16:39:45 +00:00
|
|
|
INSETUP,
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "ModAffT" ), /* Keyword */
|
2008-01-12 20:31:56 +00:00
|
|
|
&DisplayOpt.DisplayModText, /* Parameter address */
|
2009-03-26 19:27:50 +00:00
|
|
|
FILLED, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 2 /* Min and max values*/
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2009-06-04 19:39:50 +00:00
|
|
|
static PARAM_CFG_INT AffichePcbTextCfg // PCB Texts: fill/line/sketch
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2008-06-06 16:39:45 +00:00
|
|
|
INSETUP,
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "PcbAffT" ), /* Keyword */
|
2008-01-12 20:31:56 +00:00
|
|
|
&DisplayOpt.DisplayDrawItems, /* Parameter address */
|
2009-03-26 19:27:50 +00:00
|
|
|
FILLED, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 2 /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&Segments_45_Only, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
TRUE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2009-06-04 19:39:50 +00:00
|
|
|
static PARAM_CFG_INT PcbTextDimVCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2008-03-24 20:54:45 +00:00
|
|
|
wxT( "TxtPcbV" ), /* Keyword */
|
|
|
|
&g_DesignSettings.m_PcbTextSize.y, /* Parameter address */
|
|
|
|
600, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
TEXTS_MIN_SIZE, TEXTS_MAX_SIZE /* Min and max values*/
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2009-06-04 19:39:50 +00:00
|
|
|
static PARAM_CFG_INT PcbTextDimHCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2008-03-24 20:54:45 +00:00
|
|
|
wxT( "TxtPcbH" ), /* Keyword */
|
|
|
|
&g_DesignSettings.m_PcbTextSize.x, /* Parameter address */
|
|
|
|
600, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
TEXTS_MIN_SIZE, TEXTS_MAX_SIZE /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[0], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[1], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[2], /* 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 ColorLayer3Cfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLay3" ), /* Keyword */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[3], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[4], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[5], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[6], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[7], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[8], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[9], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[10], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[11], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[12], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[13], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[14], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[15], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[16], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[17], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[18], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[19], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[20], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[21], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[22], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[23], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[24], /* 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 ColorLayer25Cfg // Comment Layer Color
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColLayP" ), /* Keyword */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[25], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[26], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[27], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[28], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[29], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[30], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_LayerColor[31], /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_ModuleTextCMPColor, /* 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 ColorTxtModCuCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "CTxtMoS" ), /* Keyword */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_ModuleTextCUColor, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_ModuleTextNOVColor, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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
|
|
|
(
|
2008-03-24 20:54:45 +00:00
|
|
|
wxT( "TxtModV" ), /* Keyword */
|
|
|
|
&ModuleTextSize.y, /* Parameter address */
|
|
|
|
500, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
TEXTS_MIN_SIZE, TEXTS_MAX_SIZE /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&ModuleTextSize.x, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
500, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
TEXTS_MIN_SIZE, TEXTS_MAX_SIZE /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&ModuleTextWidth, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
100, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
1, TEXTS_MAX_WIDTH /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_AnchorColor, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_PadCUColor, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_PadCMPColor, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
RED /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2008-01-12 20:31:56 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorViaThroughCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
2008-01-12 20:31:56 +00:00
|
|
|
wxT( "CoViaTh" ), /* Keyword */
|
|
|
|
&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
|
|
|
);
|
|
|
|
|
2008-01-12 20:31:56 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorViaBlindBuriedCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
2008-01-12 20:31:56 +00:00
|
|
|
wxT( "CoViaBu" ), /* Keyword */
|
|
|
|
&g_DesignSettings.m_ViaColor[VIA_BLIND_BURIED], /* Parameter address */
|
|
|
|
BROWN /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2008-01-12 20:31:56 +00:00
|
|
|
static PARAM_CFG_SETCOLOR ColorViaMicroViaCfg // Buried Via Color
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
2008-01-12 20:31:56 +00:00
|
|
|
wxT( "CoViaMi" ), /* Keyword */
|
|
|
|
&g_DesignSettings.m_ViaColor[VIA_MICROVIA], /* Parameter address */
|
|
|
|
CYAN /* 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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_GridColor, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_RatsnestColor, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2009-06-28 16:50:42 +00:00
|
|
|
&g_pcb_plot_options.HPGL_Pen_Num, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
1, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
1, 16 /* Min and max values*/
|
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 */
|
2009-06-28 16:50:42 +00:00
|
|
|
&g_pcb_plot_options.HPGL_Pen_Diam, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
15, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 100 /* Min and max values*/
|
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 */
|
2009-06-28 16:50:42 +00:00
|
|
|
&g_pcb_plot_options.HPGL_Pen_Speed, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
20, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 1000 /* Min and max values*/
|
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 */
|
2009-06-28 16:50:42 +00:00
|
|
|
&g_pcb_plot_options.HPGL_Pen_Recouvrement, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
2, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 0x100 /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_MaskMargin, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
100, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 0xFFFF /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_DrawSegmentWidth, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
120, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 0xFFFF /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_EdgeSegmentWidth, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
120, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 0xFFFF /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_DesignSettings.m_PcbTextWidth, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
120, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 0xFFFF /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&ModuleSegmentWidth, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
120, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 0xFFFF /* Min and max values*/
|
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 */
|
2009-06-28 16:50:42 +00:00
|
|
|
&g_pcb_plot_options.PlotLine_Width, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
10, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
1, 10000 /* Min and max values*/
|
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
|
|
|
(
|
2008-11-22 11:10:40 +00:00
|
|
|
INSETUP,
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "TimeOut" ), /* Keyword */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_TimeOut, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
600, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 60000 /* Min and max values*/
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&DisplayOpt.DisplayPolarCood, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
FALSE /* Default value */
|
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
|
|
|
(
|
2008-06-06 16:39:45 +00:00
|
|
|
INSETUP,
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "MaxLnkS" ), /* Keyword */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_MaxLinksShowed, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
3, /* Default value */
|
2008-06-06 16:39:45 +00:00
|
|
|
0, 15 /* Min and max values*/
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_BOOL ShowRatsnestCfg
|
|
|
|
(
|
2008-11-22 11:10:40 +00:00
|
|
|
INSETUP,
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "ShowRat" ), /* Keyword */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_Show_Ratsnest, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
FALSE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_BOOL ShowModuleRatsnestCfg
|
|
|
|
(
|
2008-11-22 11:10:40 +00:00
|
|
|
INSETUP,
|
2007-09-27 09:08:47 +00:00
|
|
|
wxT( "ShowMRa" ), /* Keyword */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_Show_Module_Ratsnest, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
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 */
|
2008-01-12 20:31:56 +00:00
|
|
|
&g_TwoSegmentTrackBuild, /* Parameter address */
|
2007-09-27 09:08:47 +00:00
|
|
|
TRUE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2009-02-07 14:13:16 +00:00
|
|
|
|
|
|
|
/* parameters in this list will be saved on request (when saving config).
|
2009-03-26 19:27:50 +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,
|
|
|
|
&ViaDiametreCfg,
|
|
|
|
&ViaDrillCfg,
|
2009-02-09 07:49:02 +00:00
|
|
|
&ViaAltDrillCfg,
|
2008-01-12 20:31:56 +00:00
|
|
|
&MicroViaDiametreCfg,
|
|
|
|
&MicroViaDrillCfg,
|
2007-09-27 09:08:47 +00:00
|
|
|
&ViaShowHoleCfg,
|
2009-03-26 19:27:50 +00:00
|
|
|
&ShowNetNamesModeCfg,
|
2007-09-27 09:08:47 +00:00
|
|
|
&TrackClearenceCfg,
|
2009-06-19 20:13:22 +00:00
|
|
|
&LayerThicknessCfg,
|
2007-09-27 09:08:47 +00:00
|
|
|
&LayerCountCfg,
|
|
|
|
&TrackWidthCfg,
|
|
|
|
&RouteLayTopCfg,
|
|
|
|
&RouteLayBotCfg,
|
|
|
|
&TypeViaCfg,
|
|
|
|
&Segm45Cfg,
|
|
|
|
&Raccord45Cfg,
|
|
|
|
&UnitCfg,
|
|
|
|
&SegmFillCfg,
|
2009-06-18 20:51:01 +00:00
|
|
|
&TrackDisplayClearanceCfg,
|
2007-09-27 09:08:47 +00:00
|
|
|
&PadFillCfg,
|
2009-09-29 04:44:35 +00:00
|
|
|
&ViaFillCfg, //TODO: Will adding this line break tha pcbnew file compatibility?
|
2007-09-27 09:08:47 +00:00
|
|
|
&PadAfficheGardeCfg,
|
|
|
|
&PadShowNumCfg,
|
|
|
|
&AfficheContourModuleCfg,
|
|
|
|
&AfficheTexteModuleCfg,
|
2009-06-04 19:39:50 +00:00
|
|
|
&AffichePcbTextCfg,
|
2007-09-27 09:08:47 +00:00
|
|
|
&SegmPcb45Cfg,
|
2009-06-04 19:39:50 +00:00
|
|
|
&PcbTextDimVCfg,
|
|
|
|
&PcbTextDimHCfg,
|
2007-09-27 09:08:47 +00:00
|
|
|
&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,
|
2008-01-12 20:31:56 +00:00
|
|
|
&ColorViaThroughCfg,
|
|
|
|
&ColorViaBlindBuriedCfg,
|
|
|
|
&ColorViaMicroViaCfg,
|
2007-09-27 09:08:47 +00:00
|
|
|
&ColorpcbGrilleCfg,
|
|
|
|
&ColorCheveluCfg,
|
|
|
|
&HPGLpenNumCfg,
|
|
|
|
&HPGLdiamCfg,
|
|
|
|
&HPGLspeedCfg,
|
|
|
|
&HPGLrecouvrementCfg,
|
|
|
|
&VernisEpargneGardeCfg,
|
|
|
|
&DrawSegmLargeurCfg,
|
|
|
|
&EdgeSegmLargeurCfg,
|
|
|
|
&TexteSegmLargeurCfg,
|
|
|
|
&ModuleSegmWidthCfg,
|
|
|
|
&WTraitSerigraphiePlotCfg,
|
|
|
|
&TimeOutCfg,
|
|
|
|
&DisplPolairCfg,
|
|
|
|
&PrmMaxLinksShowed,
|
|
|
|
&ShowRatsnestCfg,
|
|
|
|
&ShowModuleRatsnestCfg,
|
|
|
|
&TwoSegmentTrackBuildCfg,
|
|
|
|
|
|
|
|
NULL
|
2007-06-05 12:10:51 +00:00
|
|
|
};
|