2020-04-17 11:45:30 +02:00
|
|
|
<?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.TextField?>
|
|
|
|
<?import javafx.scene.layout.BorderPane?>
|
|
|
|
<?import javafx.scene.layout.HBox?>
|
|
|
|
<?import javafx.scene.layout.VBox?>
|
|
|
|
<?import javafx.scene.text.Font?>
|
|
|
|
|
2020-04-17 16:43:24 +02:00
|
|
|
<BorderPane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="800.0" prefWidth="1280.0" styleClass="background" stylesheets="@style/menu.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.PlayersController">
|
2020-04-17 11:45:30 +02:00
|
|
|
<bottom>
|
2020-04-17 15:51:50 +02:00
|
|
|
<Button fx:id="btnCommencer" mnemonicParsing="false" onMouseClicked="#commencerJeux" styleClass="bouton" stylesheets="@style/menu.css" text="Commencer la partie" BorderPane.alignment="CENTER">
|
2020-04-17 11:45:30 +02:00
|
|
|
<BorderPane.margin>
|
|
|
|
<Insets bottom="10.0" />
|
2020-04-17 16:43:24 +02:00
|
|
|
</BorderPane.margin>
|
|
|
|
<font>
|
2020-04-21 15:23:24 +02:00
|
|
|
<Font size="24.0" />
|
2020-04-17 16:43:24 +02:00
|
|
|
</font></Button>
|
2020-04-17 11:45:30 +02:00
|
|
|
</bottom>
|
|
|
|
<top>
|
|
|
|
<VBox alignment="CENTER" prefHeight="119.0" prefWidth="600.0" BorderPane.alignment="CENTER">
|
|
|
|
<children>
|
2020-04-17 15:51:50 +02:00
|
|
|
<Label styleClass="titre" stylesheets="@style/menu.css" text="Entrez le nom des joueurs">
|
2020-04-17 11:45:30 +02:00
|
|
|
<font>
|
2020-04-17 16:43:24 +02:00
|
|
|
<Font size="48.0" />
|
2020-04-17 11:45:30 +02:00
|
|
|
</font>
|
|
|
|
</Label>
|
2020-04-17 15:51:50 +02:00
|
|
|
<Label styleClass="titre" stylesheets="@style/menu.css" text="(Il faut au moins 4 joueurs)">
|
2020-04-17 11:45:30 +02:00
|
|
|
<font>
|
2020-04-17 16:43:24 +02:00
|
|
|
<Font size="36.0" />
|
2020-04-17 11:45:30 +02:00
|
|
|
</font>
|
|
|
|
</Label>
|
2020-04-20 13:46:18 +02:00
|
|
|
<Label styleClass="titre" stylesheets="@style/menu.css" text="Cochez la case pour que le joueur soit un joueur virtuel">
|
2020-04-17 16:43:24 +02:00
|
|
|
<font>
|
|
|
|
<Font size="36.0" />
|
|
|
|
</font></Label>
|
2020-04-17 11:45:30 +02:00
|
|
|
</children>
|
|
|
|
</VBox>
|
|
|
|
</top>
|
|
|
|
<left>
|
2020-04-21 15:40:41 +02:00
|
|
|
<VBox alignment="CENTER" prefHeight="559.0" prefWidth="642.0" BorderPane.alignment="CENTER">
|
2020-04-17 11:45:30 +02:00
|
|
|
<children>
|
2020-04-21 15:40:41 +02:00
|
|
|
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
|
|
|
<children>
|
|
|
|
<TextField>
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
</TextField>
|
|
|
|
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
<HBox.margin>
|
|
|
|
<Insets left="10.0" right="10.0" />
|
|
|
|
</HBox.margin>
|
|
|
|
</Button>
|
|
|
|
<CheckBox mnemonicParsing="false">
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
</CheckBox>
|
|
|
|
</children>
|
|
|
|
</HBox>
|
|
|
|
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
|
|
|
<children>
|
|
|
|
<TextField>
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
</TextField>
|
|
|
|
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
<HBox.margin>
|
|
|
|
<Insets left="10.0" right="10.0" />
|
|
|
|
</HBox.margin>
|
|
|
|
</Button>
|
|
|
|
<CheckBox mnemonicParsing="false">
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
</CheckBox>
|
|
|
|
</children>
|
|
|
|
</HBox>
|
|
|
|
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
|
|
|
<children>
|
|
|
|
<TextField>
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
</TextField>
|
|
|
|
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
<HBox.margin>
|
|
|
|
<Insets left="10.0" right="10.0" />
|
|
|
|
</HBox.margin>
|
|
|
|
</Button>
|
|
|
|
<CheckBox mnemonicParsing="false">
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
</CheckBox>
|
|
|
|
</children>
|
|
|
|
</HBox>
|
|
|
|
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
2020-04-17 11:45:30 +02:00
|
|
|
<children>
|
2020-04-21 15:40:41 +02:00
|
|
|
<TextField>
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
</TextField>
|
|
|
|
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
<HBox.margin>
|
|
|
|
<Insets left="10.0" right="10.0" />
|
|
|
|
</HBox.margin>
|
|
|
|
</Button>
|
|
|
|
<CheckBox mnemonicParsing="false">
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
</CheckBox>
|
2020-04-17 11:45:30 +02:00
|
|
|
</children>
|
2020-04-20 14:39:19 +02:00
|
|
|
</HBox>
|
2020-04-17 11:45:30 +02:00
|
|
|
</children>
|
2020-04-21 15:40:41 +02:00
|
|
|
</VBox>
|
2020-04-17 11:45:30 +02:00
|
|
|
</left>
|
|
|
|
<right>
|
2020-04-21 15:40:41 +02:00
|
|
|
<VBox alignment="CENTER" prefHeight="559.0" prefWidth="694.0" BorderPane.alignment="CENTER">
|
2020-04-17 11:45:30 +02:00
|
|
|
<children>
|
2020-04-21 15:40:41 +02:00
|
|
|
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
|
|
|
<children>
|
|
|
|
<TextField>
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
</TextField>
|
|
|
|
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
<HBox.margin>
|
|
|
|
<Insets left="10.0" right="10.0" />
|
|
|
|
</HBox.margin>
|
|
|
|
</Button>
|
|
|
|
<CheckBox mnemonicParsing="false">
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
</CheckBox>
|
|
|
|
</children>
|
|
|
|
</HBox>
|
|
|
|
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
2020-04-17 11:45:30 +02:00
|
|
|
<children>
|
2020-04-21 15:40:41 +02:00
|
|
|
<TextField>
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
</TextField>
|
|
|
|
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
<HBox.margin>
|
|
|
|
<Insets left="10.0" right="10.0" />
|
|
|
|
</HBox.margin>
|
|
|
|
</Button>
|
|
|
|
<CheckBox mnemonicParsing="false">
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
</CheckBox>
|
|
|
|
</children>
|
|
|
|
</HBox>
|
|
|
|
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
|
|
|
<children>
|
|
|
|
<TextField>
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
</TextField>
|
|
|
|
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
<HBox.margin>
|
|
|
|
<Insets left="10.0" right="10.0" />
|
|
|
|
</HBox.margin>
|
|
|
|
</Button>
|
|
|
|
<CheckBox mnemonicParsing="false">
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
</CheckBox>
|
|
|
|
</children>
|
|
|
|
</HBox>
|
|
|
|
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
|
|
|
<children>
|
|
|
|
<TextField>
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
</TextField>
|
|
|
|
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
<HBox.margin>
|
|
|
|
<Insets left="10.0" right="10.0" />
|
|
|
|
</HBox.margin>
|
|
|
|
</Button>
|
|
|
|
<CheckBox mnemonicParsing="false">
|
|
|
|
<font>
|
|
|
|
<Font size="24.0" />
|
|
|
|
</font>
|
|
|
|
</CheckBox>
|
2020-04-17 11:45:30 +02:00
|
|
|
</children>
|
|
|
|
</HBox>
|
|
|
|
</children>
|
2020-04-21 15:40:41 +02:00
|
|
|
</VBox>
|
2020-04-17 11:45:30 +02:00
|
|
|
</right>
|
|
|
|
</BorderPane>
|