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