Added a method that exists in VirtualMediaPanel.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3853 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-02-14 22:15:55 +00:00
parent f449e2e77d
commit 9faa866dba
@@ -116,6 +116,15 @@ public class MediaPanel extends JComponent
});
}
/**
* Get the bounds of the viewport, in media coordinates. For the base
* MediaPanel, this will always be (0, 0, width, height).
*/
public Rectangle getViewBounds ()
{
return new Rectangle(getWidth(), getHeight());
}
/**
* Returns a reference to the animation manager used by this media
* panel.