Added support for using sprites that are fixed in relation to a
potentially scrolling view. Also added a means for non-sprites and animations to hear about view scrolls. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3209 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// $Id: ViewTracker.java,v 1.1 2004/11/11 23:52:43 mdb Exp $
|
||||
|
||||
package com.threerings.media;
|
||||
|
||||
/**
|
||||
* An interface used by entities that wish to respond to the scrolling of a
|
||||
* {@link VirtualMediaPanel}.
|
||||
*
|
||||
* @see VirtualMediaPanel#addViewTracker
|
||||
*/
|
||||
public interface ViewTracker
|
||||
{
|
||||
/**
|
||||
* Called by a {@link VirtualMediaPanel} when it scrolls.
|
||||
*/
|
||||
public void viewLocationDidChange (int dx, int dy);
|
||||
}
|
||||
Reference in New Issue
Block a user