Activated mouse tracking in option and award menus. Activated offset support in SimpleMenu, it should help for issue 674

This commit is contained in:
Xawotihs
2011-06-04 16:22:45 +00:00
parent 715d498bce
commit 4bf255596f
5 changed files with 17 additions and 9 deletions

View File

@@ -20,6 +20,7 @@ private:
string mText;
float mScale;
float mTargetScale;
static float mYOffset;
public:
string desc;
@@ -42,7 +43,7 @@ public:
virtual ostream& toString(ostream& out) const;
virtual bool getTopLeft(float& top, float& left)
{
top = mY;
top = mY + mYOffset;
left = mX;
return true;
}