ScummVM API documentation
Titanic::CInputHandler Class Reference

Public Member Functions

 CInputHandler (CGameManager *owner)
 
void setTranslator (CInputTranslator *translator)
 
void incLockCount ()
 
void decLockCount ()
 
bool handleMessage (CMessage &msg, bool respectLock=true)
 
bool isLocked () const
 

Public Attributes

CGameManager_gameManager
 
CInputTranslator_inputTranslator
 
bool _dragging
 
bool _buttonDown
 
CTreeItem_dragItem
 
Point _dragStartPos
 
Point _mousePos
 
int _lockCount
 
bool _abortMessage
 

Member Function Documentation

◆ incLockCount()

void Titanic::CInputHandler::incLockCount ( )

Increment the lock count

◆ decLockCount()

void Titanic::CInputHandler::decLockCount ( )

Decrement the lock count on the input handler

◆ handleMessage()

bool Titanic::CInputHandler::handleMessage ( CMessage msg,
bool  respectLock = true 
)

Handles a genereated mouse message

◆ isLocked()

bool Titanic::CInputHandler::isLocked ( ) const
inline

Returns true if input is locked


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