From 23f87c10db7e6b149e9e1f351e1a82516c545df7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Apr 2012 02:58:23 +0300 Subject: First step for dehardcode input handling in widgets. Now widgets can check for input event. --- src/inputevent.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/inputevent.h') diff --git a/src/inputevent.h b/src/inputevent.h index b03c59669..b8e4ebd1b 100644 --- a/src/inputevent.h +++ b/src/inputevent.h @@ -31,6 +31,9 @@ typedef KeysVector::const_iterator KeysVectorCIter; typedef std::map KeyToActionMap; typedef KeyToActionMap::iterator KeyToActionMapIter; +typedef std::map KeyToIdMap; +typedef KeyToIdMap::iterator KeyToIdMapIter; + struct InputEvent { InputEvent(int action0, int mask0); -- cgit v1.2.3-70-g09d2