X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-swig%2FSWIG%2Fevents%2Fanimation-event.i;h=0581d4e24183b6642d4a6166f351759aaebfad3c;hp=323a6fcdf5e84ae5bb2e33e2465d7c271b11f0a9;hb=5dcbbe43095165ad15ae4d19dfbfce2e0910f720;hpb=f05c437df1fc28be1354e47af9dbf336828956f1 diff --git a/plugins/dali-swig/SWIG/events/animation-event.i b/plugins/dali-swig/SWIG/events/animation-event.i index 323a6fc..0581d4e 100644 --- a/plugins/dali-swig/SWIG/events/animation-event.i +++ b/plugins/dali-swig/SWIG/events/animation-event.i @@ -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 @@ -207,56 +220,69 @@ using System.Runtime.InteropServices; } } - public void AnimateBy(Actor target, U propertyIndex, T relativeValue) + public int LoopCount + { + set + { + SetLoopCount(value); + } + get + { + int ret = GetLoopCount(); + return ret; + } + } + + public void AnimateBy(Actor target, T propertyIndex, U relativeValue) { dynamic var = (object)(propertyIndex); dynamic obj = (object)(relativeValue); AnimateBy(new Property(target, var), new Property.Value(obj)); } - public void AnimateBy(Actor target, U propertyIndex, T relativeValue, AlphaFunction alpha) + public void AnimateBy(Actor target, T propertyIndex, U relativeValue, AlphaFunction alpha) { dynamic var = (object)(propertyIndex); dynamic obj = (object)(relativeValue); AnimateBy(new Property(target, var), new Property.Value(obj), alpha); } - public void AnimateBy(Actor target, U propertyIndex, T relativeValue, TimePeriod period) + public void AnimateBy(Actor target, T propertyIndex, U relativeValue, TimePeriod period) { dynamic var = (object)(propertyIndex); dynamic obj = (object)(relativeValue); AnimateBy(new Property(target, var), new Property.Value(obj), period); } - public void AnimateBy(Actor target, U propertyIndex, T relativeValue, AlphaFunction alpha, TimePeriod period) + public void AnimateBy(Actor target, T propertyIndex, U relativeValue, AlphaFunction alpha, TimePeriod period) { dynamic var = (object)(propertyIndex); dynamic obj = (object)(relativeValue); AnimateBy(new Property(target, var), new Property.Value(obj), alpha, period); } - public void AnimateTo(Actor target, U propertyIndex, T destinationValue) + public void AnimateTo(Actor target, T propertyIndex, U destinationValue) { dynamic var = (object)(propertyIndex); dynamic obj = (object)(destinationValue); AnimateTo(new Property(target, var), new Property.Value(obj)); } - public void AnimateTo(Actor target, U propertyIndex, T destinationValue, AlphaFunction alpha) + public void AnimateTo(Actor target, T propertyIndex, U destinationValue, AlphaFunction alpha) { dynamic var = (object)(propertyIndex); dynamic obj = (object)(destinationValue); AnimateTo(new Property(target, var), new Property.Value(obj), alpha); } - public void AnimateTo(Actor target, U propertyIndex, T destinationValue, TimePeriod period) + public void AnimateTo(Actor target, T propertyIndex, U destinationValue, TimePeriod period) { dynamic var = (object)(propertyIndex); dynamic obj = (object)(destinationValue); AnimateTo(new Property(target, var), new Property.Value(obj), period); } - public void AnimateTo(Actor target, U propertyIndex, T destinationValue, AlphaFunction alpha, TimePeriod period) + public void AnimateTo(Actor target, T propertyIndex, U destinationValue, AlphaFunction alpha, TimePeriod period) { dynamic var = (object)(propertyIndex); dynamic obj = (object)(destinationValue);