ScummVM API documentation
Titanic::CInputTranslator Class Reference

Public Member Functions

 CInputTranslator (CInputHandler *inputHandler)
 
void mouseMove (int special, const Point &pt)
 
void leftButtonDown (int special, const Point &pt)
 
void leftButtonUp (int special, const Point &pt)
 
void leftButtonDoubleClick (int special, const Point &pt)
 
void middleButtonDown (int special, const Point &pt)
 
void middleButtonUp (int special, const Point &pt)
 
void middleButtonDoubleClick (int special, const Point &pt)
 
void mouseWheel (bool wheelUp, const Point &pt)
 
void keyDown (const Common::KeyState &keyState)
 
bool isMousePressed () const
 

Public Attributes

CInputHandler_inputHandler
 

Member Function Documentation

◆ isMousePressed()

bool Titanic::CInputTranslator::isMousePressed ( ) const

Returns true if any mouse button is currently pressed


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