mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-05 09:01:39 -05:00
-Cleanup UI volume code
This commit is contained in:
parent
c9cf150841
commit
75d9dc592a
2 changed files with 0 additions and 10 deletions
|
@ -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) );
|
||||
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Add table
Reference in a new issue