Making RGBColor a struct.

This commit is contained in:
Patrick Shriwise 2018-10-31 15:26:32 -05:00
parent 43488e0286
commit be10bc1781
2 changed files with 39 additions and 3 deletions

View file

@ -37,7 +37,7 @@ int n_plots;
std::vector<Plot> plots;
const RGBColor WHITE {static_cast<unsigned char>(255), static_cast<unsigned char>(255), static_cast<unsigned char>(255)};
const RGBColor WHITE(255,255,255);// {static_cast<unsigned char>(255), static_cast<unsigned char>(255), static_cast<unsigned char>(255)};
const RGBColor NULLRGB = {0, 0, 0};
//==============================================================================