From 62d2b588e47dd232facb86d67d48676dc16f853c Mon Sep 17 00:00:00 2001 From: Heeyong Song Date: Wed, 31 May 2023 13:32:07 +0900 Subject: [PATCH] Add KeepRendering to Window --- src/Tizen.NUI/src/internal/Interop/Interop.Window.cs | 3 +++ src/Tizen.NUI/src/public/Window/Window.cs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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(); } -- 2.7.4