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10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

  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 ////////////////////////////////////////////////////////
 97 /// CERN-ROOT colors : /////////////////////////////////
 98 ////////////////////////////////////////////////////////
 99 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