summaryrefslogtreecommitdiff
path: root/glitcher/src/ofApp.h
diff options
context:
space:
mode:
Diffstat (limited to 'glitcher/src/ofApp.h')
-rw-r--r--glitcher/src/ofApp.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/glitcher/src/ofApp.h b/glitcher/src/ofApp.h
new file mode 100644
index 0000000..fd72e87
--- /dev/null
+++ b/glitcher/src/ofApp.h
@@ -0,0 +1,24 @@
+#pragma once
+
+#include "ofMain.h"
+#include "ofxOpenCv.h"
+
+
+class ofApp : public ofBaseApp {
+public:
+
+ void setup();
+ void update();
+ void draw();
+ void exit();
+
+ void keyPressed(int key);
+ 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);
+
+ ofxCvColorImage buffer;
+
+ ofFbo renderFBO;
+};