Mixer: Panner: Don't mangle line-style.

This commit is contained in:
Jonathan Moore Liles 2012-06-28 00:38:41 -07:00
parent f4dace9983
commit 89d26989f3
1 changed files with 6 additions and 0 deletions

View File

@ -164,6 +164,8 @@ Panner::draw_the_box ( int tx, int ty, int tw, int th )
} }
} }
fl_line_style( FL_SOLID, 0 );
} }
void void
@ -199,6 +201,8 @@ Panner::draw ( void )
if ( damage() & FL_DAMAGE_ALL ) if ( damage() & FL_DAMAGE_ALL )
draw_the_box( tx, ty, tw, th ); draw_the_box( tx, ty, tw, th );
fl_line_style( FL_SOLID, 2 );
// fl_color( FL_RED ); // fl_color( FL_RED );
fl_color( FL_WHITE ); fl_color( FL_WHITE );
@ -314,6 +318,8 @@ Panner::draw ( void )
} }
done: done:
fl_line_style( FL_SOLID, 0 );
fl_pop_clip(); fl_pop_clip();
} }