X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fintegration-api%2Finput-options.cpp;h=b432b9e4976bac5cd71c56edcfef7c064c5bca7d;hb=a4eb68faf1e75d213c951a7d4d1b67727247917a;hp=e05619f9b4b76ec722789f29f85aaff5f612e7ae;hpb=534057a9aa6dbf7d1dee1b17127153c3a6840b7f;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/integration-api/input-options.cpp b/dali/integration-api/input-options.cpp index e05619f..b432b9e 100644 --- a/dali/integration-api/input-options.cpp +++ b/dali/integration-api/input-options.cpp @@ -102,6 +102,30 @@ void SetPanGestureMultitapSmoothingRange( int value ) eventProcessor.SetPanGestureMultitapSmoothingRange( value ); } +void SetPanGestureMinimumDistance( int value ) +{ + GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor(); + eventProcessor.SetPanGestureMinimumDistance( value ); +} + +void SetPanGestureMinimumPanEvents( int value ) +{ + GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor(); + eventProcessor.SetPanGestureMinimumPanEvents( value ); +} + +void SetPinchGestureMinimumDistance( float value ) +{ + GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor(); + eventProcessor.SetPinchGestureMinimumDistance( value ); +} + +void SetLongPressMinimumHoldingTime( unsigned int value ) +{ + GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor(); + eventProcessor.SetLongPressMinimumHoldingTime( value ); +} + } // namespace Integration