X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-sharp%2Fsharp%2Finternal%2FHover.cs;h=1e1d58cb828dc3478dc50e9df262af4a3947f8d9;hp=1f31dd0dfa21e80eaecd7928fc9037cd00204c8a;hb=665d92f07e3e06e1db65a473c6eb6869dc476c03;hpb=6fa08daf440e496896babb230e404aae7e77a5bb diff --git a/plugins/dali-sharp/sharp/internal/Hover.cs b/plugins/dali-sharp/sharp/internal/Hover.cs index 1f31dd0..1e1d58c 100644 --- a/plugins/dali-sharp/sharp/internal/Hover.cs +++ b/plugins/dali-sharp/sharp/internal/Hover.cs @@ -28,7 +28,7 @@ public class Hover : global::System.IDisposable { } public virtual void Dispose() { - if (!Stage.IsInstalled()) { + if (!Window.IsInstalled()) { DisposeQueue.Instance.Add(this); return; } @@ -76,17 +76,17 @@ public class Hover : global::System.IDisposable { return PointStateType.FINISHED; } - public Actor GetHitActor(uint point) { + public View GetHitView(uint point) { if( point < points.Count ) { - return points[(int)point].hitActor; + return points[(int)point].hitView; } else { // Return a native empty handle - Actor actor = new Actor(); - actor.Reset(); - return actor; + View view = new View(); + view.Reset(); + return view; } }