From d83ebf447618f4a485d068d6f396720868d28884 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 10 Aug 2014 15:47:04 -0700 Subject: [PATCH] Manager: color tweak --- clientgui/MainDocument.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clientgui/MainDocument.cpp b/clientgui/MainDocument.cpp index 9ce1f7e570..2f8dd6572b 100644 --- a/clientgui/MainDocument.cpp +++ b/clientgui/MainDocument.cpp @@ -2626,7 +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 = .4 + (i % 3)*.1; + double v = .6; + if (n > 6) v = .5 + (i % 3)*.125; // cycle through 3 different brightnesses hsv2rgb(h*6, .5, v, r, g, b); unsigned char cr = (unsigned char) (r*256);