From bb8193cd20aa6a6098fbf9f158edd9b3a5bfffb2 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Fri, 12 Feb 2010 05:06:26 -0600 Subject: [PATCH] Mixer/Panner: Vary width of latitude lines. --- mixer/src/Panner.C | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mixer/src/Panner.C b/mixer/src/Panner.C index 0782008..c15affc 100644 --- a/mixer/src/Panner.C +++ b/mixer/src/Panner.C @@ -148,16 +148,20 @@ Panner::draw ( void ) /* draw perimeter */ { Fl_Color c = FL_RED; - const int iter = 8; + const int iter = 6; for ( int i = iter; i--; ) { fl_color( c ); + fl_line_style( FL_SOLID, 4 * ((float)i / iter) ); + fl_arc( tx + (i * (tw / iter)) / 2, ty + (i * (th / iter)) / 2, tw - (i * (tw / iter)), th - (i * ( th / iter )), 0, 360 ); c = fl_color_average( FL_RED, FL_GRAY, (float)i / iter); } + + fl_line_style( FL_SOLID, 0 ); } /* fl_color( FL_WHITE ); */