istereo2

diff src/ui.cc @ 18:25d821ab1ca2

fixed ios bugs
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 01 Oct 2015 08:36:55 +0300
parents 1b7776cb800b
children 2b85d05df3f2
line diff
     1.1 --- a/src/ui.cc	Thu Oct 01 08:03:43 2015 +0300
     1.2 +++ b/src/ui.cc	Thu Oct 01 08:36:55 2015 +0300
     1.3 @@ -68,19 +68,19 @@
     1.4  	ypos -= vsep;
     1.5  
     1.6  	label_split = new Label;
     1.7 -	label_split->set_position(170, ypos);
     1.8 +	label_split->set_position(70, ypos);
     1.9  	label_split->set_size(20, vsz);
    1.10  	label_split->set_text("Stereo split");
    1.11  	if(!stereo) label_split->deactivate();
    1.12  	scr.add_widget(label_split);
    1.13  
    1.14  	slider_split = new Slider;
    1.15 -	slider_split->set_position(300, ypos);
    1.16 -	slider_split->set_size(300, vsz);
    1.17 -	slider_split->set_callback(EV_CHANGE, split_slider_handler);
    1.18 +	slider_split->set_position(200, ypos);
    1.19 +	slider_split->set_size(400, vsz);
    1.20  	slider_split->set_continuous_change(true);
    1.21  	slider_split->set_range(0, 1.0);
    1.22  	slider_split->set_value(split);
    1.23 +	slider_split->set_callback(EV_CHANGE, split_slider_handler);
    1.24  	if(!stereo) slider_split->deactivate();
    1.25  	scr.add_widget(slider_split);
    1.26  	ypos -= vsep;