No more regions of interest, now we follow pathables.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2555 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: VirtualMediaPanel.java,v 1.19 2003/05/08 04:52:24 ray Exp $
|
// $Id: VirtualMediaPanel.java,v 1.20 2003/05/08 16:10:50 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.media;
|
package com.threerings.media;
|
||||||
|
|
||||||
@@ -112,20 +112,6 @@ public class VirtualMediaPanel extends MediaPanel
|
|||||||
_fmode = -1;
|
_fmode = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Configures a region of interest which will be displayed in the
|
|
||||||
* center of the viewport in situations where the media panel's actual
|
|
||||||
* size is smaller than its view size.
|
|
||||||
*
|
|
||||||
* @param region the region of interest or null if there is to be no
|
|
||||||
* region of interest (in which case the view will simply be
|
|
||||||
* centered).
|
|
||||||
*/
|
|
||||||
public void setRegionOfInterest (Rectangle region)
|
|
||||||
{
|
|
||||||
_interest = region;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* We overload this to translate mouse events into the proper
|
* We overload this to translate mouse events into the proper
|
||||||
* coordinates before they are dispatched to any of the mouse
|
* coordinates before they are dispatched to any of the mouse
|
||||||
@@ -397,9 +383,6 @@ public class VirtualMediaPanel extends MediaPanel
|
|||||||
/** Our tiling background image. */
|
/** Our tiling background image. */
|
||||||
protected Mirage _background;
|
protected Mirage _background;
|
||||||
|
|
||||||
/** A region of interest which we'll try to keep visible. */
|
|
||||||
protected Rectangle _interest;
|
|
||||||
|
|
||||||
/** The mode we're using when following a pathable. */
|
/** The mode we're using when following a pathable. */
|
||||||
protected int _fmode = -1;
|
protected int _fmode = -1;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user