ScummVM API documentation
Pegasus::ItemDragger Class Reference
Inheritance diagram for Pegasus::ItemDragger:
Pegasus::SpriteDragger Pegasus::Tracker Pegasus::InputHandler

Public Member Functions

 ItemDragger (PegasusEngine *)
 
void setHighlightBounds ()
 
void startTracking (const Input &) override
 
void stopTracking (const Input &) override
 
bool stopTrackingInput (const Input &) override
 
- Public Member Functions inherited from Pegasus::SpriteDragger
void setDragSprite (Sprite *)
 
SpritegetDragSprite ()
 
void setDragConstraints (const Common::Rect &, const Common::Rect &)
 
void getDragConstraints (Common::Rect &, Common::Rect &) const
 
void continueTracking (const Input &) override
 
HotspotgetLastHotspot () const
 
- Public Member Functions inherited from Pegasus::Tracker
void handleInput (const Input &, const Hotspot *) override
 
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 InputHandlergetNextHandler ()
 
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

void enterHotspot (Hotspot *) override
 
void exitHotspot (Hotspot *) override
 
- Protected Member Functions inherited from Pegasus::SpriteDragger
void pinPointInRect (const Common::Rect &, Common::Point &)
 

Protected Attributes

PegasusEngine_owner
 
DropHighlight _inventoryHighlight
 
Hotspot _inventoryDropSpot
 
DropHighlight _biochipHighlight
 
Hotspot _biochipDropSpot
 
- Protected Attributes inherited from Pegasus::SpriteDragger
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 InputHandlersetInputHandler (InputHandler *)
 
static InputHandlergetCurrentHandler ()
 
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
 

The documentation for this class was generated from the following file: