Transparent maps.

- new ac35 map image
- existing maps transparent backgrounds

#story[1301]
This commit is contained in:
Jessica Syder
2017-09-28 13:05:52 +13:00
parent 31bb289723
commit edb0e1db2f
4 changed files with 5 additions and 5 deletions
@@ -83,8 +83,8 @@ public class HostGameController extends Controller {
listOfMaps = new ArrayList(Arrays.asList(ac35Map, oMap, iMap, mMap)); listOfMaps = new ArrayList(Arrays.asList(ac35Map, oMap, iMap, mMap));
mapImage.setImage(listOfMaps.get(currentMapIndex)); mapImage.setImage(listOfMaps.get(currentMapIndex));
Platform.runLater(() -> { Platform.runLater(() -> {
mapImage.fitWidthProperty() mapImage.fitHeightProperty()
.bind(mapImage.getScene().getWindow().widthProperty().multiply(0.6)); .bind(mapImage.getScene().getWindow().heightProperty().multiply(0.6));
}); });
} }
@@ -169,7 +169,7 @@
/* Host Game / Map Selection */ /* Host Game / Map Selection */
#nextButton, #previousButton { #nextButton, #previousButton {
-fx-background-image: url("/visualiser/images/ArrowSelect.png"); -fx-background-image: url("/visualiser/images/ArrowClick.png");
-fx-background-size: 60px; -fx-background-size: 60px;
-fx-background-repeat: no-repeat; -fx-background-repeat: no-repeat;
-fx-background-position: center center; -fx-background-position: center center;
@@ -183,11 +183,11 @@
} }
#nextButton:pressed { #nextButton:pressed {
-fx-background-image: url("/visualiser/images/ArrowClick.png"); -fx-background-image: url("/visualiser/images/ArrowSelect.png");
} }
#previousButton:pressed { #previousButton:pressed {
-fx-background-image: url("/visualiser/images/ArrowClick.png"); -fx-background-image: url("/visualiser/images/ArrowSelect.png");
} }
.slider .thumb { .slider .thumb {
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 MiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 15 KiB