kicad/gerbview/set_color.h

303 lines
6.8 KiB
C

/* Set up the button list for the color selection for gerbview layers */
static ColorButton Msg_Layers_Cu=
{
_("Layers 1-16") /* Title */
};
static ColorButton Msg_Layers_Tech=
{
_("Layers 17-32") /* Title */
};
static ColorButton Layer_1_Butt=
{
_("Layer 1"), /* Title */
ADR(0), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_2_Butt=
{
_("Layer 2"), /* Title */
ADR(1), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_3_Butt=
{
_("Layer 3"), /* Title */
ADR(2), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_4_Butt=
{
_("Layer 4"), /* Title */
ADR(3), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_5_Butt=
{
_("Layer 5"), /* Title */
ADR(4), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_6_Butt=
{
_("Layer 6"), /* Title */
ADR(5), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_7_Butt=
{
_("Layer 7"), /* Title */
ADR(6), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_8_Butt=
{
_("Layer 8"), /* Title */
ADR(7), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_9_Butt=
{
_("Layer 9"), /* Title */
ADR(8), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_10_Butt=
{
_("Layer 10"), /* Title */
ADR(9), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_11_Butt=
{
_("Layer 11"), /* Title */
ADR(10), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_12_Butt=
{
_("Layer 12"), /* Title */
ADR(11), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_13_Butt=
{
_("Layer 13"), /* Title */
ADR(12), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_14_Butt=
{
_("Layer 14"), /* Title */
ADR(13), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_15_Butt=
{
_("Layer 15"), /* Title */
ADR(14), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_16_Butt=
{
_("Layer 16"), /* Title */
ADR(15), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_17_Butt=
{
_("Layer 17"), /* Title */
ADR(16), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_18_Butt=
{
_("Layer 18"), /* Title */
ADR(17), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_19_Butt=
{
_("Layer 19"), /* Title */
ADR(18), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_20_Butt=
{
_("Layer 20"), /* Title */
ADR(19), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_21_Butt=
{
_("Layer 21"), /* Title */
ADR(20), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_22_Butt=
{
_("Layer 22"), /* Title */
ADR(21), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_23_Butt=
{
_("Layer 23"), /* Title */
ADR(22), /* adr du parametre optionnel */
TRUE /* adr du parametre display on/off */
};
static ColorButton Layer_24_Butt=
{
_("Layer 24"), /* Title */
ADR(23), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_25_Butt=
{
_("Layer 25"), /* Title */
ADR(24), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_26_Butt=
{
_("Layer 26"), /* Title */
ADR(25), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_27_Butt=
{
_("Layer 27"), /* Title */
ADR(26), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_28_Butt=
{
_("Layer 28"), /* Title */
ADR(27), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_29_Butt=
{
_("Layer 29"), /* Title */
ADR(28), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_30_Butt=
{
_("Layer 30"), /* Title */
ADR(29), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_31_Butt=
{
_("Layer 31"), /* Title */
ADR(30), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Layer_32_Butt=
{
_("Layer 32"), /* Title */
ADR(31), /* adr du parametre optionnel */
TRUE /* parametre display on/off = bit ITEM_NON_VISIBLE */
};
static ColorButton Msg_Others_Items=
{
_("Others") /* Title */
};
static ColorButton Grid_Butt=
{
_("Grid"), /* Title */
&g_DesignSettings.m_PcbGridColor, /* adr du parametre optionnel */
FALSE,
&g_ShowGrid /* parametre display on/off = bool */
};
static ColorButton Show_DCodes_Butt=
{
_("D codes id."), /* Title */
&g_DCodesColor, /* adr du parametre optionnel */
FALSE,
&DisplayOpt.DisplayPadNum /* parametre display on/off = bool*/
};
static ColorButton * laytool_list[] = {
&Msg_Layers_Cu,
&Layer_1_Butt,
&Layer_2_Butt,
&Layer_3_Butt,
&Layer_4_Butt,
&Layer_5_Butt,
&Layer_6_Butt,
&Layer_7_Butt,
&Layer_8_Butt,
&Layer_9_Butt,
&Layer_10_Butt,
&Layer_11_Butt,
&Layer_12_Butt,
&Layer_13_Butt,
&Layer_14_Butt,
&Layer_15_Butt,
&Layer_16_Butt,
&Msg_Layers_Tech,
&Layer_17_Butt,
&Layer_18_Butt,
&Layer_19_Butt,
&Layer_20_Butt,
&Layer_21_Butt,
&Layer_22_Butt,
&Layer_23_Butt,
&Layer_24_Butt,
&Layer_25_Butt,
&Layer_26_Butt,
&Layer_27_Butt,
&Layer_28_Butt,
&Layer_29_Butt,
&Layer_30_Butt,
&Layer_31_Butt,
&Layer_32_Butt,
&Msg_Others_Items,
&Grid_Butt,
&Show_DCodes_Butt,
NULL
};