diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-01-10 12:43:49 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-01-10 12:43:49 +0000 |
| commit | 18005f2b5b2aa61b4afa0964b60062fa63abfa06 (patch) | |
| tree | 3a38a5adb5ae96eb84bbb33f5e7a3a243e001285 /src/testApp.cpp | |
| parent | 7aa82f00186fe296ba0f818ce6cfe6cb4317bd68 (diff) | |
2 screens
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; } |
