From 4fda3af17e55c0afff35b3f3ebbe5b4fd1ffad7e Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Fri, 14 Sep 2012 19:24:39 +0100 Subject: working nicely multiscreen --- liveengine/src/testApp.h | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'liveengine/src/testApp.h') diff --git a/liveengine/src/testApp.h b/liveengine/src/testApp.h index a556038..5e050da 100755 --- a/liveengine/src/testApp.h +++ b/liveengine/src/testApp.h @@ -58,6 +58,10 @@ non random colours option to randomise colours on each note +--make transparent + +--interface for exploring and saving - swapping? + */ @@ -85,7 +89,7 @@ public: ofFbo *rb; void setup(); void setBuffer(ofFbo *buffer); - void draw(); + void draw(); }; //#define GRAB_TEXTURE @@ -109,8 +113,8 @@ class testApp : public ofxFensterListener, public ofxMidiListener{ void dragEvent(ofDragInfo dragInfo); void gotMessage(ofMessage msg); - void mouseMovedEvent(ofMouseEventArgs &args); - void keyPressedEvent(ofKeyEventArgs &args); + void mousePressedEvent(ofMouseEventArgs &args); + void keyPressedEvent(ofKeyEventArgs &args); void makeColours(); @@ -122,8 +126,13 @@ class testApp : public ofxFensterListener, public ofxMidiListener{ unsigned char* controllers; int note, mode; + //to be moved into svg object gui + bool debug, controlColours; bool noteRandomiseColours; + bool transparentBlack; + + bool fullscreenoutput; float lastnoteTime; float decayTime; @@ -136,7 +145,7 @@ class testApp : public ofxFensterListener, public ofxMidiListener{ ofColor* controller_colours; - ofFbo rb1,rb2; + ofFbo rb1,rb2,rb3,rb4; //2 buffers * 2 outputs previewWindow prevWin; -- cgit v1.2.3