diff options
| author | tim <tim@eclectronics.org> | 2017-06-14 17:07:02 +0100 |
|---|---|---|
| committer | tim <tim@eclectronics.org> | 2017-06-14 17:07:02 +0100 |
| commit | 62e4f7eefffe7b507bfcfe6e31f7108dc74c63c8 (patch) | |
| tree | bea9cfd9e3817e380a0ac9db3605a0c3ecfcd462 /menuApp/src | |
| parent | 87c535995a59391b50a242a9a71bc0c420da399c (diff) | |
abs coords
Diffstat (limited to 'menuApp/src')
| -rw-r--r-- | menuApp/src/dirscanner.cpp | 4 | ||||
| -rw-r--r-- | menuApp/src/ofApp.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/menuApp/src/dirscanner.cpp b/menuApp/src/dirscanner.cpp index d0f80a0..325c97d 100644 --- a/menuApp/src/dirscanner.cpp +++ b/menuApp/src/dirscanner.cpp @@ -36,7 +36,7 @@ void playItem::draw(){ //ofEnableAlphaBlending(); //ofSetColor(255,255,255,1.0); - image.draw(0,0,ofGetWidth(),ofGetHeight()); + image.draw(0,0,1080*FACTOR,1920*FACTOR); //ofDisableAlphaBlending(); if (ofGetElapsedTimef()-startTime>5.0){ @@ -45,7 +45,7 @@ void playItem::draw(){ } if (video.isLoaded()){ video.update(); - video.draw(0,0,ofGetWidth(),ofGetHeight()); + video.draw(0,0,1080*FACTOR,1920*FACTOR); //ofLogNotice() << "position: "<<video.getPosition(); if (video.getIsMovieDone()){ isFinished=true; diff --git a/menuApp/src/ofApp.cpp b/menuApp/src/ofApp.cpp index 14ce45f..6b92c87 100644 --- a/menuApp/src/ofApp.cpp +++ b/menuApp/src/ofApp.cpp @@ -171,7 +171,7 @@ void ofApp::setup(){ */ //load - ofSetFrameRate(5); + ofSetFrameRate(25); lastPoll=POLL_INTERVAL; |
