using System;
using System.Runtime.InteropServices;
-public class Actor : Handle {
+public class Actor : Animatable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal Actor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Actor_SWIGUpcast(cPtr), cMemoryOwn) {
* limitations under the License.
*
*/
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
-//------------------------------------------------------------------------------
-// <auto-generated />
-//
-// This file was automatically generated by SWIG (http://www.swig.org).
-// Version 3.0.10
-//
-// Do not make changes to this file unless you know what you are doing--modify
-// the SWIG interface file instead.
-//------------------------------------------------------------------------------
namespace Dali {
-public class Handle : BaseHandle {
+public class Animatable : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- internal Handle(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Handle_SWIGUpcast(cPtr), cMemoryOwn) {
+ internal Animatable(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Handle_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Handle obj) {
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Animatable obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
- ~Handle() {
+ ~Animatable() {
DisposeQueue.Instance.Add(this);
}
}
- public Handle () : this (NDalicPINVOKE.Handle_New(), true) {
+ public Animatable () : this (NDalicPINVOKE.Handle_New(), true) {
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public Handle(Handle handle) : this(NDalicPINVOKE.new_Handle__SWIG_1(Handle.getCPtr(handle)), true) {
+ public Animatable(Animatable handle) : this(NDalicPINVOKE.new_Handle__SWIG_1(Animatable.getCPtr(handle)), true) {
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public Handle Assign(Handle rhs) {
- Handle ret = new Handle(NDalicPINVOKE.Handle_Assign(swigCPtr, Handle.getCPtr(rhs)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public static Handle DownCast(BaseHandle handle) {
- Handle ret = new Handle(NDalicPINVOKE.Handle_DownCast(BaseHandle.getCPtr(handle)), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public bool Supports(Handle.Capability capability) {
+ public bool Supports(Animatable.Capability capability) {
bool ret = NDalicPINVOKE.Handle_Supports(swigCPtr, (int)capability);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
return ret;
}
- public void SetProperty(int index, Property.Value propertyValue) {
- NDalicPINVOKE.Handle_SetProperty(swigCPtr, index, Property.Value.getCPtr(propertyValue));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ public void SetProperty(int index, Property.Value propertyValue)
+ {
+ Dali.Object.SetProperty( swigCPtr, index, propertyValue );
}
public int RegisterProperty(string name, Property.Value propertyValue) {
return ret;
}
- public Property.Value GetProperty(int index) {
- Property.Value ret = new Property.Value(NDalicPINVOKE.Handle_GetProperty(swigCPtr, index), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ public Property.Value GetProperty(int index)
+ {
+ Property.Value ret = Dali.Object.GetProperty( swigCPtr, index );
return ret;
}
return ret;
}
- public bool ApplyStyle(string styleName, Handle handle) {
- bool ret = NDalicPINVOKE.Builder_ApplyStyle(swigCPtr, styleName, Handle.getCPtr(handle));
+ public bool ApplyStyle(string styleName, Animatable handle) {
+ bool ret = NDalicPINVOKE.Builder_ApplyStyle(swigCPtr, styleName, Animatable.getCPtr(handle));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public bool ApplyFromJson(Handle handle, string json) {
- bool ret = NDalicPINVOKE.Builder_ApplyFromJson(swigCPtr, Handle.getCPtr(handle), json);
+ public bool ApplyFromJson(Animatable handle, string json) {
+ bool ret = NDalicPINVOKE.Builder_ApplyFromJson(swigCPtr, Animatable.getCPtr(handle), json);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
{
private static readonly DisposeQueue _disposableQueue = new DisposeQueue();
private List<IDisposable> _disposables = new List<IDisposable>();
- private Object _listLock = new object();
+ private System.Object _listLock = new object();
private EventThreadCallback _eventThreadCallback;
private EventThreadCallback.CallbackDelegate _disposeQueueProcessDisposablesDelegate;
namespace Dali {
-public class GestureDetector : Handle {
+public class GestureDetector : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal GestureDetector(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.GestureDetector_SWIGUpcast(cPtr), cMemoryOwn) {
namespace Dali {
-public class LinearConstrainer : Handle {
+public class LinearConstrainer : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal LinearConstrainer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.LinearConstrainer_SWIGUpcast(cPtr), cMemoryOwn) {
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public void Remove(Handle target) {
- NDalicPINVOKE.LinearConstrainer_Remove(swigCPtr, Handle.getCPtr(target));
+ public void Remove(Animatable target) {
+ NDalicPINVOKE.LinearConstrainer_Remove(swigCPtr, Animatable.getCPtr(target));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
Dali.Property.Array temp = new Dali.Property.Array();
- GetProperty( LinearConstrainer.Property.VALUE).Get( temp );
+ Dali.Object.GetProperty( swigCPtr, LinearConstrainer.Property.VALUE).Get( temp );
return temp;
}
set
{
- SetProperty( LinearConstrainer.Property.VALUE, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, LinearConstrainer.Property.VALUE, new Dali.Property.Value( value ) );
}
}
public Dali.Property.Array Progress
get
{
Dali.Property.Array temp = new Dali.Property.Array();
- GetProperty( LinearConstrainer.Property.PROGRESS).Get( temp );
+ Dali.Object.GetProperty( swigCPtr, LinearConstrainer.Property.PROGRESS).Get( temp );
return temp;
}
set
{
- SetProperty( LinearConstrainer.Property.PROGRESS, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, LinearConstrainer.Property.PROGRESS, new Dali.Property.Value( value ) );
}
}
}
}
- public static Handle New() {
- Handle ret = new Handle(NDalicPINVOKE.New(), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
public static bool RegisterType(string name, SWIGTYPE_p_std__type_info baseType, System.Delegate f) {
System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(f);
{
--- /dev/null
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+
+/**
+ * Static Helper class for Property
+ * Internal
+ */
+
+namespace Dali
+{
+
+public static class Object
+{
+ public static Property.Value GetProperty(global::System.Runtime.InteropServices.HandleRef handle, int index) {
+ Property.Value ret = new Property.Value(NDalicPINVOKE.Handle_GetProperty(handle, index), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public static void SetProperty( global::System.Runtime.InteropServices.HandleRef handle, int index, Property.Value propertyValue)
+ {
+ NDalicPINVOKE.Handle_SetProperty(handle, index, Property.Value.getCPtr(propertyValue));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+}
+
+}
get
{
Vector2 temp = new Vector2(0.0f,0.0f);
- GetProperty( PanGestureDetector.Property.SCREEN_POSITION).Get( temp );
+ Dali.Object.GetProperty( swigCPtr, PanGestureDetector.Property.SCREEN_POSITION).Get( temp );
return temp;
}
} public Vector2 ScreenDisplacement
get
{
Vector2 temp = new Vector2(0.0f,0.0f);
- GetProperty( PanGestureDetector.Property.SCREEN_DISPLACEMENT).Get( temp );
+ Dali.Object.GetProperty( swigCPtr, PanGestureDetector.Property.SCREEN_DISPLACEMENT).Get( temp );
return temp;
}
} public Vector2 ScreenVelocity
get
{
Vector2 temp = new Vector2(0.0f,0.0f);
- GetProperty( PanGestureDetector.Property.SCREEN_VELOCITY).Get( temp );
+ Dali.Object.GetProperty( swigCPtr, PanGestureDetector.Property.SCREEN_VELOCITY).Get( temp );
return temp;
}
} public Vector2 LocalPosition
get
{
Vector2 temp = new Vector2(0.0f,0.0f);
- GetProperty( PanGestureDetector.Property.LOCAL_POSITION).Get( temp );
+ Dali.Object.GetProperty( swigCPtr, PanGestureDetector.Property.LOCAL_POSITION).Get( temp );
return temp;
}
} public Vector2 LocalDisplacement
get
{
Vector2 temp = new Vector2(0.0f,0.0f);
- GetProperty( PanGestureDetector.Property.LOCAL_DISPLACEMENT).Get( temp );
+ Dali.Object.GetProperty( swigCPtr, PanGestureDetector.Property.LOCAL_DISPLACEMENT).Get( temp );
return temp;
}
} public Vector2 LocalVelocity
get
{
Vector2 temp = new Vector2(0.0f,0.0f);
- GetProperty( PanGestureDetector.Property.LOCAL_VELOCITY).Get( temp );
+ Dali.Object.GetProperty( swigCPtr, PanGestureDetector.Property.LOCAL_VELOCITY).Get( temp );
return temp;
}
} public bool Panning
get
{
bool temp = false;
- GetProperty( PanGestureDetector.Property.PANNING).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, PanGestureDetector.Property.PANNING).Get( ref temp );
return temp;
}
}
namespace Dali {
-public class Path : Handle {
+public class Path : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal Path(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Path_SWIGUpcast(cPtr), cMemoryOwn) {
get
{
Dali.Property.Array temp = new Dali.Property.Array();
- GetProperty( Path.Property.POINTS).Get( temp );
+ Dali.Object.GetProperty( swigCPtr, Path.Property.POINTS).Get( temp );
return temp;
}
set
{
- SetProperty( Path.Property.POINTS, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Path.Property.POINTS, new Dali.Property.Value( value ) );
}
}
public Dali.Property.Array ControlPoints
get
{
Dali.Property.Array temp = new Dali.Property.Array();
- GetProperty( Path.Property.CONTROL_POINTS).Get( temp );
+ Dali.Object.GetProperty( swigCPtr, Path.Property.CONTROL_POINTS).Get( temp );
return temp;
}
set
{
- SetProperty( Path.Property.CONTROL_POINTS, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Path.Property.CONTROL_POINTS, new Dali.Property.Value( value ) );
}
}
namespace Dali {
-public class PathConstrainer : Handle {
+public class PathConstrainer : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal PathConstrainer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.PathConstrainer_SWIGUpcast(cPtr), cMemoryOwn) {
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public void Remove(Handle target) {
- NDalicPINVOKE.PathConstrainer_Remove(swigCPtr, Handle.getCPtr(target));
+ public void Remove(Animatable target) {
+ NDalicPINVOKE.PathConstrainer_Remove(swigCPtr, Animatable.getCPtr(target));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
Vector3 temp = new Vector3(0.0f,0.0f,0.0f);
- GetProperty( PathConstrainer.Property.FORWARD).Get( temp );
+ Dali.Object.GetProperty( swigCPtr, PathConstrainer.Property.FORWARD).Get( temp );
return temp;
}
set
{
- SetProperty( PathConstrainer.Property.FORWARD, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, PathConstrainer.Property.FORWARD, new Dali.Property.Value( value ) );
}
}
public Dali.Property.Array Points
get
{
Dali.Property.Array temp = new Dali.Property.Array();
- GetProperty( PathConstrainer.Property.POINTS).Get( temp );
+ Dali.Object.GetProperty( swigCPtr, PathConstrainer.Property.POINTS).Get( temp );
return temp;
}
set
{
- SetProperty( PathConstrainer.Property.POINTS, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, PathConstrainer.Property.POINTS, new Dali.Property.Value( value ) );
}
}
public Dali.Property.Array ControlPoints
get
{
Dali.Property.Array temp = new Dali.Property.Array();
- GetProperty( PathConstrainer.Property.CONTROL_POINTS).Get( temp );
+ Dali.Object.GetProperty( swigCPtr, PathConstrainer.Property.CONTROL_POINTS).Get( temp );
return temp;
}
set
{
- SetProperty( PathConstrainer.Property.CONTROL_POINTS, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, PathConstrainer.Property.CONTROL_POINTS, new Dali.Property.Value( value ) );
}
}
}
}
- public Property(Handle arg0, int propertyIndex) : this(NDalicPINVOKE.new_Property__SWIG_0(Handle.getCPtr(arg0), propertyIndex), true) {
+ public Property(Animatable arg0, int propertyIndex) : this(NDalicPINVOKE.new_Property__SWIG_0(Animatable.getCPtr(arg0), propertyIndex), true) {
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public Property(Handle arg0, int propertyIndex, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_1(Handle.getCPtr(arg0), propertyIndex, componentIndex), true) {
+ public Property(Animatable arg0, int propertyIndex, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_1(Animatable.getCPtr(arg0), propertyIndex, componentIndex), true) {
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public Property(Handle arg0, string propertyName) : this(NDalicPINVOKE.new_Property__SWIG_2(Handle.getCPtr(arg0), propertyName), true) {
+ public Property(Animatable arg0, string propertyName) : this(NDalicPINVOKE.new_Property__SWIG_2(Animatable.getCPtr(arg0), propertyName), true) {
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public Property(Handle arg0, string propertyName, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_3(Handle.getCPtr(arg0), propertyName, componentIndex), true) {
+ public Property(Animatable arg0, string propertyName, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_3(Animatable.getCPtr(arg0), propertyName, componentIndex), true) {
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public Handle _object {
+ public Animatable _object {
set {
- NDalicPINVOKE.Property__object_set(swigCPtr, Handle.getCPtr(value));
+ NDalicPINVOKE.Property__object_set(swigCPtr, Animatable.getCPtr(value));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
+ }
get {
- Handle ret = new Handle(NDalicPINVOKE.Property__object_get(swigCPtr), false);
+ Animatable ret = new Animatable(NDalicPINVOKE.Property__object_get(swigCPtr), false);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
- }
+ }
}
public int propertyIndex {
return ret;
}
- public Handle GetTarget() {
- Handle ret = new Handle(NDalicPINVOKE.PropertyNotification_GetTarget(swigCPtr), true);
+ public Animatable GetTarget() {
+ Animatable ret = new Animatable(NDalicPINVOKE.PropertyNotification_GetTarget(swigCPtr), true);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
namespace Dali {
-public class RenderTask : Handle {
+public class RenderTask : Animatable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal RenderTask(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.RenderTask_SWIGUpcast(cPtr), cMemoryOwn) {
namespace Dali {
-public class Renderer : Handle {
+public class Renderer : Animatable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal Renderer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Renderer_SWIGUpcast(cPtr), cMemoryOwn) {
get
{
int temp = 0;
- GetProperty( Renderer.Property.DEPTH_INDEX).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.DEPTH_INDEX).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.DEPTH_INDEX, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.DEPTH_INDEX, new Dali.Property.Value( value ) );
}
}
public int FaceCullingMode
get
{
int temp = 0;
- GetProperty( Renderer.Property.FACE_CULLING_MODE).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.FACE_CULLING_MODE).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.FACE_CULLING_MODE, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.FACE_CULLING_MODE, new Dali.Property.Value( value ) );
}
}
public int BlendMode
get
{
int temp = 0;
- GetProperty( Renderer.Property.BLEND_MODE).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.BLEND_MODE).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.BLEND_MODE, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.BLEND_MODE, new Dali.Property.Value( value ) );
}
}
public int BlendEquationRgb
get
{
int temp = 0;
- GetProperty( Renderer.Property.BLEND_EQUATION_RGB).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.BLEND_EQUATION_RGB).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.BLEND_EQUATION_RGB, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.BLEND_EQUATION_RGB, new Dali.Property.Value( value ) );
}
}
public int BlendEquationAlpha
get
{
int temp = 0;
- GetProperty( Renderer.Property.BLEND_EQUATION_ALPHA).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.BLEND_EQUATION_ALPHA).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.BLEND_EQUATION_ALPHA, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.BLEND_EQUATION_ALPHA, new Dali.Property.Value( value ) );
}
}
public int BlendFactorSrcRgb
get
{
int temp = 0;
- GetProperty( Renderer.Property.BLEND_FACTOR_SRC_RGB).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.BLEND_FACTOR_SRC_RGB).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.BLEND_FACTOR_SRC_RGB, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.BLEND_FACTOR_SRC_RGB, new Dali.Property.Value( value ) );
}
}
public int BlendFactorDestRgb
get
{
int temp = 0;
- GetProperty( Renderer.Property.BLEND_FACTOR_DEST_RGB).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.BLEND_FACTOR_DEST_RGB).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.BLEND_FACTOR_DEST_RGB, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.BLEND_FACTOR_DEST_RGB, new Dali.Property.Value( value ) );
}
}
public int BlendFactorSrcAlpha
get
{
int temp = 0;
- GetProperty( Renderer.Property.BLEND_FACTOR_SRC_ALPHA).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.BLEND_FACTOR_SRC_ALPHA).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.BLEND_FACTOR_SRC_ALPHA, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.BLEND_FACTOR_SRC_ALPHA, new Dali.Property.Value( value ) );
}
}
public int BlendFactorDestAlpha
get
{
int temp = 0;
- GetProperty( Renderer.Property.BLEND_FACTOR_DEST_ALPHA).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.BLEND_FACTOR_DEST_ALPHA).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.BLEND_FACTOR_DEST_ALPHA, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.BLEND_FACTOR_DEST_ALPHA, new Dali.Property.Value( value ) );
}
}
public Vector4 BlendColor
get
{
Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
- GetProperty( Renderer.Property.BLEND_COLOR).Get( temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.BLEND_COLOR).Get( temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.BLEND_COLOR, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.BLEND_COLOR, new Dali.Property.Value( value ) );
}
}
public bool BlendPreMultipliedAlpha
get
{
bool temp = false;
- GetProperty( Renderer.Property.BLEND_PRE_MULTIPLIED_ALPHA).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.BLEND_PRE_MULTIPLIED_ALPHA).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.BLEND_PRE_MULTIPLIED_ALPHA, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.BLEND_PRE_MULTIPLIED_ALPHA, new Dali.Property.Value( value ) );
}
}
public int IndexRangeFirst
get
{
int temp = 0;
- GetProperty( Renderer.Property.INDEX_RANGE_FIRST).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.INDEX_RANGE_FIRST).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.INDEX_RANGE_FIRST, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.INDEX_RANGE_FIRST, new Dali.Property.Value( value ) );
}
}
public int IndexRangeCount
get
{
int temp = 0;
- GetProperty( Renderer.Property.INDEX_RANGE_COUNT).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.INDEX_RANGE_COUNT).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.INDEX_RANGE_COUNT, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.INDEX_RANGE_COUNT, new Dali.Property.Value( value ) );
}
}
public int DepthWriteMode
get
{
int temp = 0;
- GetProperty( Renderer.Property.DEPTH_WRITE_MODE).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.DEPTH_WRITE_MODE).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.DEPTH_WRITE_MODE, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.DEPTH_WRITE_MODE, new Dali.Property.Value( value ) );
}
}
public int DepthFunction
get
{
int temp = 0;
- GetProperty( Renderer.Property.DEPTH_FUNCTION).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.DEPTH_FUNCTION).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.DEPTH_FUNCTION, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.DEPTH_FUNCTION, new Dali.Property.Value( value ) );
}
}
public int DepthTestMode
get
{
int temp = 0;
- GetProperty( Renderer.Property.DEPTH_TEST_MODE).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.DEPTH_TEST_MODE).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.DEPTH_TEST_MODE, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.DEPTH_TEST_MODE, new Dali.Property.Value( value ) );
}
}
public int RenderMode
get
{
int temp = 0;
- GetProperty( Renderer.Property.RENDER_MODE).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.RENDER_MODE).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.RENDER_MODE, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.RENDER_MODE, new Dali.Property.Value( value ) );
}
}
public int StencilFunction
get
{
int temp = 0;
- GetProperty( Renderer.Property.STENCIL_FUNCTION).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.STENCIL_FUNCTION).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.STENCIL_FUNCTION, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.STENCIL_FUNCTION, new Dali.Property.Value( value ) );
}
}
public int StencilFunctionMask
get
{
int temp = 0;
- GetProperty( Renderer.Property.STENCIL_FUNCTION_MASK).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.STENCIL_FUNCTION_MASK).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.STENCIL_FUNCTION_MASK, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.STENCIL_FUNCTION_MASK, new Dali.Property.Value( value ) );
}
}
public int StencilFunctionReference
get
{
int temp = 0;
- GetProperty( Renderer.Property.STENCIL_FUNCTION_REFERENCE).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.STENCIL_FUNCTION_REFERENCE).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.STENCIL_FUNCTION_REFERENCE, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.STENCIL_FUNCTION_REFERENCE, new Dali.Property.Value( value ) );
}
}
public int StencilMask
get
{
int temp = 0;
- GetProperty( Renderer.Property.STENCIL_MASK).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.STENCIL_MASK).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.STENCIL_MASK, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.STENCIL_MASK, new Dali.Property.Value( value ) );
}
}
public int StencilOperationOnFail
get
{
int temp = 0;
- GetProperty( Renderer.Property.STENCIL_OPERATION_ON_FAIL).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.STENCIL_OPERATION_ON_FAIL).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.STENCIL_OPERATION_ON_FAIL, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.STENCIL_OPERATION_ON_FAIL, new Dali.Property.Value( value ) );
}
}
public int StencilOperationOnZFail
get
{
int temp = 0;
- GetProperty( Renderer.Property.STENCIL_OPERATION_ON_Z_FAIL).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.STENCIL_OPERATION_ON_Z_FAIL).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.STENCIL_OPERATION_ON_Z_FAIL, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.STENCIL_OPERATION_ON_Z_FAIL, new Dali.Property.Value( value ) );
}
}
public int StencilOperationOnZPass
get
{
int temp = 0;
- GetProperty( Renderer.Property.STENCIL_OPERATION_ON_Z_PASS).Get( ref temp );
+ Dali.Object.GetProperty( swigCPtr, Renderer.Property.STENCIL_OPERATION_ON_Z_PASS).Get( ref temp );
return temp;
}
set
{
- SetProperty( Renderer.Property.STENCIL_OPERATION_ON_Z_PASS, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Renderer.Property.STENCIL_OPERATION_ON_Z_PASS, new Dali.Property.Value( value ) );
}
}
return ret;
}
- public void SetScrollPropertySource(Handle handle, int propertyScrollPosition, int propertyMinScrollPosition, int propertyMaxScrollPosition, int propertyScrollContentSize) {
- NDalicPINVOKE.ScrollBar_SetScrollPropertySource(swigCPtr, Handle.getCPtr(handle), propertyScrollPosition, propertyMinScrollPosition, propertyMaxScrollPosition, propertyScrollContentSize);
+ public void SetScrollPropertySource(Animatable handle, int propertyScrollPosition, int propertyMinScrollPosition, int propertyMaxScrollPosition, int propertyScrollContentSize) {
+ NDalicPINVOKE.ScrollBar_SetScrollPropertySource(swigCPtr, Animatable.getCPtr(handle), propertyScrollPosition, propertyMinScrollPosition, propertyMaxScrollPosition, propertyScrollContentSize);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
namespace Dali {
-public class Shader : Handle {
+public class Shader : Animatable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal Shader(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Shader_SWIGUpcast(cPtr), cMemoryOwn) {
public class Hint : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
-
+
internal Hint(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
-
+
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Hint obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
-
+
~Hint() {
Dispose();
}
-
+
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
global::System.GC.SuppressFinalize(this);
}
}
-
+
public Hint() : this(NDalicPINVOKE.new_Shader_Hint(), true) {
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
-
+
public enum Value {
NONE = 0x00,
OUTPUT_IS_TRANSPARENT = 0x01,
MODIFIES_GEOMETRY = 0x02
}
-
+
}
public class Property : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
-
+
internal Property(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
-
+
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
global::System.GC.SuppressFinalize(this);
}
}
-
+
public Property() : this(NDalicPINVOKE.new_Shader_Property(), true) {
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
-
+
public static readonly int PROGRAM = NDalicPINVOKE.Shader_Property_PROGRAM_get();
-
+
}
public Shader (string vertexShader, string fragmentShader, Shader.Hint.Value hints) : this (NDalicPINVOKE.Shader_New__SWIG_0(vertexShader, fragmentShader, (int)hints), true) {
get
{
Dali.Property.Map temp = new Dali.Property.Map();
- GetProperty( Shader.Property.PROGRAM).Get( temp );
+ Dali.Object.GetProperty( swigCPtr, Shader.Property.PROGRAM).Get( temp );
return temp;
}
set
{
- SetProperty( Shader.Property.PROGRAM, new Dali.Property.Value( value ) );
+ Dali.Object.SetProperty( swigCPtr, Shader.Property.PROGRAM, new Dali.Property.Value( value ) );
}
}
-
}
}