Dead code pruning.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2985 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: VirtualMediaPanel.java,v 1.25 2004/02/25 14:43:17 mdb Exp $
|
// $Id: VirtualMediaPanel.java,v 1.26 2004/03/28 00:36:39 ray Exp $
|
||||||
|
|
||||||
package com.threerings.media;
|
package com.threerings.media;
|
||||||
|
|
||||||
@@ -361,17 +361,6 @@ public class VirtualMediaPanel extends MediaPanel
|
|||||||
_vbounds.x, _vbounds.y, getWidth(), getHeight(), dirty);
|
_vbounds.x, _vbounds.y, getWidth(), getHeight(), dirty);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Used to compute our viewport offsets.
|
|
||||||
*/
|
|
||||||
protected int centerWithInterest (int len, int vlen, int ix, int ilen)
|
|
||||||
{
|
|
||||||
// start out by centering on the region of interest
|
|
||||||
int tx = (ix - (len - ilen)/2);
|
|
||||||
// make sure that didn't push us off of the screen
|
|
||||||
return Math.min(Math.max(tx, 0), vlen-len);
|
|
||||||
}
|
|
||||||
|
|
||||||
// documentation inherited
|
// documentation inherited
|
||||||
protected void paintBehind (Graphics2D gfx, Rectangle dirtyRect)
|
protected void paintBehind (Graphics2D gfx, Rectangle dirtyRect)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user