nui 0.2.32 manual merge, mapping to dali 1.2.32
authorxb.teng <xb.teng@samsung.com>
Mon, 27 Mar 2017 07:54:28 +0000 (15:54 +0800)
committerdongsug.song <dongsug.song@samsung.com>
Mon, 27 Mar 2017 12:53:01 +0000 (21:53 +0900)
Change-Id: I86bb8e8261736bb6bcfb948a55dfc44ab9133f9d

packaging/csapi-nui.spec
src/Tizen.NUI/Tizen.NUI.csproj
src/Tizen.NUI/Tizen.NUI.project.json
src/Tizen.NUI/src/internal/CustomAlgorithmInterface.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/FriendAssembly.cs
src/Tizen.NUI/src/internal/NDalic.cs
src/Tizen.NUI/src/internal/NDalicPINVOKE.cs
src/Tizen.NUI/src/internal/SWIGTYPE_p_KeyboardFocusManager.cs [new file with mode: 0755]
src/Tizen.NUI/src/public/Actor.cs
src/Tizen.NUI/src/public/FocusManager.cs
src/Tizen.NUI/src/public/Window.cs

index d961572..0c2a580 100755 (executable)
@@ -1,7 +1,7 @@
 Name:       csapi-nui
 Summary:    dali-NUI
-Version:    0.2.31
-Release:    pre2
+Version:    0.2.32
+Release:    1
 Group:      Development/Libraries
 License:    Apache-2.0
 URL:        https://www.tizen.org
index a4c0e50..f9d47be 100755 (executable)
@@ -49,7 +49,6 @@
     <Compile Include="src\internal\AccessibilityActionSignal.cs" />\r
     <Compile Include="src\internal\AccessibilityFocusOvershotSignal.cs" />\r
     <Compile Include="src\internal\AccessibilityManager.cs" />\r
-    <Compile Include="src\internal\FriendAssembly.cs" />\r
     <Compile Include="src\internal\ActorContainer.cs" />\r
     <Compile Include="src\internal\ActorHoverSignal.cs" />\r
     <Compile Include="src\internal\ActorSignal.cs" />\r
@@ -85,6 +84,7 @@
     <Compile Include="src\internal\ControlOrientationType.cs" />\r
     <Compile Include="src\internal\CustomActor.cs" />\r
     <Compile Include="src\internal\CustomActorImpl.cs" />\r
+    <Compile Include="src\internal\CustomAlgorithmInterface.cs" />\r
     <Compile Include="src\internal\DaliEnumConstants.cs" />\r
     <Compile Include="src\internal\DaliEventHandler.cs" />\r
     <Compile Include="src\internal\DaliException.cs" />\r
@@ -97,8 +97,8 @@
     <Compile Include="src\internal\DirectionBias.cs" />\r
     <Compile Include="src\internal\DirectionType.cs" />\r
     <Compile Include="src\internal\DisposeQueue.cs" />\r
-    <Compile Include="src\internal\dotnetcore\HandleRef.cs" />\r
     <Compile Include="src\internal\dotnetcore\AddedException.cs" />\r
+    <Compile Include="src\internal\dotnetcore\HandleRef.cs" />\r
     <Compile Include="src\internal\doublep.cs" />\r
     <Compile Include="src\internal\DragAndDropDetector.cs" />\r
     <Compile Include="src\internal\EncodedBufferImage.cs" />\r
     <Compile Include="src\internal\FocusGroupChangedSignal.cs" />\r
     <Compile Include="src\internal\FrameBuffer.cs" />\r
     <Compile Include="src\internal\FrameBufferImage.cs" />\r
+    <Compile Include="src\internal\FriendAssembly.cs" />\r
     <Compile Include="src\internal\GaussianBlurView.cs" />\r
     <Compile Include="src\internal\GaussianBlurViewSignal.cs" />\r
     <Compile Include="src\internal\Geometry.cs" />\r
     <Compile Include="src\internal\PinchGestureDetector.cs" />\r
     <Compile Include="src\internal\PixelData.cs" />\r
     <Compile Include="src\internal\PixelFormat.cs" />\r
