summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--menuApp/config.default1
-rw-r--r--menuApp/src/ofApp.cpp4
-rw-r--r--menuApp/src/ofApp.h2
3 files changed, 4 insertions, 3 deletions
diff --git a/menuApp/config.default b/menuApp/config.default
index cda4610..b4b9e67 100644
--- a/menuApp/config.default
+++ b/menuApp/config.default
@@ -88,6 +88,7 @@
# Note: Leave a leading space when adding list items with the += operator
################################################################################
#PROJECT_DEFINES = FULLSCREEN
+PROJECT_DEFINES = FACTOR=1.0
################################################################################
# PROJECT CFLAGS
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{