summaryrefslogtreecommitdiff
path: root/menuApp/src
diff options
context:
space:
mode:
authortim <tim@eclectronics.org>2017-03-28 23:33:42 +0100
committertim <tim@eclectronics.org>2017-03-28 23:33:42 +0100
commit3f2cfe8ba337a776f91f785010ff3bc1c43dc6f9 (patch)
tree075d61206283d48502ddf81b5a193499906c92d0 /menuApp/src
parent8d671c4c77f41b0991fb6005d24736dccbe36cfd (diff)
move factor to config
Diffstat (limited to 'menuApp/src')
-rw-r--r--menuApp/src/ofApp.cpp4
-rw-r--r--menuApp/src/ofApp.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/menuApp/src/ofApp.cpp b/menuApp/src/ofApp.cpp
index 44ebf68..1aadaec 100644
--- a/menuApp/src/ofApp.cpp
+++ b/menuApp/src/ofApp.cpp
@@ -74,7 +74,7 @@ void ofApp::draw(){
ofSetColor(255,255,255);
ofPushMatrix(); //Store the coordinate system nexessary for some reason
- background.draw(0,0,1080,1920); //ofGetWidth(),ofGetHeight());
+ background.draw(0,0,1080*FACTOR,1920*FACTOR); //ofGetWidth(),ofGetHeight());
ofPopMatrix(); //Restore the coordinate system
@@ -116,7 +116,7 @@ ofPopMatrix(); //Restore the coordinate system
}
ofEnableAlphaBlending();
- overlay.draw(0,0,1080,1920); //ofGetWidth(),ofGetHeight());
+ overlay.draw(0,0,1080*FACTOR,1920*FACTOR); //ofGetWidth(),ofGetHeight());
ofDisableAlphaBlending();
float t=ofGetElapsedTimef ();
diff --git a/menuApp/src/ofApp.h b/menuApp/src/ofApp.h
index 9e5471a..761e6c3 100644
--- a/menuApp/src/ofApp.h
+++ b/menuApp/src/ofApp.h
@@ -6,7 +6,7 @@
#include "ofxTextSuite.h"
#define IMAGE_SLOTS 5
-#define FACTOR 1.0
+//#define FACTOR 1.0
#define POLL_INTERVAL 60.0
class ofApp : public ofBaseApp{