110 lines
4.7 KiB
XML
110 lines
4.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.geometry.Insets?>
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.CheckBox?>
|
|
<?import javafx.scene.control.Label?>
|
|
<?import javafx.scene.control.Slider?>
|
|
<?import javafx.scene.layout.AnchorPane?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<?import javafx.scene.text.Font?>
|
|
|
|
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="480.0" prefWidth="640.0" style="-fx-border-color: white; -fx-background-color: black;" stylesheets="@style/popUp.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.PauseController">
|
|
<children>
|
|
<VBox alignment="TOP_CENTER" prefHeight="480.0" prefWidth="640.0">
|
|
<children>
|
|
<Label text="Pause">
|
|
<font>
|
|
<Font size="48.0" />
|
|
</font>
|
|
</Label>
|
|
<VBox>
|
|
<children>
|
|
<Label style="-fx-border-width: 0 0 0.5 0; -fx-border-color: #e2e2e2;" text="Sons">
|
|
<font>
|
|
<Font size="18.0" />
|
|
</font>
|
|
</Label>
|
|
<HBox alignment="CENTER_LEFT">
|
|
<children>
|
|
<Label text="Musique">
|
|
<HBox.margin>
|
|
<Insets right="300.0" />
|
|
</HBox.margin>
|
|
<font>
|
|
<Font size="14.0" />
|
|
</font>
|
|
</Label>
|
|
<CheckBox fx:id="cbMusique" mnemonicParsing="false">
|
|
<HBox.margin>
|
|
<Insets bottom="5.0" />
|
|
</HBox.margin>
|
|
</CheckBox>
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets bottom="5.0" />
|
|
</VBox.margin>
|
|
</HBox>
|
|
<HBox prefHeight="0.0" prefWidth="540.0">
|
|
<children>
|
|
<Slider fx:id="sliderMusiquePause" blockIncrement="1.0" majorTickUnit="1.0" max="1.0" minorTickCount="10" onMouseClicked="#slideVolumeMusique" prefHeight="14.0" prefWidth="194.0" showTickLabels="true" showTickMarks="true" value="0.1" />
|
|
</children>
|
|
</HBox>
|
|
<HBox alignment="CENTER_LEFT">
|
|
<children>
|
|
<Label text="Effet sonores">
|
|
<HBox.margin>
|
|
<Insets right="273.0" />
|
|
</HBox.margin>
|
|
<font>
|
|
<Font size="14.0" />
|
|
</font>
|
|
</Label>
|
|
<CheckBox fx:id="cbEffet" mnemonicParsing="false" />
|
|
</children>
|
|
</HBox>
|
|
<Label style="-fx-border-width: 0 0 0.5 0; -fx-border-color: #e2e2e2;" text="Jeux">
|
|
<VBox.margin>
|
|
<Insets top="50.0" />
|
|
</VBox.margin>
|
|
<font>
|
|
<Font size="18.0" />
|
|
</font>
|
|
</Label>
|
|
<HBox>
|
|
<VBox.margin>
|
|
<Insets top="5.0" />
|
|
</VBox.margin>
|
|
<children>
|
|
<Button mnemonicParsing="false" onMouseClicked="#reprendre" text="Reprendre la partie">
|
|
<HBox.margin>
|
|
<Insets right="25.0" />
|
|
</HBox.margin>
|
|
<font>
|
|
<Font size="14.0" />
|
|
</font>
|
|
</Button>
|
|
<Button mnemonicParsing="false" onMouseClicked="#quitter" style="-fx-text-fill: red;" text="Quitter le jeu">
|
|
<HBox.margin>
|
|
<Insets left="25.0" />
|
|
</HBox.margin>
|
|
<font>
|
|
<Font size="14.0" />
|
|
</font>
|
|
</Button>
|
|
</children>
|
|
</HBox>
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets top="50.0" />
|
|
</VBox.margin>
|
|
<padding>
|
|
<Insets left="100.0" />
|
|
</padding>
|
|
</VBox>
|
|
</children>
|
|
</VBox>
|
|
</children>
|
|
</AnchorPane>
|