Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 950 Bytes

File metadata and controls

37 lines (20 loc) · 950 Bytes

 

 

 

 

 

 

Converts an RGB value to a TColor. To convert a TColor to an RGB value, use the ColorToRgb function.

 


//From http://www.richelbilderbeek.nl/CppRgbToColor.htm TColor RgbToColor(   const unsigned char red,   const unsigned char green,   const unsigned char blue  ) {   return static_cast<TColor>(RGB(red,green,blue)); }