2007-11-10 20:12:00 +00:00
|
|
|
/************************************************************/
|
|
|
|
/** eeconfig.h : configuration: definition des structures **/
|
|
|
|
/************************************************************/
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
#ifndef eda_global
|
|
|
|
#define eda_global extern
|
|
|
|
#endif
|
|
|
|
|
2007-11-10 20:12:00 +00:00
|
|
|
#define GROUP wxT( "/eeschema" )
|
|
|
|
#define GROUPCOMMON wxT( "/common" )
|
|
|
|
#define GROUPLIB wxT( "libraries" )
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2007-11-10 20:12:00 +00:00
|
|
|
#include "netlist.h" /* Definitions generales liees au calcul de netliste */
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
/* variables importees */
|
|
|
|
extern int g_PenMinWidth;
|
|
|
|
|
|
|
|
/* saving parameters option : */
|
2007-11-10 20:12:00 +00:00
|
|
|
#define INSETUP TRUE // used when the parameter is saved in general config
|
|
|
|
// if not used, the parameter is saved in the loca config (project config)
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
/* Liste des parametres */
|
|
|
|
static PARAM_CFG_WXSTRING UserLibDirBufCfg
|
2007-11-10 20:12:00 +00:00
|
|
|
(
|
|
|
|
wxT( "LibDir" ), /* Ident String */
|
|
|
|
&g_UserLibDirBuffer /* Parameter address */
|
|
|
|
);
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
static PARAM_CFG_LIBNAME_LIST LibNameBufCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "LibName" ), /* Ident String */
|
|
|
|
&g_LibName_List, /* Parameter address */
|
|
|
|
GROUPLIB /* Groupe */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_INT NetFormatCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "NetFmt" ), /* Ident String */
|
|
|
|
&g_NetFormat, /* Parameter address */
|
|
|
|
NET_TYPE_PCBNEW, /* Default value */
|
|
|
|
NET_TYPE_PCBNEW, /* Min value for the parameter */
|
|
|
|
NET_TYPE_CUSTOM_MAX /* Max value for the parameter */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_INT UnitCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "Unite" ), /* Ident String */
|
|
|
|
&g_UnitMetric, /* Parameter address */
|
|
|
|
0, /* Default value */
|
|
|
|
0, 1 /* Min and Max values for the parameter */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_INT CursorShapeCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "CuShape" ), /* Ident String */
|
|
|
|
&g_CursorShape, /* Parameter address */
|
|
|
|
0, /* Default value */
|
|
|
|
0, 1 /* Min and Max values for the parameter */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_INT ShowGridCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ShGrid" ), /* Ident String */
|
|
|
|
&g_ShowGrid, /* Parameter address */
|
|
|
|
0, 1, /* Min and Max values for the parameter */
|
|
|
|
1 /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR DrawBgColorCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "BgColor" ), /* Ident String */
|
|
|
|
&g_DrawBgColor, /* Parameter address */
|
|
|
|
WHITE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerWireCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColWire" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_WIRE], /* Parameter address */
|
|
|
|
GREEN /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerBusCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorBus" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_BUS], /* Parameter address */
|
|
|
|
BLUE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerJunctionCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorConn" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_JUNCTION], /* Parameter address */
|
|
|
|
GREEN /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerLLabelCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorLlab" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_LOCLABEL], /* Parameter address */
|
|
|
|
BLACK /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerGLabelCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorGlab" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_GLOBLABEL], /* Parameter address */
|
|
|
|
BROWN /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerPinFunCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorPinF" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_PINFUN], /* Parameter address */
|
|
|
|
MAGENTA /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerPinNumCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColPinN" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_PINNUM], /* Parameter address */
|
|
|
|
RED /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerPinNamCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorPNam" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_PINNAM], /* Parameter address */
|
|
|
|
CYAN /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerFieldsCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorField" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_FIELDS], /* Parameter address */
|
|
|
|
MAGENTA /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerReferenceCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorRef" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_REFERENCEPART], /* Parameter address */
|
|
|
|
CYAN /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerValueCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorValue" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_VALUEPART], /* Parameter address */
|
|
|
|
CYAN /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerNotesCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorNote" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_NOTES], /* Parameter address */
|
|
|
|
LIGHTBLUE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerBodyCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorBody" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_DEVICE], /* Parameter address */
|
|
|
|
RED /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerBodyBackgroundCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorBodyBg" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_DEVICE_BACKGROUND], /* Parameter address */
|
|
|
|
LIGHTYELLOW /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerNetNameCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorNetN" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_NETNAM], /* Parameter address */
|
|
|
|
DARKGRAY /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerPinCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorPin" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_PIN], /* Parameter address */
|
|
|
|
RED /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerSheetCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorSheet" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_SHEET], /* Parameter address */
|
|
|
|
MAGENTA /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerSheetFileNameCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorSheetFileName" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_SHEETFILENAME], /* Parameter address */
|
|
|
|
BROWN /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerSheetNameCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorSheetName" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_SHEETNAME], /* Parameter address */
|
|
|
|
CYAN /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerSheetLabelCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorSheetLab" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_SHEETLABEL], /* Parameter address */
|
|
|
|
BROWN /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerNoConnectCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorNoCo" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_NOCONNECT], /* Parameter address */
|
|
|
|
BLUE /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerErcWarnCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorErcW" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_ERC_WARN], /* Parameter address */
|
|
|
|
GREEN /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_SETCOLOR ColorLayerErcErrCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "ColorErcE" ), /* Ident String */
|
|
|
|
&g_LayerDescr.LayerColor[LAYER_ERC_ERR], /* Parameter address */
|
|
|
|
RED /* Default value */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_INT PlotMarginCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
INSETUP,
|
|
|
|
wxT( "Pltmarg" ), /* Ident String */
|
|
|
|
&g_PlotMargin, /* Parameter address */
|
|
|
|
300, /* Default value */
|
|
|
|
0, 10000 /* Min and Max values for the parameter */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_INT HPGLSpeed
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "HPGLSpd" ), /* Ident String */
|
|
|
|
&g_HPGL_Pen_Descr.m_Pen_Speed, /* Parameter address */
|
|
|
|
20, /* Default value */
|
|
|
|
2, 45 /* Min and Max values for the parameter */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_INT HPGLDiam
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "HPGLDm" ), /* Ident String */
|
|
|
|
&g_HPGL_Pen_Descr.m_Pen_Diam, /* Parameter address */
|
|
|
|
15, /* Default value */
|
|
|
|
1, 150 /* Min and Max values for the parameter */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_INT HPGLPenNum
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "HPGLNum" ), /* Ident String */
|
|
|
|
&g_HPGL_Pen_Descr.m_Pen_Num, /* Parameter address */
|
|
|
|
1, /* Default value */
|
|
|
|
1, 8 /* Min and Max values for the parameter */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_INT PlotSheetOffsetX_A4
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "offX_A4" ), /* Ident String */
|
|
|
|
&g_Sheet_A4.m_Offset.x /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_INT PlotSheetOffsetY_A4
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "offY_A4" ), /* Ident String */
|
|
|
|
&g_Sheet_A4.m_Offset.y /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_INT PlotSheetOffsetX_A3
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "offX_A3" ), /* Ident String */
|
|
|
|
&g_Sheet_A3.m_Offset.x /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_INT PlotSheetOffsetY_A3
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "offY_A3" ), /* Ident String */
|
|
|
|
&g_Sheet_A3.m_Offset.y /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_INT PlotSheetOffsetX_A2
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "offX_A2" ), /* Ident String */
|
|
|
|
&g_Sheet_A2.m_Offset.x /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_INT PlotSheetOffsetY_A2
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "offY_A2" ), /* Ident String */
|
|
|
|
&g_Sheet_A2.m_Offset.y /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
static PARAM_CFG_INT PlotSheetOffsetX_A1
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "offX_A1" ), /* Ident String */
|
|
|
|
&g_Sheet_A1.m_Offset.x /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_INT PlotSheetOffsetY_A1
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "offY_A1" ), /* Ident String */
|
|
|
|
&g_Sheet_A1.m_Offset.y /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
static PARAM_CFG_INT PlotSheetOffsetX_A0
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "offX_A0" ), /* Ident String */
|
|
|
|
&g_Sheet_A0.m_Offset.x /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_INT PlotSheetOffsetY_A0
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "offY_A0" ), /* Ident String */
|
|
|
|
&g_Sheet_A0.m_Offset.y /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
2007-11-10 20:12:00 +00:00
|
|
|
static PARAM_CFG_INT PlotSheetOffsetX_A
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "offX_A" ), /* Ident String */
|
|
|
|
&g_Sheet_A.m_Offset.x /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-11-10 20:12:00 +00:00
|
|
|
static PARAM_CFG_INT PlotSheetOffsetY_A
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "offY_A" ), /* Ident String */
|
|
|
|
&g_Sheet_A.m_Offset.y /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
2007-11-10 20:12:00 +00:00
|
|
|
static PARAM_CFG_INT PlotSheetOffsetX_B
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "offX_B" ), /* Ident String */
|
|
|
|
&g_Sheet_B.m_Offset.x /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-11-10 20:12:00 +00:00
|
|
|
static PARAM_CFG_INT PlotSheetOffsetY_B
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "offY_B" ), /* Ident String */
|
|
|
|
&g_Sheet_B.m_Offset.y /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
2007-11-10 20:12:00 +00:00
|
|
|
static PARAM_CFG_INT PlotSheetOffsetX_C
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "offX_C" ), /* Ident String */
|
|
|
|
&g_Sheet_C.m_Offset.x /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-11-10 20:12:00 +00:00
|
|
|
static PARAM_CFG_INT PlotSheetOffsetY_C
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "offY_C" ), /* Ident String */
|
|
|
|
&g_Sheet_C.m_Offset.y /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
2007-11-10 20:12:00 +00:00
|
|
|
static PARAM_CFG_INT PlotSheetOffsetX_D
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "offX_D" ), /* Ident String */
|
|
|
|
&g_Sheet_D.m_Offset.x /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-11-10 20:12:00 +00:00
|
|
|
static PARAM_CFG_INT PlotSheetOffsetY_D
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "offY_D" ), /* Ident String */
|
|
|
|
&g_Sheet_D.m_Offset.y /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
2007-11-10 20:12:00 +00:00
|
|
|
static PARAM_CFG_INT PlotSheetOffsetX_E
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "offX_E" ), /* Ident String */
|
|
|
|
&g_Sheet_E.m_Offset.x /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-11-10 20:12:00 +00:00
|
|
|
static PARAM_CFG_INT PlotSheetOffsetY_E
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "offY_E" ), /* Ident String */
|
|
|
|
&g_Sheet_E.m_Offset.y /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-11-10 20:12:00 +00:00
|
|
|
static PARAM_CFG_INT CfgRepeatDeltaX
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "RptD_X" ), /* Ident String */
|
|
|
|
&g_RepeatStep.x, /* parameter address */
|
|
|
|
0, /* Default value */
|
|
|
|
-1000, +1000 /* Min and Max values for the parameter */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-11-10 20:12:00 +00:00
|
|
|
static PARAM_CFG_INT CfgRepeatDeltaY
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "RptD_Y" ), /* Ident String */
|
|
|
|
&g_RepeatStep.y, /* Parameter address */
|
|
|
|
100, /* Default value */
|
|
|
|
-1000, +1000 /* Min and Max values for the parameter */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
2007-11-10 20:12:00 +00:00
|
|
|
static PARAM_CFG_INT CfgRepeatDeltaLabel
|
2007-06-05 12:10:51 +00:00
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "RptLab" ), /* Ident String */
|
|
|
|
&g_RepeatDeltaLabel, /* Parameter address */
|
|
|
|
1, /* Default value */
|
|
|
|
-10, +10 /* Min and Max values for the parameter */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_WXSTRING CfgSimulatorCommandLine
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "SimCmd" ), /* Ident String */
|
|
|
|
&g_SimulatorCommandLine /* Parameter address */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_INT OptNetListUseNamesCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "UseNetN" ), /* Ident String */
|
|
|
|
&g_OptNetListUseNames, /* Parameter address */
|
|
|
|
0, /* Default value */
|
|
|
|
0, 1 /* Min and Max values for the parameter */
|
2007-06-05 12:10:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static PARAM_CFG_INT OptDefaultLabelSizeCfg
|
|
|
|
(
|
2007-11-10 20:12:00 +00:00
|
|
|
wxT( "LabSize" ), /* Ident String */
|
|
|
|
&g_DefaultTextLabelSize, /* Parameter address */
|
|
|
|
DEFAULT_SIZE_TEXT, /* Default value */
|
|
|
|
0, 1000 /* Min and Max values for the parameter */
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
PARAM_CFG_BASE* ParamCfgList[] =
|
|
|
|
{
|
|
|
|
&UserLibDirBufCfg,
|
|
|
|
&LibNameBufCfg,
|
|
|
|
|
|
|
|
&NetFormatCfg,
|
|
|
|
|
|
|
|
&UnitCfg,
|
|
|
|
&CursorShapeCfg,
|
|
|
|
&ShowGridCfg,
|
|
|
|
&DrawBgColorCfg,
|
|
|
|
&ColorLayerWireCfg,
|
|
|
|
&ColorLayerBusCfg,
|
|
|
|
&ColorLayerJunctionCfg,
|
|
|
|
&ColorLayerLLabelCfg,
|
|
|
|
&ColorLayerGLabelCfg,
|
|
|
|
&ColorLayerPinFunCfg,
|
|
|
|
&ColorLayerPinNumCfg,
|
|
|
|
&ColorLayerPinNamCfg,
|
|
|
|
&ColorLayerFieldsCfg,
|
|
|
|
&ColorLayerReferenceCfg,
|
|
|
|
&ColorLayerValueCfg,
|
|
|
|
&ColorLayerNotesCfg,
|
|
|
|
&ColorLayerBodyCfg,
|
|
|
|
&ColorLayerBodyBackgroundCfg,
|
|
|
|
&ColorLayerNetNameCfg,
|
|
|
|
&ColorLayerPinCfg,
|
|
|
|
&ColorLayerSheetCfg,
|
|
|
|
&ColorLayerSheetFileNameCfg,
|
|
|
|
&ColorLayerSheetNameCfg,
|
|
|
|
&ColorLayerSheetLabelCfg,
|
|
|
|
&ColorLayerNoConnectCfg,
|
|
|
|
&ColorLayerErcWarnCfg,
|
|
|
|
&ColorLayerErcErrCfg,
|
|
|
|
|
|
|
|
&PlotMarginCfg,
|
|
|
|
&HPGLSpeed,
|
|
|
|
&HPGLDiam,
|
|
|
|
&HPGLPenNum,
|
|
|
|
&PlotSheetOffsetX_A4,
|
|
|
|
&PlotSheetOffsetY_A4,
|
|
|
|
&PlotSheetOffsetX_A3,
|
|
|
|
&PlotSheetOffsetY_A3,
|
|
|
|
&PlotSheetOffsetX_A2,
|
|
|
|
&PlotSheetOffsetY_A2,
|
|
|
|
&PlotSheetOffsetX_A1,
|
|
|
|
&PlotSheetOffsetY_A1,
|
|
|
|
&PlotSheetOffsetX_A0,
|
|
|
|
&PlotSheetOffsetY_A0,
|
|
|
|
&PlotSheetOffsetX_A,
|
|
|
|
&PlotSheetOffsetY_A,
|
|
|
|
&PlotSheetOffsetX_B,
|
|
|
|
&PlotSheetOffsetY_B,
|
|
|
|
&PlotSheetOffsetX_C,
|
|
|
|
&PlotSheetOffsetY_C,
|
|
|
|
&PlotSheetOffsetX_D,
|
|
|
|
&PlotSheetOffsetY_D,
|
|
|
|
&PlotSheetOffsetX_E,
|
|
|
|
&PlotSheetOffsetY_E,
|
|
|
|
&CfgRepeatDeltaX,
|
|
|
|
&CfgRepeatDeltaY,
|
|
|
|
&CfgRepeatDeltaLabel,
|
|
|
|
&CfgSimulatorCommandLine,
|
|
|
|
&OptNetListUseNamesCfg,
|
|
|
|
&OptDefaultLabelSizeCfg,
|
|
|
|
NULL
|
2007-06-05 12:10:51 +00:00
|
|
|
};
|