Manager: brighten colors in disk/stats tabs

This commit is contained in:
David Anderson 2014-08-28 22:34:40 -07:00
parent 4d121bc2c4
commit 809f49a626
1 changed files with 2 additions and 2 deletions

View File

@ -2626,8 +2626,8 @@ static void hsv2rgb(
void color_cycle(int i, int n, wxColour& color) {
double h = (double)i/(double)n;
double r, g, b;
double v = .7;
if (n > 6) v = .5 + (i % 3)*.125;
double v = .75;
if (n > 6) v = .6 + (i % 3)*.1;
// cycle through 3 different brightnesses
hsv2rgb(h*6, .5, v, r, g, b);
unsigned char cr = (unsigned char) (r*256);