diff testApp.mm @ 15:e45c3e631d20

View fiddling
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Thu, 17 Jan 2013 13:01:19 +0000
parents 346807b47860
children fb2ef16dd013
line wrap: on
line diff
--- a/testApp.mm	Wed Jan 16 19:03:51 2013 +0000
+++ b/testApp.mm	Thu Jan 17 13:01:19 2013 +0000
@@ -60,8 +60,8 @@
     ofxiPhoneDeviceType device = ofxiPhoneGetDeviceType();
     cout << "Device: " << device << '\n';
     
-    ofxiPhoneSetOrientation( OF_ORIENTATION_DEFAULT ); // TODO orientation CRAP
-
+    //ofxiPhoneSetOrientation( OF_ORIENTATION_DEFAULT ); // TODO orientation CRAP
+    ofxiPhoneSetOrientation( OF_ORIENTATION_90_RIGHT );
     
     //NSString * q = @"Why the hell did you do that? Are you mad?";
     //[iViewController showQuestionPrompt:q];
@@ -550,14 +550,15 @@
 
 //--------------------------------------------------------------
 void testApp::deviceOrientationChanged(int newOrientation){
+    /*
     cout << "orientation: " << newOrientation;
-    //keyboard->updateOrientation(); // takes ages , only applies to text box
+
     if(newOrientation == 4){
         ofxiPhoneSetOrientation( OF_ORIENTATION_90_RIGHT );
     }else if(newOrientation == 3){
         ofxiPhoneSetOrientation( OF_ORIENTATION_90_LEFT );
     }
-    
+    */
 }