summaryrefslogtreecommitdiff
path: root/liveengine/src/layers.h
diff options
context:
space:
mode:
Diffstat (limited to 'liveengine/src/layers.h')
-rw-r--r--liveengine/src/layers.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/liveengine/src/layers.h b/liveengine/src/layers.h
index f7cbc85..11e50ab 100644
--- a/liveengine/src/layers.h
+++ b/liveengine/src/layers.h
@@ -6,11 +6,12 @@
class layer
{
public:
- layer();
- layer(string _f);
- virtual ~layer();
- virtual void load(string _f);
- virtual void draw(float a);
+ layer(){};
+ layer(string _f) {load(_f);};
+ virtual ~layer(){};
+ virtual void load(string _f){};
+ virtual void draw(float a){};
+ virtual void draw(float a,unsigned char* controllers){ draw(a);};
protected:
private:
};
@@ -22,7 +23,8 @@ class svglayer: public layer
svglayer(string _f);
virtual ~svglayer();
void load(string _f);
- void draw(float a);
+ void draw(float a);
+ void draw(float a,unsigned char* controllers);
protected:
private:
ofxSVGTiny svg;
@@ -38,7 +40,8 @@ class imglayer: public layer
imglayer(string _f);
virtual ~imglayer();
void load(string _f);
- void draw(float a);
+ void draw(float a);
+ void draw(float a,unsigned char* controllers);
protected:
private:
ofImage img;