DALi C# binding - Write pure C# Color & Position classes and use typemaps to do the...
[platform/core/uifw/dali-toolkit.git] / plugins / dali-swig / SWIG / events / itemview-event.i
index d70708a..e00a6ef 100644 (file)
@@ -79,6 +79,155 @@ using System.Runtime.InteropServices;
      }
   }
 
+/* Properties earlier added by Ruby Script */
+
+  public float MinimumSwipeSpeed
+  {
+    get
+    {
+      float temp = 0.0f;
+      GetProperty( ItemView.Property.MINIMUM_SWIPE_SPEED).Get( ref temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( ItemView.Property.MINIMUM_SWIPE_SPEED, new Dali.Property.Value( value ) );
+    }
+  }
+  public float MinimumSwipeDistance
+  {
+    get
+    {
+      float temp = 0.0f;
+      GetProperty( ItemView.Property.MINIMUM_SWIPE_DISTANCE).Get( ref temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( ItemView.Property.MINIMUM_SWIPE_DISTANCE, new Dali.Property.Value( value ) );
+    }
+  }
+  public float WheelScrollDistanceStep
+  {
+    get
+    {
+      float temp = 0.0f;
+      GetProperty( ItemView.Property.WHEEL_SCROLL_DISTANCE_STEP).Get( ref temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( ItemView.Property.WHEEL_SCROLL_DISTANCE_STEP, new Dali.Property.Value( value ) );
+    }
+  }
+  public bool SnapToItemEnabled
+  {
+    get
+    {
+      bool temp = false;
+      GetProperty( ItemView.Property.SNAP_TO_ITEM_ENABLED).Get( ref temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( ItemView.Property.SNAP_TO_ITEM_ENABLED, new Dali.Property.Value( value ) );
+    }
+  }
+  public float RefreshInterval
+  {
+    get
+    {
+      float temp = 0.0f;
+      GetProperty( ItemView.Property.REFRESH_INTERVAL).Get( ref temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( ItemView.Property.REFRESH_INTERVAL, new Dali.Property.Value( value ) );
+    }
+  }
+  public float LayoutPosition
+  {
+    get
+    {
+      float temp = 0.0f;
+      GetProperty( ItemView.Property.LAYOUT_POSITION).Get( ref temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( ItemView.Property.LAYOUT_POSITION, new Dali.Property.Value( value ) );
+    }
+  }
+  public float ScrollSpeed
+  {
+    get
+    {
+      float temp = 0.0f;
+      GetProperty( ItemView.Property.SCROLL_SPEED).Get( ref temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( ItemView.Property.SCROLL_SPEED, new Dali.Property.Value( value ) );
+    }
+  }
+  public float Overshoot
+  {
+    get
+    {
+      float temp = 0.0f;
+      GetProperty( ItemView.Property.OVERSHOOT).Get( ref temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( ItemView.Property.OVERSHOOT, new Dali.Property.Value( value ) );
+    }
+  }
+  public Dali.CSharp.Size ScrollDirection
+  {
+    get
+    {
+      Vector2 temp = new Vector2(0.0f,0.0f);
+      GetProperty( ItemView.Property.SCROLL_DIRECTION).Get(  temp );
+      Dali.CSharp.Size ret = new Dali.CSharp.Size(temp.x, temp.y);
+      return ret;
+    }
+    set
+    {
+      SetProperty( ItemView.Property.SCROLL_DIRECTION, new Dali.Property.Value( value ) );
+    }
+  }
+  public int LayoutOrientation
+  {
+    get
+    {
+      int temp = 0;
+      GetProperty( ItemView.Property.LAYOUT_ORIENTATION).Get( ref temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( ItemView.Property.LAYOUT_ORIENTATION, new Dali.Property.Value( value ) );
+    }
+  }
+  public float ScrollContentSize
+  {
+    get
+    {
+      float temp = 0.0f;
+      GetProperty( ItemView.Property.SCROLL_CONTENT_SIZE).Get( ref temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( ItemView.Property.SCROLL_CONTENT_SIZE, new Dali.Property.Value( value ) );
+    }
+  }
+
+/* Properties ends */
+
 %}
 %enddef