Fix mouse support in menus and first screen

This commit is contained in:
Xawotihs
2010-11-20 00:33:37 +00:00
parent 58abfaa8e6
commit 3725958fc3
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ class PlayGuiObject: public JGuiObject, public JGuiListener, public Pos{
PlayGuiObject(float desiredHeight, float x, float y, bool hasFocus);
PlayGuiObject(float desiredHeight, const Pos& ref, bool hasFocus);
virtual void ButtonPressed(int controllerId, int controlId){};
virtual bool getTopLeft(int& top, int& left) {top = static_cast<int>(actY); left = static_cast<int>(actX); return true;};
virtual bool getTopLeft(float& top, float& left) {top = actY; left = actX; return true;};
virtual ~PlayGuiObject(){};
vector<Effect*> effects;
};