Mouse support in Shop

This commit is contained in:
Xawotihs
2010-11-20 17:46:53 +00:00
parent bf3d01ae74
commit 048ecb3324
3 changed files with 38 additions and 6 deletions

View File

@@ -171,7 +171,10 @@ public:
WGuiCardDistort(WDataSource * wds, bool _thumb=false, WDataSource * _distort=NULL);
~WGuiCardDistort();
virtual void Render();
WDistort xy;
WDistort xy;
/* we assume first xy is the top left of the distorted card */
virtual float getX() {return xy[0];};
virtual float getY() {return xy[1];};
protected:
hgeDistortionMesh* mesh;
WDataSource * distortSrc;