Commit 9adbdd80 authored by Maciej Suminski's avatar Maciej Suminski

Added missing functions for checking type of keyboard event

parent 782867f7
...@@ -229,6 +229,16 @@ public: ...@@ -229,6 +229,16 @@ public:
return m_keyCode; return m_keyCode;
} }
bool IsKeyUp() const
{
return m_actions == TA_KeyUp;
}
bool IsKeyDown() const
{
return m_actions == TA_KeyDown;
}
void Ignore(); void Ignore();
void SetMouseDragOrigin( const VECTOR2D &aP ) void SetMouseDragOrigin( const VECTOR2D &aP )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment