KiCad PCB EDA Suite
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 <jon@craftyjon.com>
5  * Copyright (C) 2020 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 
28 static 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_BRIGHTENED, CSS_COLOR( 255, 0, 255, 1 ) },
34  { LAYER_BUS, CSS_COLOR( 0, 0, 132, 1 ) },
35  { LAYER_BUS_JUNCTION, CSS_COLOR( 0, 0, 132, 1 ) },
36  { LAYER_DEVICE_BACKGROUND, CSS_COLOR( 255, 255, 194, 1 ) },
37  { LAYER_DEVICE, CSS_COLOR( 132, 0, 0, 1 ) },
38  { LAYER_SCHEMATIC_CURSOR, CSS_COLOR( 15, 15, 15, 1 ) },
39  { LAYER_ERC_ERR, CSS_COLOR( 230, 9, 13, 0.8 ) },
40  { LAYER_ERC_WARN, CSS_COLOR( 209, 146, 0, 0.8 ) },
41  { LAYER_FIELDS, CSS_COLOR( 132, 0, 132, 1 ) },
42  { LAYER_SCHEMATIC_GRID, CSS_COLOR( 181, 181, 181, 1 ) },
43  { LAYER_SCHEMATIC_GRID_AXES, CSS_COLOR( 0, 0, 132, 1 ) },
44  { LAYER_HIDDEN, CSS_COLOR( 94, 194, 194, 1 ) },
45  { LAYER_JUNCTION, CSS_COLOR( 0, 150, 0, 1 ) },
46  { LAYER_GLOBLABEL, CSS_COLOR( 132, 0, 0, 1 ) },
47  { LAYER_HIERLABEL, CSS_COLOR( 114, 86, 0, 1 ) },
48  { LAYER_LOCLABEL, CSS_COLOR( 15, 15, 15, 1 ) },
49  { LAYER_NOCONNECT, CSS_COLOR( 0, 0, 132, 1 ) },
50  { LAYER_NOTES, CSS_COLOR( 0, 0, 194, 1 ) },
51  { LAYER_PIN, CSS_COLOR( 132, 0, 0, 1 ) },
52  { LAYER_PINNAM, CSS_COLOR( 0, 100, 100, 1 ) },
53  { LAYER_PINNUM, CSS_COLOR( 169, 0, 0, 1 ) },
54  { LAYER_REFERENCEPART, CSS_COLOR( 0, 100, 100, 1 ) },
55 #ifdef __WXMAC__
56  // Macs look better with a lighter shadow
57  { LAYER_SELECTION_SHADOWS, COLOR4D( .78, .92, 1.0, 0.8 ) },
58 #else
59  { LAYER_SELECTION_SHADOWS, COLOR4D( .4, .7, 1.0, 0.8 ) },
60 #endif
61  { LAYER_SHEET, CSS_COLOR( 132, 0, 0, 1 ) },
62  { LAYER_SHEET_BACKGROUND, CSS_COLOR( 255, 255, 255, 0 ) },
63  { LAYER_SHEETFILENAME, CSS_COLOR( 114, 86, 0, 1 ) },
64  { LAYER_SHEETFIELDS, CSS_COLOR( 132, 0, 132, 1 ) },
65  { LAYER_SHEETLABEL, CSS_COLOR( 0, 100, 100, 1 ) },
66  { LAYER_SHEETNAME, CSS_COLOR( 0, 100, 100, 1 ) },
67  { LAYER_VALUEPART, CSS_COLOR( 0, 100, 100, 1 ) },
68  { LAYER_WIRE, CSS_COLOR( 0, 150, 0, 1 ) },
69  { LAYER_SCHEMATIC_DRAWINGSHEET, CSS_COLOR( 132, 0, 0, 1 ) },
70 
71  { LAYER_GERBVIEW_AXES, CSS_COLOR( 0, 0, 132, 1 ) },
72  { LAYER_GERBVIEW_BACKGROUND, CSS_COLOR( 0, 0, 0, 1 ) },
73  { LAYER_DCODES, CSS_COLOR( 255, 255, 255, 1 ) },
74  { LAYER_GERBVIEW_GRID, CSS_COLOR( 132, 132, 132, 1 ) },
75  { LAYER_NEGATIVE_OBJECTS, CSS_COLOR( 132, 132, 132, 1 ) },
76  { LAYER_GERBVIEW_DRAWINGSHEET, CSS_COLOR( 0, 0, 132, 1 ) },
77 
78  { LAYER_ANCHOR, CSS_COLOR( 255, 38, 226, 1 ) },
79  { LAYER_AUX_ITEMS, CSS_COLOR( 255, 255, 255, 1 ) },
80  { LAYER_PCB_BACKGROUND, CSS_COLOR( 0, 16, 35, 1 ) },
81  { LAYER_CURSOR, CSS_COLOR( 255, 255, 255, 1 ) },
82  { LAYER_DRC_ERROR, CSS_COLOR( 215, 91, 107, 0.8 ) },
83  { LAYER_DRC_WARNING, CSS_COLOR( 255, 208, 66, 0.8 ) },
84  { LAYER_DRC_EXCLUSION, CSS_COLOR( 255, 255, 255, 0.8 ) },
85  { LAYER_MOD_TEXT_INVISIBLE, CSS_COLOR( 132, 132, 132, 1 ) },
86  { LAYER_GRID, CSS_COLOR( 132, 132, 132, 1 ) },
87  { LAYER_GRID_AXES, CSS_COLOR( 194, 194, 194, 1 ) },
88  { LAYER_NO_CONNECTS, CSS_COLOR( 0, 0, 132, 1 ) },
89  { LAYER_PAD_PLATEDHOLES, CSS_COLOR( 194, 194, 0, 1 ) },
90  { LAYER_PADS_TH, CSS_COLOR( 227, 183, 46, 1 ) },
91  { LAYER_NON_PLATEDHOLES, CSS_COLOR( 26, 196, 210, 1 ) },
92  { LAYER_RATSNEST, CSS_COLOR( 245, 255, 213, 0.702 ) },
93  { LAYER_SELECT_OVERLAY, CSS_COLOR( 4, 255, 67, 1 ) },
94  { LAYER_VIA_THROUGH, CSS_COLOR( 236, 236, 236, 1 ) },
95  { LAYER_VIA_BBLIND, CSS_COLOR( 187, 151, 38, 1 ) },
96  { LAYER_VIA_HOLES, CSS_COLOR( 227, 183, 46, 1 ) },
97  { LAYER_VIA_MICROVIA, CSS_COLOR( 0, 132, 132, 1 ) },
98  { LAYER_DRAWINGSHEET, CSS_COLOR( 200, 114, 171, 1 ) },
99 
100  { F_Cu, CSS_COLOR( 200, 52, 52, 1 ) },
101  { In1_Cu, CSS_COLOR( 127, 200, 127, 1 ) },
102  { In2_Cu, CSS_COLOR( 206, 125, 44, 1 ) },
103  { In3_Cu, CSS_COLOR( 79, 203, 203, 1 ) },
104  { In4_Cu, CSS_COLOR( 219, 98, 139, 1 ) },
105  { In5_Cu, CSS_COLOR( 167, 165, 198, 1 ) },
106  { In6_Cu, CSS_COLOR( 40, 204, 217, 1 ) },
107  { In7_Cu, CSS_COLOR( 232, 178, 167, 1 ) },
108  { In8_Cu, CSS_COLOR( 242, 237, 161, 1 ) },
109  { In9_Cu, CSS_COLOR( 141, 203, 129, 1 ) },
110  { In10_Cu, CSS_COLOR( 237, 124, 51, 1 ) },
111  { In11_Cu, CSS_COLOR( 91, 195, 235, 1 ) },
112  { In12_Cu, CSS_COLOR( 247, 111, 142, 1 ) },
113  { In13_Cu, CSS_COLOR( 167, 165, 198, 1 ) },
114  { In14_Cu, CSS_COLOR( 40, 204, 217, 1 ) },
115  { In15_Cu, CSS_COLOR( 232, 178, 167, 1 ) },
116  { In16_Cu, CSS_COLOR( 242, 237, 161, 1 ) },
117  { In17_Cu, CSS_COLOR( 237, 124, 51, 1 ) },
118  { In18_Cu, CSS_COLOR( 91, 195, 235, 1 ) },
119  { In19_Cu, CSS_COLOR( 247, 111, 142, 1 ) },
120  { In20_Cu, CSS_COLOR( 167, 165, 198, 1 ) },
121  { In21_Cu, CSS_COLOR( 40, 204, 217, 1 ) },
122  { In22_Cu, CSS_COLOR( 232, 178, 167, 1 ) },
123  { In23_Cu, CSS_COLOR( 242, 237, 161, 1 ) },
124  { In24_Cu, CSS_COLOR( 237, 124, 51, 1 ) },
125  { In25_Cu, CSS_COLOR( 91, 195, 235, 1 ) },
126  { In26_Cu, CSS_COLOR( 247, 111, 142, 1 ) },
127  { In27_Cu, CSS_COLOR( 167, 165, 198, 1 ) },
128  { In28_Cu, CSS_COLOR( 40, 204, 217, 1 ) },
129  { In29_Cu, CSS_COLOR( 232, 178, 167, 1 ) },
130  { In30_Cu, CSS_COLOR( 242, 237, 161, 1 ) },
131  { B_Cu, CSS_COLOR( 77, 127, 196, 1 ) },
132 
133  { B_Adhes, CSS_COLOR( 0, 0, 132, 1 ) },
134  { F_Adhes, CSS_COLOR( 132, 0, 132, 1 ) },
135  { B_Paste, CSS_COLOR( 0, 194, 194, 0.9 ) },
136  { F_Paste, CSS_COLOR( 180, 160, 154, 0.9 ) },
137  { B_SilkS, CSS_COLOR( 232, 178, 167, 1 ) },
138  { F_SilkS, CSS_COLOR( 242, 237, 161, 1 ) },
139  { B_Mask, CSS_COLOR( 2, 255, 238, 0.4 ) },
140  { F_Mask, CSS_COLOR( 216, 100, 255, 0.4 ) },
141  { Dwgs_User, CSS_COLOR( 194, 194, 194, 1 ) },
142  { Cmts_User, CSS_COLOR( 89, 148, 220, 1 ) },
143  { Eco1_User, CSS_COLOR( 180, 219, 210, 1 ) },
144  { Eco2_User, CSS_COLOR( 216, 200, 82, 1 ) },
145  { Edge_Cuts, CSS_COLOR( 208, 210, 205, 1 ) },
146  { Margin, CSS_COLOR( 255, 38, 226, 1 ) },
147  { B_CrtYd, CSS_COLOR( 38, 233, 255, 1 ) },
148  { F_CrtYd, CSS_COLOR( 255, 38, 226, 1 ) },
149  { B_Fab, CSS_COLOR( 88, 93, 132, 1 ) },
150  { F_Fab, CSS_COLOR( 175, 175, 175, 1 ) },
151  { User_1, CSS_COLOR( 194, 194, 194, 1 ) },
152  { User_2, CSS_COLOR( 89, 148, 220, 1 ) },
153  { User_3, CSS_COLOR( 180, 219, 210, 1 ) },
154  { User_4, CSS_COLOR( 216, 200, 82, 1 ) },
155  { User_5, CSS_COLOR( 194, 194, 194, 1 ) },
156  { User_6, CSS_COLOR( 89, 148, 220, 1 ) },
157  { User_7, CSS_COLOR( 180, 219, 210, 1 ) },
158  { User_8, CSS_COLOR( 216, 200, 82, 1 ) },
159  { User_9, CSS_COLOR( 232, 178, 167, 1 ) },
160 
161  { LAYER_3D_BACKGROUND_BOTTOM, COLOR4D( 0.4, 0.4, 0.5, 1.0 ) },
162  { LAYER_3D_BACKGROUND_TOP, COLOR4D( 0.8, 0.8, 0.9, 1.0 ) },
163  { LAYER_3D_BOARD, COLOR4D( 0.2, 0.17, 0.09, 0.9 ) },
164  { LAYER_3D_COPPER, COLOR4D( 0.7, 0.61, 0.0, 1.0 ) },
165  { LAYER_3D_SILKSCREEN_BOTTOM, COLOR4D( 0.9, 0.9, 0.9, 1.0 ) },
166  { LAYER_3D_SILKSCREEN_TOP, COLOR4D( 0.9, 0.9, 0.9, 1.0 ) },
167  { LAYER_3D_SOLDERMASK_BOTTOM, COLOR4D( 0.08, 0.2, 0.14, 0.83 ) },
168  { LAYER_3D_SOLDERMASK_TOP, COLOR4D( 0.08, 0.2, 0.14, 0.83 ) },
169  { LAYER_3D_SOLDERPASTE, COLOR4D( 0.5, 0.5, 0.5, 1.0 ) }
170  };
171 
172 
173 static const std::map<int, COLOR4D> s_classicTheme =
174  {
175  { LAYER_SCHEMATIC_ANCHOR, CSS_COLOR( 0, 0, 255, 1 ) },
176  { LAYER_SCHEMATIC_AUX_ITEMS, COLOR4D( BLACK ) },
177  { LAYER_SCHEMATIC_BACKGROUND, COLOR4D( WHITE ) },
178  { LAYER_BRIGHTENED, COLOR4D( PUREMAGENTA ) },
179  { LAYER_BUS, COLOR4D( BLUE ) },
180  { LAYER_BUS_JUNCTION, COLOR4D( BLUE ) },
181  { LAYER_DEVICE_BACKGROUND, COLOR4D( LIGHTYELLOW ) },
182  { LAYER_DEVICE, COLOR4D( RED ) },
183  { LAYER_SCHEMATIC_CURSOR, COLOR4D( BLACK ) },
184  { LAYER_ERC_ERR, COLOR4D( PURERED ).WithAlpha( 0.8 ) },
185  { LAYER_ERC_WARN, COLOR4D( PUREGREEN ).WithAlpha( 0.8 ) },
186  { LAYER_FIELDS, COLOR4D( MAGENTA ) },
187  { LAYER_SCHEMATIC_GRID, COLOR4D( DARKGRAY ) },
188  { LAYER_SCHEMATIC_GRID_AXES, COLOR4D( BLUE ) },
189  { LAYER_HIDDEN, COLOR4D( LIGHTGRAY ) },
190  { LAYER_JUNCTION, COLOR4D( GREEN ) },
191  { LAYER_GLOBLABEL, COLOR4D( RED ) },
192  { LAYER_HIERLABEL, COLOR4D( BROWN ) },
193  { LAYER_LOCLABEL, COLOR4D( BLACK ) },
194  { LAYER_NOCONNECT, COLOR4D( BLUE ) },
195  { LAYER_NOTES, COLOR4D( LIGHTBLUE ) },
196  { LAYER_PIN, COLOR4D( RED ) },
197  { LAYER_PINNAM, COLOR4D( CYAN ) },
198  { LAYER_PINNUM, COLOR4D( RED ) },
199  { LAYER_REFERENCEPART, COLOR4D( CYAN ) },
200 #ifdef __WXMAC__
201  // Macs look better with a lighter shadow
202  { LAYER_SELECTION_SHADOWS, COLOR4D( .78, .92, 1.0, 0.8 ) },
203 #else
204  { LAYER_SELECTION_SHADOWS, COLOR4D( .4, .7, 1.0, 0.8 ) },
205 #endif
206  { LAYER_SHEET, COLOR4D( MAGENTA ) },
207  { LAYER_SHEET_BACKGROUND, COLOR4D( WHITE ).WithAlpha( 0.0 ) },
208  { LAYER_SHEETFILENAME, COLOR4D( BROWN ) },
209  { LAYER_SHEETFIELDS, COLOR4D( MAGENTA ) },
210  { LAYER_SHEETLABEL, COLOR4D( CYAN ) },
211  { LAYER_SHEETNAME, COLOR4D( CYAN ) },
212  { LAYER_VALUEPART, COLOR4D( CYAN ) },
213  { LAYER_WIRE, COLOR4D( GREEN ) },
214  { LAYER_SCHEMATIC_DRAWINGSHEET, COLOR4D( RED ) },
215 
216  { LAYER_GERBVIEW_AXES, COLOR4D( BLUE ) },
217  { LAYER_GERBVIEW_BACKGROUND, COLOR4D( BLACK ) },
218  { LAYER_DCODES, COLOR4D( WHITE ) },
219  { LAYER_GERBVIEW_GRID, COLOR4D( MAGENTA ) },
220  { LAYER_NEGATIVE_OBJECTS, COLOR4D( DARKGRAY ) },
221  { LAYER_GERBVIEW_DRAWINGSHEET, COLOR4D( RED ) },
222 
223  { LAYER_ANCHOR, COLOR4D( BLUE ) },
224  { LAYER_AUX_ITEMS, COLOR4D( WHITE ) },
225  { LAYER_PCB_BACKGROUND, COLOR4D( BLACK ) },
226  { LAYER_CURSOR, COLOR4D( WHITE ) },
227  { LAYER_DRC_ERROR, COLOR4D( PURERED ).WithAlpha( 0.8 ) },
228  { LAYER_DRC_WARNING, COLOR4D( PUREGREEN ).WithAlpha( 0.8 ) },
229  { LAYER_DRC_EXCLUSION, COLOR4D( WHITE ) },
230  { LAYER_MOD_TEXT_INVISIBLE, COLOR4D( LIGHTGRAY ) },
231  { LAYER_GRID, COLOR4D( DARKGRAY ) },
232  { LAYER_GRID_AXES, COLOR4D( BLUE ) },
233  { LAYER_NO_CONNECTS, COLOR4D( BLUE ) },
234  { LAYER_PAD_PLATEDHOLES, COLOR4D( YELLOW ) },
235  { LAYER_PADS_TH, COLOR4D( YELLOW ) },
236  { LAYER_NON_PLATEDHOLES, COLOR4D( YELLOW ) },
237  { LAYER_RATSNEST, COLOR4D( WHITE ) },
238  { LAYER_SELECT_OVERLAY, COLOR4D( PUREGREEN ) },
239  { LAYER_VIA_THROUGH, COLOR4D( LIGHTGRAY ) },
240  { LAYER_VIA_BBLIND, COLOR4D( BROWN ) },
241  { LAYER_VIA_HOLES, COLOR4D( 0.5, 0.4, 0, 0.8 ) },
242  { LAYER_VIA_MICROVIA, COLOR4D( CYAN ) },
243  { LAYER_DRAWINGSHEET, COLOR4D( DARKRED ) },
244 
245  { F_Cu, COLOR4D( RED ) },
246  { In1_Cu, COLOR4D( YELLOW ) },
247  { In2_Cu, COLOR4D( LIGHTMAGENTA ) },
248  { In3_Cu, COLOR4D( LIGHTRED ) },
249  { In4_Cu, COLOR4D( CYAN ) },
250  { In5_Cu, COLOR4D( GREEN ) },
251  { In6_Cu, COLOR4D( BLUE ) },
252  { In7_Cu, COLOR4D( DARKGRAY ) },
253  { In8_Cu, COLOR4D( MAGENTA ) },
254  { In9_Cu, COLOR4D( LIGHTGRAY ) },
255  { In10_Cu, COLOR4D( MAGENTA ) },
256  { In11_Cu, COLOR4D( RED ) },
257  { In12_Cu, COLOR4D( BROWN ) },
258  { In13_Cu, COLOR4D( LIGHTGRAY ) },
259  { In14_Cu, COLOR4D( BLUE ) },
260  { In15_Cu, COLOR4D( GREEN ) },
261  { In16_Cu, COLOR4D( RED ) },
262  { In17_Cu, COLOR4D( YELLOW ) },
263  { In18_Cu, COLOR4D( LIGHTMAGENTA ) },
264  { In19_Cu, COLOR4D( LIGHTRED ) },
265  { In20_Cu, COLOR4D( CYAN ) },
266  { In21_Cu, COLOR4D( GREEN ) },
267  { In22_Cu, COLOR4D( BLUE ) },
268  { In23_Cu, COLOR4D( DARKGRAY ) },
269  { In24_Cu, COLOR4D( MAGENTA ) },
270  { In25_Cu, COLOR4D( LIGHTGRAY ) },
271  { In26_Cu, COLOR4D( MAGENTA ) },
272  { In27_Cu, COLOR4D( RED ) },
273  { In28_Cu, COLOR4D( BROWN ) },
274  { In29_Cu, COLOR4D( LIGHTGRAY ) },
275  { In30_Cu, COLOR4D( BLUE ) },
276  { B_Cu, COLOR4D( GREEN ) },
277 
278  { B_Adhes, COLOR4D( BLUE ) },
279  { F_Adhes, COLOR4D( MAGENTA ) },
280  { B_Paste, COLOR4D( LIGHTCYAN ) },
281  { F_Paste, COLOR4D( RED ) },
282  { B_SilkS, COLOR4D( MAGENTA ) },
283  { F_SilkS, COLOR4D( CYAN ) },
284  { B_Mask, COLOR4D( BROWN ) },
285  { F_Mask, COLOR4D( MAGENTA ) },
286  { Dwgs_User, COLOR4D( LIGHTGRAY ) },
287  { Cmts_User, COLOR4D( BLUE ) },
288  { Eco1_User, COLOR4D( GREEN ) },
289  { Eco2_User, COLOR4D( YELLOW ) },
290  { Edge_Cuts, COLOR4D( YELLOW ) },
291  { Margin, COLOR4D( LIGHTMAGENTA ) },
292  { B_CrtYd, COLOR4D( DARKGRAY ) },
293  { F_CrtYd, COLOR4D( LIGHTGRAY ) },
294  { B_Fab, COLOR4D( BLUE ) },
295  { F_Fab, COLOR4D( DARKGRAY ) },
296  { User_1, COLOR4D( BLUE ) },
297  { User_2, COLOR4D( BLUE ) },
298  { User_3, COLOR4D( BLUE ) },
299  { User_4, COLOR4D( BLUE ) },
300  { User_5, COLOR4D( BLUE ) },
301  { User_6, COLOR4D( BLUE ) },
302  { User_7, COLOR4D( BLUE ) },
303  { User_8, COLOR4D( BLUE ) },
304  { User_9, COLOR4D( BLUE ) },
305 
306  { LAYER_3D_BACKGROUND_BOTTOM, COLOR4D( 0.4, 0.4, 0.5, 1.0 ) },
307  { LAYER_3D_BACKGROUND_TOP, COLOR4D( 0.8, 0.8, 0.9, 1.0 ) },
308  { LAYER_3D_BOARD, COLOR4D( 0.2, 0.17, 0.09, 0.9 ) },
309  { LAYER_3D_COPPER, COLOR4D( 0.7, 0.61, 0.0, 1.0 ) },
310  { LAYER_3D_SILKSCREEN_BOTTOM, COLOR4D( 0.9, 0.9, 0.9, 1.0 ) },
311  { LAYER_3D_SILKSCREEN_TOP, COLOR4D( 0.9, 0.9, 0.9, 1.0 ) },
312  { LAYER_3D_SOLDERMASK_BOTTOM, COLOR4D( 0.08, 0.2, 0.14, 0.83 ) },
313  { LAYER_3D_SOLDERMASK_TOP, COLOR4D( 0.08, 0.2, 0.14, 0.83 ) },
314  { LAYER_3D_SOLDERPASTE, COLOR4D( 0.5, 0.5, 0.5, 1.0 ) }
315  };
316 
317 #endif
currently selected items overlay
Definition: layer_ids.h:215
to draw micro vias
Definition: layer_ids.h:190
Auxiliary items (guides, rule, etc)
Definition: layer_ids.h:218
layer for drc markers with SEVERITY_ERROR
Definition: layer_ids.h:212
PCB cursor.
Definition: layer_ids.h:217
static const std::map< int, COLOR4D > s_defaultTheme
Definition: color4d.h:61
anchor of items having an anchor point (texts, footprints)
Definition: layer_ids.h:197
static const std::map< int, COLOR4D > s_classicTheme
Definition: color4d.h:44
to draw via holes (pad holes do not use this layer)
Definition: layer_ids.h:211
to draw usual through hole vias
Definition: layer_ids.h:192
Definition: color4d.h:67
handle color for not plated holes (holes, not pads)
Definition: layer_ids.h:193
#define CSS_COLOR(r, g, b, a)
Definition: color4d.h:57
text marked as invisible
Definition: layer_ids.h:196
Definition: color4d.h:58
drawingsheet frame and titleblock
Definition: layer_ids.h:213
Definition: color4d.h:59
show a marker on pads with no nets
Definition: layer_ids.h:203
Definition: color4d.h:48
Definition: color4d.h:56
multilayer pads, usually with holes
Definition: layer_ids.h:209
to draw blind/buried vias
Definition: layer_ids.h:191
layer for drc markers which have been individually excluded
Definition: layer_ids.h:232
Definition: layer_ids.h:71
layer for drc markers with SEVERITY_WARNING
Definition: layer_ids.h:231
PCB background color.
Definition: layer_ids.h:216
to draw pad holes (plated)
Definition: layer_ids.h:210