Revert "[NUI] Add TouchArea property. (#2105)" (#2167)
authorJoogabYun <40262755+JoogabYun@users.noreply.github.com>
Tue, 3 Nov 2020 06:44:12 +0000 (15:44 +0900)
committerGitHub <noreply@github.com>
Tue, 3 Nov 2020 06:44:12 +0000 (15:44 +0900)
This reverts commit 26e21f69bc3f056e277f198833f3eba05392459c.

src/Tizen.NUI/src/internal/Interop/Interop.ActorProperty.cs
src/Tizen.NUI/src/public/BaseComponents/ViewEnum.cs
src/Tizen.NUI/src/public/BaseComponents/ViewEvent.cs

index 2b0c9b4..ec56de3 100755 (executable)
@@ -188,9 +188,6 @@ namespace Tizen.NUI
             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Actor_Property_CAPTURE_ALL_TOUCH_AFTER_START_get")]
             public static extern int ActorPropertyCaptureAllTouchAfterStartGet();
 
-            [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Actor_Property_TOUCH_AREA_get")]
-            public static extern int ActorPropertyTouchAreaGet();
-
             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_Actor_Property")]
             public static extern global::System.IntPtr new_Actor_Property();
 
index cfc8534..afdc48b 100755 (executable)
@@ -208,7 +208,6 @@ namespace Tizen.NUI.BaseComponents
             internal static readonly int PADDING = Interop.ViewProperty.View_Property_PADDING_get();
             internal static readonly int SHADOW = Interop.ViewProperty.View_Property_SHADOW_get();
             internal static readonly int CaptureAllTouchAfterStart = Interop.ActorProperty.ActorPropertyCaptureAllTouchAfterStartGet();
-            internal static readonly int TouchArea = Interop.ActorProperty.ActorPropertyTouchAreaGet();
         }
     }
 }
index 626c7f8..1bcf86e 100755 (executable)
@@ -1278,25 +1278,5 @@ namespace Tizen.NUI.BaseComponents
             }
         }
 
-        /// <summary>
-        /// TouchArea can reset the view's touchable area.<br/>
-        /// If you set the TouchArea on an view, when you touch the view, the touch area is used rather than the size of the view.
-        /// </summary>
-        [EditorBrowsable(EditorBrowsableState.Never)]
-        public Size2D TouchArea
-        {
-            get
-            {
-                Size2D temp = new Size2D(0, 0);
-                GetProperty(View.Property.TouchArea).Get(temp);
-                return new Size2D(temp.Width, temp.Height);
-            }
-            set
-            {
-                SetProperty(View.Property.TouchArea, new Tizen.NUI.PropertyValue(value));
-                NotifyPropertyChanged();
-            }
-        }
-
     }
 }