ScummVM API documentation
AGS3::Mouse Struct Reference

Public Member Functions

void WindowToGame (int &x, int &y)
 
void SetSysPosition (int x, int y)
 
int GetButtonCount ()
 
bool IsLockedToWindow ()
 
bool TryLockToWindow ()
 
void UnlockFromWindow ()
 
bool IsControlEnabled () const
 
void SetSpeedUnit (float f)
 
float GetSpeedUnit ()
 
void SetSpeed (float speed)
 
float GetSpeed ()
 
void UpdateGraphicArea ()
 
void SetMoveLimit (const Rect &r)
 
void Poll ()
 
void SetPosition (const Point &p)
 
void SetHotspot (int x, int y)
 
void SetMovementControl (bool flag)
 

Public Attributes

bool LockedToWindow = false
 
Rect ControlRect
 
bool ControlEnabled = false
 
bool ConfineInCtrlRect = false
 
float SpeedVal = 1.f
 
float SpeedUnit = 1.f
 
float Speed = 1.f
 

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