From 4aa44a0b9159300c24db4786a3cf2e4198f168f1 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Tue, 28 May 2013 16:41:00 +0100 Subject: adding palete manipulation --- src/testApp.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/testApp.h') 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 viewports; vpcontrol control; int windowsize; + + vector 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); }; -- cgit v1.2.3