istereo2

changeset 18:25d821ab1ca2

fixed ios bugs
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 01 Oct 2015 08:36:55 +0300
parents f4dd01c36b0c
children dc99ceee9294
files ios/Info.plist src/istereo.c src/ui.cc
diffstat 3 files changed, 6 insertions(+), 6 deletions(-) [+]
line diff
     1.1 --- a/ios/Info.plist	Thu Oct 01 08:03:43 2015 +0300
     1.2 +++ b/ios/Info.plist	Thu Oct 01 08:36:55 2015 +0300
     1.3 @@ -19,7 +19,7 @@
     1.4  	<key>CFBundleSignature</key>
     1.5  	<string>????</string>
     1.6  	<key>CFBundleVersion</key>
     1.7 -	<string>1</string>
     1.8 +	<string>2</string>
     1.9  	<key>LSRequiresIPhoneOS</key>
    1.10  	<true/>
    1.11  	<key>UIRequiredDeviceCapabilities</key>
     2.1 --- a/src/istereo.c	Thu Oct 01 08:03:43 2015 +0300
     2.2 +++ b/src/istereo.c	Thu Oct 01 08:36:55 2015 +0300
     2.3 @@ -63,7 +63,7 @@
     2.4  float text_period = 13.0;
     2.5  float text_speed = 2.2;
     2.6  
     2.7 -float split = 0.5275;
     2.8 +float split = 0.4725;
     2.9  
    2.10  int init(void)
    2.11  {
     3.1 --- a/src/ui.cc	Thu Oct 01 08:03:43 2015 +0300
     3.2 +++ b/src/ui.cc	Thu Oct 01 08:36:55 2015 +0300
     3.3 @@ -68,19 +68,19 @@
     3.4  	ypos -= vsep;
     3.5  
     3.6  	label_split = new Label;
     3.7 -	label_split->set_position(170, ypos);
     3.8 +	label_split->set_position(70, ypos);
     3.9  	label_split->set_size(20, vsz);
    3.10  	label_split->set_text("Stereo split");
    3.11  	if(!stereo) label_split->deactivate();
    3.12  	scr.add_widget(label_split);
    3.13  
    3.14  	slider_split = new Slider;
    3.15 -	slider_split->set_position(300, ypos);
    3.16 -	slider_split->set_size(300, vsz);
    3.17 -	slider_split->set_callback(EV_CHANGE, split_slider_handler);
    3.18 +	slider_split->set_position(200, ypos);
    3.19 +	slider_split->set_size(400, vsz);
    3.20  	slider_split->set_continuous_change(true);
    3.21  	slider_split->set_range(0, 1.0);
    3.22  	slider_split->set_value(split);
    3.23 +	slider_split->set_callback(EV_CHANGE, split_slider_handler);
    3.24  	if(!stereo) slider_split->deactivate();
    3.25  	scr.add_widget(slider_split);
    3.26  	ypos -= vsep;