Added missing functions for checking type of keyboard event

This commit is contained in:
Maciej Suminski 2013-09-13 15:31:19 +02:00
parent 782867f7b3
commit 9adbdd803a
1 changed files with 10 additions and 0 deletions

View File

@ -229,6 +229,16 @@ public:
return m_keyCode;
}
bool IsKeyUp() const
{
return m_actions == TA_KeyUp;
}
bool IsKeyDown() const
{
return m_actions == TA_KeyDown;
}
void Ignore();
void SetMouseDragOrigin( const VECTOR2D &aP )