X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-swig%2FSWIG%2Fevents%2Factor-event.i;h=a2fa54eadd7414dcf9f11221605c7685ed7ed2e5;hp=93f803c8edd56ba48f27eb92cd7270c0cdf782b3;hb=b7d35fcb8b551c9c38e3b5a225aecef43ca98bdb;hpb=edd703ba97ff54cc54f6e8734ba23a9bfbe63c7e diff --git a/plugins/dali-swig/SWIG/events/actor-event.i b/plugins/dali-swig/SWIG/events/actor-event.i index 93f803c..a2fa54e 100755 --- a/plugins/dali-swig/SWIG/events/actor-event.i +++ b/plugins/dali-swig/SWIG/events/actor-event.i @@ -37,6 +37,22 @@ return (IntPtr)swigCPtr; } + public Position CurrentPosition + { + get + { + return GetCurrentPosition(); + } + } + + public Size3D CurrentSize + { + get + { + return GetCurrentSize(); + } + } + public Actor Parent { get @@ -51,19 +67,21 @@ { return IsVisible(); } - } + } - public float Opacity - { - set + public float Opacity + { + get { - SetOpacity(value); + float temp = 0; + GetProperty( Actor.Property.OPACITY ).Get( ref temp ); + return temp; } - get + set { - return GetCurrentOpacity(); + SetProperty( Actor.Property.OPACITY, new Dali.Property.Value( value ) ); } - } + } public bool StateFocusEnable { @@ -85,26 +103,12 @@ } } - public bool BatchParent - { - get - { - bool temp = false; - GetProperty( Actor.Property.BATCH_PARENT).Get( ref temp ); - return temp; - } - set - { - SetProperty( Actor.Property.BATCH_PARENT, new Dali.Property.Value( value ) ); - } - } - public int SiblingOrder { get { int temp = 0; - GetProperty( Actor.Property.SIBLING_ORDER).Get( ref temp ); + GetProperty( Actor.Property.SIBLING_ORDER ).Get( ref temp ); return temp; } set @@ -122,6 +126,43 @@ { SetVisible(false); } + + public void Raise() + { + NDalicPINVOKE.Raise(swigCPtr); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + public void Lower() + { + NDalicPINVOKE.Lower(swigCPtr); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + public void RaiseToTop() + { + NDalicPINVOKE.RaiseToTop(swigCPtr); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + public void LowerToBottom() + { + NDalicPINVOKE.LowerToBottom(swigCPtr); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + public void RaiseAbove(Actor target) + { + NDalicPINVOKE.RaiseAbove(swigCPtr, Actor.getCPtr(target)); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + public void LowerBelow(Actor target) + { + NDalicPINVOKE.RaiseAbove(swigCPtr, Actor.getCPtr(target)); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + %} %enddef