blackberry-gaming/GamePlay — pull request #576 by kcunney (2012-07-20 19:34:19+00:00)
Title: Fixes bug in Joystick where the control was being drawn outside its container's bounds.

Fixes bug in Joystick where the control was being drawn outside its container's bounds.

Refactors Joystick to be more consistent with existing UI controls.

Removes:
- void setRegion(const Rectangle& region);
- const Rectangle& getRegion() const;
- bool isAbsolute() const;
- void setAbsolute(bool absolute);
Adds:
- void setInnerRegionSize(const Vector2& size);
- void setOuterRegionSize(const Vector2& size);
- const Vector2& getInnerRegionSize() const;
- const Vector2& getOuterRegionSize() const;
- void setRelative(bool relative);
- bool isRelative();