g4tools
5.4.0
g4tools
tools
colorfs
Go to the documentation of this file.
1
// Copyright (C) 2010, Guy Barrand. All rights reserved.
2
// See the file tools.license for terms.
3
4
#ifndef tools_colorfs
5
#define tools_colorfs
6
7
#include "
colors
"
8
#include "
colorf
"
9
10
namespace
tools
{
11
12
#define TOOLS_COLORFS_STAT(a__name) \
13
inline const colorf& colorf_##a__name() {return get_color_##a__name<colorf>();}
14
15
//NOTE : false in the upper so that mem balance is ok at exit.
16
17
//0-9
18
TOOLS_COLORFS_STAT
(aquamarine)
19
TOOLS_COLORFS_STAT
(mediumaquamarine)
20
TOOLS_COLORFS_STAT
(black)
21
TOOLS_COLORFS_STAT
(blue)
22
TOOLS_COLORFS_STAT
(cadetblue)
23
TOOLS_COLORFS_STAT
(cornflowerblue)
24
TOOLS_COLORFS_STAT
(darkslateblue)
25
TOOLS_COLORFS_STAT
(lightblue)
26
TOOLS_COLORFS_STAT
(lightsteelblue)
27
TOOLS_COLORFS_STAT
(mediumblue)
28
29
//10-19
30
TOOLS_COLORFS_STAT
(mediumslateblue)
31
TOOLS_COLORFS_STAT
(midnightblue)
32
TOOLS_COLORFS_STAT
(navyblue)
33
TOOLS_COLORFS_STAT
(navy)
34
TOOLS_COLORFS_STAT
(skyblue)
35
TOOLS_COLORFS_STAT
(slateblue)
36
TOOLS_COLORFS_STAT
(steelblue)
37
TOOLS_COLORFS_STAT
(coral)
38
TOOLS_COLORFS_STAT
(cyan)
39
TOOLS_COLORFS_STAT
(firebrick)
40
41
//20-29
42
TOOLS_COLORFS_STAT
(brown)
43
TOOLS_COLORFS_STAT
(gold)
44
TOOLS_COLORFS_STAT
(goldenrod)
45
TOOLS_COLORFS_STAT
(green)
46
TOOLS_COLORFS_STAT
(darkgreen)
47
TOOLS_COLORFS_STAT
(darkolivegreen)
48
TOOLS_COLORFS_STAT
(forestgreen)
49
TOOLS_COLORFS_STAT
(limegreen)
50
TOOLS_COLORFS_STAT
(mediumseagreen)
51
TOOLS_COLORFS_STAT
(mediumspringgreen)
52
53
//30-39
54
TOOLS_COLORFS_STAT
(palegreen)
55
TOOLS_COLORFS_STAT
(seagreen)
56
TOOLS_COLORFS_STAT
(springgreen)
57
TOOLS_COLORFS_STAT
(yellowgreen)
58
TOOLS_COLORFS_STAT
(darkslategrey)
59
TOOLS_COLORFS_STAT
(dimgrey)
60
TOOLS_COLORFS_STAT
(lightgrey)
61
TOOLS_COLORFS_STAT
(grey)
62
TOOLS_COLORFS_STAT
(khaki)
63
TOOLS_COLORFS_STAT
(magenta)
64
65
//40-49
66
TOOLS_COLORFS_STAT
(maroon)
67
TOOLS_COLORFS_STAT
(orange)
68
TOOLS_COLORFS_STAT
(orchid)
69
TOOLS_COLORFS_STAT
(darkorchid)
70
TOOLS_COLORFS_STAT
(mediumorchid)
71
TOOLS_COLORFS_STAT
(pink)
72
TOOLS_COLORFS_STAT
(plum)
73
TOOLS_COLORFS_STAT
(red)
74
TOOLS_COLORFS_STAT
(indianred)
75
TOOLS_COLORFS_STAT
(mediumvioletred)
76
77
//50-59
78
TOOLS_COLORFS_STAT
(orangered)
79
TOOLS_COLORFS_STAT
(violetred)
80
TOOLS_COLORFS_STAT
(salmon)
81
TOOLS_COLORFS_STAT
(sienna)
82
TOOLS_COLORFS_STAT
(tan)
83
TOOLS_COLORFS_STAT
(thistle)
84
TOOLS_COLORFS_STAT
(turquoise)
85
TOOLS_COLORFS_STAT
(darkturquoise)
86
TOOLS_COLORFS_STAT
(mediumturquoise)
87
TOOLS_COLORFS_STAT
(violet)
88
89
//60-64
90
TOOLS_COLORFS_STAT
(blueviolet)
91
TOOLS_COLORFS_STAT
(wheat)
92
TOOLS_COLORFS_STAT
(white)
93
TOOLS_COLORFS_STAT
(yellow)
94
TOOLS_COLORFS_STAT
(greenyellow)
95
96
TOOLS_COLORFS_STAT
(ROOT_Color8)
100
TOOLS_COLORFS_STAT
(ROOT_Color9)
101
TOOLS_COLORFS_STAT
(ROOT_grey12)
102
TOOLS_COLORFS_STAT
(ROOT_grey13)
103
TOOLS_COLORFS_STAT
(ROOT_grey14)
104
TOOLS_COLORFS_STAT
(ROOT_grey15)
105
TOOLS_COLORFS_STAT
(ROOT_grey16)
106
TOOLS_COLORFS_STAT
(ROOT_grey17)
107
TOOLS_COLORFS_STAT
(ROOT_grey18)
108
TOOLS_COLORFS_STAT
(ROOT_grey19)
109
TOOLS_COLORFS_STAT
(ROOT_Color50)
110
111
#undef TOOLS_COLORFS_STAT
112
113
}
114
115
#endif
colorf
colors
tools
inlined C code : ///////////////////////////////////
Definition:
aida_ntuple:26
TOOLS_COLORFS_STAT
#define TOOLS_COLORFS_STAT(a__name)
Definition:
colorfs:12
Generated by
1.8.20