Files
M431-ShadowHunterGame/src/ihm/ressources/Pause.fxml
2020-05-15 14:03:34 +02:00

139 lines
6.5 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>
<HBox prefHeight="100.0" prefWidth="200.0">
<children>
<VBox prefHeight="322.0" prefWidth="315.0">
<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 />
</HBox.margin>
<font>
<Font size="14.0" />
</font>
</Label>
</children>
<VBox.margin>
<Insets bottom="5.0" />
</VBox.margin>
</HBox>
<HBox>
<children>
<Slider fx:id="sliderMusiquePause" blockIncrement="1.0" majorTickUnit="1.0" max="1.0" minorTickCount="10" onMouseClicked="#slideVolumeMusique" prefHeight="14.0" prefWidth="194.0" value="0.1" />
</children>
</HBox>
<Label prefHeight="18.0" prefWidth="198.0" styleClass="text" stylesheets="@style/plateau.css" text="The Red Fox Tavern - Curran Son">
<opaqueInsets>
<Insets />
</opaqueInsets>
<padding>
<Insets bottom="20.0" left="5.0" />
</padding>
</Label>
<HBox alignment="CENTER_LEFT">
<children>
<Label text="%effet">
<HBox.margin>
<Insets />
</HBox.margin>
<font>
<Font size="14.0" />
</font>
</Label>
</children>
</HBox>
<HBox prefHeight="0.0" prefWidth="540.0">
<children>
<Slider fx:id="sliderEffetsPause" blockIncrement="1.0" majorTickUnit="1.0" max="0.0" min="-20.0" minorTickCount="10" onMouseClicked="#slideVolumeEffets" prefHeight="14.0" prefWidth="194.0" />
</children>
</HBox>
<Button fx:id="reglesPause" mnemonicParsing="false" onMouseClicked="#afficherReglePause" text="%regles">
<font>
<Font size="14.0" />
</font>
<VBox.margin>
<Insets top="30.0" />
</VBox.margin>
</Button>
<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.partie">
<HBox.margin>
<Insets right="25.0" />
</HBox.margin>
<font>
<Font size="14.0" />
</font>
</Button>
</children>
</HBox>
</children>
<padding>
<Insets left="100.0" />
</padding>
</VBox>
<VBox prefHeight="325.0" prefWidth="199.0">
<children>
<CheckBox fx:id="cbMusique" mnemonicParsing="false">
<VBox.margin>
<Insets bottom="50.0" top="30.0" />
</VBox.margin>
</CheckBox>
<CheckBox fx:id="cbEffet" alignment="CENTER" mnemonicParsing="false" />
<Button mnemonicParsing="false" onMouseClicked="#quitter" style="-fx-text-fill: red;" text="%quitter.jeu">
<font>
<Font size="14.0" />
</font>
<VBox.margin>
<Insets top="171.0" />
</VBox.margin>
</Button>
</children>
<HBox.margin>
<Insets />
</HBox.margin>
</VBox>
</children>
</HBox>
</children>
</VBox>
</children>
</AnchorPane>