The image manager now falls back to loading images via the Toolkit if it
can't load the ImageIO classes. This unfortunately means that we're back to passing a Component instance to the ImageManager at construct time. Whee! git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@749 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
//
|
||||
// $Id: ImageProvider.java,v 1.1 2001/11/18 04:09:21 mdb Exp $
|
||||
// $Id: ImageProvider.java,v 1.2 2001/12/07 01:33:29 mdb Exp $
|
||||
|
||||
package com.threerings.media.tile;
|
||||
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.awt.Image;
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
@@ -21,6 +21,6 @@ public interface ImageProvider
|
||||
* @exception IOException thrown if an error occurs loading the image
|
||||
* data.
|
||||
*/
|
||||
public BufferedImage loadImage (String path)
|
||||
public Image loadImage (String path)
|
||||
throws IOException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user