Add the calculate method for forcing immediate calculations needed for renderization...
authorrina6350.you <rina6350.you@samsung.com>
Fri, 30 Jun 2017 04:16:28 +0000 (13:16 +0900)
committerSeungkeun Lee <sngn.lee@samsung.com>
Mon, 3 Jul 2017 01:02:27 +0000 (01:02 +0000)
TASK=TCAPI-2536

Change-Id: I8c01fe9d904a64ccc5bdf897b2284634868c4d5a

src/ElmSharp/ElmSharp/EvasObject.cs [changed mode: 0644->0755]
src/ElmSharp/Interop/Interop.Evas.cs [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 598789a..4693486
@@ -750,6 +750,15 @@ namespace ElmSharp
         }
 
         /// <summary>
+        /// Call the calculate smart function immediately.
+        /// This will force immediate calculations needed for renderization of this object.
+        /// </summary>
+        public void Calculate()
+        {
+            Interop.Evas.evas_object_smart_calculate(RealHandle);
+        }
+
+        /// <summary>
         /// Sets the hints for an object's aspect ratio.
         /// </summary>
         /// <param name="aspect">The policy or type of aspect ratio to apply to object</param>
old mode 100644 (file)
new mode 100755 (executable)
index ce76066..f37ae6f
@@ -442,6 +442,9 @@ internal static partial class Interop
         internal static extern void evas_object_smart_changed(IntPtr obj);
 
         [DllImport(Libraries.Evas)]
+        internal static extern void evas_object_smart_calculate(IntPtr obj);
+
+        [DllImport(Libraries.Evas)]
         internal static extern void evas_color_argb_premul(int a, ref int r, ref int g, ref int b);
 
         [DllImport(Libraries.Evas)]