Combined Stage and Window class, and removed Stage class
[platform/core/uifw/dali-toolkit.git] / plugins / dali-sharp / sharp / internal / Hover.cs
index 1f31dd0..1e1d58c 100644 (file)
@@ -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;
     }
   }