KiCad PCB EDA Suite
Loading...
Searching...
No Matches
builtin_color_themes.h
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright (C) 2020 Jon Evans <[email protected]>
5 * Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * This program is free software: you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation, either version 3 of the License, or (at your
10 * option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21// NOTE: This file should only be included in color_settings.cpp
22
23#ifndef _BUILTIN_COLOR_THEMES_H
24#define _BUILTIN_COLOR_THEMES_H
25
26#define CSS_COLOR( r, g, b, a ) COLOR4D().FromCSSRGBA( r, g, b, a )
27
28static const std::map<int, COLOR4D> s_defaultTheme =
29 {
30 { LAYER_SCHEMATIC_ANCHOR, CSS_COLOR( 0, 0, 255, 1 ) },
31 { LAYER_SCHEMATIC_AUX_ITEMS, CSS_COLOR( 0, 0, 0, 1 ) },
32 { LAYER_SCHEMATIC_BACKGROUND, CSS_COLOR( 245, 244, 239, 1 ) },
33 { LAYER_HOVERED, CSS_COLOR( 0, 0, 255, 1 ) },
34 { LAYER_BRIGHTENED, CSS_COLOR( 255, 0, 255, 1 ) },
35 { LAYER_BUS, CSS_COLOR( 0, 0, 132, 1 ) },
36 { LAYER_BUS_JUNCTION, CSS_COLOR( 0, 0, 132, 1 ) },
37 { LAYER_DEVICE_BACKGROUND, CSS_COLOR( 255, 255, 194, 1 ) },
38 { LAYER_DEVICE, CSS_COLOR( 132, 0, 0, 1 ) },
39 { LAYER_SCHEMATIC_CURSOR, CSS_COLOR( 15, 15, 15, 1 ) },
40 { LAYER_DNP_MARKER, CSS_COLOR( 220, 9, 13, 0.85 ) },
41 { LAYER_EXCLUDED_FROM_SIM, CSS_COLOR( 194, 194, 194, 0.95 ) },
42 { LAYER_ERC_ERR, CSS_COLOR( 230, 9, 13, 0.8 ) },
43 { LAYER_ERC_WARN, CSS_COLOR( 209, 146, 0, 0.8 ) },
44 { LAYER_ERC_EXCLUSION, CSS_COLOR( 194, 194, 194, 0.8 ) },
45 { LAYER_FIELDS, CSS_COLOR( 132, 0, 132, 1 ) },
46 { LAYER_SCHEMATIC_GRID, CSS_COLOR( 181, 181, 181, 1 ) },
47 { LAYER_SCHEMATIC_GRID_AXES, CSS_COLOR( 0, 0, 132, 1 ) },
48 { LAYER_HIDDEN, CSS_COLOR( 194, 194, 194, 1 ) },
49 { LAYER_JUNCTION, CSS_COLOR( 0, 150, 0, 1 ) },
50 { LAYER_GLOBLABEL, CSS_COLOR( 132, 0, 0, 1 ) },
51 { LAYER_HIERLABEL, CSS_COLOR( 114, 86, 0, 1 ) },
52 { LAYER_LOCLABEL, CSS_COLOR( 15, 15, 15, 1 ) },
53 { LAYER_NETCLASS_REFS, CSS_COLOR( 72, 72, 72, 1 ) },
54 { LAYER_RULE_AREAS, CSS_COLOR( 255, 0, 0, 1 ) },
55 { LAYER_NOCONNECT, CSS_COLOR( 0, 0, 132, 1 ) },
56 { LAYER_NOTES, CSS_COLOR( 0, 0, 194, 1 ) },
57 { LAYER_PRIVATE_NOTES, CSS_COLOR( 72, 72, 255, 1 ) },
58 { LAYER_NOTES_BACKGROUND, CSS_COLOR( 0, 0, 0, 0 ) },
59 { LAYER_PIN, CSS_COLOR( 132, 0, 0, 1 ) },
60 { LAYER_PINNAM, CSS_COLOR( 0, 100, 100, 1 ) },
61 { LAYER_PINNUM, CSS_COLOR( 169, 0, 0, 1 ) },
62 { LAYER_REFERENCEPART, CSS_COLOR( 0, 100, 100, 1 ) },
63#ifdef __WXMAC__
64 // Try to mimic the system highlight color on Mac
65 { LAYER_SELECTION_SHADOWS, COLOR4D( .3, .7, 1.0, 0.6 ) },
66#else
67 { LAYER_SELECTION_SHADOWS, COLOR4D( .4, .7, 1.0, 0.8 ) },
68#endif
69 { LAYER_SHEET, CSS_COLOR( 132, 0, 0, 1 ) },
70 { LAYER_SHEET_BACKGROUND, CSS_COLOR( 255, 255, 255, 0 ) },
71 { LAYER_SHEETFILENAME, CSS_COLOR( 114, 86, 0, 1 ) },
72 { LAYER_SHEETFIELDS, CSS_COLOR( 132, 0, 132, 1 ) },
73 { LAYER_SHEETLABEL, CSS_COLOR( 0, 100, 100, 1 ) },
74 { LAYER_SHEETNAME, CSS_COLOR( 0, 100, 100, 1 ) },
75 { LAYER_VALUEPART, CSS_COLOR( 0, 100, 100, 1 ) },
76 { LAYER_WIRE, CSS_COLOR( 0, 150, 0, 1 ) },
77 { LAYER_SCHEMATIC_DRAWINGSHEET, CSS_COLOR( 132, 0, 0, 1 ) },
78 { LAYER_SCHEMATIC_PAGE_LIMITS, CSS_COLOR( 181, 181, 181, 1 ) },
79 { LAYER_OP_VOLTAGES, CSS_COLOR( 132, 0, 50, 1 ) },
80 { LAYER_OP_CURRENTS, CSS_COLOR( 224, 0, 12, 1 ) },
81
82 { LAYER_GERBVIEW_AXES, CSS_COLOR( 0, 0, 132, 1 ) },
83 { LAYER_GERBVIEW_BACKGROUND, CSS_COLOR( 0, 0, 0, 1 ) },
84 { LAYER_DCODES, CSS_COLOR( 255, 255, 255, 1 ) },
85 { LAYER_GERBVIEW_GRID, CSS_COLOR( 132, 132, 132, 1 ) },
86 { LAYER_NEGATIVE_OBJECTS, CSS_COLOR( 132, 132, 132, 1 ) },
87 { LAYER_GERBVIEW_DRAWINGSHEET, CSS_COLOR( 0, 0, 132, 1 ) },
88 { LAYER_GERBVIEW_PAGE_LIMITS, CSS_COLOR( 132, 132, 132, 1 ) },
89
90 { GERBVIEW_LAYER_ID_START, CSS_COLOR( 200, 52, 52, 1 ) },
91 { GERBVIEW_LAYER_ID_START + 1, CSS_COLOR( 127, 200, 127, 1 ) },
92 { GERBVIEW_LAYER_ID_START + 2, CSS_COLOR( 206, 125, 44, 1 ) },
93 { GERBVIEW_LAYER_ID_START + 3, CSS_COLOR( 79, 203, 203, 1 ) },
94 { GERBVIEW_LAYER_ID_START + 4, CSS_COLOR( 219, 98, 139, 1 ) },
95 { GERBVIEW_LAYER_ID_START + 5, CSS_COLOR( 167, 165, 198, 1 ) },
96 { GERBVIEW_LAYER_ID_START + 6, CSS_COLOR( 40, 204, 217, 1 ) },
97 { GERBVIEW_LAYER_ID_START + 7, CSS_COLOR( 232, 178, 167, 1 ) },
98 { GERBVIEW_LAYER_ID_START + 8, CSS_COLOR( 242, 237, 161, 1 ) },
99 { GERBVIEW_LAYER_ID_START + 9, CSS_COLOR( 141, 203, 129, 1 ) },
100 { GERBVIEW_LAYER_ID_START + 10, CSS_COLOR( 237, 124, 51, 1 ) },
101 { GERBVIEW_LAYER_ID_START + 11, CSS_COLOR( 91, 195, 235, 1 ) },
102 { GERBVIEW_LAYER_ID_START + 12, CSS_COLOR( 247, 111, 142, 1 ) },
103 { GERBVIEW_LAYER_ID_START + 13, CSS_COLOR( 77, 127, 196, 1 ) },
104 { GERBVIEW_LAYER_ID_START + 14, CSS_COLOR( 200, 52, 52, 1 ) },
105 { GERBVIEW_LAYER_ID_START + 15, CSS_COLOR( 127, 200, 127, 1 ) },
106 { GERBVIEW_LAYER_ID_START + 16, CSS_COLOR( 206, 125, 44, 1 ) },
107 { GERBVIEW_LAYER_ID_START + 17, CSS_COLOR( 79, 203, 203, 1 ) },
108 { GERBVIEW_LAYER_ID_START + 18, CSS_COLOR( 219, 98, 139, 1 ) },
109 { GERBVIEW_LAYER_ID_START + 19, CSS_COLOR( 167, 165, 198, 1 ) },
110 { GERBVIEW_LAYER_ID_START + 20, CSS_COLOR( 40, 204, 217, 1 ) },
111 { GERBVIEW_LAYER_ID_START + 21, CSS_COLOR( 232, 178, 167, 1 ) },
112 { GERBVIEW_LAYER_ID_START + 22, CSS_COLOR( 242, 237, 161, 1 ) },
113 { GERBVIEW_LAYER_ID_START + 23, CSS_COLOR( 141, 203, 129, 1 ) },
114 { GERBVIEW_LAYER_ID_START + 24, CSS_COLOR( 237, 124, 51, 1 ) },
115 { GERBVIEW_LAYER_ID_START + 25, CSS_COLOR( 91, 195, 235, 1 ) },
116 { GERBVIEW_LAYER_ID_START + 26, CSS_COLOR( 247, 111, 142, 1 ) },
117 { GERBVIEW_LAYER_ID_START + 27, CSS_COLOR( 77, 127, 196, 1 ) },
118 { GERBVIEW_LAYER_ID_START + 28, CSS_COLOR( 200, 52, 52, 1 ) },
119 { GERBVIEW_LAYER_ID_START + 29, CSS_COLOR( 127, 200, 127, 1 ) },
120 { GERBVIEW_LAYER_ID_START + 30, CSS_COLOR( 206, 125, 44, 1 ) },
121 { GERBVIEW_LAYER_ID_START + 31, CSS_COLOR( 79, 203, 203, 1 ) },
122 { GERBVIEW_LAYER_ID_START + 32, CSS_COLOR( 219, 98, 139, 1 ) },
123 { GERBVIEW_LAYER_ID_START + 33, CSS_COLOR( 167, 165, 198, 1 ) },
124 { GERBVIEW_LAYER_ID_START + 34, CSS_COLOR( 40, 204, 217, 1 ) },
125 { GERBVIEW_LAYER_ID_START + 35, CSS_COLOR( 232, 178, 167, 1 ) },
126 { GERBVIEW_LAYER_ID_START + 36, CSS_COLOR( 242, 237, 161, 1 ) },
127 { GERBVIEW_LAYER_ID_START + 37, CSS_COLOR( 141, 203, 129, 1 ) },
128 { GERBVIEW_LAYER_ID_START + 38, CSS_COLOR( 237, 124, 51, 1 ) },
129 { GERBVIEW_LAYER_ID_START + 39, CSS_COLOR( 91, 195, 235, 1 ) },
130 { GERBVIEW_LAYER_ID_START + 40, CSS_COLOR( 247, 111, 142, 1 ) },
131 { GERBVIEW_LAYER_ID_START + 41, CSS_COLOR( 77, 127, 196, 1 ) },
132 { GERBVIEW_LAYER_ID_START + 42, CSS_COLOR( 200, 52, 52, 1 ) },
133 { GERBVIEW_LAYER_ID_START + 43, CSS_COLOR( 127, 200, 127, 1 ) },
134 { GERBVIEW_LAYER_ID_START + 44, CSS_COLOR( 206, 125, 44, 1 ) },
135 { GERBVIEW_LAYER_ID_START + 45, CSS_COLOR( 79, 203, 203, 1 ) },
136 { GERBVIEW_LAYER_ID_START + 46, CSS_COLOR( 219, 98, 139, 1 ) },
137 { GERBVIEW_LAYER_ID_START + 47, CSS_COLOR( 167, 165, 198, 1 ) },
138 { GERBVIEW_LAYER_ID_START + 48, CSS_COLOR( 40, 204, 217, 1 ) },
139 { GERBVIEW_LAYER_ID_START + 49, CSS_COLOR( 232, 178, 167, 1 ) },
140 { GERBVIEW_LAYER_ID_START + 50, CSS_COLOR( 242, 237, 161, 1 ) },
141 { GERBVIEW_LAYER_ID_START + 51, CSS_COLOR( 141, 203, 129, 1 ) },
142 { GERBVIEW_LAYER_ID_START + 52, CSS_COLOR( 237, 124, 51, 1 ) },
143 { GERBVIEW_LAYER_ID_START + 53, CSS_COLOR( 91, 195, 235, 1 ) },
144 { GERBVIEW_LAYER_ID_START + 54, CSS_COLOR( 247, 111, 142, 1 ) },
145 { GERBVIEW_LAYER_ID_START + 55, CSS_COLOR( 77, 127, 196, 1 ) },
146 { GERBVIEW_LAYER_ID_START + 56, CSS_COLOR( 200, 52, 52, 1 ) },
147 { GERBVIEW_LAYER_ID_START + 57, CSS_COLOR( 127, 200, 127, 1 ) },
148 { GERBVIEW_LAYER_ID_START + 58, CSS_COLOR( 206, 125, 44, 1 ) },
149 { GERBVIEW_LAYER_ID_START + 59, CSS_COLOR( 79, 203, 203, 1 ) },
150 { GERBVIEW_LAYER_ID_START + 60, CSS_COLOR( 219, 98, 139, 1 ) },
151 { GERBVIEW_LAYER_ID_START + 61, CSS_COLOR( 167, 165, 198, 1 ) },
152 { GERBVIEW_LAYER_ID_START + 62, CSS_COLOR( 40, 204, 217, 1 ) },
153 { GERBVIEW_LAYER_ID_START + 63, CSS_COLOR( 232, 178, 167, 1 ) },
154
155 { LAYER_ANCHOR, CSS_COLOR( 255, 38, 226, 1 ) },
156 { LAYER_LOCKED_ITEM_SHADOW, CSS_COLOR( 255, 38, 226, 0.5 ) },
157 { LAYER_CONFLICTS_SHADOW, CSS_COLOR( 255, 0, 05, 0.5 ) },
158 { LAYER_AUX_ITEMS, CSS_COLOR( 255, 255, 255, 1 ) },
159 { LAYER_PCB_BACKGROUND, CSS_COLOR( 0, 16, 35, 1 ) },
160 { LAYER_CURSOR, CSS_COLOR( 255, 255, 255, 1 ) },
161 { LAYER_DRC_ERROR, CSS_COLOR( 215, 91, 107, 0.8 ) },
162 { LAYER_DRC_WARNING, CSS_COLOR( 255, 208, 66, 0.8 ) },
163 { LAYER_DRC_EXCLUSION, CSS_COLOR( 255, 255, 255, 0.8 ) },
164 { LAYER_GRID, CSS_COLOR( 132, 132, 132, 1 ) },
165 { LAYER_GRID_AXES, CSS_COLOR( 194, 194, 194, 1 ) },
166 { LAYER_PAD_PLATEDHOLES, CSS_COLOR( 194, 194, 0, 1 ) },
167 { LAYER_NON_PLATEDHOLES, CSS_COLOR( 26, 196, 210, 1 ) },
168 { LAYER_RATSNEST, CSS_COLOR( 0, 248, 255, 0.35 ) },
169 { LAYER_SELECT_OVERLAY, CSS_COLOR( 4, 255, 67, 1 ) },
170 { LAYER_VIA_HOLES, CSS_COLOR( 227, 183, 46, 1 ) },
171 { LAYER_VIA_HOLEWALLS, CSS_COLOR( 236, 236, 236, 1 ) },
172 { LAYER_DRAWINGSHEET, CSS_COLOR( 200, 114, 171, 1 ) },
173 { LAYER_PAGE_LIMITS, CSS_COLOR( 132, 132, 132, 1 ) },
174 { NETNAMES_LAYER_ID_START, CSS_COLOR( 255, 255, 255, 0.7 ) },
175 { LAYER_PAD_NETNAMES, CSS_COLOR( 255, 255, 255, 0.9 ) },
176 { LAYER_VIA_NETNAMES, CSS_COLOR( 50, 50, 50, 0.9 ) },
177
178 { F_Cu, CSS_COLOR( 200, 52, 52, 1 ) },
179 { In1_Cu, CSS_COLOR( 127, 200, 127, 1 ) },
180 { In2_Cu, CSS_COLOR( 206, 125, 44, 1 ) },
181 { In3_Cu, CSS_COLOR( 79, 203, 203, 1 ) },
182 { In4_Cu, CSS_COLOR( 219, 98, 139, 1 ) },
183 { In5_Cu, CSS_COLOR( 167, 165, 198, 1 ) },
184 { In6_Cu, CSS_COLOR( 40, 204, 217, 1 ) },
185 { In7_Cu, CSS_COLOR( 232, 178, 167, 1 ) },
186 { In8_Cu, CSS_COLOR( 242, 237, 161, 1 ) },
187 { In9_Cu, CSS_COLOR( 141, 203, 129, 1 ) },
188 { In10_Cu, CSS_COLOR( 237, 124, 51, 1 ) },
189 { In11_Cu, CSS_COLOR( 91, 195, 235, 1 ) },
190 { In12_Cu, CSS_COLOR( 247, 111, 142, 1 ) },
191 { In13_Cu, CSS_COLOR( 167, 165, 198, 1 ) },
192 { In14_Cu, CSS_COLOR( 40, 204, 217, 1 ) },
193 { In15_Cu, CSS_COLOR( 232, 178, 167, 1 ) },
194 { In16_Cu, CSS_COLOR( 242, 237, 161, 1 ) },
195 { In17_Cu, CSS_COLOR( 237, 124, 51, 1 ) },
196 { In18_Cu, CSS_COLOR( 91, 195, 235, 1 ) },
197 { In19_Cu, CSS_COLOR( 247, 111, 142, 1 ) },
198 { In20_Cu, CSS_COLOR( 167, 165, 198, 1 ) },
199 { In21_Cu, CSS_COLOR( 40, 204, 217, 1 ) },
200 { In22_Cu, CSS_COLOR( 232, 178, 167, 1 ) },
201 { In23_Cu, CSS_COLOR( 242, 237, 161, 1 ) },
202 { In24_Cu, CSS_COLOR( 237, 124, 51, 1 ) },
203 { In25_Cu, CSS_COLOR( 91, 195, 235, 1 ) },
204 { In26_Cu, CSS_COLOR( 247, 111, 142, 1 ) },
205 { In27_Cu, CSS_COLOR( 167, 165, 198, 1 ) },
206 { In28_Cu, CSS_COLOR( 40, 204, 217, 1 ) },
207 { In29_Cu, CSS_COLOR( 232, 178, 167, 1 ) },
208 { In30_Cu, CSS_COLOR( 242, 237, 161, 1 ) },
209 { B_Cu, CSS_COLOR( 77, 127, 196, 1 ) },
210
211 { B_Adhes, CSS_COLOR( 0, 0, 132, 1 ) },
212 { F_Adhes, CSS_COLOR( 132, 0, 132, 1 ) },
213 { B_Paste, CSS_COLOR( 0, 194, 194, 0.9 ) },
214 { F_Paste, CSS_COLOR( 180, 160, 154, 0.9 ) },
215 { B_SilkS, CSS_COLOR( 232, 178, 167, 1 ) },
216 { F_SilkS, CSS_COLOR( 242, 237, 161, 1 ) },
217 { B_Mask, CSS_COLOR( 2, 255, 238, 0.4 ) },
218 { F_Mask, CSS_COLOR( 216, 100, 255, 0.4 ) },
219 { Dwgs_User, CSS_COLOR( 194, 194, 194, 1 ) },
220 { Cmts_User, CSS_COLOR( 89, 148, 220, 1 ) },
221 { Eco1_User, CSS_COLOR( 180, 219, 210, 1 ) },
222 { Eco2_User, CSS_COLOR( 216, 200, 82, 1 ) },
223 { Edge_Cuts, CSS_COLOR( 208, 210, 205, 1 ) },
224 { Margin, CSS_COLOR( 255, 38, 226, 1 ) },
225 { B_CrtYd, CSS_COLOR( 38, 233, 255, 1 ) },
226 { F_CrtYd, CSS_COLOR( 255, 38, 226, 1 ) },
227 { B_Fab, CSS_COLOR( 88, 93, 132, 1 ) },
228 { F_Fab, CSS_COLOR( 175, 175, 175, 1 ) },
229 { User_1, CSS_COLOR( 194, 194, 194, 1 ) },
230 { User_2, CSS_COLOR( 89, 148, 220, 1 ) },
231 { User_3, CSS_COLOR( 180, 219, 210, 1 ) },
232 { User_4, CSS_COLOR( 216, 200, 82, 1 ) },
233 { User_5, CSS_COLOR( 194, 194, 194, 1 ) },
234 { User_6, CSS_COLOR( 89, 148, 220, 1 ) },
235 { User_7, CSS_COLOR( 180, 219, 210, 1 ) },
236 { User_8, CSS_COLOR( 216, 200, 82, 1 ) },
237 { User_9, CSS_COLOR( 232, 178, 167, 1 ) },
238 { User_10, CSS_COLOR( 89, 148, 220, 1 ) },
239 { User_11, CSS_COLOR( 180, 219, 210, 1 ) },
240 { User_12, CSS_COLOR( 216, 200, 82, 1 ) },
241 { User_13, CSS_COLOR( 194, 194, 194, 1 ) },
242 { User_14, CSS_COLOR( 89, 148, 220, 1 ) },
243 { User_15, CSS_COLOR( 180, 219, 210, 1 ) },
244 { User_16, CSS_COLOR( 216, 200, 82, 1 ) },
245 { User_17, CSS_COLOR( 194, 194, 194, 1 ) },
246 { User_18, CSS_COLOR( 89, 148, 220, 1 ) },
247 { User_19, CSS_COLOR( 180, 219, 210, 1 ) },
248 { User_20, CSS_COLOR( 216, 200, 82, 1 ) },
249 { User_21, CSS_COLOR( 194, 194, 194, 1 ) },
250 { User_22, CSS_COLOR( 89, 148, 220, 1 ) },
251 { User_23, CSS_COLOR( 180, 219, 210, 1 ) },
252 { User_24, CSS_COLOR( 216, 200, 82, 1 ) },
253 { User_25, CSS_COLOR( 194, 194, 194, 1 ) },
254 { User_26, CSS_COLOR( 89, 148, 220, 1 ) },
255 { User_27, CSS_COLOR( 180, 219, 210, 1 ) },
256 { User_28, CSS_COLOR( 216, 200, 82, 1 ) },
257 { User_29, CSS_COLOR( 194, 194, 194, 1 ) },
258 { User_30, CSS_COLOR( 89, 148, 220, 1 ) },
259 { User_31, CSS_COLOR( 180, 219, 210, 1 ) },
260 { User_32, CSS_COLOR( 216, 200, 82, 1 ) },
261 { User_33, CSS_COLOR( 194, 194, 194, 1 ) },
262 { User_34, CSS_COLOR( 89, 148, 220, 1 ) },
263 { User_35, CSS_COLOR( 180, 219, 210, 1 ) },
264 { User_36, CSS_COLOR( 216, 200, 82, 1 ) },
265 { User_37, CSS_COLOR( 194, 194, 194, 1 ) },
266 { User_38, CSS_COLOR( 89, 148, 220, 1 ) },
267 { User_39, CSS_COLOR( 180, 219, 210, 1 ) },
268 { User_40, CSS_COLOR( 216, 200, 82, 1 ) },
269 { User_41, CSS_COLOR( 194, 194, 194, 1 ) },
270 { User_42, CSS_COLOR( 89, 148, 220, 1 ) },
271 { User_43, CSS_COLOR( 180, 219, 210, 1 ) },
272 { User_44, CSS_COLOR( 216, 200, 82, 1 ) },
273 { User_45, CSS_COLOR( 194, 194, 194, 1 ) },
274
275 { LAYER_3D_BACKGROUND_BOTTOM, COLOR4D( 0.4, 0.4, 0.5, 1.0 ) },
276 { LAYER_3D_BACKGROUND_TOP, COLOR4D( 0.8, 0.8, 0.9, 1.0 ) },
277 { LAYER_3D_BOARD, COLOR4D( 0.2, 0.17, 0.09, 0.9 ) },
278 { LAYER_3D_COPPER_TOP, COLOR4D( 0.7, 0.61, 0.0, 1.0 ) },
279 { LAYER_3D_SILKSCREEN_BOTTOM, COLOR4D( 0.9, 0.9, 0.9, 1.0 ) },
280 { LAYER_3D_SILKSCREEN_TOP, COLOR4D( 0.9, 0.9, 0.9, 1.0 ) },
281 { LAYER_3D_SOLDERMASK_BOTTOM, COLOR4D( 0.08, 0.2, 0.14, 0.83 ) },
282 { LAYER_3D_SOLDERMASK_TOP, COLOR4D( 0.08, 0.2, 0.14, 0.83 ) },
283 { LAYER_3D_SOLDERPASTE, COLOR4D( 0.5, 0.5, 0.5, 1.0 ) }
284 };
285
286// These are looping colors used higher-order copper layers
287static const std::vector<COLOR4D> s_copperColors =
288{
289 { CSS_COLOR( 237, 124, 51, 1 ) },
290 { CSS_COLOR( 91, 195, 235, 1 ) },
291 { CSS_COLOR( 247, 111, 142, 1 ) },
292 { CSS_COLOR( 167, 165, 198, 1 ) },
293 { CSS_COLOR( 40, 204, 217, 1 ) },
294 { CSS_COLOR( 232, 178, 167, 1 ) },
295 { CSS_COLOR( 242, 237, 161, 1 ) }
296};
297
298// These are looping colors used for user colors
299static const std::vector<COLOR4D> s_userColors =
300{
301 { CSS_COLOR( 89, 148, 220, 1 ) },
302 { CSS_COLOR( 180, 219, 210, 1 ) },
303 { CSS_COLOR( 216, 200, 82, 1 ) },
304 { CSS_COLOR( 194, 194, 194, 1 ) },
305};
306
307static const std::map<int, COLOR4D> s_classicTheme =
308 {
309 { LAYER_SCHEMATIC_ANCHOR, CSS_COLOR( 0, 0, 255, 1 ) },
310 { LAYER_SCHEMATIC_AUX_ITEMS, COLOR4D( BLACK ) },
311 { LAYER_SCHEMATIC_BACKGROUND, COLOR4D( WHITE ) },
312 { LAYER_HOVERED, COLOR4D( BLUE ) },
313 { LAYER_BRIGHTENED, COLOR4D( PUREMAGENTA ) },
314 { LAYER_BUS, COLOR4D( BLUE ) },
315 { LAYER_BUS_JUNCTION, COLOR4D( BLUE ) },
316 { LAYER_DEVICE_BACKGROUND, COLOR4D( LIGHTYELLOW ) },
317 { LAYER_DEVICE, COLOR4D( RED ) },
318 { LAYER_SCHEMATIC_CURSOR, COLOR4D( BLACK ) },
319 { LAYER_DNP_MARKER, COLOR4D( PURERED ).WithAlpha( 0.85 ) },
320 { LAYER_EXCLUDED_FROM_SIM, COLOR4D( LIGHTGRAY ).WithAlpha( 0.95 ) },
321 { LAYER_ERC_ERR, COLOR4D( PURERED ).WithAlpha( 0.8 ) },
322 { LAYER_ERC_WARN, COLOR4D( PUREGREEN ).WithAlpha( 0.8 ) },
323 { LAYER_ERC_EXCLUSION, COLOR4D( LIGHTGRAY ) },
324 { LAYER_FIELDS, COLOR4D( MAGENTA ) },
325 { LAYER_SCHEMATIC_GRID, COLOR4D( DARKGRAY ) },
326 { LAYER_SCHEMATIC_GRID_AXES, COLOR4D( BLUE ) },
327 { LAYER_HIDDEN, COLOR4D( LIGHTGRAY ) },
328 { LAYER_JUNCTION, COLOR4D( GREEN ) },
329 { LAYER_GLOBLABEL, COLOR4D( RED ) },
330 { LAYER_HIERLABEL, COLOR4D( BROWN ) },
331 { LAYER_LOCLABEL, COLOR4D( BLACK ) },
332 { LAYER_NETCLASS_REFS, COLOR4D( BLACK ) },
333 { LAYER_RULE_AREAS, COLOR4D( RED ) },
334 { LAYER_NOCONNECT, COLOR4D( BLUE ) },
335 { LAYER_NOTES, COLOR4D( LIGHTBLUE ) },
336 { LAYER_PRIVATE_NOTES, COLOR4D( LIGHTBLUE ) },
338 { LAYER_PIN, COLOR4D( RED ) },
339 { LAYER_PINNAM, COLOR4D( CYAN ) },
340 { LAYER_PINNUM, COLOR4D( RED ) },
341 { LAYER_REFERENCEPART, COLOR4D( CYAN ) },
342#ifdef __WXMAC__
343 // Macs look better with a lighter shadow
344 { LAYER_SELECTION_SHADOWS, COLOR4D( .78, .92, 1.0, 0.8 ) },
345#else
346 { LAYER_SELECTION_SHADOWS, COLOR4D( .4, .7, 1.0, 0.8 ) },
347#endif
348 { LAYER_SHEET, COLOR4D( MAGENTA ) },
349 { LAYER_SHEET_BACKGROUND, COLOR4D( WHITE ).WithAlpha( 0.0 ) },
350 { LAYER_SHEETFILENAME, COLOR4D( BROWN ) },
351 { LAYER_SHEETFIELDS, COLOR4D( MAGENTA ) },
352 { LAYER_SHEETLABEL, COLOR4D( CYAN ) },
353 { LAYER_SHEETNAME, COLOR4D( CYAN ) },
354 { LAYER_VALUEPART, COLOR4D( CYAN ) },
355 { LAYER_WIRE, COLOR4D( GREEN ) },
356 { LAYER_SCHEMATIC_DRAWINGSHEET, COLOR4D( RED ) },
357 { LAYER_OP_VOLTAGES, COLOR4D( DARKMAGENTA ) },
358 { LAYER_OP_CURRENTS, COLOR4D( RED ) },
359
360 { LAYER_GERBVIEW_AXES, COLOR4D( BLUE ) },
361 { LAYER_GERBVIEW_BACKGROUND, COLOR4D( BLACK ) },
362 { LAYER_DCODES, COLOR4D( WHITE ) },
363 { LAYER_GERBVIEW_GRID, COLOR4D( MAGENTA ) },
364 { LAYER_NEGATIVE_OBJECTS, COLOR4D( DARKGRAY ) },
365 { LAYER_GERBVIEW_DRAWINGSHEET, COLOR4D( DARKRED ) },
366 { LAYER_GERBVIEW_PAGE_LIMITS, COLOR4D( MAGENTA ) },
367
368 { GERBVIEW_LAYER_ID_START, COLOR4D( RED ) },
369 { GERBVIEW_LAYER_ID_START + 1, COLOR4D( YELLOW ) },
370 { GERBVIEW_LAYER_ID_START + 2, COLOR4D( LIGHTMAGENTA ) },
371 { GERBVIEW_LAYER_ID_START + 3, COLOR4D( LIGHTRED ) },
372 { GERBVIEW_LAYER_ID_START + 4, COLOR4D( CYAN ) },
373 { GERBVIEW_LAYER_ID_START + 5, COLOR4D( GREEN ) },
374 { GERBVIEW_LAYER_ID_START + 6, COLOR4D( BLUE ) },
375 { GERBVIEW_LAYER_ID_START + 7, COLOR4D( DARKGRAY ) },
376 { GERBVIEW_LAYER_ID_START + 8, COLOR4D( MAGENTA ) },
377 { GERBVIEW_LAYER_ID_START + 9, COLOR4D( LIGHTGRAY ) },
378 { GERBVIEW_LAYER_ID_START + 10, COLOR4D( MAGENTA ) },
379 { GERBVIEW_LAYER_ID_START + 11, COLOR4D( RED ) },
380 { GERBVIEW_LAYER_ID_START + 12, COLOR4D( BROWN ) },
381 { GERBVIEW_LAYER_ID_START + 13, COLOR4D( LIGHTGRAY ) },
382 { GERBVIEW_LAYER_ID_START + 14, COLOR4D( BLUE ) },
383 { GERBVIEW_LAYER_ID_START + 15, COLOR4D( GREEN ) },
384 { GERBVIEW_LAYER_ID_START + 16, COLOR4D( RED ) },
385 { GERBVIEW_LAYER_ID_START + 17, COLOR4D( YELLOW ) },
386 { GERBVIEW_LAYER_ID_START + 18, COLOR4D( LIGHTMAGENTA ) },
387 { GERBVIEW_LAYER_ID_START + 19, COLOR4D( LIGHTRED ) },
388 { GERBVIEW_LAYER_ID_START + 20, COLOR4D( CYAN ) },
389 { GERBVIEW_LAYER_ID_START + 21, COLOR4D( GREEN ) },
390 { GERBVIEW_LAYER_ID_START + 22, COLOR4D( BLUE ) },
391 { GERBVIEW_LAYER_ID_START + 23, COLOR4D( DARKGRAY ) },
392 { GERBVIEW_LAYER_ID_START + 24, COLOR4D( MAGENTA ) },
393 { GERBVIEW_LAYER_ID_START + 25, COLOR4D( LIGHTGRAY ) },
394 { GERBVIEW_LAYER_ID_START + 26, COLOR4D( MAGENTA ) },
395 { GERBVIEW_LAYER_ID_START + 27, COLOR4D( RED ) },
396 { GERBVIEW_LAYER_ID_START + 28, COLOR4D( BROWN ) },
397 { GERBVIEW_LAYER_ID_START + 29, COLOR4D( LIGHTGRAY ) },
398 { GERBVIEW_LAYER_ID_START + 30, COLOR4D( BLUE ) },
399 { GERBVIEW_LAYER_ID_START + 31, COLOR4D( GREEN ) },
400 { GERBVIEW_LAYER_ID_START + 32, COLOR4D( RED ) },
401 { GERBVIEW_LAYER_ID_START + 33, COLOR4D( YELLOW ) },
402 { GERBVIEW_LAYER_ID_START + 34, COLOR4D( LIGHTMAGENTA ) },
403 { GERBVIEW_LAYER_ID_START + 35, COLOR4D( LIGHTRED ) },
404 { GERBVIEW_LAYER_ID_START + 36, COLOR4D( CYAN ) },
405 { GERBVIEW_LAYER_ID_START + 37, COLOR4D( GREEN ) },
406 { GERBVIEW_LAYER_ID_START + 38, COLOR4D( BLUE ) },
407 { GERBVIEW_LAYER_ID_START + 39, COLOR4D( DARKGRAY ) },
408 { GERBVIEW_LAYER_ID_START + 40, COLOR4D( MAGENTA ) },
409 { GERBVIEW_LAYER_ID_START + 41, COLOR4D( LIGHTGRAY ) },
410 { GERBVIEW_LAYER_ID_START + 42, COLOR4D( MAGENTA ) },
411 { GERBVIEW_LAYER_ID_START + 43, COLOR4D( RED ) },
412 { GERBVIEW_LAYER_ID_START + 44, COLOR4D( BROWN ) },
413 { GERBVIEW_LAYER_ID_START + 45, COLOR4D( LIGHTGRAY ) },
414 { GERBVIEW_LAYER_ID_START + 46, COLOR4D( BLUE ) },
415 { GERBVIEW_LAYER_ID_START + 47, COLOR4D( GREEN ) },
416 { GERBVIEW_LAYER_ID_START + 48, COLOR4D( RED ) },
417 { GERBVIEW_LAYER_ID_START + 49, COLOR4D( YELLOW ) },
418 { GERBVIEW_LAYER_ID_START + 50, COLOR4D( LIGHTMAGENTA ) },
419 { GERBVIEW_LAYER_ID_START + 51, COLOR4D( LIGHTRED ) },
420 { GERBVIEW_LAYER_ID_START + 52, COLOR4D( CYAN ) },
421 { GERBVIEW_LAYER_ID_START + 53, COLOR4D( GREEN ) },
422 { GERBVIEW_LAYER_ID_START + 54, COLOR4D( BLUE ) },
423 { GERBVIEW_LAYER_ID_START + 55, COLOR4D( DARKGRAY ) },
424 { GERBVIEW_LAYER_ID_START + 56, COLOR4D( MAGENTA ) },
425 { GERBVIEW_LAYER_ID_START + 57, COLOR4D( LIGHTGRAY ) },
426 { GERBVIEW_LAYER_ID_START + 58, COLOR4D( MAGENTA ) },
427 { GERBVIEW_LAYER_ID_START + 59, COLOR4D( RED ) },
428
429 { LAYER_ANCHOR, COLOR4D( BLUE ) },
430 { LAYER_LOCKED_ITEM_SHADOW, COLOR4D( BLUE ).WithAlpha( 0.6 ) },
431 { LAYER_CONFLICTS_SHADOW, COLOR4D( RED ).WithAlpha( 0.5 ) },
432 { LAYER_AUX_ITEMS, COLOR4D( WHITE ) },
433 { LAYER_PCB_BACKGROUND, COLOR4D( BLACK ) },
434 { LAYER_CURSOR, COLOR4D( WHITE ) },
435 { LAYER_DRC_ERROR, COLOR4D( PURERED ).WithAlpha( 0.8 ) },
436 { LAYER_DRC_WARNING, COLOR4D( PUREGREEN ).WithAlpha( 0.8 ) },
437 { LAYER_DRC_EXCLUSION, COLOR4D( WHITE ) },
438 { LAYER_GRID, COLOR4D( DARKGRAY ) },
439 { LAYER_GRID_AXES, COLOR4D( BLUE ) },
440 { LAYER_PAD_PLATEDHOLES, COLOR4D( YELLOW ) },
441 { LAYER_NON_PLATEDHOLES, COLOR4D( YELLOW ) },
442 { LAYER_RATSNEST, COLOR4D( WHITE ) },
443 { LAYER_SELECT_OVERLAY, COLOR4D( PUREGREEN ) },
444 { LAYER_VIA_HOLES, COLOR4D( 0.5, 0.4, 0, 0.8 ) },
445 { LAYER_VIA_HOLEWALLS, COLOR4D( WHITE ) },
446 { LAYER_DRAWINGSHEET, COLOR4D( DARKRED ) },
447 { LAYER_PAGE_LIMITS, COLOR4D( DARKGRAY) },
448 { NETNAMES_LAYER_ID_START, CSS_COLOR( 255, 255, 255, 0.7 ) },
449 { LAYER_PAD_NETNAMES, CSS_COLOR( 255, 255, 255, 0.9 ) },
450 { LAYER_VIA_NETNAMES, CSS_COLOR( 50, 50, 50, 0.9 ) },
451
452 { F_Cu, COLOR4D( RED ) },
453 { In1_Cu, COLOR4D( YELLOW ) },
454 { In2_Cu, COLOR4D( LIGHTMAGENTA ) },
455 { In3_Cu, COLOR4D( LIGHTRED ) },
456 { In4_Cu, COLOR4D( CYAN ) },
457 { In5_Cu, COLOR4D( GREEN ) },
458 { In6_Cu, COLOR4D( BLUE ) },
459 { In7_Cu, COLOR4D( DARKGRAY ) },
460 { In8_Cu, COLOR4D( MAGENTA ) },
461 { In9_Cu, COLOR4D( LIGHTGRAY ) },
462 { In10_Cu, COLOR4D( MAGENTA ) },
463 { In11_Cu, COLOR4D( RED ) },
464 { In12_Cu, COLOR4D( BROWN ) },
465 { In13_Cu, COLOR4D( LIGHTGRAY ) },
466 { In14_Cu, COLOR4D( BLUE ) },
467 { In15_Cu, COLOR4D( GREEN ) },
468 { In16_Cu, COLOR4D( RED ) },
469 { In17_Cu, COLOR4D( YELLOW ) },
470 { In18_Cu, COLOR4D( LIGHTMAGENTA ) },
471 { In19_Cu, COLOR4D( LIGHTRED ) },
472 { In20_Cu, COLOR4D( CYAN ) },
473 { In21_Cu, COLOR4D( GREEN ) },
474 { In22_Cu, COLOR4D( BLUE ) },
475 { In23_Cu, COLOR4D( DARKGRAY ) },
476 { In24_Cu, COLOR4D( MAGENTA ) },
477 { In25_Cu, COLOR4D( LIGHTGRAY ) },
478 { In26_Cu, COLOR4D( MAGENTA ) },
479 { In27_Cu, COLOR4D( RED ) },
480 { In28_Cu, COLOR4D( BROWN ) },
481 { In29_Cu, COLOR4D( LIGHTGRAY ) },
482 { In30_Cu, COLOR4D( BLUE ) },
483 { B_Cu, COLOR4D( GREEN ) },
484
485 { B_Adhes, COLOR4D( BLUE ) },
486 { F_Adhes, COLOR4D( MAGENTA ) },
487 { B_Paste, COLOR4D( LIGHTCYAN ) },
488 { F_Paste, COLOR4D( RED ) },
489 { B_SilkS, COLOR4D( MAGENTA ) },
490 { F_SilkS, COLOR4D( CYAN ) },
491 { B_Mask, COLOR4D( BROWN ) },
492 { F_Mask, COLOR4D( MAGENTA ) },
493 { Dwgs_User, COLOR4D( LIGHTGRAY ) },
494 { Cmts_User, COLOR4D( BLUE ) },
495 { Eco1_User, COLOR4D( GREEN ) },
496 { Eco2_User, COLOR4D( YELLOW ) },
497 { Edge_Cuts, COLOR4D( YELLOW ) },
498 { Margin, COLOR4D( LIGHTMAGENTA ) },
499 { B_CrtYd, COLOR4D( DARKGRAY ) },
500 { F_CrtYd, COLOR4D( LIGHTGRAY ) },
501 { B_Fab, COLOR4D( BLUE ) },
502 { F_Fab, COLOR4D( DARKGRAY ) },
503 { User_1, COLOR4D( BLUE ) },
504 { User_2, COLOR4D( BLUE ) },
505 { User_3, COLOR4D( BLUE ) },
506 { User_4, COLOR4D( BLUE ) },
507 { User_5, COLOR4D( BLUE ) },
508 { User_6, COLOR4D( BLUE ) },
509 { User_7, COLOR4D( BLUE ) },
510 { User_8, COLOR4D( BLUE ) },
511 { User_9, COLOR4D( BLUE ) },
512 { User_10, COLOR4D( BLUE ) },
513 { User_11, COLOR4D( BLUE ) },
514 { User_12, COLOR4D( BLUE ) },
515 { User_13, COLOR4D( BLUE ) },
516 { User_14, COLOR4D( BLUE ) },
517 { User_15, COLOR4D( BLUE ) },
518 { User_16, COLOR4D( BLUE ) },
519 { User_17, COLOR4D( BLUE ) },
520 { User_18, COLOR4D( BLUE ) },
521 { User_19, COLOR4D( BLUE ) },
522 { User_20, COLOR4D( BLUE ) },
523 { User_21, COLOR4D( BLUE ) },
524 { User_22, COLOR4D( BLUE ) },
525 { User_23, COLOR4D( BLUE ) },
526 { User_24, COLOR4D( BLUE ) },
527 { User_25, COLOR4D( BLUE ) },
528 { User_26, COLOR4D( BLUE ) },
529 { User_27, COLOR4D( BLUE ) },
530 { User_28, COLOR4D( BLUE ) },
531 { User_29, COLOR4D( BLUE ) },
532 { User_30, COLOR4D( BLUE ) },
533 { User_31, COLOR4D( BLUE ) },
534 { User_32, COLOR4D( BLUE ) },
535 { User_33, COLOR4D( BLUE ) },
536 { User_34, COLOR4D( BLUE ) },
537 { User_35, COLOR4D( BLUE ) },
538 { User_36, COLOR4D( BLUE ) },
539 { User_37, COLOR4D( BLUE ) },
540 { User_38, COLOR4D( BLUE ) },
541 { User_39, COLOR4D( BLUE ) },
542 { User_40, COLOR4D( BLUE ) },
543 { User_41, COLOR4D( BLUE ) },
544 { User_42, COLOR4D( BLUE ) },
545 { User_43, COLOR4D( BLUE ) },
546 { User_44, COLOR4D( BLUE ) },
547 { User_45, COLOR4D( BLUE ) },
548
549 { LAYER_3D_BACKGROUND_BOTTOM, COLOR4D( 0.4, 0.4, 0.5, 1.0 ) },
550 { LAYER_3D_BACKGROUND_TOP, COLOR4D( 0.8, 0.8, 0.9, 1.0 ) },
551 { LAYER_3D_BOARD, COLOR4D( 0.2, 0.17, 0.09, 0.9 ) },
552 { LAYER_3D_COPPER_TOP, COLOR4D( 0.7, 0.61, 0.0, 1.0 ) },
553 { LAYER_3D_SILKSCREEN_BOTTOM, COLOR4D( 0.9, 0.9, 0.9, 1.0 ) },
554 { LAYER_3D_SILKSCREEN_TOP, COLOR4D( 0.9, 0.9, 0.9, 1.0 ) },
555 { LAYER_3D_SOLDERMASK_BOTTOM, COLOR4D( 0.08, 0.2, 0.14, 0.83 ) },
556 { LAYER_3D_SOLDERMASK_TOP, COLOR4D( 0.08, 0.2, 0.14, 0.83 ) },
557 { LAYER_3D_SOLDERPASTE, COLOR4D( 0.5, 0.5, 0.5, 1.0 ) }
558 };
559
560#endif
static const std::vector< COLOR4D > s_userColors
#define CSS_COLOR(r, g, b, a)
static const std::map< int, COLOR4D > s_defaultTheme
static const std::vector< COLOR4D > s_copperColors
static const std::map< int, COLOR4D > s_classicTheme
@ BROWN
Definition: color4d.h:61
@ LIGHTBLUE
Definition: color4d.h:62
@ WHITE
Definition: color4d.h:48
@ BLUE
Definition: color4d.h:56
@ LIGHTGRAY
Definition: color4d.h:47
@ DARKGRAY
Definition: color4d.h:46
@ MAGENTA
Definition: color4d.h:60
@ DARKMAGENTA
Definition: color4d.h:54
@ LIGHTYELLOW
Definition: color4d.h:49
@ PURERED
Definition: color4d.h:71
@ UNSPECIFIED_COLOR
Definition: color4d.h:43
@ GREEN
Definition: color4d.h:57
@ CYAN
Definition: color4d.h:58
@ DARKRED
Definition: color4d.h:53
@ LIGHTCYAN
Definition: color4d.h:64
@ PUREGREEN
Definition: color4d.h:69
@ LIGHTMAGENTA
Definition: color4d.h:66
@ YELLOW
Definition: color4d.h:67
@ LIGHTRED
Definition: color4d.h:65
@ BLACK
Definition: color4d.h:44
@ PUREMAGENTA
Definition: color4d.h:72
@ RED
Definition: color4d.h:59
@ LAYER_PAD_NETNAMES
Definition: layer_ids.h:201
@ NETNAMES_LAYER_ID_START
Definition: layer_ids.h:193
@ LAYER_VIA_NETNAMES
Definition: layer_ids.h:202
@ LAYER_GERBVIEW_DRAWINGSHEET
Definition: layer_ids.h:520
@ GERBVIEW_LAYER_ID_START
Definition: layer_ids.h:510
@ LAYER_GERBVIEW_BACKGROUND
Definition: layer_ids.h:519
@ LAYER_DCODES
Definition: layer_ids.h:515
@ LAYER_NEGATIVE_OBJECTS
Definition: layer_ids.h:516
@ LAYER_GERBVIEW_PAGE_LIMITS
Definition: layer_ids.h:521
@ LAYER_GERBVIEW_AXES
Definition: layer_ids.h:518
@ LAYER_GERBVIEW_GRID
Definition: layer_ids.h:517
@ LAYER_3D_SOLDERMASK_TOP
Definition: layer_ids.h:546
@ LAYER_3D_BACKGROUND_TOP
Definition: layer_ids.h:539
@ LAYER_3D_SOLDERMASK_BOTTOM
Definition: layer_ids.h:545
@ LAYER_3D_BOARD
Definition: layer_ids.h:540
@ LAYER_3D_SILKSCREEN_TOP
Definition: layer_ids.h:544
@ LAYER_3D_COPPER_TOP
Definition: layer_ids.h:541
@ LAYER_3D_SOLDERPASTE
Definition: layer_ids.h:547
@ LAYER_3D_BACKGROUND_BOTTOM
Definition: layer_ids.h:538
@ LAYER_3D_SILKSCREEN_BOTTOM
Definition: layer_ids.h:543
@ LAYER_GRID
Definition: layer_ids.h:252
@ LAYER_PAGE_LIMITS
Color for drawing the page extents (visibility stored in PCBNEW_SETTINGS::m_ShowPageLimits)
Definition: layer_ids.h:322
@ LAYER_LOCKED_ITEM_SHADOW
Shadow layer for locked items.
Definition: layer_ids.h:305
@ LAYER_VIA_HOLEWALLS
Definition: layer_ids.h:296
@ LAYER_GRID_AXES
Definition: layer_ids.h:253
@ LAYER_CONFLICTS_SHADOW
Shadow layer for items flagged conflicting.
Definition: layer_ids.h:308
@ LAYER_NON_PLATEDHOLES
Draw usual through hole vias.
Definition: layer_ids.h:237
@ LAYER_DRAWINGSHEET
Sheet frame and title block.
Definition: layer_ids.h:276
@ LAYER_DRC_EXCLUSION
Layer for DRC markers which have been individually excluded.
Definition: layer_ids.h:302
@ LAYER_PCB_BACKGROUND
PCB background color.
Definition: layer_ids.h:279
@ LAYER_DRC_WARNING
Layer for DRC markers with #SEVERITY_WARNING.
Definition: layer_ids.h:299
@ LAYER_PAD_PLATEDHOLES
to draw pad holes (plated)
Definition: layer_ids.h:269
@ LAYER_CURSOR
PCB cursor.
Definition: layer_ids.h:280
@ LAYER_AUX_ITEMS
Auxiliary items (guides, rule, etc).
Definition: layer_ids.h:281
@ LAYER_RATSNEST
Definition: layer_ids.h:251
@ LAYER_ANCHOR
Anchor of items having an anchor point (texts, footprints).
Definition: layer_ids.h:246
@ LAYER_VIA_HOLES
Draw via holes (pad holes do not use this layer).
Definition: layer_ids.h:272
@ LAYER_SELECT_OVERLAY
Selected items overlay.
Definition: layer_ids.h:278
@ LAYER_DRC_ERROR
Layer for DRC markers with #SEVERITY_ERROR.
Definition: layer_ids.h:275
@ LAYER_SHEETNAME
Definition: layer_ids.h:460
@ LAYER_ERC_WARN
Definition: layer_ids.h:467
@ LAYER_SCHEMATIC_ANCHOR
Definition: layer_ids.h:487
@ LAYER_SHEETLABEL
Definition: layer_ids.h:463
@ LAYER_PINNUM
Definition: layer_ids.h:446
@ LAYER_RULE_AREAS
Definition: layer_ids.h:453
@ LAYER_DEVICE
Definition: layer_ids.h:454
@ LAYER_SHEET_BACKGROUND
Definition: layer_ids.h:473
@ LAYER_EXCLUDED_FROM_SIM
Definition: layer_ids.h:470
@ LAYER_BRIGHTENED
Definition: layer_ids.h:479
@ LAYER_ERC_EXCLUSION
Definition: layer_ids.h:469
@ LAYER_HIDDEN
Definition: layer_ids.h:480
@ LAYER_HIERLABEL
Definition: layer_ids.h:445
@ LAYER_PINNAM
Definition: layer_ids.h:447
@ LAYER_PRIVATE_NOTES
Definition: layer_ids.h:456
@ LAYER_HOVERED
Definition: layer_ids.h:478
@ LAYER_GLOBLABEL
Definition: layer_ids.h:444
@ LAYER_WIRE
Definition: layer_ids.h:440
@ LAYER_NOTES
Definition: layer_ids.h:455
@ LAYER_ERC_ERR
Definition: layer_ids.h:468
@ LAYER_PIN
Definition: layer_ids.h:458
@ LAYER_VALUEPART
Definition: layer_ids.h:449
@ LAYER_BUS
Definition: layer_ids.h:441
@ LAYER_SCHEMATIC_CURSOR
Definition: layer_ids.h:477
@ LAYER_FIELDS
Definition: layer_ids.h:450
@ LAYER_DEVICE_BACKGROUND
Definition: layer_ids.h:472
@ LAYER_SCHEMATIC_DRAWINGSHEET
Definition: layer_ids.h:483
@ LAYER_LOCLABEL
Definition: layer_ids.h:443
@ LAYER_JUNCTION
Definition: layer_ids.h:442
@ LAYER_SHEETFIELDS
Definition: layer_ids.h:462
@ LAYER_SCHEMATIC_GRID_AXES
Definition: layer_ids.h:475
@ LAYER_REFERENCEPART
Definition: layer_ids.h:448
@ LAYER_NETCLASS_REFS
Definition: layer_ids.h:452
@ LAYER_NOTES_BACKGROUND
Definition: layer_ids.h:457
@ LAYER_OP_CURRENTS
Definition: layer_ids.h:489
@ LAYER_SCHEMATIC_PAGE_LIMITS
Definition: layer_ids.h:484
@ LAYER_SHEET
Definition: layer_ids.h:459
@ LAYER_SELECTION_SHADOWS
Definition: layer_ids.h:482
@ LAYER_SCHEMATIC_BACKGROUND
Definition: layer_ids.h:476
@ LAYER_SCHEMATIC_AUX_ITEMS
Definition: layer_ids.h:486
@ LAYER_OP_VOLTAGES
Definition: layer_ids.h:488
@ LAYER_SHEETFILENAME
Definition: layer_ids.h:461
@ LAYER_BUS_JUNCTION
Definition: layer_ids.h:485
@ LAYER_DNP_MARKER
Definition: layer_ids.h:466
@ LAYER_NOCONNECT
Definition: layer_ids.h:464
@ LAYER_SCHEMATIC_GRID
Definition: layer_ids.h:474
@ User_16
Definition: layer_ids.h:139
@ In22_Cu
Definition: layer_ids.h:87
@ In11_Cu
Definition: layer_ids.h:76
@ User_29
Definition: layer_ids.h:152
@ In29_Cu
Definition: layer_ids.h:94
@ In30_Cu
Definition: layer_ids.h:95
@ User_40
Definition: layer_ids.h:163
@ User_15
Definition: layer_ids.h:138
@ User_8
Definition: layer_ids.h:131
@ F_CrtYd
Definition: layer_ids.h:116
@ User_11
Definition: layer_ids.h:134
@ User_25
Definition: layer_ids.h:148
@ In17_Cu
Definition: layer_ids.h:82
@ User_34
Definition: layer_ids.h:157
@ User_45
Definition: layer_ids.h:168
@ B_Adhes
Definition: layer_ids.h:103
@ User_36
Definition: layer_ids.h:159
@ Edge_Cuts
Definition: layer_ids.h:112
@ Dwgs_User
Definition: layer_ids.h:107
@ F_Paste
Definition: layer_ids.h:104
@ In9_Cu
Definition: layer_ids.h:74
@ Cmts_User
Definition: layer_ids.h:108
@ User_6
Definition: layer_ids.h:129
@ User_7
Definition: layer_ids.h:130
@ In19_Cu
Definition: layer_ids.h:84
@ User_19
Definition: layer_ids.h:142
@ User_23
Definition: layer_ids.h:146
@ In7_Cu
Definition: layer_ids.h:72
@ In28_Cu
Definition: layer_ids.h:93
@ In26_Cu
Definition: layer_ids.h:91
@ F_Adhes
Definition: layer_ids.h:102
@ User_41
Definition: layer_ids.h:164
@ B_Mask
Definition: layer_ids.h:98
@ B_Cu
Definition: layer_ids.h:65
@ User_14
Definition: layer_ids.h:137
@ User_39
Definition: layer_ids.h:162
@ User_5
Definition: layer_ids.h:128
@ User_20
Definition: layer_ids.h:143
@ Eco1_User
Definition: layer_ids.h:109
@ F_Mask
Definition: layer_ids.h:97
@ In21_Cu
Definition: layer_ids.h:86
@ User_42
Definition: layer_ids.h:165
@ User_43
Definition: layer_ids.h:166
@ In23_Cu
Definition: layer_ids.h:88
@ B_Paste
Definition: layer_ids.h:105
@ In15_Cu
Definition: layer_ids.h:80
@ In2_Cu
Definition: layer_ids.h:67
@ User_10
Definition: layer_ids.h:133
@ User_9
Definition: layer_ids.h:132
@ User_27
Definition: layer_ids.h:150
@ User_28
Definition: layer_ids.h:151
@ F_Fab
Definition: layer_ids.h:119
@ In10_Cu
Definition: layer_ids.h:75
@ Margin
Definition: layer_ids.h:113
@ F_SilkS
Definition: layer_ids.h:100
@ In4_Cu
Definition: layer_ids.h:69
@ B_CrtYd
Definition: layer_ids.h:115
@ Eco2_User
Definition: layer_ids.h:110
@ In16_Cu
Definition: layer_ids.h:81
@ In24_Cu
Definition: layer_ids.h:89
@ In1_Cu
Definition: layer_ids.h:66
@ User_35
Definition: layer_ids.h:158
@ User_31
Definition: layer_ids.h:154
@ User_3
Definition: layer_ids.h:126
@ User_1
Definition: layer_ids.h:124
@ User_12
Definition: layer_ids.h:135
@ B_SilkS
Definition: layer_ids.h:101
@ User_30
Definition: layer_ids.h:153
@ User_37
Definition: layer_ids.h:160
@ User_22
Definition: layer_ids.h:145
@ User_38
Definition: layer_ids.h:161
@ In13_Cu
Definition: layer_ids.h:78
@ User_4
Definition: layer_ids.h:127
@ In8_Cu
Definition: layer_ids.h:73
@ User_21
Definition: layer_ids.h:144
@ In14_Cu
Definition: layer_ids.h:79
@ User_24
Definition: layer_ids.h:147
@ User_13
Definition: layer_ids.h:136
@ User_2
Definition: layer_ids.h:125
@ In12_Cu
Definition: layer_ids.h:77
@ User_17
Definition: layer_ids.h:140
@ In27_Cu
Definition: layer_ids.h:92
@ In6_Cu
Definition: layer_ids.h:71
@ In5_Cu
Definition: layer_ids.h:70
@ User_33
Definition: layer_ids.h:156
@ User_26
Definition: layer_ids.h:149
@ In3_Cu
Definition: layer_ids.h:68
@ User_32
Definition: layer_ids.h:155
@ In20_Cu
Definition: layer_ids.h:85
@ User_18
Definition: layer_ids.h:141
@ User_44
Definition: layer_ids.h:167
@ F_Cu
Definition: layer_ids.h:64
@ In18_Cu
Definition: layer_ids.h:83
@ In25_Cu
Definition: layer_ids.h:90
@ B_Fab
Definition: layer_ids.h:118