X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=plugins%2Fdali-swig%2FSWIG%2Fevents%2Fanimation-event.i;h=441547902193f47a66f2e62eb9ba88b2287678de;hb=03843deb5705a40ceccb9b33cb780f64b1a79b57;hp=8639532403c2ff54faae7cf49fee8d96f85d62e7;hpb=b8c40a552195976cd5860b9f82f13fbed127d2f4;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/plugins/dali-swig/SWIG/events/animation-event.i b/plugins/dali-swig/SWIG/events/animation-event.i index 8639532..4415479 100644 --- a/plugins/dali-swig/SWIG/events/animation-event.i +++ b/plugins/dali-swig/SWIG/events/animation-event.i @@ -16,17 +16,16 @@ */ %define Animation_EVENTHANDLER_TYPEMAP_EVENTARG(NameSpace, ClassName) - %typemap(csimports) NameSpace::ClassName %{ - using System; - using System.Runtime.InteropServices; +%typemap(csimports) NameSpace::ClassName %{ +using System; +using System.Runtime.InteropServices; +%} - %} - %enddef +%enddef %define Animation_EVENTHANDLER_TYPEMAP_HELPER(NameSpace, ClassName) %typemap(cscode) NameSpace::ClassName %{ - /** * @brief Event arguments that passed via Finished signal * @@ -112,15 +111,51 @@ } - public static ClassName Get ## ClassName ## FromPtr(global::System.IntPtr cPtr) { - ClassName ret = new ClassName(cPtr, false); - if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); - return ret; + public static ClassName Get ## ClassName ## FromPtr(global::System.IntPtr cPtr) { + ClassName ret = new ClassName(cPtr, false); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + + public float Duration + { + set + { + SetDuration(value); + } + get + { + float ret = GetDuration(); + return ret; + } + } + + public AlphaFunction DefaultAlphaFunction + { + set + { + SetDefaultAlphaFunction(value); + } + get + { + AlphaFunction ret = GetDefaultAlphaFunction(); + return ret; + } + } + + public Animation.State Status + { + get + { + Animation.State ret = GetState(); + return ret; } + } - %} +%} - %enddef +%enddef %define DALI_animation_EVENTHANDLER_PARAM( NameSpace, ClassName)