summaryrefslogtreecommitdiff
path: root/liveengine/src/layers.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2012-09-02 12:18:44 +0100
committerTim Redfern <tim@eclectronics.org>2012-09-02 12:18:44 +0100
commit65cf7b27e9d2f9e59da322b4fbad1ed1df27eb8d (patch)
tree3b2bfbca45418bfdeeb1f07553cef88c01e165e4 /liveengine/src/layers.h
parent34a459de430dd35034ec9404fe7ec54407641085 (diff)
v 0.1
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;