From: Bumseung Cho Date: Mon, 3 Jun 2013 14:03:03 +0000 (+0900) Subject: The screen reader gesture has been added. X-Git-Tag: submit/tizen_2.2/20130714.153149~630^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5dc1dc507a67ab58f6501c4c5fbb1fb5bdbf5fb8;p=framework%2Fosp%2Fuifw.git The screen reader gesture has been added. Change-Id: Id619f2df5ee94faeb719f2b13cfbce6fe98a6086 Signed-off-by: Bumseung Cho --- diff --git a/src/ui/FUi_EcoreEvas.cpp b/src/ui/FUi_EcoreEvas.cpp index b2a9f96..9e85d5e 100644 --- a/src/ui/FUi_EcoreEvas.cpp +++ b/src/ui/FUi_EcoreEvas.cpp @@ -444,6 +444,24 @@ OnClientMessageReceived(void* pData, int type, void* pEvent) _AccessibilityGesture::ProcessGesture(_ACCESSIBILITY_GESTURE_TYPE_TWO_FINGER_PANNING_FINISHED, x, y); } } + else if ((unsigned int)pClientEvent->data.l[1] == ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_SCROLL) + { + SysLog(NID_UI, "Accessibility action : scroll %d, %d, %d", pClientEvent->data.l[2], pClientEvent->data.l[3], pClientEvent->data.l[4]); + x = (Evas_Coord)pClientEvent->data.l[3]; + y = (Evas_Coord)pClientEvent->data.l[4]; + if (pClientEvent->data.l[2] == 0) + { + _AccessibilityGesture::ProcessGesture(_ACCESSIBILITY_GESTURE_TYPE_TWO_FINGER_PANNING_STARTED, x, y); + } + else if (pClientEvent->data.l[2] == 1) + { + _AccessibilityGesture::ProcessGesture(_ACCESSIBILITY_GESTURE_TYPE_TWO_FINGER_PANNING_CHANGED, x, y); + } + else if (pClientEvent->data.l[2] == 2) + { + _AccessibilityGesture::ProcessGesture(_ACCESSIBILITY_GESTURE_TYPE_TWO_FINGER_PANNING_FINISHED, x, y); + } + } else if ((unsigned int)pClientEvent->data.l[1] == ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_DOWN) { SysLog(NID_UI, "Accessibility action : value decreased");