C# binding for Actor Opacity property
[platform/core/uifw/dali-toolkit.git] / plugins / dali-swig / SWIG / events / actor-event.i
index 93f803c..f4d6d1c 100755 (executable)
        return (IntPtr)swigCPtr;
     }
 
+    public Position CurrentPosition
+    {
+      get
+      {
+        return GetCurrentPosition();
+      }
+    }
+
+    public Size3D CurrentSize
+    {
+      get
+      {
+        return GetCurrentSize();
+      }
+    }
+
     public Actor Parent
     {
       get
       {
         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
     {
       }
     }
 
-    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