X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=plugins%2Fdali-swig%2FSWIG%2Fevents%2Factor-event.i;h=f4d6d1c62e22b7fe3c8153ef1c246ab2097d7941;hb=refs%2Fchanges%2F41%2F115841%2F2;hp=138120abbbe5f4d82b5e0260b9acd91a66340aaf;hpb=b42c8d3f708366a9ce7c286f941af3bdeb054640;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/plugins/dali-swig/SWIG/events/actor-event.i b/plugins/dali-swig/SWIG/events/actor-event.i index 138120a..f4d6d1c 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 { @@ -90,7 +108,7 @@ get { int temp = 0; - GetProperty( Actor.Property.SIBLING_ORDER).Get( ref temp ); + GetProperty( Actor.Property.SIBLING_ORDER ).Get( ref temp ); return temp; } set