Warning, /include/Geant4/tools/colorfs is written in an unsupported language. File is not indexed.
0001 // Copyright (C) 2010, Guy Barrand. All rights reserved.
0002 // See the file tools.license for terms.
0003
0004 #ifndef tools_colorfs
0005 #define tools_colorfs
0006
0007 #include "colors"
0008 #include "colorf"
0009
0010 namespace tools {
0011
0012 #define TOOLS_COLORFS_STAT(a__name) \
0013 inline const colorf& colorf_##a__name() {return get_color_##a__name<colorf>();}
0014
0015 //NOTE : false in the upper so that mem balance is ok at exit.
0016
0017 //0-9
0018 TOOLS_COLORFS_STAT(aquamarine)
0019 TOOLS_COLORFS_STAT(mediumaquamarine)
0020 TOOLS_COLORFS_STAT(black)
0021 TOOLS_COLORFS_STAT(blue)
0022 TOOLS_COLORFS_STAT(cadetblue)
0023 TOOLS_COLORFS_STAT(cornflowerblue)
0024 TOOLS_COLORFS_STAT(darkslateblue)
0025 TOOLS_COLORFS_STAT(lightblue)
0026 TOOLS_COLORFS_STAT(lightsteelblue)
0027 TOOLS_COLORFS_STAT(mediumblue)
0028
0029 //10-19
0030 TOOLS_COLORFS_STAT(mediumslateblue)
0031 TOOLS_COLORFS_STAT(midnightblue)
0032 TOOLS_COLORFS_STAT(navyblue)
0033 TOOLS_COLORFS_STAT(navy)
0034 TOOLS_COLORFS_STAT(skyblue)
0035 TOOLS_COLORFS_STAT(slateblue)
0036 TOOLS_COLORFS_STAT(steelblue)
0037 TOOLS_COLORFS_STAT(coral)
0038 TOOLS_COLORFS_STAT(cyan)
0039 TOOLS_COLORFS_STAT(firebrick)
0040
0041 //20-29
0042 TOOLS_COLORFS_STAT(brown)
0043 TOOLS_COLORFS_STAT(gold)
0044 TOOLS_COLORFS_STAT(goldenrod)
0045 TOOLS_COLORFS_STAT(green)
0046 TOOLS_COLORFS_STAT(darkgreen)
0047 TOOLS_COLORFS_STAT(darkolivegreen)
0048 TOOLS_COLORFS_STAT(forestgreen)
0049 TOOLS_COLORFS_STAT(limegreen)
0050 TOOLS_COLORFS_STAT(mediumseagreen)
0051 TOOLS_COLORFS_STAT(mediumspringgreen)
0052
0053 //30-39
0054 TOOLS_COLORFS_STAT(palegreen)
0055 TOOLS_COLORFS_STAT(seagreen)
0056 TOOLS_COLORFS_STAT(springgreen)
0057 TOOLS_COLORFS_STAT(yellowgreen)
0058 TOOLS_COLORFS_STAT(darkslategrey)
0059 TOOLS_COLORFS_STAT(dimgrey)
0060 TOOLS_COLORFS_STAT(lightgrey)
0061 TOOLS_COLORFS_STAT(grey)
0062 TOOLS_COLORFS_STAT(khaki)
0063 TOOLS_COLORFS_STAT(magenta)
0064
0065 //40-49
0066 TOOLS_COLORFS_STAT(maroon)
0067 TOOLS_COLORFS_STAT(orange)
0068 TOOLS_COLORFS_STAT(orchid)
0069 TOOLS_COLORFS_STAT(darkorchid)
0070 TOOLS_COLORFS_STAT(mediumorchid)
0071 TOOLS_COLORFS_STAT(pink)
0072 TOOLS_COLORFS_STAT(plum)
0073 TOOLS_COLORFS_STAT(red)
0074 TOOLS_COLORFS_STAT(indianred)
0075 TOOLS_COLORFS_STAT(mediumvioletred)
0076
0077 //50-59
0078 TOOLS_COLORFS_STAT(orangered)
0079 TOOLS_COLORFS_STAT(violetred)
0080 TOOLS_COLORFS_STAT(salmon)
0081 TOOLS_COLORFS_STAT(sienna)
0082 TOOLS_COLORFS_STAT(tan)
0083 TOOLS_COLORFS_STAT(thistle)
0084 TOOLS_COLORFS_STAT(turquoise)
0085 TOOLS_COLORFS_STAT(darkturquoise)
0086 TOOLS_COLORFS_STAT(mediumturquoise)
0087 TOOLS_COLORFS_STAT(violet)
0088
0089 //60-64
0090 TOOLS_COLORFS_STAT(blueviolet)
0091 TOOLS_COLORFS_STAT(wheat)
0092 TOOLS_COLORFS_STAT(white)
0093 TOOLS_COLORFS_STAT(yellow)
0094 TOOLS_COLORFS_STAT(greenyellow)
0095
0096 ////////////////////////////////////////////////////////
0097 /// CERN-ROOT colors : /////////////////////////////////
0098 ////////////////////////////////////////////////////////
0099 TOOLS_COLORFS_STAT(ROOT_Color8)
0100 TOOLS_COLORFS_STAT(ROOT_Color9)
0101 TOOLS_COLORFS_STAT(ROOT_grey12)
0102 TOOLS_COLORFS_STAT(ROOT_grey13)
0103 TOOLS_COLORFS_STAT(ROOT_grey14)
0104 TOOLS_COLORFS_STAT(ROOT_grey15)
0105 TOOLS_COLORFS_STAT(ROOT_grey16)
0106 TOOLS_COLORFS_STAT(ROOT_grey17)
0107 TOOLS_COLORFS_STAT(ROOT_grey18)
0108 TOOLS_COLORFS_STAT(ROOT_grey19)
0109 TOOLS_COLORFS_STAT(ROOT_Color50)
0110
0111 #undef TOOLS_COLORFS_STAT
0112
0113 }
0114
0115 #endif