istereo2

diff src/ui.cc @ 20:2b85d05df3f2

animation controls for easier screenshot grabbing
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 02 Oct 2015 04:54:55 +0300
parents 25d821ab1ca2
children 8f41da60b9f5
line diff
     1.1 --- a/src/ui.cc	Fri Oct 02 04:20:21 2015 +0300
     1.2 +++ b/src/ui.cc	Fri Oct 02 04:54:55 2015 +0300
     1.3 @@ -43,21 +43,21 @@
     1.4  
     1.5  	CheckBox *cbox;
     1.6  
     1.7 -#ifdef IPHONE
     1.8 -	if(have_retina()) {
     1.9 +//#ifdef IPHONE
    1.10 +//	if(have_retina()) {
    1.11  		cbox = new CheckBox;
    1.12  		cbox->set_position(300, ypos + vsep);
    1.13  		cbox->set_size(300, vsz);
    1.14  		cbox->set_text("Retina quality rendering");
    1.15 -		if(using_retina_res()) {
    1.16 +		//if(using_retina_res()) {
    1.17  			cbox->check();
    1.18 -		} else {
    1.19 -			cbox->uncheck();
    1.20 -		}
    1.21 -		cbox->set_callback(EV_CHANGE, retina_cbox_handler);
    1.22 +		//} else {
    1.23 +		//	cbox->uncheck();
    1.24 +		//}
    1.25 +//		cbox->set_callback(EV_CHANGE, retina_cbox_handler);
    1.26  		scr.add_widget(cbox);
    1.27 -	}
    1.28 -#endif
    1.29 +//	}
    1.30 +//#endif
    1.31  
    1.32  	cbox = new CheckBox;
    1.33  	cbox->set_position(300, ypos);