diff options
Diffstat (limited to 'gui/src/ofApp.cpp')
| -rw-r--r-- | gui/src/ofApp.cpp | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/gui/src/ofApp.cpp b/gui/src/ofApp.cpp index 7e25b42..b026984 100644 --- a/gui/src/ofApp.cpp +++ b/gui/src/ofApp.cpp @@ -18,13 +18,26 @@ void ofApp::update(){ } +void ofApp::updateOutput(ofEventArgs & args){ + + images.update(); + +} + + //-------------------------------------------------------------- void ofApp::draw(){ ofBackground(0,0,0); - images.drawGui(); } +void ofApp::drawOutput(ofEventArgs & args){ + ofBackground(0,0,0); + + images.drawOutput(); + +} + //-------------------------------------------------------------- void ofApp::keyPressed(ofKeyEventArgs &keyargs){ images.keyPressed(keyargs); @@ -70,6 +83,11 @@ void ofApp::windowResized(int w, int h){ } +void ofApp::outputWindowResized(ofResizeEventArgs &resizeargs){ + //printf("Output window: %i,%i \n",resizeargs.width,resizeargs.height); + images.outputSize=ofPoint(resizeargs.width,resizeargs.height); +} + //-------------------------------------------------------------- void ofApp::gotMessage(ofMessage msg){ |
