-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPauseScreen.fxml
17 lines (15 loc) · 1.13 KB
/
PauseScreen.fxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.*?>
<?import javafx.scene.image.*?>
<?import javafx.scene.layout.*?>
<AnchorPane fx:id="AnchorPanePauseScreen" focusTraversable="true" prefHeight="500.0" prefWidth="500.0" styleClass="background" stylesheets="@backgnd.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="sample.PauseScreen">
<children>
<ImageView fx:id="ImageViewPauseScreen" fitHeight="500.0" fitWidth="338.0" layoutX="109.0" pickOnBounds="true" preserveRatio="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="109.0" AnchorPane.rightAnchor="53.0" AnchorPane.topAnchor="0.0">
<image>
<Image url="@pauseScreen.jpg" />
</image>
</ImageView>
<Button fx:id="ResumePauseScreen" layoutX="205.0" layoutY="190.0" mnemonicParsing="false" onMouseClicked="#ResumeButton" prefHeight="87.0" prefWidth="87.0" text="Resume" />
<Button fx:id="HomeButtonPauseScreen" layoutX="109.0" layoutY="23.0" mnemonicParsing="false" onMouseClicked="#HomeButton" prefHeight="49.0" prefWidth="62.0" text="Home" />
</children>
</AnchorPane>