istereo2
changeset 21:8f41da60b9f5
revert accidentally commited ui change
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 02 Oct 2015 04:55:54 +0300 |
parents | 2b85d05df3f2 |
children | c6971ff4795e |
files | src/ui.cc |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line diff
1.1 --- a/src/ui.cc Fri Oct 02 04:54:55 2015 +0300 1.2 +++ b/src/ui.cc Fri Oct 02 04:55:54 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);