-
Notifications
You must be signed in to change notification settings - Fork 2
/
ofApp.h
51 lines (38 loc) · 1.12 KB
/
ofApp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#pragma once
#include "ofMain.h"
#include "ofxiOS.h"
#include "ofxiOSExtras.h"
#include "ofxMaxim.h"
#include "Cursor.h"
#include "Playlist.h"
#include "Sampler.h"
#include "Selector.h"
#include "Visualizer.h"
#include "Zones.h"
#include "Pattern.h"
class ofApp : public ofxiOSApp{
public:
void setup();
void update();
void draw();
void exit();
void touchDown(ofTouchEventArgs & touch);
void touchMoved(ofTouchEventArgs & touch);
void touchUp(ofTouchEventArgs & touch);
void touchDoubleTap(ofTouchEventArgs & touch);
void touchCancelled(ofTouchEventArgs & touch);
void lostFocus();
void gotFocus();
void gotMemoryWarning();
void deviceOrientationChanged(int newOrientation);
void audioOut(float * output, int bufferSize, int nChannels);
void audioIn(float * input, int bufferSize, int nChannels);
int bufferSize;
vector <ofPoint> touches;
Cursor filCursor[3], delCursor[3], samCursor[3];
Sampler sam[3];
Selector sel[3];
Visualizer viz[3];
Zones zone;
Pattern pat[3];
};