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=f4d6d1c62e22b7fe3c8153ef1c246ab2097d7941;hp=93b5c152f643b8755a341ef4ba3c25a5ac0da73c;hb=1bce7020a14529b22c72b115f0ba63122d1413a6;hpb=ce2ea610dd9e62d5272b98bf65743914d0319b77;ds=sidebyside diff --git a/plugins/dali-swig/SWIG/events/actor-event.i b/plugins/dali-swig/SWIG/events/actor-event.i index 93b5c15..f4d6d1c 100755 --- a/plugins/dali-swig/SWIG/events/actor-event.i +++ b/plugins/dali-swig/SWIG/events/actor-event.i @@ -67,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 { @@ -106,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