From b6be31dfce51d527e96e74f83d20d2bf548eebe4 Mon Sep 17 00:00:00 2001 From: JunsuChoi Date: Mon, 2 Aug 2021 13:42:42 +0900 Subject: [PATCH] [NUI] CanvasView: Change nameDrawableGroup::Clear() to RemoveAllDrawables() Since the method name of the same concept in CanvasView is used as 'RemoveAllDrawables', change it to maintain the concept. --- src/Tizen.NUI/src/internal/Interop/Interop.DrawableGroup.cs | 4 ++-- .../src/public/BaseComponents/VectorGraphics/DrawableGroup.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.DrawableGroup.cs b/src/Tizen.NUI/src/internal/Interop/Interop.DrawableGroup.cs index e70a638..ae68e40 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.DrawableGroup.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.DrawableGroup.cs @@ -28,9 +28,9 @@ namespace Tizen.NUI [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)] public static extern bool AddDrawable(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_DrawableGroup_Clear")] + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_DrawableGroup_RemoveAllDrawables")] [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)] - public static extern bool Clear(global::System.Runtime.InteropServices.HandleRef jarg1); + public static extern bool RemoveAllDrawables(global::System.Runtime.InteropServices.HandleRef jarg1); } } } diff --git a/src/Tizen.NUI/src/public/BaseComponents/VectorGraphics/DrawableGroup.cs b/src/Tizen.NUI/src/public/BaseComponents/VectorGraphics/DrawableGroup.cs index 5159d29..3bffc92 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/VectorGraphics/DrawableGroup.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/VectorGraphics/DrawableGroup.cs @@ -69,9 +69,9 @@ namespace Tizen.NUI.BaseComponents.VectorGraphics /// /// True when it's successful. False otherwise. [EditorBrowsable(EditorBrowsableState.Never)] - public bool Clear() + public bool RemoveAllDrawables() { - bool ret = Interop.DrawableGroup.Clear(BaseHandle.getCPtr(this)); + bool ret = Interop.DrawableGroup.RemoveAllDrawables(BaseHandle.getCPtr(this)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); if (ret) { -- 2.7.4