259 lines
12 KiB
Plaintext
Raw Normal View History

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-17 16:43:24 +02:00
<HBox alignment="CENTER_LEFT" prefHeight="533.0" prefWidth="520.0" BorderPane.alignment="CENTER">
2020-04-20 14:39:19 +02:00
<BorderPane.margin>
<Insets left="20.0" />
</BorderPane.margin>
2020-04-17 11:45:30 +02:00
<children>
2020-04-20 14:39:19 +02:00
<HBox prefHeight="533.0" prefWidth="697.0">
2020-04-17 11:45:30 +02:00
<children>
2020-04-20 14:39:19 +02:00
<VBox alignment="CENTER" prefHeight="525.0" prefWidth="342.0">
2020-04-17 11:45:30 +02:00
<children>
2020-04-20 14:39:19 +02:00
<TextField fx:id="tf" prefWidth="230.0">
<font>
<Font size="24.0" />
</font>
</TextField>
<TextField>
<VBox.margin>
<Insets top="5.0" />
</VBox.margin>
<font>
<Font size="24.0" />
</font>
</TextField>
<TextField>
<VBox.margin>
<Insets top="5.0" />
</VBox.margin>
2020-04-17 16:43:24 +02:00
<font>
<Font size="24.0" />
</font>
2020-04-20 14:39:19 +02:00
</TextField>
<TextField>
2020-04-17 11:45:30 +02:00
<VBox.margin>
2020-04-20 14:39:19 +02:00
<Insets top="5.0" />
</VBox.margin>
<font>
<Font size="24.0" />
</font>
</TextField>
</children>
</VBox>
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
<children>
<Button mnemonicParsing="false" onMouseClicked="#ajoutJoueur" prefHeight="42.0" prefWidth="53.0" styleClass="bouton" stylesheets="@style/menu.css" text="+">
<font>
<Font size="24.0" />
</font>
</Button>
2020-04-17 15:51:50 +02:00
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
2020-04-17 11:45:30 +02:00
<VBox.margin>
2020-04-20 14:39:19 +02:00
<Insets top="5.0" />
2020-04-17 16:43:24 +02:00
</VBox.margin>
<font>
<Font size="24.0" />
2020-04-20 14:39:19 +02:00
</font>
</Button>
2020-04-17 15:51:50 +02:00
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
2020-04-17 11:45:30 +02:00
<VBox.margin>
2020-04-20 14:39:19 +02:00
<Insets top="5.0" />
2020-04-17 16:43:24 +02:00
</VBox.margin>
<font>
<Font size="24.0" />
2020-04-20 14:39:19 +02:00
</font>
</Button>
2020-04-17 16:43:24 +02:00
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
<VBox.margin>
2020-04-20 14:39:19 +02:00
<Insets top="5.0" />
2020-04-17 16:43:24 +02:00
</VBox.margin>
<font>
<Font size="24.0" />
2020-04-20 14:39:19 +02:00
</font>
</Button>
</children>
</VBox>
<VBox alignment="CENTER" prefHeight="530.0" prefWidth="68.0">
<children>
<CheckBox mnemonicParsing="false" stylesheets="@style/menu.css">
<VBox.margin>
<Insets top="5.0" />
</VBox.margin>
<font>
<Font size="24.0" />
</font>
</CheckBox>
<CheckBox mnemonicParsing="false" stylesheets="@style/menu.css">
<VBox.margin>
<Insets top="30.0" />
</VBox.margin>
<font>
<Font size="24.0" />
</font>
</CheckBox>
<CheckBox mnemonicParsing="false" stylesheets="@style/menu.css">
<VBox.margin>
<Insets top="30.0" />
</VBox.margin>
<font>
<Font size="24.0" />
</font>
</CheckBox>
<CheckBox mnemonicParsing="false" stylesheets="@style/menu.css">
<VBox.margin>
<Insets top="30.0" />
</VBox.margin>
<font>
<Font size="24.0" />
</font>
</CheckBox>
2020-04-17 11:45:30 +02:00
</children>
</VBox>
</children>
2020-04-20 14:39:19 +02:00
</HBox>
2020-04-17 11:45:30 +02:00
</children>
</HBox>
</left>
<right>
2020-04-17 16:43:24 +02:00
<HBox prefHeight="533.0" prefWidth="656.0" BorderPane.alignment="CENTER">
2020-04-17 11:45:30 +02:00
<children>
2020-04-17 16:43:24 +02:00
<HBox prefHeight="533.0" prefWidth="697.0">
2020-04-17 11:45:30 +02:00
<children>
2020-04-17 16:43:24 +02:00
<VBox alignment="CENTER_LEFT" prefHeight="533.0" prefWidth="380.0">
2020-04-17 11:45:30 +02:00
<children>
2020-04-17 16:43:24 +02:00
<TextField>
<font>
<Font size="24.0" />
</font></TextField>
2020-04-17 11:45:30 +02:00
<TextField>
<VBox.margin>
<Insets top="5.0" />
2020-04-17 16:43:24 +02:00
</VBox.margin>
<font>
<Font size="24.0" />
</font></TextField>
2020-04-17 11:45:30 +02:00
<TextField>
<VBox.margin>
<Insets top="5.0" />
2020-04-17 16:43:24 +02:00
</VBox.margin>
<font>
<Font size="24.0" />
</font></TextField>
2020-04-17 11:45:30 +02:00
<TextField>
<VBox.margin>
<Insets top="5.0" />
2020-04-17 16:43:24 +02:00
</VBox.margin>
<font>
<Font size="24.0" />
</font></TextField>
2020-04-17 11:45:30 +02:00
</children>
</VBox>
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
<children>
2020-04-17 16:43:24 +02:00
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
<font>
<Font size="24.0" />
</font></Button>
2020-04-17 15:51:50 +02:00
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
2020-04-17 11:45:30 +02:00
<VBox.margin>
<Insets top="5.0" />
2020-04-17 16:43:24 +02:00
</VBox.margin>
<font>
<Font size="24.0" />
</font></Button>
2020-04-17 15:51:50 +02:00
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
2020-04-17 11:45:30 +02:00
<VBox.margin>
<Insets top="5.0" />
2020-04-17 16:43:24 +02:00
</VBox.margin>
<font>
<Font size="24.0" />
</font></Button>
2020-04-17 15:51:50 +02:00
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
2020-04-17 11:45:30 +02:00
<VBox.margin>
<Insets top="5.0" />
2020-04-17 16:43:24 +02:00
</VBox.margin>
<font>
<Font size="24.0" />
</font></Button>
2020-04-17 11:45:30 +02:00
</children>
</VBox>
2020-04-17 16:43:24 +02:00
<VBox alignment="CENTER_LEFT" prefHeight="533.0" prefWidth="194.0">
2020-04-17 11:45:30 +02:00
<children>
2020-04-17 15:51:50 +02:00
<CheckBox mnemonicParsing="false" stylesheets="@style/menu.css">
2020-04-17 11:45:30 +02:00
<VBox.margin>
<Insets top="5.0" />
2020-04-17 16:43:24 +02:00
</VBox.margin>
<font>
<Font size="24.0" />
</font></CheckBox>
2020-04-17 15:51:50 +02:00
<CheckBox mnemonicParsing="false" stylesheets="@style/menu.css">
2020-04-17 11:45:30 +02:00
<VBox.margin>
2020-04-17 16:43:24 +02:00
<Insets top="30.0" />
</VBox.margin>
<font>
<Font size="24.0" />
</font></CheckBox>
2020-04-17 15:51:50 +02:00
<CheckBox mnemonicParsing="false" stylesheets="@style/menu.css">
2020-04-17 11:45:30 +02:00
<VBox.margin>
2020-04-17 16:43:24 +02:00
<Insets top="30.0" />
</VBox.margin>
<font>
<Font size="24.0" />
</font></CheckBox>
2020-04-17 15:51:50 +02:00
<CheckBox mnemonicParsing="false" stylesheets="@style/menu.css">
2020-04-17 11:45:30 +02:00
<VBox.margin>
2020-04-17 16:43:24 +02:00
<Insets top="30.0" />
</VBox.margin>
<font>
<Font size="24.0" />
</font></CheckBox>
2020-04-17 11:45:30 +02:00
</children>
</VBox>
</children>
</HBox>
</children>
</HBox>
</right>
</BorderPane>