diff options
Diffstat (limited to 'liveengine/src/layers.h')
| -rwxr-xr-x | liveengine/src/layers.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/liveengine/src/layers.h b/liveengine/src/layers.h index 3218264..3a7883e 100755 --- a/liveengine/src/layers.h +++ b/liveengine/src/layers.h @@ -10,8 +10,8 @@ class layer layer(string _f) {load(_f);};
virtual ~layer(){};
virtual void load(string _f){};
- virtual void draw(float a,int cx,int cy){}; - virtual void draw(float a,unsigned char* controllers,int cx,int cy,bool transparentBlack=false){ draw(a,cx,cy);}; + virtual void draw(float a,int cx,int cy,float colShift){}; + virtual void draw(float a,unsigned char* controllers,int cx,int cy,bool transparentBlack=false,float colShift=0.0f){ draw(a,cx,cy,colShift);}; bool getLoaded() {return isLoaded;};
protected: bool isLoaded;
@@ -26,8 +26,8 @@ class svglayer: public layer svglayer(string _f);
virtual ~svglayer();
void load(string _f);
- void draw(float a,int cx,int cy); - void draw(float a,unsigned char* controllers,int cx,int cy,bool transparentBlack=false);
+ void draw(float a,int cx,int cy,float colShift); + void draw(float a,unsigned char* controllers,int cx,int cy,bool transparentBlack=false,float colShift=0.0f);
void getCentre(int cx,int cy);
protected:
private:
@@ -44,8 +44,8 @@ class imglayer: public layer imglayer(string _f);
virtual ~imglayer();
void load(string _f);
- void draw(float a,int cx,int cy); - void draw(float a,unsigned char* controllers,int cx,int cy,bool transparentBlack);
+ void draw(float a,int cx,int cy,float colShift); + void draw(float a,unsigned char* controllers,int cx,int cy,bool transparentBlack,float colShift);
protected:
private:
ofImage img;
|