-    <Compile Include="src\internal\VisualTransformPolicyType.cs" />\r
-    <Compile Include="src\public\CustomView\VisualView.cs" />\r
-    <Compile Include="src\public\VisualMaps.cs" />\r
-    <Compile Include="src\public\Position2D.cs" />\r
     <Compile Include="src\internal\PositionInheritanceMode.cs" />\r
     <Compile Include="src\internal\PrimitiveVisualShapeType.cs" />\r
     <Compile Include="src\internal\ProgressBarValueChangedSignal.cs" />\r
     <Compile Include="src\internal\Shader.cs" />\r
     <Compile Include="src\internal\SignalConnectorType.cs" />\r
     <Compile Include="src\internal\SignalObserver.cs" />\r
-    <Compile Include="src\public\CustomView\Spin.cs" />\r
-    <Compile Include="src\public\Size2D.cs" />\r
     <Compile Include="src\internal\SliderMarkReachedSignal.cs" />\r
     <Compile Include="src\internal\SliderValueChangedSignal.cs" />\r
     <Compile Include="src\internal\SlotObserver.cs" />\r
     <Compile Include="src\internal\SWIGTYPE_p_f_r_q_const__Dali__Any__AnyContainerBase__p_Dali__Any__AnyContainerBase.cs" />\r
     <Compile Include="src\internal\SWIGTYPE_p_f_r_q_const__Dali__Vector3__float.cs" />\r
     <Compile Include="src\internal\SWIGTYPE_p_int.cs" />\r
+    <Compile Include="src\internal\SWIGTYPE_p_KeyboardFocusManager.cs" />\r
     <Compile Include="src\internal\SWIGTYPE_p_PropertyInputContainer.cs" />\r
     <Compile Include="src\internal\SWIGTYPE_p_std__type_info.cs" />\r
     <Compile Include="src\internal\SWIGTYPE_p_uint8_t.cs" />\r
     <Compile Include="src\internal\ViewRegistryHelper.cs" />\r
     <Compile Include="src\internal\ViewWrapper.cs" />\r
     <Compile Include="src\internal\ViewWrapperImpl.cs" />\r
+    <Compile Include="src\internal\VisualTransformPolicyType.cs" />\r
     <Compile Include="src\internal\VisualTransformPropertyType.cs" />\r
     <Compile Include="src\internal\VisualType.cs" />\r
     <Compile Include="src\internal\VoidSignal.cs" />\r
     <Compile Include="src\public\CheckBoxButton.cs" />\r
     <Compile Include="src\public\Color.cs" />\r
     <Compile Include="src\public\CustomView.cs" />\r
-    <Compile Include="src\public\NUIApplication.cs" />\r
+    <Compile Include="src\public\CustomView\Spin.cs" />\r
+    <Compile Include="src\public\CustomView\VisualView.cs" />\r
     <Compile Include="src\public\Degree.cs" />\r
     <Compile Include="src\public\FlexContainer.cs" />\r
     <Compile Include="src\public\FocusManager.cs" />\r
     <Compile Include="src\public\KeyFrames.cs" />\r
     <Compile Include="src\public\Layer.cs" />\r
     <Compile Include="src\public\LongPressGesture.cs" />\r
+    <Compile Include="src\public\NUIApplication.cs" />\r
     <Compile Include="src\public\PanGesture.cs" />\r
     <Compile Include="src\public\Path.cs" />\r
     <Compile Include="src\public\PinchGesture.cs" />\r
     <Compile Include="src\public\Popup.cs" />\r
     <Compile Include="src\public\Position.cs" />\r
