Dali 3D User Interface Engine
input-options.cpp
Go to the documentation of this file.
1 #include "input-options.h"
2 
5 
8 
9 namespace Dali
10 {
11 
12 namespace Integration
13 {
14 
16 {
17  GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor();
18  eventProcessor.SetPanGesturePredictionMode(mode);
19 }
20 
21 void SetPanGesturePredictionAmount(unsigned int amount)
22 {
23  GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor();
24  eventProcessor.SetPanGesturePredictionAmount(amount);
25 }
26 
27 void SetPanGestureMaximumPredictionAmount( unsigned int amount )
28 {
29  GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor();
30  eventProcessor.SetPanGestureMaximumPredictionAmount(amount);
31 }
32 
33 void SetPanGestureMinimumPredictionAmount( unsigned int amount )
34 {
35  GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor();
36  eventProcessor.SetPanGestureMinimumPredictionAmount(amount);
37 }
38 
39 void SetPanGesturePredictionAmountAdjustment( unsigned int amount )
40 {
41  GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor();
42  eventProcessor.SetPanGesturePredictionAmountAdjustment(amount);
43 }
44 
46 {
47  GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor();
48  eventProcessor.SetPanGestureSmoothingMode(mode);
49 }
50 
51 void SetPanGestureSmoothingAmount( float amount )
52 {
53  GestureEventProcessor& eventProcessor = ThreadLocalStorage::Get().GetGestureEventProcessor();
54  eventProcessor.SetPanGestureSmoothingAmount(amount);
55 }
56 
57 } // namespace Integration
58 
59 } // namespace Dali
Dali Docs Home
Read more about Dali