g4tools  5.4.0
Namespaces | Macros
colors File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 tools
 inlined C code : ///////////////////////////////////
 

Macros

#define tools_colors
 
#define TOOLS_COLORS_SET(a__name, a__r, a__g, a__b)
 
#define TOOLS_COLORS_STAT(a__name, a__r, a__g, a__b)
 

Macro Definition Documentation

◆ tools_colors

#define tools_colors

Definition at line 5 of file colors.

◆ TOOLS_COLORS_SET

#define TOOLS_COLORS_SET (   a__name,
  a__r,
  a__g,
  a__b 
)
Value:
template <class COLOR>\
inline void set_color_##a__name(COLOR& a_color) {a_color.set_value(a__r,a__g,a__b,1);}

Definition at line 11 of file colors.

◆ TOOLS_COLORS_STAT

#define TOOLS_COLORS_STAT (   a__name,
  a__r,
  a__g,
  a__b 
)
Value:
template <class COLOR>\
inline const COLOR& get_color_##a__name() {static const COLOR s_v(a__r,a__g,a__b,1);return s_v;}

Definition at line 101 of file colors.