Move images to res/.
このコミットが含まれているのは:
コミット
eb174d379d
3個のファイルの変更、2行の追加、2行の削除
変更前 幅: | 高さ: | サイズ: 3.5 KiB 変更後 幅: | 高さ: | サイズ: 3.5 KiB |
変更前 幅: | 高さ: | サイズ: 3.2 KiB 変更後 幅: | 高さ: | サイズ: 3.2 KiB |
|
@ -62,9 +62,9 @@ public class MapZoomControls {
|
|||
public MapZoomControls(Component component, final int defaultZoom, final int minZoom, final int maxZoom)
|
||||
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);
|
||||
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);
|
||||
|
||||
this.currentLevel = defaultZoom;
|
||||
|
|
読み込み中…
新しいイシューから参照