From 18005f2b5b2aa61b4afa0964b60062fa63abfa06 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Tue, 10 Jan 2012 12:43:49 +0000 Subject: 2 screens --- src/testApp.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/testApp.cpp') diff --git a/src/testApp.cpp b/src/testApp.cpp index b93f4be..e7921d4 100644 --- a/src/testApp.cpp +++ b/src/testApp.cpp @@ -23,7 +23,7 @@ void testApp::setup(){ //ofDisableArbTex(); - texture.loadMovie("gradblend01.mov"); + texture.loadMovie("stripey2.mov"); texture.play(); mode=CALIBRATE; @@ -65,8 +65,10 @@ void testApp::draw(){ } views[i].end(); } - ofSetHexColor(0xFFFFFF); - ofDrawBitmapString("fps: "+ofToString(ofGetFrameRate(), 2), 10, 15); + if (mode==CALIBRATE) { + ofSetHexColor(0xFFFFFF); + ofDrawBitmapString("fps: "+ofToString(ofGetFrameRate(), 2), 10, 15); + } } //-------------------------------------------------------------- @@ -92,6 +94,10 @@ void testApp::keyPressed(int key){ case '3': activeView=1; break; + case 'p': + saveSettings(); + printf("saved settings.xml\n"); + break; } -- cgit v1.2.3