Mercurial > hg > movesynth
view of/testApp.h @ 29:d3fdadf86d90
Completed instrument design in Ableton and mapping between Max and Ableton.
author | Tim MB <tim.murraybrowne@eecs.qmul.ac.uk> |
---|---|
date | Fri, 25 Feb 2011 10:17:53 +0000 |
parents | 7b6dfc67d51e |
children | f7caff1c2fa6 |
line wrap: on
line source
#ifndef _TEST_APP #define _TEST_APP // uncomment this for OF 007 compatibility //#define OFX_OPENNI_BETA #include "ofMain.h" #include "ofxOpenNI.h" class testApp : public ofBaseApp{ public: void setup(); void update(); void draw(); void keyPressed (int key); void keyReleased(int key); void mouseMoved(int x, int y ); void mouseDragged(int x, int y, int button); void mousePressed(int x, int y, int button); void mouseReleased(int x, int y, int button); void windowResized(int w, int h); ofxOpenNIContext context; ofxDepthGenerator depth; ofxUserGenerator user; ofxImageGenerator image; //ofImage Davy; bool drawIt; }; #endif