Public Member Functions | |
void | setDragSprite (Sprite *) |
Sprite * | getDragSprite () |
void | setDragConstraints (const Common::Rect &, const Common::Rect &) |
void | getDragConstraints (Common::Rect &, Common::Rect &) const |
void | startTracking (const Input &) override |
void | continueTracking (const Input &) override |
Hotspot * | getLastHotspot () const |
Public Member Functions inherited from Pegasus::Tracker | |
void | handleInput (const Input &, const Hotspot *) override |
virtual bool | stopTrackingInput (const Input &) |
virtual void | stopTracking (const Input &) |
bool | isTracking () |
bool | isClickInput (const Input &, const Hotspot *) override |
bool | releaseInputFocus () override |
Public Member Functions inherited from Pegasus::InputHandler | |
InputHandler (InputHandler *) | |
virtual void | setNextHandler (InputHandler *nextHandler) |
virtual InputHandler * | getNextHandler () |
virtual void | clickInHotspot (const Input &, const Hotspot *) |
virtual void | activateHotspots () |
virtual void | updateCursor (const Common::Point, const Hotspot *) |
virtual bool | wantsCursor () |
virtual void | grabInputFocus () |
virtual InputBits | getInputFilter () |
virtual InputBits | getClickFilter () |
virtual void | allowInput (const bool allow) |
Protected Member Functions | |
virtual void | enterHotspot (Hotspot *) |
virtual void | exitHotspot (Hotspot *) |
void | pinPointInRect (const Common::Rect &, Common::Point &) |
Protected Attributes | |
Sprite * | _draggingSprite |
Common::Point | _startPoint |
Common::Point | _lastPoint |
Common::Point | _dragOffset |
Common::Point | _startRawPoint |
Common::Point | _lastRawPoint |
Common::Rect | _rawLimitRect |
Common::Rect | _limitRect |
Common::Rect | _slopRect |
Hotspot * | _lastHotspot |
Protected Attributes inherited from Pegasus::Tracker | |
InputHandler * | _savedHandler |
Protected Attributes inherited from Pegasus::InputHandler | |
InputHandler * | _nextHandler |
bool | _allowInput |
Additional Inherited Members | |
Static Public Member Functions inherited from Pegasus::InputHandler | |
static InputHandler * | setInputHandler (InputHandler *) |
static InputHandler * | getCurrentHandler () |
static void | pollForInput () |
static void | getInput (Input &, Hotspot *&) |
static void | readInputDevice (Input &) |
static void | invalHotspots () |
static InputBits | getCurrentFilter () |
Static Protected Attributes inherited from Pegasus::Tracker | |
static Tracker * | _currentTracker |
Static Protected Attributes inherited from Pegasus::InputHandler | |
static InputHandler * | _inputHandler |
static bool | _invalHotspots |
static InputBits | _lastFilter |