Split the runtime-adjustment functionality of ImageManager out. In order to preserve backwards compatibility, the complete functionality including runtime-adjustment can be found in ImageManager which now extends BaseImageManager. The bulk of functionality is now in BaseImageManager and anyone who wants an image manager without the RuntimeAdjustment bits (it uses ClientPrefs and thus isn't friendly in server-land) should use that directly.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@433 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Mike Thomas
2008-03-06 18:31:04 +00:00
parent 9c3a7e2904
commit f00ff51a7b
17 changed files with 594 additions and 528 deletions
@@ -33,7 +33,7 @@ import java.awt.image.BufferedImage;
* AWT to determine the optimal image format.
*/
public class AWTImageCreator
implements ImageManager.OptimalImageCreator
implements BaseImageManager.OptimalImageCreator
{
/**
* Create an image creator that will rely on the AWT to determine the
@@ -53,7 +53,7 @@ public class AWTImageCreator
}
}
// documentation inherited from interface ImageManager.OptimalImageCreator
// documentation inherited from interface BaseImageManager.OptimalImageCreator
public BufferedImage createImage (int width, int height, int trans)
{
// DEBUG: override transparency for the moment on all images