diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-08-31 09:21:00 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-08-31 09:21:00 +0100 |
| commit | ba7cc94d4ae55e171f0e08126abb0cb13d8f9f8f (patch) | |
| tree | e015563027592464817796f3b9da72ba62ebcaff /liveengine/src/layers.h | |
| parent | 766266368648487735894e6bf01c0330db6be2aa (diff) | |
blocking loading playlists
Diffstat (limited to 'liveengine/src/layers.h')
| -rw-r--r-- | liveengine/src/layers.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/liveengine/src/layers.h b/liveengine/src/layers.h index e3b0fd8..55f9529 100644 --- a/liveengine/src/layers.h +++ b/liveengine/src/layers.h @@ -10,7 +10,7 @@ class layer layer(string _f);
virtual ~layer();
virtual void load(string _f);
- virtual void draw();
+ virtual void draw(float a);
protected:
private:
};
@@ -22,10 +22,24 @@ class svglayer: public layer svglayer(string _f);
virtual ~svglayer();
void load(string _f);
- void draw();
+ void draw(float a);
protected:
private:
- ofxSVGTiny svg;
+ ofxSVGTiny svg; + vector <ofColor> fills; + vector <ofColor> strokes;
};
+class imglayer: public layer
+{
+ public:
+ imglayer();
+ imglayer(string _f);
+ virtual ~imglayer();
+ void load(string _f);
+ void draw(float a);
+ protected:
+ private:
+ ofImage img;
+};
#endif // SVGLAYER_H
|
