Drop unneeded me/se versions of BDImage
This commit is contained in:
parent
dbb9c7fc16
commit
d0dd2ac3c4
|
@ -1,28 +0,0 @@
|
|||
/*
|
||||
* This file is part of libbluray
|
||||
* Copyright (C) 2012 libbluray
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library. If not, see
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package java.awt;
|
||||
|
||||
import sun.awt.image.BufferedImagePeer;
|
||||
|
||||
public class BDImage extends BDImageBase implements BufferedImagePeer {
|
||||
BDImage(Component component, int width, int height, GraphicsConfiguration gc) {
|
||||
super(component, width, height, gc);
|
||||
}
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
/*
|
||||
* This file is part of libbluray
|
||||
* Copyright (C) 2012 libbluray
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library. If not, see
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package java.awt;
|
||||
|
||||
import sun.awt.image.BufferedImagePeer;
|
||||
|
||||
class BDImage extends BDImageBase implements BufferedImagePeer {
|
||||
BDImage(Component component, int width, int height, GraphicsConfiguration gc) {
|
||||
super(component, width, height, gc);
|
||||
}
|
||||
}
|
|
@ -35,7 +35,7 @@ import java.awt.image.ImageObserver;
|
|||
import java.awt.image.ColorModel;
|
||||
import java.awt.image.BufferedImage;
|
||||
|
||||
class BDImageBase extends Image {
|
||||
class BDImage extends Image {
|
||||
private static Constructor bufferedImageConstructor;
|
||||
|
||||
private Component component;
|
||||
|
@ -78,7 +78,7 @@ class BDImageBase extends Image {
|
|||
return null;
|
||||
}
|
||||
|
||||
BDImageBase(Component component, int width, int height, GraphicsConfiguration gc) {
|
||||
BDImage(Component component, int width, int height, GraphicsConfiguration gc) {
|
||||
|
||||
this.component = component;
|
||||
this.width = width;
|
||||
|
@ -96,7 +96,7 @@ class BDImageBase extends Image {
|
|||
}
|
||||
|
||||
public Graphics getGraphics() {
|
||||
return new BDGraphics((BDImage)this);
|
||||
return new BDGraphics(this);
|
||||
}
|
||||
|
||||
public int getWidth() {
|
Loading…
Reference in New Issue