}
- public static TextEditor GetTextEditorFromPtr(global::System.IntPtr cPtr) {
+ internal static TextEditor GetTextEditorFromPtr(global::System.IntPtr cPtr) {
TextEditor ret = new TextEditor(cPtr, false);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- 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_TextEditor_Property(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- }
- }
-
- public Property() : this(NDalicPINVOKE.new_TextEditor_Property(), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
+ public class Property
+ {
public static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextEditor_Property_RENDERING_BACKEND_get();
public static readonly int TEXT = NDalicPINVOKE.TextEditor_Property_TEXT_get();
public static readonly int TEXT_COLOR = NDalicPINVOKE.TextEditor_Property_TEXT_COLOR_get();
public static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextEditor_Property_INPUT_EMBOSS_get();
public static readonly int OUTLINE = NDalicPINVOKE.TextEditor_Property_OUTLINE_get();
public static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextEditor_Property_INPUT_OUTLINE_get();
-
- }
-
- public class InputStyle : global::System.IDisposable {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal InputStyle(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(InputStyle obj) {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~InputStyle() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if (swigCPtr.Handle != global::System.IntPtr.Zero) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_TextEditor_InputStyle(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- }
- }
-
- public InputStyle() : this(NDalicPINVOKE.new_TextEditor_InputStyle(), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public enum Mask {
+ }
+
+ public class InputStyle
+ {
+ public enum Mask
+ {
NONE = 0x0000,
COLOR = 0x0001,
FONT_FAMILY = 0x0002,
EMBOSS = 0x0080,
OUTLINE = 0x0100
}
-
}
public TextEditor () : this (NDalicPINVOKE.TextEditor_New(), true) {
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public TextEditor Assign(TextEditor handle) {
- TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_Assign(swigCPtr, TextEditor.getCPtr(handle)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public new static TextEditor DownCast(BaseHandle handle) {
+ internal new static TextEditor DownCast(BaseHandle handle) {
TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_DownCast(BaseHandle.getCPtr(handle)), true);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public TextEditorSignal TextChangedSignal() {
+ internal TextEditorSignal TextChangedSignal() {
TextEditorSignal ret = new TextEditorSignal(NDalicPINVOKE.TextEditor_TextChangedSignal(swigCPtr), false);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t InputStyleChangedSignal() {
+ internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t InputStyleChangedSignal() {
SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t ret = new SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t(NDalicPINVOKE.TextEditor_InputStyleChangedSignal(swigCPtr), false);
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( TextEditor.Property.RENDERING_BACKEND).Get( ref temp );
- return temp;
- }
- set
- {
- SetProperty( TextEditor.Property.RENDERING_BACKEND, new Dali.Property.Value( value ) );
- }
- }
public string Text
{
get
get
{
float temp = 0.0f;
- GetProperty( TextEditor.Property.POINT_SIZE).Get( ref temp );
+ GetProperty( TextEditor.Property.POINT_SIZE).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( TextEditor.Property.SCROLL_THRESHOLD).Get( ref temp );
+ GetProperty( TextEditor.Property.SCROLL_THRESHOLD).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( TextEditor.Property.SCROLL_SPEED).Get( ref temp );
+ GetProperty( TextEditor.Property.SCROLL_SPEED).Get( out temp );
return temp;
}
set
get
{
bool temp = false;
- GetProperty( TextEditor.Property.ENABLE_CURSOR_BLINK).Get( ref temp );
+ GetProperty( TextEditor.Property.ENABLE_CURSOR_BLINK).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( TextEditor.Property.CURSOR_BLINK_INTERVAL).Get( ref temp );
+ GetProperty( TextEditor.Property.CURSOR_BLINK_INTERVAL).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( TextEditor.Property.CURSOR_BLINK_DURATION).Get( ref temp );
+ GetProperty( TextEditor.Property.CURSOR_BLINK_DURATION).Get( out temp );
return temp;
}
set
get
{
int temp = 0;
- GetProperty( TextEditor.Property.CURSOR_WIDTH).Get( ref temp );
+ GetProperty( TextEditor.Property.CURSOR_WIDTH).Get( out temp );
return temp;
}
set
get
{
bool temp = false;
- GetProperty( TextEditor.Property.ENABLE_MARKUP).Get( ref temp );
+ GetProperty( TextEditor.Property.ENABLE_MARKUP).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( TextEditor.Property.INPUT_POINT_SIZE).Get( ref temp );
+ GetProperty( TextEditor.Property.INPUT_POINT_SIZE).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( TextEditor.Property.LINE_SPACING).Get( ref temp );
+ GetProperty( TextEditor.Property.LINE_SPACING).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( TextEditor.Property.INPUT_LINE_SPACING).Get( ref temp );
+ GetProperty( TextEditor.Property.INPUT_LINE_SPACING).Get( out temp );
return temp;
}
set