summaryrefslogtreecommitdiff
path: root/glitcher/src/ofApp.h
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2014-02-26 10:57:16 +0000
committerComment <tim@gray.(none)>2014-02-26 10:57:16 +0000
commit0e436679aa8c09a08e20849f204c969eb2d875b8 (patch)
tree2619f53f16c571dc19326d395aa420ceb0a29de7 /glitcher/src/ofApp.h
initial commit
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;
+};