+    <Compile Include="src\public\Position2D.cs" />\r
     <Compile Include="src\public\ProgressBar.cs" />\r
     <Compile Include="src\public\Property.cs" />\r
     <Compile Include="src\public\PushButton.cs" />\r
     <Compile Include="src\public\Rotation.cs" />\r
     <Compile Include="src\public\ScrollBar.cs" />\r
     <Compile Include="src\public\Size.cs" />\r
+    <Compile Include="src\public\Size2D.cs" />\r
     <Compile Include="src\public\Slider.cs" />\r
     <Compile Include="src\public\Stage.cs" />\r
     <Compile Include="src\public\StyleManager.cs" />\r
     <Compile Include="src\public\View.cs" />\r
     <Compile Include="src\public\VisualBase.cs" />\r
     <Compile Include="src\public\VisualFactory.cs" />\r
+    <Compile Include="src\public\VisualMaps.cs" />\r
     <Compile Include="src\public\Wheel.cs" />\r
     <Compile Include="src\public\Window.cs" />\r
   </ItemGroup>\r
index d798450..f44b2c7 100755 (executable)
@@ -1,10 +1,9 @@
 {\r
   "dependencies": {\r
-    "Microsoft.CSharp": "4.3.0",\r
+    "Microsoft.CSharp": "4.0.1",\r
     "NETStandard.Library": "1.6.0",\r
-    "System.Reflection": "4.3.0",\r
-    "System.Reflection.TypeExtensions": "4.3.0",\r
-    "Tizen": "1.0.2",\r
+    "System.Reflection": "4.1.0",\r
+    "System.Reflection.TypeExtensions": "4.1.0",\r
     "Tizen.Applications": "1.0.3"\r
   },\r
   "frameworks": {\r
diff --git a/src/Tizen.NUI/src/internal/CustomAlgorithmInterface.cs b/src/Tizen.NUI/src/internal/CustomAlgorithmInterface.cs
new file mode 100755 (executable)
index 0000000..defb96b
--- /dev/null
@@ -0,0 +1,90 @@
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+#define DOT_NET_CORE
+
+#if (DOT_NET_CORE)
+using System.Reflection;
+#endif
+
+namespace Tizen.NUI {
+
+internal class CustomAlgorithmInterface : global::System.IDisposable {
+  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+  protected bool swigCMemOwn;
+
+  internal CustomAlgorithmInterface(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(CustomAlgorithmInterface obj) {
+    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+  }
+
+  ~CustomAlgorithmInterface() {
+    Dispose();
+  }
+
+  public virtual void Dispose() {
+    lock(this) {
+      if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+        if (swigCMemOwn) {
+          swigCMemOwn = false;
+          NDalicPINVOKE.delete_CustomAlgorithmInterface(swigCPtr);
+        }
+        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+      }
+      global::System.GC.SuppressFinalize(this);
+    }
+  }
+
+  public virtual Actor GetNextFocusableActor(Actor current, Actor proposed, View.FocusDirection direction) {
+    Actor ret = new Actor(NDalicPINVOKE.CustomAlgorithmInterface_GetNextFocusableActor(swigCPtr, Actor.getCPtr(current), Actor.getCPtr(proposed), (int)direction), true);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public CustomAlgorithmInterface() : this(NDalicPINVOKE.new_CustomAlgorithmInterface(), true) {
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    SwigDirectorConnect();
+  }
+
+  private void SwigDirectorConnect() {
+    if (SwigDerivedClassHasMethod("GetNextFocusableActor", swigMethodTypes0))
+      swigDelegate0 = new SwigDelegateCustomAlgorithmInterface_0(SwigDirectorGetNextFocusableActor);
+    NDalicPINVOKE.CustomAlgorithmInterface_director_connect(swigCPtr, swigDelegate0);
+  }
+
+#if (DOT_NET_CORE)
+  private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes) {
+    global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, methodTypes);
+    bool hasDerivedMethod = methodInfo.GetType().GetTypeInfo().IsSubclassOf(typeof(CustomAlgorithmInterface));
+    return hasDerivedMethod;
+  }
+#else
+  private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes) {
+    global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance, null, methodTypes, null);
+    bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(CustomAlgorithmInterface));
+    return hasDerivedMethod;
+  }
+#endif
+
+  private global::System.IntPtr SwigDirectorGetNextFocusableActor(global::System.IntPtr current, global::System.IntPtr proposed, int direction) {
+    return Actor.getCPtr(GetNextFocusableActor(new Actor(current, true), new Actor(proposed, true), (View.FocusDirection)direction)).Handle;
+  }
+
+  public delegate global::System.IntPtr SwigDelegateCustomAlgorithmInterface_0(global::System.IntPtr current, global::System.IntPtr proposed, int direction);
+
+  private SwigDelegateCustomAlgorithmInterface_0 swigDelegate0;
+
+  private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { typeof(Actor), typeof(Actor), typeof(View.FocusDirection) };
+}
+
+}
index 015fcf8..b580beb 100755 (executable)
@@ -20,7 +20,8 @@
 // compile with: /target:Tizen.NUI.ExtTEST /keyfile:FriendAssemblies.snk\r
 \r
 using System.Runtime.CompilerServices;\r
