INTERNAL_NUGET_VERSION=4.0.1.999
# RPM Version Suffix
-RPM_VERSION_SUFFIX=nui81
+RPM_VERSION_SUFFIX=nui82
# Native Dependencies
-DALI_VERSION=1.2.81
+DALI_VERSION=1.2.82
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextLabel_Property_TEXT_DIRECTION_get")]
public static extern int TextLabel_Property_TEXT_DIRECTION_get();
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextLabel_Property_VERTICAL_LINE_ALIGNMENT_get")]
+ public static extern int TextLabel_Property_VERTICAL_LINE_ALIGNMENT_get();
+
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint = "CSharp_HIDDENINPUT_PROPERTY_MODE_get")]
public static extern int HIDDENINPUT_PROPERTY_MODE_get();
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint = "CSharp_ImageView_IMAGE_VISUAL_ACTION_STOP_get")]
public static extern int ImageView_IMAGE_VISUAL_ACTION_STOP_get();
+
}
}
/*
- * Copyright(c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright(c) 2018 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
RefObject refObj = baseHandle.GetObjectPtr();
IntPtr refObjectPtr = (IntPtr)RefObject.getCPtr(refObj);
- // we store a dictionary of ref-obects (C++ land) to managed obects (C# land)
- return GetManagedBaseHandleFromRefObject(refObjectPtr);
+ if (refObjectPtr != null)
+ {
+ // we store a dictionary of ref-obects (C++ land) to managed obects (C# land)
+ return GetManagedBaseHandleFromRefObject(refObjectPtr);
+ }
+ else
+ {
+ NUILog.Error("NUI Registry RefObjectPtr is NULL!");
+ return null;
+ }
}
internal static BaseHandle GetManagedBaseHandleFromNativePtr(IntPtr cPtr)
{
IntPtr refObjectPtr = NDalicPINVOKE.GetRefObjectPtr(cPtr);
- // we store a dictionary of ref-obects (C++ land) to managed obects (C# land)
- return GetManagedBaseHandleFromRefObject(refObjectPtr);
+ if (refObjectPtr != null)
+ {
+ // we store a dictionary of ref-obects (C++ land) to managed obects (C# land)
+ return GetManagedBaseHandleFromRefObject(refObjectPtr);
+ }
+ else
+ {
+ NUILog.Error("NUI Registry RefObjectPtr is NULL!");
+ return null;
+ }
}
internal static BaseHandle GetManagedBaseHandleFromRefObject(IntPtr refObjectPtr)
{
public const int daliVer1 = 1;
public const int daliVer2 = 2;
- public const int daliVer3 = 81;
+ public const int daliVer3 = 82;
public const int nuiVer1 = 0;
public const int nuiVer2 = 2;
- public const int nuiVer3 = 81;
+ public const int nuiVer3 = 82;
public const string nuiRelease = "";
internal static readonly int LINE_COUNT = NDalicManualPINVOKE.TextLabel_Property_LINE_COUNT_get();
internal static readonly int LINE_WRAP_MODE = NDalicManualPINVOKE.TextLabel_Property_LINE_WRAP_MODE_get();
internal static readonly int TEXT_DIRECTION = NDalicManualPINVOKE.TextLabel_Property_TEXT_DIRECTION_get();
+ internal static readonly int VERTICAL_LINE_ALIGNMENT = NDalicManualPINVOKE.TextLabel_Property_VERTICAL_LINE_ALIGNMENT_get();
}
/// <summary>
return (TextDirection)temp;
}
}
+
+ /// <summary>
+ /// The text vertical line alignment.
+ /// </summary>
+ /// <since_tizen> 5 </since_tizen>
+ /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public VerticalLineAlignment VerticalLineAlignment
+ {
+ get
+ {
+ int temp = 0;
+ GetProperty(TextLabel.Property.VERTICAL_LINE_ALIGNMENT).Get(out temp);
+ return (VerticalLineAlignment)temp;
+ }
+ }
+
}
}
}
/// <summary>
+ /// An enum of vertical line alignment.
+ /// </summary>
+ /// <since_tizen> 5 </since_tizen>
+ /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public enum VerticalLineAlignment
+ {
+ /// <summary>
+ /// vertical line alignment is from top.
+ /// </summary>
+ /// <since_tizen> 5 </since_tizen>
+ /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Top,
+
+ /// <summary>
+ /// vertical line alignment is from center.
+ /// </summary>
+ /// <since_tizen> 5 </since_tizen>
+ /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Center,
+
+ /// <summary>
+ /// vertical line alignment is from bottom.
+ /// </summary>
+ /// <since_tizen> 5 </since_tizen>
+ /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Bottom
+ }
+
+ /// <summary>
/// Enumeration type for the font's slant.
/// </summary>
/// <since_tizen> 5 </since_tizen>