diff options
Diffstat (limited to 'src/testApp.cpp')
| -rw-r--r-- | src/testApp.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
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; } |