-[assembly: InternalsVisibleTo("Tizen.NUI.ExtTEST, PublicKey=00240000048000009400000006020000002400005253413100040000010001004d7c7c03a196ecb8e7cc5056750e1f40ee2bbe99f0e53a07f2538f2b0f450bd731b9dca3706503a0378baca74a09cf3af6261b330c031f44817ab6ed64189460765a402279d3e0c1fa7295ae1dccb2e3ff329705fd85b58d66ae7cb7e95ba06e0d847c3e3ba918798f579e5caeb1c6149955e6baf24236eec46227a623e494b1")]\r
+[assembly: InternalsVisibleTo("Tizen.NUI.Extension.Test, PublicKey=00240000048000009400000006020000002400005253413100040000010001004d7c7c03a196ecb8e7cc5056750e1f40ee2bbe99f0e53a07f2538f2b0f450bd731b9dca3706503a0378baca74a09cf3af6261b330c031f44817ab6ed64189460765a402279d3e0c1fa7295ae1dccb2e3ff329705fd85b58d66ae7cb7e95ba06e0d847c3e3ba918798f579e5caeb1c6149955e6baf24236eec46227a623e494b1")]
+[assembly: InternalsVisibleTo("Tizen.MM.Test, PublicKey=00240000048000009400000006020000002400005253413100040000010001004d7c7c03a196ecb8e7cc5056750e1f40ee2bbe99f0e53a07f2538f2b0f450bd731b9dca3706503a0378baca74a09cf3af6261b330c031f44817ab6ed64189460765a402279d3e0c1fa7295ae1dccb2e3ff329705fd85b58d66ae7cb7e95ba06e0d847c3e3ba918798f579e5caeb1c6149955e6baf24236eec46227a623e494b1")]
 namespace Tizen.NUI
 {
 }
\ No newline at end of file
index 10c135e..8168d23 100755 (executable)
@@ -1013,6 +1013,39 @@ System.IntPtr ip2 = System.Runtime.InteropServices.Marshal.GetFunctionPointerFor
     } 
   }
 
