21#include <wx/translation.h>
38 case F_Cu:
return wxT(
"F.Cu" );
39 case In1_Cu:
return wxT(
"In1.Cu" );
40 case In2_Cu:
return wxT(
"In2.Cu" );
41 case In3_Cu:
return wxT(
"In3.Cu" );
42 case In4_Cu:
return wxT(
"In4.Cu" );
43 case In5_Cu:
return wxT(
"In5.Cu" );
44 case In6_Cu:
return wxT(
"In6.Cu" );
45 case In7_Cu:
return wxT(
"In7.Cu" );
46 case In8_Cu:
return wxT(
"In8.Cu" );
47 case In9_Cu:
return wxT(
"In9.Cu" );
48 case In10_Cu:
return wxT(
"In10.Cu" );
49 case In11_Cu:
return wxT(
"In11.Cu" );
50 case In12_Cu:
return wxT(
"In12.Cu" );
51 case In13_Cu:
return wxT(
"In13.Cu" );
52 case In14_Cu:
return wxT(
"In14.Cu" );
53 case In15_Cu:
return wxT(
"In15.Cu" );
54 case In16_Cu:
return wxT(
"In16.Cu" );
55 case In17_Cu:
return wxT(
"In17.Cu" );
56 case In18_Cu:
return wxT(
"In18.Cu" );
57 case In19_Cu:
return wxT(
"In19.Cu" );
58 case In20_Cu:
return wxT(
"In20.Cu" );
59 case In21_Cu:
return wxT(
"In21.Cu" );
60 case In22_Cu:
return wxT(
"In22.Cu" );
61 case In23_Cu:
return wxT(
"In23.Cu" );
62 case In24_Cu:
return wxT(
"In24.Cu" );
63 case In25_Cu:
return wxT(
"In25.Cu" );
64 case In26_Cu:
return wxT(
"In26.Cu" );
65 case In27_Cu:
return wxT(
"In27.Cu" );
66 case In28_Cu:
return wxT(
"In28.Cu" );
67 case In29_Cu:
return wxT(
"In29.Cu" );
68 case In30_Cu:
return wxT(
"In30.Cu" );
69 case B_Cu:
return wxT(
"B.Cu" );
72 case B_Adhes:
return wxT(
"B.Adhesive" );
73 case F_Adhes:
return wxT(
"F.Adhesive" );
74 case B_Paste:
return wxT(
"B.Paste" );
75 case F_Paste:
return wxT(
"F.Paste" );
76 case B_SilkS:
return wxT(
"B.Silkscreen" );
77 case F_SilkS:
return wxT(
"F.Silkscreen" );
78 case B_Mask:
return wxT(
"B.Mask" );
79 case F_Mask:
return wxT(
"F.Mask" );
82 case Dwgs_User:
return wxT(
"User.Drawings" );
83 case Cmts_User:
return wxT(
"User.Comments" );
84 case Eco1_User:
return wxT(
"User.Eco1" );
85 case Eco2_User:
return wxT(
"User.Eco2" );
86 case Edge_Cuts:
return wxT(
"Edge.Cuts" );
87 case Margin:
return wxT(
"Margin" );
90 case F_CrtYd:
return wxT(
"F.Courtyard" );
91 case B_CrtYd:
return wxT(
"B.Courtyard" );
92 case F_Fab:
return wxT(
"F.Fab" );
93 case B_Fab:
return wxT(
"B.Fab" );
96 case User_1:
return wxT(
"User.1" );
97 case User_2:
return wxT(
"User.2" );
98 case User_3:
return wxT(
"User.3" );
99 case User_4:
return wxT(
"User.4" );
100 case User_5:
return wxT(
"User.5" );
101 case User_6:
return wxT(
"User.6" );
102 case User_7:
return wxT(
"User.7" );
103 case User_8:
return wxT(
"User.8" );
104 case User_9:
return wxT(
"User.9" );
107 case Rescue:
return _(
"Rescue" );
127 case LAYER_NOTES:
return _(
"Schematic text && graphics" );
195 wxCHECK_MSG(
false, wxEmptyString, wxString::Format(
"Unknown layer ID %d", aLayer ) );
wxString LayerName(int aLayer)
Returns the default display name for a given layer.
@ LAYER_PAGE_LIMITS
color for drawing the page extents (visibility stored in PCBNEW_SETTINGS::m_ShowPageLimits)
@ LAYER_LOCKED_ITEM_SHADOW
shadow layer for locked items
@ LAYER_CONFLICTS_SHADOW
shadow layer for items flagged conficting
@ LAYER_FOOTPRINTS_FR
show footprints on front
@ LAYER_NON_PLATEDHOLES
handle color for not plated holes (holes, not pads)
@ LAYER_DRAWINGSHEET
drawingsheet frame and titleblock
@ LAYER_FP_REFERENCES
show footprints references (when texts are visible)
@ LAYER_DRC_EXCLUSION
layer for drc markers which have been individually excluded
@ LAYER_PCB_BACKGROUND
PCB background color.
@ LAYER_DRC_WARNING
layer for drc markers with SEVERITY_WARNING
@ LAYER_PAD_PLATEDHOLES
to draw pad holes (plated)
@ LAYER_HIDDEN_TEXT
text marked as invisible
@ LAYER_CURSOR
PCB cursor.
@ LAYER_AUX_ITEMS
Auxiliary items (guides, rule, etc)
@ LAYER_FOOTPRINTS_BK
show footprints on back
@ LAYER_ANCHOR
anchor of items having an anchor point (texts, footprints)
@ LAYER_PADS_SMD_BK
smd pads, back layer
@ LAYER_PADS_TH
multilayer pads, usually with holes
@ LAYER_PADS_SMD_FR
smd pads, front layer
@ LAYER_MARKER_SHADOWS
shadows for drc markers
@ LAYER_VIA_HOLES
to draw via holes (pad holes do not use this layer)
@ LAYER_FP_VALUES
show footprints values (when texts are visible)
@ LAYER_VIA_MICROVIA
to draw micro vias
@ LAYER_SELECT_OVERLAY
currently selected items overlay
@ LAYER_VIA_THROUGH
to draw usual through hole vias
@ LAYER_DRC_ERROR
layer for drc markers with SEVERITY_ERROR
@ LAYER_VIA_BBLIND
to draw blind/buried vias
@ LAYER_DEVICE_BACKGROUND
@ LAYER_SCHEMATIC_DRAWINGSHEET
@ LAYER_SCHEMATIC_GRID_AXES
@ LAYER_SCHEMATIC_PAGE_LIMITS
@ LAYER_SELECTION_SHADOWS
@ LAYER_SCHEMATIC_BACKGROUND
@ LAYER_SCHEMATIC_AUX_ITEMS