Add KeepRendering to Window
authorHeeyong Song <heeyong.song@samsung.com>
Wed, 31 May 2023 04:32:07 +0000 (13:32 +0900)
committerTaehyub Kim <taehyub.kim@samsung.com>
Thu, 8 Jun 2023 08:33:00 +0000 (17:33 +0900)
src/Tizen.NUI/src/internal/Interop/Interop.Window.cs
src/Tizen.NUI/src/public/Window/Window.cs

index 31fda4f6ed3c5b095f3676d79748244e3dd69d77..b52d3642802198f35261704f3e8a83d8ef930f96 100755 (executable)
@@ -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);
         }
     }
 }
index 01e2ffd2cc2b3c2bf044e6d137b4201fa63301cd..61eeafd0905a05cdd477d13e53092a4b8f2f6bef 100755 (executable)
@@ -1007,7 +1007,7 @@ namespace Tizen.NUI
         /// <since_tizen> 3 </since_tizen>
         public void KeepRendering(float durationSeconds)
         {
-            Interop.Stage.KeepRendering(stageCPtr, durationSeconds);
+            Interop.Window.KeepRendering(SwigCPtr, durationSeconds);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }