}
- 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;
- }
-
- ~Property() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if (swigCPtr.Handle != global::System.IntPtr.Zero) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_TextLabel_Property(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- }
- }
-
- public Property() : this(NDalicPINVOKE.new_TextLabel_Property(), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
+ public class Property
+ {
public static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextLabel_Property_RENDERING_BACKEND_get();
public static readonly int TEXT = NDalicPINVOKE.TextLabel_Property_TEXT_get();
public static readonly int FONT_FAMILY = NDalicPINVOKE.TextLabel_Property_FONT_FAMILY_get();
public static readonly int SHADOW = NDalicPINVOKE.TextLabel_Property_SHADOW_get();
public static readonly int EMBOSS = NDalicPINVOKE.TextLabel_Property_EMBOSS_get();
public static readonly int OUTLINE = NDalicPINVOKE.TextLabel_Property_OUTLINE_get();
-
}
public TextLabel () : this (NDalicPINVOKE.TextLabel_New__SWIG_0(), true) {
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public TextLabel Assign(TextLabel handle) {
- TextLabel ret = new TextLabel(NDalicPINVOKE.TextLabel_Assign(swigCPtr, TextLabel.getCPtr(handle)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public new static TextLabel DownCast(BaseHandle handle) {
+ internal new static TextLabel DownCast(BaseHandle handle) {
TextLabel ret = new TextLabel(NDalicPINVOKE.TextLabel_DownCast(BaseHandle.getCPtr(handle)), true);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public enum PropertyRange {
- PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
- PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX+1000
- }
-
- public int RenderingBackend
- {
- get
- {
- int temp = 0;
- GetProperty( TextLabel.Property.RENDERING_BACKEND).Get( ref temp );
- return temp;
- }
- set
- {
- SetProperty( TextLabel.Property.RENDERING_BACKEND, new Dali.Property.Value( value ) );
- }
- }
public string Text
{
get
get
{
float temp = 0.0f;
- GetProperty( TextLabel.Property.POINT_SIZE).Get( ref temp );
+ GetProperty( TextLabel.Property.POINT_SIZE).Get( out temp );
return temp;
}
set
get
{
bool temp = false;
- GetProperty( TextLabel.Property.MULTI_LINE).Get( ref temp );
+ GetProperty( TextLabel.Property.MULTI_LINE).Get( out temp );
return temp;
}
set
get
{
bool temp = false;
- GetProperty( TextLabel.Property.UNDERLINE_ENABLED).Get( ref temp );
+ GetProperty( TextLabel.Property.UNDERLINE_ENABLED).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( TextLabel.Property.UNDERLINE_HEIGHT).Get( ref temp );
+ GetProperty( TextLabel.Property.UNDERLINE_HEIGHT).Get( out temp );
return temp;
}
set
get
{
bool temp = false;
- GetProperty( TextLabel.Property.ENABLE_MARKUP).Get( ref temp );
+ GetProperty( TextLabel.Property.ENABLE_MARKUP).Get( out temp );
return temp;
}
set
get
{
bool temp = false;
- GetProperty( TextLabel.Property.ENABLE_AUTO_SCROLL).Get( ref temp );
+ GetProperty( TextLabel.Property.ENABLE_AUTO_SCROLL).Get( out temp );
return temp;
}
set
get
{
int temp = 0;
- GetProperty( TextLabel.Property.AUTO_SCROLL_SPEED).Get( ref temp );
+ GetProperty( TextLabel.Property.AUTO_SCROLL_SPEED).Get( out temp );
return temp;
}
set
get
{
int temp = 0;
- GetProperty( TextLabel.Property.AUTO_SCROLL_LOOP_COUNT).Get( ref temp );
+ GetProperty( TextLabel.Property.AUTO_SCROLL_LOOP_COUNT).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( TextLabel.Property.AUTO_SCROLL_GAP).Get( ref temp );
+ GetProperty( TextLabel.Property.AUTO_SCROLL_GAP).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( TextLabel.Property.LINE_SPACING).Get( ref temp );
+ GetProperty( TextLabel.Property.LINE_SPACING).Get( out temp );
return temp;
}
set