[Tizen] (Window) Added a method to window so that we can render once, even when paused 90/149090/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 6 Sep 2017 18:20:39 +0000 (19:20 +0100)
committerdongsug.song <dongsug.song@samsung.com>
Mon, 11 Sep 2017 11:43:41 +0000 (20:43 +0900)
Conflicts:
Tizen.NUI/src/internal/ManualPINVOKE.cs

Change-Id: I80c996e893f07c0ef51c7ef6933ba1a6114e54cf

Tizen.NUI/src/internal/ManualPINVOKE.cs
Tizen.NUI/src/public/Window.cs

index 7ffb106..18432e3 100755 (executable)
@@ -1325,5 +1325,9 @@ namespace Tizen.NUI
 
         [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_delete_ViewLayoutDirectionSignal")]
         public static extern void delete_ViewLayoutDirectionChangedSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_Adaptor_RenderOnce")]
+        public static extern void Window_RenderOnce(global::System.Runtime.InteropServices.HandleRef jarg1);
+
     }
 }
index 9ad44d6..e9f41b7 100755 (executable)
@@ -1486,11 +1486,24 @@ namespace Tizen.NUI
             }
         }
 
+        /// <summary>
+        /// Feed a key-event into the window.
+        /// </summary>
         public static void FeedKeyEvent(Key keyEvent)
         {
             NDalicManualPINVOKE.Window_FeedKeyEvent(Key.getCPtr(keyEvent));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
+        /// <summary>
+        /// Allows at least one more render, even when paused.
+        /// The window should be shown, not minimised.
+        /// </summary>
+        public void RenderOnce()
+        {
+            NDalicManualPINVOKE.Window_RenderOnce(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
     }
 }