From 1c0f4051219a93d175375f9040b9116687c6c1c9 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Wed, 16 Oct 2002 01:53:57 +0000 Subject: [PATCH] added setHovered() so that a SceneObject can be told when it is being hovered over, and can request to have it's object tile repainted. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1805 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../threerings/miso/client/DisplayObjectInfo.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/java/com/threerings/miso/client/DisplayObjectInfo.java b/src/java/com/threerings/miso/client/DisplayObjectInfo.java index 812852c01..2fb3c5590 100644 --- a/src/java/com/threerings/miso/client/DisplayObjectInfo.java +++ b/src/java/com/threerings/miso/client/DisplayObjectInfo.java @@ -1,5 +1,5 @@ // -// $Id: DisplayObjectInfo.java,v 1.3 2002/09/23 23:07:11 mdb Exp $ +// $Id: DisplayObjectInfo.java,v 1.4 2002/10/16 01:53:57 ray Exp $ package com.threerings.miso.scene; @@ -40,6 +40,16 @@ public class SceneObject this.y = y; } + /** + * Indicate to the scene object that it is being hovered over. + * + * @return true if the object should be repainted. + */ + public boolean setHovered (boolean hovered) + { + return false; + } + // documentation inherited public boolean equals (Object other) {