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 |
| void Titanic::CInputHandler::incLockCount | ( | ) |
Increment the lock count
| void Titanic::CInputHandler::decLockCount | ( | ) |
Decrement the lock count on the input handler
| bool Titanic::CInputHandler::handleMessage | ( | CMessage & | msg, |
| bool | respectLock = true |
||
| ) |
Handles a genereated mouse message
|
inline |
Returns true if input is locked