{
//new ControlDashboard.Example().Run(args); //o
//new DatePickerTest.Example().Run(args); //o
- new DatePickerUsingJson.Example().Run(args); //o
+ //new DatePickerUsingJson.Example().Run(args); //o
//new HelloTest.Example().Run(args); //o
- //new HelloWorldTest.Example().Run(args); //o
+ new HelloWorldTest.Example().Run(args); //o
//new Test1.Example().Run(args); //o
//new UserAlphaFunctionTest.Example().Run(args); //o
//new MyCSharpExample.Example().Run(args); //o
window.TouchEvent += OnWindowTouched;
window.KeyEvent += OnWindowKeyEvent;
+ TextLabel pixelLabel = new TextLabel("Test Pixel Size 32.0f");
+ pixelLabel.Position2D = new Position2D(10, 10);
+ pixelLabel.PixelSize = 32.0f;
+ window.GetDefaultLayer().Add(pixelLabel);
+
+ TextLabel pointLabel = new TextLabel("Test Point Size 32.0f");
+ pointLabel.Position2D = new Position2D(10, 100);
+ pointLabel.PointSize = 32.0f;
+ window.GetDefaultLayer().Add(pointLabel);
+
+ TextLabel ellipsis = new TextLabel("Ellipsis of TextLabel is enabled.");
+ ellipsis.Size2D = new Size2D(100, 100);
+ ellipsis.Position2D = new Position2D(10, 250);
+ ellipsis.PointSize = 20.0f;
+ ellipsis.Ellipsis = true;
+ window.GetDefaultLayer().Add(ellipsis);
+
_text = new TextLabel("Hello NUI World");
_text.ParentOrigin = ParentOrigin.Center;
_text.AnchorPoint = AnchorPoint.Center;
public static extern global::System.IntPtr ImfManager_SWIGUpcast(global::System.IntPtr jarg1);
/////////////////////////////////////////////////////////////
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextEditor_Property_SMOOTH_SCROLL_get")]
+ public static extern int TextEditor_Property_SMOOTH_SCROLL_get();
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextEditor_Property_SMOOTH_SCROLL_DURATION_get")]
+ public static extern int TextEditor_Property_SMOOTH_SCROLL_DURATION_get();
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextEditor_Property_ENABLE_SCROLL_BAR_get")]
+ public static extern int TextEditor_Property_ENABLE_SCROLL_BAR_get();
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextEditor_Property_SCROLL_BAR_SHOW_DURATION_get")]
+ public static extern int TextEditor_Property_SCROLL_BAR_SHOW_DURATION_get();
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextEditor_Property_SCROLL_BAR_FADE_DURATION_get")]
+ public static extern int TextEditor_Property_SCROLL_BAR_FADE_DURATION_get();
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextEditor_Property_PIXEL_SIZE_get")]
+ public static extern int TextEditor_Property_PIXEL_SIZE_get();
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextField_Property_HIDDEN_INPUT_SETTINGS_get")]
+ public static extern int TextField_Property_HIDDEN_INPUT_SETTINGS_get();
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextField_Property_PIXEL_SIZE_get")]
+ public static extern int TextField_Property_PIXEL_SIZE_get();
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextLabel_Property_PIXEL_SIZE_get")]
+ public static extern int TextLabel_Property_PIXEL_SIZE_get();
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextLabel_Property_ELLIPSIS_get")]
+ public static extern int TextLabel_Property_ELLIPSIS_get();
+
+
}
}
internal static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextEditor_Property_INPUT_EMBOSS_get();
internal static readonly int OUTLINE = NDalicPINVOKE.TextEditor_Property_OUTLINE_get();
internal static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextEditor_Property_INPUT_OUTLINE_get();
+ internal static readonly int SMOOTH_SCROLL = NDalicManualPINVOKE.TextEditor_Property_SMOOTH_SCROLL_get();
+ internal static readonly int SMOOTH_SCROLL_DURATION = NDalicManualPINVOKE.TextEditor_Property_SMOOTH_SCROLL_DURATION_get();
+ internal static readonly int ENABLE_SCROLL_BAR = NDalicManualPINVOKE.TextEditor_Property_ENABLE_SCROLL_BAR_get();
+ internal static readonly int SCROLL_BAR_SHOW_DURATION = NDalicManualPINVOKE.TextEditor_Property_SCROLL_BAR_SHOW_DURATION_get();
+ internal static readonly int SCROLL_BAR_FADE_DURATION = NDalicManualPINVOKE.TextEditor_Property_SCROLL_BAR_FADE_DURATION_get();
+ internal static readonly int PIXEL_SIZE = NDalicManualPINVOKE.TextEditor_Property_PIXEL_SIZE_get();
}
}
}
+ /// <summary>
+ /// SmoothScroll property.
+ /// </summary>
+ public bool SmoothScroll
+ {
+ get
+ {
+ bool temp = false;
+ GetProperty(TextEditor.Property.SMOOTH_SCROLL).Get(ref temp);
+ return temp;
+ }
+ set
+ {
+ SetProperty(TextEditor.Property.SMOOTH_SCROLL, new Tizen.NUI.PropertyValue(value));
+ }
+ }
+
+ /// <summary>
+ /// SmoothScrollDuration property.
+ /// </summary>
+ public float SmoothScrollDuration
+ {
+ get
+ {
+ float temp = 0.0f;
+ GetProperty(TextEditor.Property.SMOOTH_SCROLL_DURATION).Get(ref temp);
+ return temp;
+ }
+ set
+ {
+ SetProperty(TextEditor.Property.SMOOTH_SCROLL_DURATION, new Tizen.NUI.PropertyValue(value));
+ }
+ }
+
+ /// <summary>
+ /// EnableScrollBar property.
+ /// </summary>
+ public bool EnableScrollBar
+ {
+ get
+ {
+ bool temp = false;
+ GetProperty(TextEditor.Property.ENABLE_SCROLL_BAR).Get(ref temp);
+ return temp;
+ }
+ set
+ {
+ SetProperty(TextEditor.Property.ENABLE_SCROLL_BAR, new Tizen.NUI.PropertyValue(value));
+ }
+ }
+
+ /// <summary>
+ /// ScrollBarShowDuration property.
+ /// </summary>
+ public float ScrollBarShowDuration
+ {
+ get
+ {
+ float temp = 0.0f;
+ GetProperty(TextEditor.Property.SCROLL_BAR_SHOW_DURATION).Get(ref temp);
+ return temp;
+ }
+ set
+ {
+ SetProperty(TextEditor.Property.SCROLL_BAR_SHOW_DURATION, new Tizen.NUI.PropertyValue(value));
+ }
+ }
+
+ /// <summary>
+ /// ScrollBarFadeDuration property.
+ /// </summary>
+ public float ScrollBarFadeDuration
+ {
+ get
+ {
+ float temp = 0.0f;
+ GetProperty(TextEditor.Property.SCROLL_BAR_FADE_DURATION).Get(ref temp);
+ return temp;
+ }
+ set
+ {
+ SetProperty(TextEditor.Property.SCROLL_BAR_FADE_DURATION, new Tizen.NUI.PropertyValue(value));
+ }
+ }
+
+ /// <summary>
+ /// PixelSize property.
+ /// </summary>
+ public float PixelSize
+ {
+ get
+ {
+ float temp = 0.0f;
+ GetProperty(TextEditor.Property.PIXEL_SIZE).Get(ref temp);
+ return temp;
+ }
+ set
+ {
+ SetProperty(TextEditor.Property.PIXEL_SIZE, new Tizen.NUI.PropertyValue(value));
+ }
+ }
+
}
}
internal static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextField_Property_INPUT_EMBOSS_get();
internal static readonly int OUTLINE = NDalicPINVOKE.TextField_Property_OUTLINE_get();
internal static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextField_Property_INPUT_OUTLINE_get();
+ internal static readonly int HIDDEN_INPUT_SETTINGS = NDalicManualPINVOKE.TextField_Property_HIDDEN_INPUT_SETTINGS_get();
+ internal static readonly int PIXEL_SIZE = NDalicManualPINVOKE.TextField_Property_PIXEL_SIZE_get();
}
}
}
+ /// <summary>
+ /// HiddenInputSettings property.
+ /// </summary>
+ public Tizen.NUI.PropertyMap HiddenInputSettings
+ {
+ get
+ {
+ Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+ GetProperty(TextField.Property.HIDDEN_INPUT_SETTINGS).Get(temp);
+ return temp;
+ }
+ set
+ {
+ SetProperty(TextField.Property.HIDDEN_INPUT_SETTINGS, new Tizen.NUI.PropertyValue(value));
+ }
+ }
+
+ /// <summary>
+ /// PixelSize property.
+ /// </summary>
+ public float PixelSize
+ {
+ get
+ {
+ float temp = 0.0f;
+ GetProperty(TextField.Property.PIXEL_SIZE).Get(ref temp);
+ return temp;
+ }
+ set
+ {
+ SetProperty(TextField.Property.PIXEL_SIZE, new Tizen.NUI.PropertyValue(value));
+ }
+ }
+
}
}
internal static readonly int SHADOW = NDalicPINVOKE.TextLabel_Property_SHADOW_get();
internal static readonly int EMBOSS = NDalicPINVOKE.TextLabel_Property_EMBOSS_get();
internal static readonly int OUTLINE = NDalicPINVOKE.TextLabel_Property_OUTLINE_get();
+ internal static readonly int PIXEL_SIZE = NDalicManualPINVOKE.TextLabel_Property_PIXEL_SIZE_get();
+ internal static readonly int ELLIPSIS = NDalicManualPINVOKE.TextLabel_Property_ELLIPSIS_get();
}
}
}
+ /// <summary>
+ /// PixelSize property.<br>
+ /// The size of font in pixels.<br>
+ /// </summary>
+ public float PixelSize
+ {
+ get
+ {
+ float temp = 0.0f;
+ GetProperty(TextLabel.Property.PIXEL_SIZE).Get(ref temp);
+ return temp;
+ }
+ set
+ {
+ SetProperty(TextLabel.Property.PIXEL_SIZE, new Tizen.NUI.PropertyValue(value));
+ }
+ }
+
+ /// <summary>
+ /// Ellipsis property.<br>
+ /// Enable or disable the ellipsis.<br>
+ /// </summary>
+ public bool Ellipsis
+ {
+ get
+ {
+ bool temp = false;
+ GetProperty(TextLabel.Property.ELLIPSIS).Get(ref temp);
+ return temp;
+ }
+ set
+ {
+ SetProperty(TextLabel.Property.ELLIPSIS, new Tizen.NUI.PropertyValue(value));
+ }
+ }
+
}
}