[NUI] Add AllowOnlyOwnTouch property and SetDefaultAllowOnlyOwnTouch api
authorjoogab.yun <joogab.yun@samsung.com>
Thu, 23 Jun 2022 02:13:53 +0000 (11:13 +0900)
committerJaehyun Cho <jaehyun0cho@gmail.com>
Mon, 25 Jul 2022 08:33:12 +0000 (17:33 +0900)
commit7ff2a81aaec77bf411d610a9935170a946eff332
tree455276aeaa20201a9d4892b8c69cbbd557746781
parentead50ff763bae4b138cdbadb9a5f66e0d2ca21d1
[NUI] Add AllowOnlyOwnTouch property and SetDefaultAllowOnlyOwnTouch api

1. If the AllowOnlyOwnTouch property is true, it will only receive touch events that started from itself.
```c#
  var view = new View()
  {
    AllowOnlyOwnTouch = true,
  }
```

2. Add SetDefaultAllowOnlyOwnTouch(bool enable) in View
```c#
   // If this is set to true, all views are created with AllowOnlyOwnTouch set to true.
   View.SetDefaultiAllowOnlyOwnTouch(true);
```

dependency
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-core/+/276632/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/276656/
src/Tizen.NUI/src/internal/Interop/Interop.ActorProperty.cs
src/Tizen.NUI/src/public/BaseComponents/View.cs
src/Tizen.NUI/src/public/BaseComponents/ViewBindableProperty.cs
src/Tizen.NUI/src/public/BaseComponents/ViewEnum.cs