X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-sharp%2Fsharp%2Finternal%2FCustomAlgorithmInterface.cs;h=aaf13e3ebb44d4eac89a6ca78bdf261773d76d90;hp=4cf224d232b5c81786d462c905dd2743d51fea53;hb=665d92f07e3e06e1db65a473c6eb6869dc476c03;hpb=82e6a46b87c64df1be36cf414f6e94f9d17d52ff diff --git a/plugins/dali-sharp/sharp/internal/CustomAlgorithmInterface.cs b/plugins/dali-sharp/sharp/internal/CustomAlgorithmInterface.cs index 4cf224d..aaf13e3 100644 --- a/plugins/dali-sharp/sharp/internal/CustomAlgorithmInterface.cs +++ b/plugins/dali-sharp/sharp/internal/CustomAlgorithmInterface.cs @@ -28,7 +28,7 @@ public class CustomAlgorithmInterface : global::System.IDisposable { } public virtual void Dispose() { - if (!Stage.IsInstalled()) { + if (!Window.IsInstalled()) { DisposeQueue.Instance.Add(this); return; } @@ -46,8 +46,8 @@ public class CustomAlgorithmInterface : global::System.IDisposable { } - public virtual Actor GetNextFocusableActor(Actor current, Actor proposed, View.KeyboardFocus.Direction direction) { - Actor ret = new Actor(NDalicPINVOKE.CustomAlgorithmInterface_GetNextFocusableActor(swigCPtr, Actor.getCPtr(current), Actor.getCPtr(proposed), (int)direction), true); + public virtual View GetNextFocusableView(View current, View proposed, View.KeyboardFocus.Direction direction) { + View ret = new View(NDalicPINVOKE.CustomAlgorithmInterface_GetNextFocusableActor(swigCPtr, View.getCPtr(current), View.getCPtr(proposed), (int)direction), true); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -58,8 +58,8 @@ public class CustomAlgorithmInterface : global::System.IDisposable { } private void SwigDirectorConnect() { - if (SwigDerivedClassHasMethod("GetNextFocusableActor", swigMethodTypes0)) - swigDelegate0 = new SwigDelegateCustomAlgorithmInterface_0(SwigDirectorGetNextFocusableActor); + if (SwigDerivedClassHasMethod("GetNextFocusableView", swigMethodTypes0)) + swigDelegate0 = new SwigDelegateCustomAlgorithmInterface_0(SwigDirectorGetNextFocusableView); NDalicPINVOKE.CustomAlgorithmInterface_director_connect(swigCPtr, swigDelegate0); } @@ -69,15 +69,15 @@ public class CustomAlgorithmInterface : global::System.IDisposable { return hasDerivedMethod; } - 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.KeyboardFocus.Direction)direction)).Handle; + private global::System.IntPtr SwigDirectorGetNextFocusableView(global::System.IntPtr current, global::System.IntPtr proposed, int direction) { + return View.getCPtr(GetNextFocusableView(new View(current, true), new View(proposed, true), (View.KeyboardFocus.Direction)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.KeyboardFocus.Direction) }; + private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { typeof(View), typeof(View), typeof(View.KeyboardFocus.Direction) }; } }