summaryrefslogtreecommitdiff
path: root/src/testApp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/testApp.h')
-rwxr-xr-xsrc/testApp.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/testApp.h b/src/testApp.h
index cc46dfc..376cdee 100755
--- a/src/testApp.h
+++ b/src/testApp.h
@@ -12,7 +12,10 @@
class previewWindow;
class guiWindow;
-//#define GRAB_TEXTURE
+//load palettes and interpolate them with phase
+//some audio drawing
+//some actual drawing
+//transitions
class testApp : public ofxFensterListener {
@@ -35,6 +38,8 @@ class testApp : public ofxFensterListener {
void mousePressedEvent(ofMouseEventArgs &args);
void keyPressedEvent(ofKeyEventArgs &args);
void windowEvent(ofResizeEventArgs &args);
+ void dragEvent(ofDragInfo dragInfo);
+ void dragEvent(ofDragInfo dragInfo,ofxFenster* win);
void toggleFPS();
bool showFPS;
@@ -72,6 +77,10 @@ class testApp : public ofxFensterListener {
vector<viewport> viewports;
vpcontrol control;
int windowsize;
+
+ vector<ofColor> palette;
+
+ void loadfilepalette(string &palette);
};
@@ -82,6 +91,7 @@ public:
void setup();
void setParent(testApp *p);
void draw();
+ void dragEvent(ofDragInfo dragInfo,ofxFenster* win);
};
class guiWindow: public ofxFensterListener{
@@ -91,6 +101,7 @@ public:
void setup();
void setParent(testApp *p);
void draw();
+ void dragEvent(ofDragInfo dragInfo,ofxFenster* win);
};