Thank you.
So, right now I can get all colours from palette this way:
auto paletteColours = TColor::GetPalette();
The size is 255 elements, so I can do some simple math and select corresponding colour by paletteColours.At()
at even intervals – but why GetLineColor()
does not work?