-Cleanup UI volume code

This commit is contained in:
Harry van Haaren 2013-07-26 01:30:17 +01:00
parent c9cf150841
commit 75d9dc592a
2 changed files with 0 additions and 10 deletions

View file

@ -125,14 +125,6 @@ class Volume : public Fl_Slider
// audio level
//cairo_move_to(cr, x+w*0.3, y+h); // left
//cairo_line_to(cr, x+w*0.3, y+h*(1-ampL) );
//cairo_move_to(cr, x+w*0.7, y+h); // right
//cairo_line_to(cr, x+w*0.7, y+h*(1-ampL) );
cairo_rectangle(cr, x+w*0.15, y+h*(1-ampL), 9.9, h - h*(1-ampL) );
cairo_rectangle(cr, x+w*0.56, y+h*(1-ampR), 9.9, h - h*(1-ampR) );

View file

@ -55,8 +55,6 @@ class GTrack : public Fl_Group
volume.callback( gtrack_button_callback, 0 );
volume.amplitude( 0.75, 0.5 );
progress.maximum(1.0f);
progress.minimum(0.0f);
progress.color( FL_BLACK );