int ver2 = -1;
int ver3 = -1;
+ try
+ {
if (NDalicManualPINVOKE.NativeVersionCheck(ref ver1, ref ver2, ref ver3))
{
if (ver1 != Version.ver1 || ver2 != Version.ver2 || ver3 != Version.ver3)
{
- throw new System.InvalidOperationException("Dali native version mismatch error! nui=" + Version.ver1 + "." + Version.ver2 + "." + Version.ver3 + " but dali=" + ver1 + "." + ver2 + "." + ver3);
+ //throw new System.InvalidOperationException("Dali native version mismatch error! nui=" + Version.ver1 + "." + Version.ver2 + "." + Version.ver3 + " but dali=" + ver1 + "." + ver2 + "." + ver3);
+ Tizen.Log.Fatal("NUI", "Dali native version mismatch error! nui=" + Version.ver1 + "." + Version.ver2 + "." + Version.ver3 + " but dali=" + ver1 + "." + ver2 + "." + ver3);
}
}
else
{
- throw new System.InvalidOperationException("Dali native version mismatch error! nui=" + Version.ver1 + "." + Version.ver2 + "." + Version.ver3 + " but dali=" + ver1 + "." + ver2 + "." + ver3);
+ //throw new System.InvalidOperationException("Dali native version mismatch error! nui=" + Version.ver1 + "." + Version.ver2 + "." + Version.ver3 + " but dali=" + ver1 + "." + ver2 + "." + ver3);
+ Tizen.Log.Fatal("NUI", "Dali native version mismatch error! nui=" + Version.ver1 + "." + Version.ver2 + "." + Version.ver3 + " but dali=" + ver1 + "." + ver2 + "." + ver3);
+ }
+ }
+ catch (Exception e)
+ {
+ //throw new System.InvalidOperationException("Dali native version is very old! nui=" + Version.ver1 + "." + Version.ver2 + "." + Version.ver3);
+ Tizen.Log.Fatal("NUI", "Dali native version is very old! nui=" + Version.ver1 + "." + Version.ver2 + "." + Version.ver3);
}
}
/// Note: If false, then the top-left of the actor is used for the position.
/// Setting this to false will allow scaling or rotation around the anchor-point without affecting the actor's position.
/// </summary>
- public bool PositionUsesAnchorPoint
+ protected bool PositionUsesAnchorPoint
{
get
{
bool temp = false;
- GetProperty(Actor.Property.POSITION_USES_ANCHOR_POINT).Get(ref temp);
+ if(this) GetProperty(Actor.Property.POSITION_USES_ANCHOR_POINT).Get(ref temp);
return temp;
}
set
{
- SetProperty(Actor.Property.POSITION_USES_ANCHOR_POINT, new Tizen.NUI.PropertyValue(value));
+ if(this) SetProperty(Actor.Property.POSITION_USES_ANCHOR_POINT, new Tizen.NUI.PropertyValue(value));
}
}
// By default, we do not want the position to use the anchor point
//this.PositionUsesAnchorPoint = false;
+ this.PositionUsesAnchorPoint = !(InternalSetting.DefaultParentOriginAsTopLeft);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(View obj)