replaced BufferedImage with Image

master
melvin 2011-07-25 12:05:08 +08:00
parent cd49405445
commit 2ec0e6027e
1 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionAdapter;
import java.awt.image.BufferedImage;
import java.awt.Image;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
@ -144,7 +145,7 @@ public class ImageCardListViewer extends JPanel implements ChoiceViewer {
final MagicCard card=cardList.get(index);
final MagicCardDefinition cardDefinition=card.getCardDefinition();
final Point point=cardPoints.get(index);
final BufferedImage image=
final Image image=
HighQualityCardImagesProvider.getInstance().getImage(cardDefinition,card.getImageIndex(),false);
final int x1=point.x;
final int y1=point.y;