+  public static SWIGTYPE_p_Dali__SignalT_void_fboolF_t FocusChangedSignal(Window window) {
+    SWIGTYPE_p_Dali__SignalT_void_fboolF_t ret = new SWIGTYPE_p_Dali__SignalT_void_fboolF_t(NDalicPINVOKE.FocusChangedSignal(Window.getCPtr(window)), false);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public static void SetAcceptFocus(Window window, bool accept) {
+    NDalicPINVOKE.SetAcceptFocus(Window.getCPtr(window), accept);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public static bool IsFocusAcceptable(Window window) {
+    bool ret = NDalicPINVOKE.IsFocusAcceptable(Window.getCPtr(window));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public static void Show(Window window) {
+    NDalicPINVOKE.Show(Window.getCPtr(window));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public static void Hide(Window window) {
+    NDalicPINVOKE.Hide(Window.getCPtr(window));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public static bool IsVisible(Window window) {
+    bool ret = NDalicPINVOKE.IsVisible(Window.getCPtr(window));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
   public static ViewImpl GetImplementation(View handle) {
     ViewImpl ret = new ViewImpl(NDalicPINVOKE.GetImplementation__SWIG_0(View.getCPtr(handle)), false);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
@@ -1073,6 +1106,11 @@ System.IntPtr ip2 = System.Runtime.InteropServices.Marshal.GetFunctionPointerFor
     return ret;
   }
 
+  public static void SetCustomAlgorithm(SWIGTYPE_p_KeyboardFocusManager keyboardFocusManager, CustomAlgorithmInterface arg1) {
+    NDalicPINVOKE.SetCustomAlgorithm(SWIGTYPE_p_KeyboardFocusManager.getCPtr(keyboardFocusManager), CustomAlgorithmInterface.getCPtr(arg1));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
   public static readonly int VISUAL_PROPERTY_TYPE = NDalicPINVOKE.VISUAL_PROPERTY_TYPE_get();
   public static readonly int VISUAL_PROPERTY_SHADER = NDalicPINVOKE.VISUAL_PROPERTY_SHADER_get();
 
index 4775b9f..ba9dc18 100755 (executable)
@@ -6158,6 +6158,24 @@ class NDalicPINVOKE {
   [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_Window_IndicatorVisibilityChangedSignal")]
   public static extern global::System.IntPtr Window_IndicatorVisibilityChangedSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
 
+  [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Dali_FocusChangedSignal")]
+  public static extern global::System.IntPtr FocusChangedSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+  [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Dali_SetAcceptFocus")]
+  public static extern void SetAcceptFocus(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2);
+
+  [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Dali_IsFocusAcceptable")]
+  public static extern bool IsFocusAcceptable(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+  [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Dali_Show")]
+  public static extern void Show(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+  [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Dali_Hide")]
+  public static extern void Hide(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+  [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Dali_IsVisible")]
+  public static extern bool IsVisible(global::System.Runtime.InteropServices.HandleRef jarg1);
+
   [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_Application_New__SWIG_0")]
   public static extern global::System.IntPtr Application_New__SWIG_0();
 
@@ -9986,6 +10004,21 @@ class NDalicPINVOKE {
   [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_LoadImageSynchronously__SWIG_2")]
   public static extern global::System.IntPtr LoadImageSynchronously__SWIG_2(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4, bool jarg5);
 
+  [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Dali_delete_CustomAlgorithmInterface")]
+  public static extern void delete_CustomAlgorithmInterface(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+  [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Dali_CustomAlgorithmInterface_GetNextFocusableActor")]
+  public static extern global::System.IntPtr CustomAlgorithmInterface_GetNextFocusableActor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4);
+
+  [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Dali_new_CustomAlgorithmInterface")]
+  public static extern global::System.IntPtr new_CustomAlgorithmInterface();
+
+  [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Dali_CustomAlgorithmInterface_director_connect")]
+  public static extern void CustomAlgorithmInterface_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, CustomAlgorithmInterface.SwigDelegateCustomAlgorithmInterface_0 delegate0);
+
+  [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Dali_SetCustomAlgorithm")]
+  public static extern void SetCustomAlgorithm(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
   [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ItemIdContainer_Clear")]
   public static extern void ItemIdContainer_Clear(global::System.Runtime.InteropServices.HandleRef jarg1);
 
diff --git a/src/Tizen.NUI/src/internal/SWIGTYPE_p_KeyboardFocusManager.cs b/src/Tizen.NUI/src/internal/SWIGTYPE_p_KeyboardFocusManager.cs
new file mode 100755 (executable)
index 0000000..5df75c1
--- /dev/null
@@ -0,0 +1,29 @@
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI {
+
+internal class SWIGTYPE_p_KeyboardFocusManager {
+  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+  internal SWIGTYPE_p_KeyboardFocusManager(global::System.IntPtr cPtr, bool futureUse) {
+    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+  }
+
+  protected SWIGTYPE_p_KeyboardFocusManager() {
+    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+  }
+
+  internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_KeyboardFocusManager obj) {
+    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+  }
+}
+
+}
index 1771594..c894a4d 100755 (executable)
@@ -1567,11 +1567,7 @@ namespace Tizen.NUI
             */
         }
 
-        /// <summary>
-        /// Gets/Sets the actor's mix color; this is an RGBA value.
-        /// The final color of the actor depends on its color mode.
-        /// Note : This is an asynchronous method.
-        /// </summary>
+        /*
         public Color MixColor
         {
             get
@@ -1585,6 +1581,7 @@ namespace Tizen.NUI
                 SetProperty(Actor.Property.COLOR, new Tizen.NUI.PropertyValue(value));
             }
         }
+        */
 
         /// <summary>
         /// Gets/Sets the actor's mix color red.
index 4913dc8..2d4e4aa 100755 (executable)
@@ -31,6 +31,7 @@ namespace Tizen.NUI
     public class FocusManager : BaseHandle
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        private CustomAlgorithmInterfaceWrapper _customAlgorithmInterfaceWrapper;
 
         internal FocusManager(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicManualPINVOKE.FocusManager_SWIGUpcast(cPtr), cMemoryOwn)
         {
@@ -531,6 +532,14 @@ namespace Tizen.NUI
             return ret;
         }
 
+        public void SetCustomAlgorithm(ICustomFocusAlgorithm arg0) {
+            _customAlgorithmInterfaceWrapper = new CustomAlgorithmInterfaceWrapper();
+            _customAlgorithmInterfaceWrapper.SetFocusAlgorithm(arg0);
+
+            NDalicPINVOKE.SetCustomAlgorithm(swigCPtr, CustomAlgorithmInterface.getCPtr(_customAlgorithmInterfaceWrapper));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
         internal PreFocusChangeSignal PreFocusChangeSignal()
         {
             PreFocusChangeSignal ret = new PreFocusChangeSignal(NDalicManualPINVOKE.FocusManager_PreFocusChangeSignal(swigCPtr), false);
@@ -571,5 +580,31 @@ namespace Tizen.NUI
                 return instance;
             }
         }
+
+        public interface ICustomFocusAlgorithm
+        {
+            View GetNextFocusableActor(View current, View proposed, View.FocusDirection direction);
+        }
+
+        private class CustomAlgorithmInterfaceWrapper : CustomAlgorithmInterface
+        {
+            private FocusManager.ICustomFocusAlgorithm _customFocusAlgorithm;
+
+            public CustomAlgorithmInterfaceWrapper()
+            {
+            }
+
+            public void SetFocusAlgorithm(FocusManager.ICustomFocusAlgorithm customFocusAlgorithm)
+            {
+                _customFocusAlgorithm = customFocusAlgorithm;
+            }
+
+            public override Actor GetNextFocusableActor(Actor current, Actor proposed, View.FocusDirection direction)
+            {
+                View currentView = View.DownCast<View>(current);
+                View proposedView = View.DownCast<View>(proposed);
+                return _customFocusAlgorithm.GetNextFocusableActor(currentView, proposedView, direction);
+            }
+        }
     }
 }
index 623ebe6..fac98d1 100755 (executable)
@@ -73,6 +73,24 @@ namespace Tizen.NUI
             }
         }
 
+        public void Show()
+        {
+            NDalicPINVOKE.Show(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Hide()
+        {
+            NDalicPINVOKE.Hide(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void IsVisible()
+        {
+            NDalicPINVOKE.IsVisible(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
         /// <summary>
         /// Creates an initialized handle to a new Window.
         /// </summary>