From: Heeyong Song Date: Wed, 31 May 2023 04:32:07 +0000 (+0900) Subject: Add KeepRendering to Window X-Git-Tag: accepted/tizen/unified/20231205.024657~296 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=62d2b588e47dd232facb86d67d48676dc16f853c;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Add KeepRendering to Window --- diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Window.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Window.cs index 31fda4f..b52d364 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Window.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Window.cs @@ -325,6 +325,9 @@ namespace Tizen.NUI [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_SendRotationCompletedAcknowledgement")] public static extern void SendRotationCompletedAcknowledgement(global::System.Runtime.InteropServices.HandleRef window); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_KeepRendering")] + public static extern void KeepRendering(global::System.Runtime.InteropServices.HandleRef window, float durationSeconds); } } } diff --git a/src/Tizen.NUI/src/public/Window/Window.cs b/src/Tizen.NUI/src/public/Window/Window.cs index 01e2ffd..61eeafd 100755 --- a/src/Tizen.NUI/src/public/Window/Window.cs +++ b/src/Tizen.NUI/src/public/Window/Window.cs @@ -1007,7 +1007,7 @@ namespace Tizen.NUI /// 3 public void KeepRendering(float durationSeconds) { - Interop.Stage.KeepRendering(stageCPtr, durationSeconds); + Interop.Window.KeepRendering(SwigCPtr, durationSeconds); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); }