ScummVM API documentation
Parallaction::Input Class Reference

Public Types

enum  {
  kInputModeGame = 0, kInputModeComment = 1, kInputModeDialogue = 2, kInputModeInventory = 3,
  kInputModeMenu = 4
}
 

Public Member Functions

 Input (Parallaction *vm)
 
void getAbsoluteCursorPos (Common::Point &p) const
 
void getCursorPos (Common::Point &p) const
 
void setCursorPos (const Common::Point &p)
 
void readInput ()
 
int updateInput ()
 
void trackMouse (ZonePtr z)
 
void waitForButtonEvent (uint32 buttonEventMask, int32 timeout=-1)
 
uint32 getLastButtonEvent ()
 
bool getLastKeyDown (uint16 &ascii)
 
void stopHovering ()
 
void setMouseState (MouseTriState state)
 
MouseTriState getMouseState ()
 
bool isMouseEnabled ()
 
void setArrowCursor ()
 
void setInventoryCursor (ItemName name)
 
void setMenuPointer ()
 
void setCharacterPointer (const char *name)
 

Public Attributes

int _inputMode
 
InventoryItem _activeItem
 
MouseTriState _mouseState
 

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