ScummVM API documentation
Nancy::CursorManager Class Reference

Public Types

enum  CursorType {
  kNormal = 0, kHotspot = 1, kMove = 2, kExit = 3,
  kRotateCW = 4, kRotateCCW = 5, kMoveLeft = 6, kMoveRight = 7,
  kMoveForward = 8, kMoveBackward = 9, kMoveUp = 10, kMoveDown = 11,
  kRotateLeft = 12, kRotateRight = 13, kInvertedRotateRight = 14, kInvertedRotateLeft = 15,
  kCustom1 = 16, kCustom1Hotspot = 17, kCustom2 = 18, kCustom2Hotspot = 19,
  kNormalArrow = 20, kHotspotArrow = 21, kHotspotTalk = 22, kDragHand = 23,
  kDropHand = 24, kPuzzleArrow = 25, kNewNormal = 0, kNewHotspot = 1,
  kNewUse = 2, kNewHotspotUse = 3, kNewLockedUse = 4, kNewHotspotLockedUse = 5,
  kNewTalk = 6, kNewHotspotTalk = 7, kNewNormalArrow = 8, kNewHotspotArrow = 9,
  kNewExit = 10, kNewMoveLeft = 12, kNewMoveRight = 14, kNewMoveForward = 16,
  kNewMoveBackward = 18, kNewMoveUp = 20, kNewMoveDown = 22, kNewRotateCW = 24,
  kNewRotateCCW = 26, kNewRotateRight = 28, kNewRotateLeft = 30, kNewInvertedRotateRight = 32,
  kNewInvertedRotateLeft = 34, kNewUseHand = 36, kNewDragHand = 38, kNewPuzzleArrow = 45,
  kNewDropHand = 64, kNancy13Normal = 0, kNancy13MoveUp = 6, kNancy13MoveDown = 7,
  kNancy13MoveLeft = 8, kNancy13MoveRight = 9, kNancy13MoveBackward = 10, kNancy13MoveForward = 12,
  kNancy13Arrow = 14, kNancy13Exit = 19, kNancy13DropHand = 24, kNancy13RotateCCW = 25,
  kNancy13RotateCW = 26, kNancy13PuzzleArrow = 29
}
 

Public Member Functions

void init (Common::SeekableReadStream *chunkStream)
 
void setCursor (CursorType type, int16 itemID, bool setFromScript, bool hotspotVariant=true)
 
void setCursorType (CursorType type, bool setFromScript=false, bool hotspotVariant=true)
 
void setCursorItemID (int16 itemID)
 
void showCursor (bool shouldShow)
 
void warpCursor (const Common::Point &pos)
 
void applyCursor ()
 
const Common::PointgetCurrentCursorHotspot ()
 
const Common::RectgetPrimaryVideoInactiveZone ()
 
const Common::PointgetPrimaryVideoInitialPos ()
 

Public Attributes

const CursorType _puzzleExitCursor
 

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