Move images to res/.
Esse commit está contido em:
pai
701a94784e
commit
eb174d379d
3 arquivos alterados com 2 adições e 2 exclusões
|
Antes Largura: | Altura: | Tamanho: 3,5 KiB Depois Largura: | Altura: | Tamanho: 3,5 KiB |
|
Antes Largura: | Altura: | Tamanho: 3,2 KiB Depois Largura: | Altura: | Tamanho: 3,2 KiB |
|
|
@ -62,9 +62,9 @@ public class MapZoomControls {
|
||||||
public MapZoomControls(Component component, final int defaultZoom, final int minZoom, final int maxZoom)
|
public MapZoomControls(Component component, final int defaultZoom, final int minZoom, final int maxZoom)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
|
|
||||||
zoomIn = ImageIO.read(new File("zoomIn.png")).getScaledInstance(DEFAULT_HEIGHT, DEFAULT_HEIGHT,
|
zoomIn = ImageIO.read(new File("res/zoomIn.png")).getScaledInstance(DEFAULT_HEIGHT, DEFAULT_HEIGHT,
|
||||||
Image.SCALE_SMOOTH);
|
Image.SCALE_SMOOTH);
|
||||||
zoomOut = ImageIO.read(new File("zoomOut.png")).getScaledInstance(DEFAULT_HEIGHT, DEFAULT_HEIGHT,
|
zoomOut = ImageIO.read(new File("res/zoomOut.png")).getScaledInstance(DEFAULT_HEIGHT, DEFAULT_HEIGHT,
|
||||||
Image.SCALE_SMOOTH);
|
Image.SCALE_SMOOTH);
|
||||||
|
|
||||||
this.currentLevel = defaultZoom;
|
this.currentLevel = defaultZoom;
|
||||||
|
|
|
||||||
Carregando…
Referência em uma nova issue