<LangVersion>8.0</LangVersion>
</PropertyGroup>
<PropertyGroup>
- <DefineConstants>NUI_DEBUG_OFF;NUI_PROPERTY_CHANGE_1;NUI_PROPERTY_CHANGE_2;NUI_PROPERTY_CHANGE_3;</DefineConstants>
+ <DefineConstants>NUI_DEBUG_OFF;NUI_PROPERTY_CHANGE_1;NUI_PROPERTY_CHANGE_2;NUI_PROPERTY_CHANGE_3;NUI_VISUAL_PROPERTY_CHANGE_1;</DefineConstants>
</PropertyGroup>
<ItemGroup>
<TizenPreloadFile Include="Tizen.NUI.preload"
*
*/
+using global::System.Runtime.InteropServices;
+
namespace Tizen.NUI
{
internal static partial class Interop
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_DoActionExtension")]
public static extern void DoActionExtension(global::System.Runtime.InteropServices.HandleRef control, int visualIndex, int actionId, int id, string keyPath, int property, global::System.IntPtr callback);
+
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_DoActionWithEmptyAttributes")]
+ public static extern void DoActionWithEmptyAttributes(HandleRef control, int visualIndex, int actionId);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_InternalUpdateVisualPropertyFloat")]
+ public static extern int InternalUpdateVisualPropertyFloat(HandleRef control, int visualIndex, int visualPropertyIndex, float valFloat);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_InternalUpdateVisualPropertyInt")]
+ public static extern int InternalUpdateVisualPropertyInt(HandleRef control, int visualIndex, int visualPropertyIndex, int valInt);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_InternalUpdateVisualPropertyVector4")]
+ public static extern int InternalUpdateVisualPropertyVector4(HandleRef control, int visualIndex, int visualPropertyIndex, HandleRef vector4);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Actor_InternalRetrievingVisualPropertyInt")]
+ public static extern int InternalRetrievingVisualPropertyInt(HandleRef actor, int visualIndex, int visualPropertyIndex, out int valInt);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Actor_InternalRetrievingVisualPropertyString")]
+ public static extern int InternalRetrievingVisualPropertyString(HandleRef actor, int visualIndex, int visualPropertyIndex, out string valString);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Actor_InternalRetrievingVisualPropertyVector4")]
+ public static extern int InternalRetrievingVisualPropertyVector4(HandleRef actor, int visualIndex, int visualPropertyIndex, HandleRef retrievingVector4);
+#endif
}
}
}
// Sync as current properties
UpdateImage();
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ Interop.View.DoActionWithEmptyAttributes(this.SwigCPtr, ImageView.Property.IMAGE, ActionReload);
+#else
PropertyValue attributes = new PropertyValue(0);
this.DoAction(ImageView.Property.IMAGE, ActionReload, attributes);
attributes?.Dispose();
+#endif
}
/// <summary>
// Sync as current properties
UpdateImage();
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ Interop.View.DoActionWithEmptyAttributes(this.SwigCPtr, ImageView.Property.IMAGE, ActionPlay);
+#else
PropertyValue attributes = new PropertyValue(0);
this.DoAction(ImageView.Property.IMAGE, ActionPlay, attributes);
attributes?.Dispose();
+#endif
}
/// <summary>
// Sync as current properties
UpdateImage();
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ Interop.View.DoActionWithEmptyAttributes(this.SwigCPtr, ImageView.Property.IMAGE, ActionPause);
+#else
PropertyValue attributes = new PropertyValue(0);
this.DoAction(ImageView.Property.IMAGE, ActionPause, attributes);
attributes?.Dispose();
+#endif
}
/// <summary>
// Sync as current properties
UpdateImage();
+
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ Interop.View.DoActionWithEmptyAttributes(this.SwigCPtr, ImageView.Property.IMAGE, ActionStop);
+#else
PropertyValue attributes = new PropertyValue(0);
this.DoAction(ImageView.Property.IMAGE, ActionStop, attributes);
attributes?.Dispose();
+#endif
}
/// <summary>
if (backgroundExtraData == null) return;
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ // Update corner radius properties to image by ActionUpdateProperty
+ if (backgroundExtraData.CornerRadius != null)
+ {
+ Interop.View.InternalUpdateVisualPropertyVector4(this.SwigCPtr, ImageView.Property.IMAGE, Visual.Property.CornerRadius, Vector4.getCPtr(backgroundExtraData.CornerRadius));
+ }
+ Interop.View.InternalUpdateVisualPropertyInt(this.SwigCPtr, ImageView.Property.IMAGE, Visual.Property.CornerRadiusPolicy, (int)backgroundExtraData.CornerRadiusPolicy);
+#else
// Apply corner radius to IMAGE.
var cornerRadiusValue = backgroundExtraData.CornerRadius == null ? new PropertyValue() : new PropertyValue(backgroundExtraData.CornerRadius);
var cornerRadiusPolicyValue = new PropertyValue((int)backgroundExtraData.CornerRadiusPolicy);
currentPropertyMap.Dispose();
cornerRadiusValue.Dispose();
cornerRadiusPolicyValue.Dispose();
+#endif
}
internal override void ApplyBorderline()
if (backgroundExtraData == null) return;
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ // Update borderline properties to image by ActionUpdateProperty
+ Interop.View.InternalUpdateVisualPropertyFloat(this.SwigCPtr, ImageView.Property.IMAGE, Visual.Property.BorderlineWidth, backgroundExtraData.BorderlineWidth);
+ Interop.View.InternalUpdateVisualPropertyVector4(this.SwigCPtr, ImageView.Property.IMAGE, Visual.Property.BorderlineColor, Vector4.getCPtr(backgroundExtraData.BorderlineColor ?? Color.Black));
+ Interop.View.InternalUpdateVisualPropertyFloat(this.SwigCPtr, ImageView.Property.IMAGE, Visual.Property.BorderlineOffset, backgroundExtraData.BorderlineOffset);
+#else
// Apply borderline to IMAGE.
var borderlineWidthValue = new PropertyValue(backgroundExtraData.BorderlineWidth);
var borderlineColorValue = backgroundExtraData.BorderlineColor == null ? new PropertyValue(Color.Black) : new PropertyValue(backgroundExtraData.BorderlineColor);
borderlineWidthValue.Dispose();
borderlineColorValue.Dispose();
borderlineOffsetValue.Dispose();
+#endif
}
internal ResourceLoadingStatusType GetResourceStatus()
private string internalName = string.Empty;
#endif
#if NUI_PROPERTY_CHANGE_3
- private Vector3 internalCurrentParentOrigin = null;
- private Vector3 internalCurrentAnchorPoint = null;
+ private Position internalCurrentParentOrigin = null;
+ private Position internalCurrentAnchorPoint = null;
private Vector3 internalTargetSize = null;
private Size2D internalCurrentSize = null;
private Vector3 internalNaturalSize = null;
private Vector4 internalCurrentColor = null;
private Vector4 internalCurrentWorldColor = null;
#endif
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ private Vector2 internalCurrentScreenPosition = null;
+#endif
static View()
{
{
get
{
- Vector2 temp = new Vector2(0.0f, 0.0f);
- var pValue = GetProperty(View.Property.ScreenPosition);
- pValue.Get(temp);
- pValue.Dispose();
- return temp;
+ return GetCurrentScreenPosition();
}
}
{
get
{
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ return Object.InternalGetPropertyBool(SwigCPtr, View.Property.PositionUsesAnchorPoint);
+#else
bool temp = false;
var pValue = GetProperty(View.Property.PositionUsesAnchorPoint);
pValue.Get(out temp);
pValue.Dispose();
return temp;
+#endif
}
set
{
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ Object.InternalSetPropertyBool(SwigCPtr, View.Property.PositionUsesAnchorPoint, value);
+#else
var temp = new Tizen.NUI.PropertyValue(value);
SetProperty(View.Property.PositionUsesAnchorPoint, temp);
temp.Dispose();
+#endif
NotifyPropertyChanged();
}
}
{
get
{
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ return GetCurrentWorldPosition();
+#else
Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
var pValue = GetProperty(View.Property.WorldPosition);
pValue.Get(temp);
pValue.Dispose();
return temp;
+#endif
}
}
{
get
{
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ return GetCurrentWorldScale();
+#else
Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
var pValue = GetProperty(View.Property.WorldScale);
pValue.Get(temp);
pValue.Dispose();
return temp;
+#endif
}
}
{
get
{
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ return Object.InternalGetPropertyBool(SwigCPtr, View.Property.VISIBLE);
+#else
bool temp = false;
var pValue = GetProperty(View.Property.VISIBLE);
pValue.Get(out temp);
pValue.Dispose();
return temp;
+#endif
}
}
{
get
{
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ return GetCurrentWorldColor();
+#else
Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
var pValue = GetProperty(View.Property.WorldColor);
pValue.Get(temp);
pValue.Dispose();
return temp;
+#endif
}
}
{
get
{
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ return GetCurrentAnchorPoint();
+#else
Position temp = new Position(0.0f, 0.0f, 0.0f);
var pValue = GetProperty(View.Property.AnchorPoint);
pValue.Get(temp);
Position ret = new Position(OnAnchorPointChanged, temp.X, temp.Y, temp.Z);
temp.Dispose();
return ret;
+#endif
}
set
{
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ SetAnchorPoint(value);
+#else
var temp = new Tizen.NUI.PropertyValue(value);
SetProperty(View.Property.AnchorPoint, temp);
temp.Dispose();
+#endif
NotifyPropertyChanged();
}
}
{
backgroundImageSynchronousLoading = value;
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ if (!string.IsNullOrEmpty(BackgroundImage))
+#else
string bgUrl = null;
var pValue = Background.Find(ImageVisualProperty.URL);
pValue?.Get(out bgUrl);
pValue?.Dispose();
if (!string.IsNullOrEmpty(bgUrl))
+#endif
{
PropertyMap bgMap = this.Background;
var temp = new PropertyValue(backgroundImageSynchronousLoading);
{
get
{
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ return Object.InternalGetPropertyBool(SwigCPtr, View.Property.CaptureAllTouchAfterStart);
+#else
bool temp = false;
var pValue = GetProperty(View.Property.CaptureAllTouchAfterStart);
pValue.Get(out temp);
pValue.Dispose();
return temp;
+#endif
}
set
{
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ Object.InternalSetPropertyBool(SwigCPtr, View.Property.CaptureAllTouchAfterStart, value);
+#else
var temp = new Tizen.NUI.PropertyValue(value);
SetProperty(View.Property.CaptureAllTouchAfterStart, temp);
temp.Dispose();
+#endif
NotifyPropertyChanged();
}
}
{
get
{
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ return Object.InternalGetPropertyBool(SwigCPtr, View.Property.AllowOnlyOwnTouch);
+#else
bool temp = false;
var pValue = GetProperty(View.Property.AllowOnlyOwnTouch);
pValue.Get(out temp);
pValue.Dispose();
return temp;
+#endif
}
set
{
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ Object.InternalSetPropertyBool(SwigCPtr, View.Property.AllowOnlyOwnTouch, value);
+#else
var temp = new Tizen.NUI.PropertyValue(value);
SetProperty(View.Property.AllowOnlyOwnTouch, temp);
temp.Dispose();
+#endif
NotifyPropertyChanged();
}
}
{
get
{
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ return (BlendEquationType)Object.InternalGetPropertyInt(SwigCPtr, View.Property.BlendEquation);
+#else
int temp = 0;
var pValue = GetProperty(View.Property.BlendEquation);
pValue.Get(out temp);
pValue.Dispose();
return (BlendEquationType)temp;
+#endif
}
set
{
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ Object.InternalSetPropertyInt(SwigCPtr, View.Property.BlendEquation, (int)value);
+#else
var temp = new Tizen.NUI.PropertyValue((int)value);
SetProperty(View.Property.BlendEquation, temp);
temp.Dispose();
+#endif
NotifyPropertyChanged();
}
}
{
get
{
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ return Object.InternalGetPropertyBool(SwigCPtr, View.Property.Culled);
+#else
bool temp = false;
var pValue = GetProperty(View.Property.Culled);
pValue.Get(out temp);
pValue.Dispose();
return temp;
+#endif
}
}
view.internalBackgroundColor = new Color(view.OnBackgroundColorChanged, 0, 0, 0, 0);
}
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ int visualType = (int)Visual.Type.Invalid;
+ Interop.View.InternalRetrievingVisualPropertyInt(view.SwigCPtr, Property.BACKGROUND, Visual.Property.Type, out visualType);
+ if (visualType == (int)Visual.Type.Color)
+ {
+ Interop.View.InternalRetrievingVisualPropertyVector4(view.SwigCPtr, Property.BACKGROUND, ColorVisualProperty.MixColor, Color.getCPtr(view.internalBackgroundColor));
+ }
+#else
PropertyMap background = view.Background;
int visualType = 0;
background.Find(Visual.Property.Type)?.Get(out visualType);
background?.Dispose();
background = null;
-
+#endif
return view.internalBackgroundColor;
}
);
var view = (View)bindable;
string backgroundImage = "";
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ Interop.View.InternalRetrievingVisualPropertyString(view.SwigCPtr, Property.BACKGROUND, ImageVisualProperty.URL, out backgroundImage);
+#else
PropertyMap background = view.Background;
background.Find(ImageVisualProperty.URL)?.Get(out backgroundImage);
background.Dispose();
background = null;
+#endif
return backgroundImage;
}
return FindChildById(id);
}
- internal void SetParentOrigin(Vector3 origin)
+ internal void SetParentOrigin(Position origin)
{
- Interop.ActorInternal.SetParentOrigin(SwigCPtr, Vector3.getCPtr(origin));
+ Interop.ActorInternal.SetParentOrigin(SwigCPtr, Position.getCPtr(origin));
if (NDalicPINVOKE.SWIGPendingException.Pending)
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- internal Vector3 GetCurrentParentOrigin()
+ internal Position GetCurrentParentOrigin()
{
#if NUI_PROPERTY_CHANGE_3
if(internalCurrentParentOrigin == null)
{
- internalCurrentParentOrigin = new Vector3(0, 0, 0);
+ internalCurrentParentOrigin = new Position(0, 0, 0);
}
-
+
Interop.ActorInternal.RetrieveCurrentPropertyVector3(SwigCPtr, View.Property.ParentOrigin, internalCurrentParentOrigin.SwigCPtr);
-
+
if (NDalicPINVOKE.SWIGPendingException.Pending)
{
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
return internalCurrentParentOrigin;
#else
- Vector3 ret = new Vector3(Interop.ActorInternal.GetCurrentParentOrigin(SwigCPtr), true);
+ Position ret = new Position(Interop.ActorInternal.GetCurrentParentOrigin(SwigCPtr), true);
if (NDalicPINVOKE.SWIGPendingException.Pending)
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
#endif
}
- internal void SetAnchorPoint(Vector3 anchorPoint)
+ internal void SetAnchorPoint(Position anchorPoint)
{
- Interop.Actor.SetAnchorPoint(SwigCPtr, Vector3.getCPtr(anchorPoint));
+ Interop.Actor.SetAnchorPoint(SwigCPtr, Position.getCPtr(anchorPoint));
if (NDalicPINVOKE.SWIGPendingException.Pending)
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- internal Vector3 GetCurrentAnchorPoint()
+ internal Position GetCurrentAnchorPoint()
{
#if NUI_PROPERTY_CHANGE_3
if(internalCurrentAnchorPoint == null)
{
- internalCurrentAnchorPoint = new Vector3(0, 0, 0);
+ internalCurrentAnchorPoint = new Position(0, 0, 0);
}
-
+
Interop.ActorInternal.RetrieveCurrentPropertyVector3(SwigCPtr, View.Property.AnchorPoint, internalCurrentAnchorPoint.SwigCPtr);
-
+
if (NDalicPINVOKE.SWIGPendingException.Pending)
{
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
return internalCurrentAnchorPoint;
#else
- Vector3 ret = new Vector3(Interop.ActorInternal.GetCurrentAnchorPoint(SwigCPtr), true);
+ Position ret = new Position(Interop.ActorInternal.GetCurrentAnchorPoint(SwigCPtr), true);
if (NDalicPINVOKE.SWIGPendingException.Pending)
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
return ret;
#endif
}
-
internal Vector3 GetCurrentWorldPosition()
{
#if NUI_PROPERTY_CHANGE_3
#endif
}
+ internal Vector2 GetCurrentScreenPosition()
+ {
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ if(internalCurrentScreenPosition == null)
+ {
+ internalCurrentScreenPosition = new Vector2(0, 0);
+ }
+
+ Object.InternalRetrievingPropertyVector2(SwigCPtr, View.Property.ScreenPosition, internalCurrentScreenPosition.SwigCPtr);
+
+ if (NDalicPINVOKE.SWIGPendingException.Pending)
+ {
+ throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ return internalCurrentScreenPosition;
+#else
+ Vector2 temp = new Vector2(0.0f, 0.0f);
+ var pValue = GetProperty(View.Property.ScreenPosition);
+ pValue.Get(temp);
+ pValue.Dispose();
+ return temp;
+#endif
+ }
+
internal void SetInheritPosition(bool inherit)
{
Interop.ActorInternal.SetInheritPosition(SwigCPtr, inherit);
return false;
}
+ /// <summary>
+ /// Check whether Current view don't has BackgroundVisual or not.
+ /// Some API (like Animation, Borderline) required non-empty backgrounds.
+ /// </summary>
+ internal bool IsBackgroundEmpty()
+ {
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ int visualType = (int)Visual.Type.Invalid;
+ Interop.View.InternalRetrievingVisualPropertyInt(this.SwigCPtr, Property.BACKGROUND, Visual.Property.Type, out visualType);
+ return visualType == (int)Visual.Type.Invalid;
+#else
+ return Background.Empty();
+#endif
+ }
+
internal void SetKeyInputFocus()
{
Interop.ViewInternal.SetKeyInputFocus(SwigCPtr);
{
if (backgroundExtraData == null) return;
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ // Update corner radius properties to background and shadow by ActionUpdateProperty
+ if (backgroundExtraData.CornerRadius != null)
+ {
+ Interop.View.InternalUpdateVisualPropertyVector4(this.SwigCPtr, View.Property.BACKGROUND, Visual.Property.CornerRadius, Vector4.getCPtr(backgroundExtraData.CornerRadius));
+ Interop.View.InternalUpdateVisualPropertyVector4(this.SwigCPtr, View.Property.SHADOW, Visual.Property.CornerRadius, Vector4.getCPtr(backgroundExtraData.CornerRadius));
+ }
+ Interop.View.InternalUpdateVisualPropertyInt(this.SwigCPtr, View.Property.BACKGROUND, Visual.Property.CornerRadiusPolicy, (int)backgroundExtraData.CornerRadiusPolicy);
+ Interop.View.InternalUpdateVisualPropertyInt(this.SwigCPtr, View.Property.SHADOW, Visual.Property.CornerRadiusPolicy, (int)backgroundExtraData.CornerRadiusPolicy);
+#else
var cornerRadiusValue = backgroundExtraData.CornerRadius == null ? new PropertyValue() : new PropertyValue(backgroundExtraData.CornerRadius);
var cornerRadiusPolicyValue = new PropertyValue((int)backgroundExtraData.CornerRadiusPolicy);
currentPropertyMap.Dispose();
cornerRadiusValue.Dispose();
cornerRadiusPolicyValue.Dispose();
+#endif
}
/// TODO open as a protected level
{
if (backgroundExtraData == null) return;
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ // ActionUpdateProperty works well only if BACKGROUND visual setup before.
+ // If view don't have BACKGROUND visual, we set transparent background color in default.
+ if (IsBackgroundEmpty())
+ {
+ // BACKGROUND visual doesn't exist.
+ SetBackgroundColor(Color.Transparent);
+ // SetBackgroundColor function apply borderline internally.
+ // So we can just return now.
+ return;
+ }
+
+ // Update borderline properties to background by ActionUpdateProperty
+ Interop.View.InternalUpdateVisualPropertyFloat(this.SwigCPtr, View.Property.BACKGROUND, Visual.Property.BorderlineWidth, backgroundExtraData.BorderlineWidth);
+ Interop.View.InternalUpdateVisualPropertyVector4(this.SwigCPtr, View.Property.BACKGROUND, Visual.Property.BorderlineColor, Vector4.getCPtr(backgroundExtraData.BorderlineColor ?? Color.Black));
+ Interop.View.InternalUpdateVisualPropertyFloat(this.SwigCPtr, View.Property.BACKGROUND, Visual.Property.BorderlineOffset, backgroundExtraData.BorderlineOffset);
+#else
// ActionUpdateProperty works well only if BACKGROUND visual setup before.
// If view don't have BACKGROUND visual, we set transparent background color in default.
using (PropertyMap backgroundPropertyMap = new PropertyMap())
borderlineWidthValue.Dispose();
borderlineColorValue.Dispose();
borderlineOffsetValue.Dispose();
+#endif
}
/// <summary>
internalSizeModeFactor?.Dispose();
internalSizeModeFactor = null;
#endif
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ internalCurrentScreenPosition?.Dispose();
+ internalCurrentScreenPosition = null;
+#endif
if (type == DisposeTypes.Explicit)
{
AlphaFunction.BuiltinFunctions? alphaFunction = null,
object initialValue = null)
{
+#if NUI_VISUAL_PROPERTY_CHANGE_1
+ if (IsBackgroundEmpty())
+ {
+ // If there is no background yet, ensure there is a transparent
+ // color visual
+ BackgroundColor = new Color(0.0f, 0.0f, 0.0f, 0.0f);
+ }
+#else
Tizen.NUI.PropertyMap background = Background;
if (background.Empty())
BackgroundColor = new Color(0.0f, 0.0f, 0.0f, 0.0f);
background = Background;
}
+#endif
return AnimateColor("background", destinationValue, startTime, endTime, alphaFunction, initialValue);
}
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
Arc = AnimatedImage + 3,
+
+ /// <summary>
+ /// Keyword for invalid visual type. (NUI only)
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Invalid = Border - 1,
}
/// <summary>