2009-11-18 12:52:19 +00:00
|
|
|
/*****************************************************/
|
|
|
|
/** pcbcfg.h : configuration parameters for PCBNew **/
|
|
|
|
/*****************************************************/
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-03-28 20:02:34 +00:00
|
|
|
#include "param_config.h"
|
2010-01-29 20:36:12 +00:00
|
|
|
#include "colors_selection.h"
|
2009-03-28 20:02:34 +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
|
2009-11-18 12:52:19 +00:00
|
|
|
// (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)
|
2007-06-05 12:10:51 +00:00
|
|
|
#define INSETUP TRUE
|
|
|
|
|
2010-01-29 20:36:12 +00:00
|
|
|
/* Useful macro : */
|
|
|
|
#define LOC_COLOR(layer) &g_ColorsSettings.m_LayersColors[layer]
|
|
|
|
#define ITEM_COLOR(item_visible) &g_ColorsSettings.m_ItemsColors[item_visible]
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-11-18 12:52:19 +00:00
|
|
|
/* Configuration parameters. */
|
2010-01-31 20:01:46 +00:00
|
|
|
extern BOARD_DESIGN_SETTINGS boardDesignSettings;
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2007-09-27 09:08:47 +00:00
|
|
|
static PARAM_CFG_WXSTRING UserLibDirBufCfg
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "LibDir" ),
|
|
|
|
&g_UserLibDirBuffer,
|
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
|
|
|
(
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "LibName" ),
|
|
|
|
&g_LibName_List,
|
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
|
|
|
(
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "PadDrlX" ),
|
|
|
|
&g_Pad_Master.m_Drill.x,
|
|
|
|
320,
|
|
|
|
0, 0x7FFF
|
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
|
|
|
(
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "PadDimH" ),
|
|
|
|
&g_Pad_Master.m_Size.x,
|
|
|
|
550,
|
|
|
|
0, 0x7FFF
|
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
|
|
|
(
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "PadDimV" ),
|
|
|
|
&g_Pad_Master.m_Size.y,
|
|
|
|
550,
|
|
|
|
0, 0x7FFF
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-01-31 20:01:46 +00:00
|
|
|
static PARAM_CFG_INT BoardThicknessCfg
|
2009-06-19 20:13:22 +00:00
|
|
|
(
|
2010-01-31 20:01:46 +00:00
|
|
|
wxT( "BoardThickness" ),
|
|
|
|
&boardDesignSettings.m_BoardThickness,
|
2009-11-18 12:52:19 +00:00
|
|
|
630,
|
|
|
|
0, 0xFFFF
|
2009-06-19 20:13:22 +00:00
|
|
|
);
|
2009-02-09 07:49:02 +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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ViaSHole" ),
|
|
|
|
&DisplayOpt.m_DisplayViaMode,
|
|
|
|
VIA_SPECIAL_HOLE_SHOW,
|
|
|
|
VIA_HOLE_NOT_SHOW,
|
|
|
|
OPT_VIA_HOLE_END - 1
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2009-03-26 19:27:50 +00:00
|
|
|
static PARAM_CFG_INT ShowNetNamesModeCfg
|
|
|
|
(
|
|
|
|
INSETUP,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ShowNetNamesMode" ),
|
|
|
|
&DisplayOpt.DisplayNetNamesMode,
|
|
|
|
3,
|
|
|
|
0,
|
|
|
|
3
|
2009-03-26 19:27:50 +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
|
|
|
(
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "RouteTo" ),
|
|
|
|
&Route_Layer_TOP,
|
|
|
|
15,
|
|
|
|
0, 15
|
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
|
|
|
(
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "RouteBo" ),
|
|
|
|
&Route_Layer_BOTTOM,
|
|
|
|
0,
|
|
|
|
0, 15
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2009-11-18 12:52:19 +00:00
|
|
|
static PARAM_CFG_BOOL Segm45Cfg // 0, 90, and 45 degrees are the only
|
|
|
|
( // valid segment orientations.
|
|
|
|
wxT( "Segm45" ),
|
|
|
|
&Track_45_Only,
|
|
|
|
TRUE
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2009-11-18 12:52:19 +00:00
|
|
|
static PARAM_CFG_BOOL Raccord45Cfg // Generate connections at 45 degrees
|
|
|
|
( // only.
|
|
|
|
wxT( "Racc45" ),
|
|
|
|
&g_Raccord_45_Auto,
|
|
|
|
TRUE
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2009-11-18 12:52:19 +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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "Unite" ),
|
|
|
|
&g_UnitMetric,
|
|
|
|
FALSE
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "SegFill" ),
|
|
|
|
&DisplayOpt.DisplayPcbTrackFill,
|
|
|
|
TRUE
|
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-11-18 12:52:19 +00:00
|
|
|
wxT( "TrackDisplayClearance" ),
|
|
|
|
&DisplayOpt.ShowTrackClearanceMode,
|
|
|
|
SHOW_CLEARANCE_NEW_TRACKS_AND_VIA_AREAS
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "PadFill" ),
|
|
|
|
&DisplayOpt.DisplayPadFill,
|
|
|
|
TRUE
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2009-09-29 04:44:35 +00:00
|
|
|
static PARAM_CFG_BOOL ViaFillCfg
|
|
|
|
(
|
|
|
|
INSETUP,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ViaFill" ),
|
|
|
|
&DisplayOpt.DisplayViaFill,
|
|
|
|
TRUE
|
2009-09-29 04:44:35 +00:00
|
|
|
);
|
|
|
|
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "PadAffG" ),
|
|
|
|
&DisplayOpt.DisplayPadIsol,
|
|
|
|
TRUE
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "PadSNum" ),
|
|
|
|
&DisplayOpt.DisplayPadNum,
|
|
|
|
TRUE
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ModAffC" ),
|
|
|
|
&DisplayOpt.DisplayModEdge,
|
|
|
|
FILLED,
|
|
|
|
0, 2
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ModAffT" ),
|
|
|
|
&DisplayOpt.DisplayModText,
|
|
|
|
FILLED,
|
|
|
|
0, 2
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "PcbAffT" ),
|
|
|
|
&DisplayOpt.DisplayDrawItems,
|
|
|
|
FILLED,
|
|
|
|
0, 2
|
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
|
|
|
(
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "SgPcb45" ),
|
|
|
|
&Segments_45_Only,
|
|
|
|
TRUE
|
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
|
|
|
(
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "TxtPcbV" ),
|
2010-01-31 20:01:46 +00:00
|
|
|
&boardDesignSettings.m_PcbTextSize.y,
|
2009-11-18 12:52:19 +00:00
|
|
|
600,
|
|
|
|
TEXTS_MIN_SIZE, TEXTS_MAX_SIZE
|
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
|
|
|
(
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "TxtPcbH" ),
|
2010-01-31 20:01:46 +00:00
|
|
|
&boardDesignSettings.m_PcbTextSize.x,
|
2009-11-18 12:52:19 +00:00
|
|
|
600,
|
|
|
|
TEXTS_MIN_SIZE, TEXTS_MAX_SIZE
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLay0" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(0),
|
2009-11-18 12:52:19 +00:00
|
|
|
GREEN
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLay1" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(1),
|
2009-11-18 12:52:19 +00:00
|
|
|
BLUE
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLay2" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(2),
|
2009-11-18 12:52:19 +00:00
|
|
|
LIGHTGRAY
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLay3" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(3),
|
2009-11-18 12:52:19 +00:00
|
|
|
5
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLay4" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(4),
|
2009-11-18 12:52:19 +00:00
|
|
|
4
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLay5" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(5),
|
2009-11-18 12:52:19 +00:00
|
|
|
5
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLay6" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(6),
|
2009-11-18 12:52:19 +00:00
|
|
|
6
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLay7" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(7),
|
2009-11-18 12:52:19 +00:00
|
|
|
5
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLay8" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(8),
|
2009-11-18 12:52:19 +00:00
|
|
|
7
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLay9" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(9),
|
2009-11-18 12:52:19 +00:00
|
|
|
1
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayA" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(10),
|
2009-11-18 12:52:19 +00:00
|
|
|
2
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayB" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(11),
|
2009-11-18 12:52:19 +00:00
|
|
|
3
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayC" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(12),
|
2009-11-18 12:52:19 +00:00
|
|
|
12
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayD" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(13),
|
2009-11-18 12:52:19 +00:00
|
|
|
13
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayE" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(14),
|
2009-11-18 12:52:19 +00:00
|
|
|
14
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayF" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(15),
|
2009-11-18 12:52:19 +00:00
|
|
|
RED
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayG" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(16),
|
2009-11-18 12:52:19 +00:00
|
|
|
1
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayH" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(17),
|
2009-11-18 12:52:19 +00:00
|
|
|
5
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayI" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(18),
|
2009-11-18 12:52:19 +00:00
|
|
|
11
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayJ" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(19),
|
2009-11-18 12:52:19 +00:00
|
|
|
4
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayK" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(20),
|
2009-11-18 12:52:19 +00:00
|
|
|
5
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayL" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(21),
|
2009-11-18 12:52:19 +00:00
|
|
|
3
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayM" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(22),
|
2009-11-18 12:52:19 +00:00
|
|
|
6
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayN" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(23),
|
2009-11-18 12:52:19 +00:00
|
|
|
5
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayO" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(24),
|
2009-11-18 12:52:19 +00:00
|
|
|
LIGHTGRAY
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayP" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(25),
|
2009-11-18 12:52:19 +00:00
|
|
|
1
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayQ" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(26),
|
2009-11-18 12:52:19 +00:00
|
|
|
2
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayR" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(27),
|
2009-11-18 12:52:19 +00:00
|
|
|
14
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayS" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(28),
|
2009-11-18 12:52:19 +00:00
|
|
|
YELLOW
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayT" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(29),
|
2009-11-18 12:52:19 +00:00
|
|
|
13
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayU" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(30),
|
2009-11-18 12:52:19 +00:00
|
|
|
14
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ColLayV" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
LOC_COLOR(31),
|
2009-11-18 12:52:19 +00:00
|
|
|
7
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "CTxtMoC" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
ITEM_COLOR(MOD_TEXT_FR_VISIBLE),
|
2009-11-18 12:52:19 +00:00
|
|
|
LIGHTGRAY
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "CTxtMoS" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
ITEM_COLOR(MOD_TEXT_BK_VISIBLE),
|
|
|
|
BLUE
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "CTxtVis" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
ITEM_COLOR(MOD_TEXT_INVISIBLE),
|
2009-11-18 12:52:19 +00:00
|
|
|
DARKGRAY
|
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
|
|
|
(
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "TxtModV" ),
|
|
|
|
&ModuleTextSize.y,
|
|
|
|
500,
|
|
|
|
TEXTS_MIN_SIZE, TEXTS_MAX_SIZE
|
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
|
|
|
(
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "TxtModH" ),
|
|
|
|
&ModuleTextSize.x,
|
|
|
|
500,
|
|
|
|
TEXTS_MIN_SIZE, TEXTS_MAX_SIZE
|
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
|
|
|
(
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "TxtModW" ),
|
|
|
|
&ModuleTextWidth,
|
|
|
|
100,
|
|
|
|
1, TEXTS_MAX_WIDTH
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "CAncreM" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
ITEM_COLOR(ANCHOR_VISIBLE),
|
2009-11-18 12:52:19 +00:00
|
|
|
BLUE
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "CoPadCu" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
ITEM_COLOR(PAD_BK_VISIBLE),
|
2009-11-18 12:52:19 +00:00
|
|
|
GREEN
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "CoPadCm" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
ITEM_COLOR(PAD_FR_VISIBLE),
|
2009-11-18 12:52:19 +00:00
|
|
|
RED
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "CoViaTh" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
ITEM_COLOR(VIA_THROUGH_VISIBLE),
|
2009-11-18 12:52:19 +00:00
|
|
|
LIGHTGRAY
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "CoViaBu" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
ITEM_COLOR(VIA_BBLIND_VISIBLE),
|
2009-11-18 12:52:19 +00:00
|
|
|
BROWN
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "CoViaMi" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
ITEM_COLOR(VIA_MICROVIA_VISIBLE),
|
2009-11-18 12:52:19 +00:00
|
|
|
CYAN
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "CoRatsN" ),
|
2010-01-29 20:36:12 +00:00
|
|
|
ITEM_COLOR(RATSNEST_VISIBLE),
|
2009-11-18 12:52:19 +00:00
|
|
|
WHITE
|
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
|
|
|
(
|
2010-01-01 13:30:39 +00:00
|
|
|
INSETUP,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "HPGLnum" ),
|
|
|
|
&g_pcb_plot_options.HPGL_Pen_Num,
|
|
|
|
1,
|
|
|
|
1, 16
|
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
|
|
|
(
|
2010-01-01 13:30:39 +00:00
|
|
|
INSETUP,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "HPGdiam" ),
|
|
|
|
&g_pcb_plot_options.HPGL_Pen_Diam,
|
|
|
|
15,
|
|
|
|
0, 100
|
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
|
|
|
(
|
2010-01-01 13:30:39 +00:00
|
|
|
INSETUP,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "HPGLSpd" ),
|
|
|
|
&g_pcb_plot_options.HPGL_Pen_Speed,
|
|
|
|
20,
|
|
|
|
0, 1000
|
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
|
|
|
(
|
2010-01-01 13:30:39 +00:00
|
|
|
INSETUP,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "HPGLrec" ),
|
|
|
|
&g_pcb_plot_options.HPGL_Pen_Recouvrement,
|
|
|
|
2,
|
|
|
|
0, 0x100
|
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
|
|
|
(
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "VEgarde" ),
|
2010-01-31 20:01:46 +00:00
|
|
|
&boardDesignSettings.m_SolderMaskMargin,
|
2009-11-18 12:52:19 +00:00
|
|
|
100,
|
|
|
|
0, 10000
|
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
|
|
|
(
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "DrawLar" ),
|
2010-01-31 20:01:46 +00:00
|
|
|
&boardDesignSettings.m_DrawSegmentWidth,
|
2009-11-18 12:52:19 +00:00
|
|
|
120,
|
|
|
|
0, 0xFFFF
|
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
|
|
|
(
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "EdgeLar" ),
|
2010-01-31 20:01:46 +00:00
|
|
|
&boardDesignSettings.m_EdgeSegmentWidth,
|
2009-11-18 12:52:19 +00:00
|
|
|
120,
|
|
|
|
0, 0xFFFF
|
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
|
|
|
(
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "TxtLar" ),
|
2010-01-31 20:01:46 +00:00
|
|
|
&boardDesignSettings.m_PcbTextWidth,
|
2009-11-18 12:52:19 +00:00
|
|
|
120,
|
|
|
|
0, 0xFFFF
|
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
|
|
|
(
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "MSegLar" ),
|
|
|
|
&ModuleSegmentWidth,
|
|
|
|
120,
|
|
|
|
0, 0xFFFF
|
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
|
|
|
(
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "WpenSer" ),
|
|
|
|
&g_pcb_plot_options.PlotLine_Width,
|
|
|
|
10,
|
|
|
|
1, 10000
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2009-11-18 12:52:19 +00:00
|
|
|
static PARAM_CFG_INT TimeOutCfg // Automatic backup duration time in
|
|
|
|
( // seconds.
|
2008-11-22 11:10:40 +00:00
|
|
|
INSETUP,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "TimeOut" ),
|
|
|
|
&g_TimeOut,
|
|
|
|
600,
|
|
|
|
0, 60000
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "DPolair" ),
|
|
|
|
&DisplayOpt.DisplayPolarCood,
|
|
|
|
FALSE
|
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,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "MaxLnkS" ),
|
|
|
|
&g_MaxLinksShowed,
|
|
|
|
3,
|
|
|
|
0, 15
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_BOOL ShowModuleRatsnestCfg
|
|
|
|
(
|
2008-11-22 11:10:40 +00:00
|
|
|
INSETUP,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "ShowMRa" ),
|
|
|
|
&g_Show_Module_Ratsnest,
|
|
|
|
TRUE
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_BOOL TwoSegmentTrackBuildCfg
|
|
|
|
(
|
2007-09-27 09:08:47 +00:00
|
|
|
INSETUP,
|
2009-11-18 12:52:19 +00:00
|
|
|
wxT( "TwoSegT" ),
|
|
|
|
&g_TwoSegmentTrackBuild,
|
|
|
|
TRUE
|
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,
|
|
|
|
&ViaShowHoleCfg,
|
2009-03-26 19:27:50 +00:00
|
|
|
&ShowNetNamesModeCfg,
|
2010-01-31 20:01:46 +00:00
|
|
|
&BoardThicknessCfg,
|
2007-09-27 09:08:47 +00:00
|
|
|
&RouteLayTopCfg,
|
|
|
|
&RouteLayBotCfg,
|
|
|
|
&Segm45Cfg,
|
|
|
|
&Raccord45Cfg,
|
|
|
|
&UnitCfg,
|
|
|
|
&SegmFillCfg,
|
2009-06-18 20:51:01 +00:00
|
|
|
&TrackDisplayClearanceCfg,
|
2007-09-27 09:08:47 +00:00
|
|
|
&PadFillCfg,
|
2009-10-21 19:16:25 +00:00
|
|
|
&ViaFillCfg,
|
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
|
|
|
&ColorCheveluCfg,
|
|
|
|
&HPGLpenNumCfg,
|
|
|
|
&HPGLdiamCfg,
|
|
|
|
&HPGLspeedCfg,
|
|
|
|
&HPGLrecouvrementCfg,
|
|
|
|
&VernisEpargneGardeCfg,
|
|
|
|
&DrawSegmLargeurCfg,
|
|
|
|
&EdgeSegmLargeurCfg,
|
|
|
|
&TexteSegmLargeurCfg,
|
|
|
|
&ModuleSegmWidthCfg,
|
|
|
|
&WTraitSerigraphiePlotCfg,
|
|
|
|
&TimeOutCfg,
|
|
|
|
&DisplPolairCfg,
|
|
|
|
&PrmMaxLinksShowed,
|
|
|
|
&ShowModuleRatsnestCfg,
|
|
|
|
&TwoSegmentTrackBuildCfg,
|
|
|
|
|
|
|
|
NULL
|
2007-06-05 12:10:51 +00:00
|
|
|
};
|