Merge "DALi C# binding - Adding Animation constructor to accept duration in milli...
authordongsug song <dongsug.song@samsung.com>
Wed, 26 Oct 2016 00:37:30 +0000 (17:37 -0700)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Wed, 26 Oct 2016 00:37:30 +0000 (17:37 -0700)
plugins/dali-swig/SWIG/events/animation-event.i

index 4690317..0581d4e 100644 (file)
@@ -185,6 +185,19 @@ using System.Runtime.InteropServices;
     }
   }
 
+  public int DurationMilliSecs
+  {
+    set
+    {
+      SetDuration(value/1000);
+    }
+    get
+    {
+      int ret = (int) GetDuration() * 1000;
+      return ret;
+    }
+  }
+
   public AlphaFunction DefaultAlphaFunction
   {
     set