11 #define TOOLS_COLORS_SET(a__name,a__r,a__g,a__b) \
12 template <class COLOR>\
13 inline void set_color_##a__name(COLOR& a_color) {a_color.set_value(a__r,a__g,a__b,1);}
94 #undef TOOLS_COLORS_SET
96 #if defined(TOOLS_MEM) && !defined(TOOLS_MEM_ATEXIT)
97 #define TOOLS_COLORS_STAT(a__name,a__r,a__g,a__b) \
98 template <class COLOR>\
99 inline const COLOR& get_color_##a__name() {static const COLOR s_v(a__r,a__g,a__b,1,false);return s_v;}
101 #define TOOLS_COLORS_STAT(a__name,a__r,a__g,a__b) \
102 template <class COLOR>\
103 inline const COLOR& get_color_##a__name() {static const COLOR s_v(a__r,a__g,a__b,1);return s_v;}
201 #undef TOOLS_COLORS_STAT