#ifndef VIEWPORT_H #define VIEWPORT_H #include "ofMain.h" #include "playlist.h" #define NUM_NOTES 64 #define START_NOTE 36 #define NUM_CONTROLLERS 6 #define START_CONTROLLER 102 #define NOTHING 0 #define BLOCKS 1 #define LIST 2 class viewport { public: viewport(); void setup(int w,int h,int x, int y,float r,int _ox,int _oy); void draw(float a,unsigned char* controllers,int xshift,int yshift,playlist &list,bool transparentBlack,int note,int mode,ofColor* controller_colours,bool controlColours,float scale,float fscale,float colShift); virtual ~viewport(); ofFbo rb1,rb2; float r; protected: private: int x, y,w,h,ox,oy; }; #endif // VIEWPORT_H