summaryrefslogtreecommitdiff
path: root/ElmSharp/ElmSharp
diff options
context:
space:
mode:
authorrina6350.you <rina6350.you@samsung.com>2017-06-30 13:16:28 +0900
committerSeungkeun Lee <sngn.lee@samsung.com>2017-07-03 01:02:27 +0000
commit2caea08724cf231488b0d5250be47be90a2056ac (patch)
treedb82ab263fc61de01616ac1a7ef0412697d0359e /ElmSharp/ElmSharp
parent27db8e6d13e172abe53fda9c807c2e85b90d9b5c (diff)
downloadelm-sharp-2caea08724cf231488b0d5250be47be90a2056ac.tar.gz
elm-sharp-2caea08724cf231488b0d5250be47be90a2056ac.tar.bz2
elm-sharp-2caea08724cf231488b0d5250be47be90a2056ac.zip
Add the calculate method for forcing immediate calculations needed for renderization of this object
TASK=TCAPI-2536 Change-Id: I8c01fe9d904a64ccc5bdf897b2284634868c4d5a
Diffstat (limited to 'ElmSharp/ElmSharp')
-rwxr-xr-x[-rw-r--r--]ElmSharp/ElmSharp/EvasObject.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/ElmSharp/ElmSharp/EvasObject.cs b/ElmSharp/ElmSharp/EvasObject.cs
index 598789a..4693486 100644..100755
--- a/ElmSharp/ElmSharp/EvasObject.cs
+++ b/ElmSharp/ElmSharp/EvasObject.cs
@@ -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>