286 lines
13 KiB
XML
286 lines
13 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.TextField?>
|
|
<?import javafx.scene.layout.AnchorPane?>
|
|
<?import javafx.scene.layout.BorderPane?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<?import javafx.scene.text.Font?>
|
|
|
|
<AnchorPane fx:id="rootPane" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.PlayersController">
|
|
<children>
|
|
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="800.0" prefWidth="1280.0" styleClass="background" stylesheets="@style/menu.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<left>
|
|
<VBox alignment="CENTER" prefHeight="688.0" prefWidth="240.0" BorderPane.alignment="CENTER">
|
|
<children>
|
|
<HBox fx:id="hb5" alignment="CENTER" prefHeight="67.0" prefWidth="340.0" rotate="90.0">
|
|
<children>
|
|
<TextField>
|
|
<font>
|
|
<Font size="24.0" />
|
|
</font>
|
|
</TextField>
|
|
<Button mnemonicParsing="false" prefHeight="55.0" prefWidth="100.0" styleClass="bouton" stylesheets="@style/menu.css" text="+">
|
|
<font>
|
|
<Font size="24.0" />
|
|
</font>
|
|
<HBox.margin>
|
|
<Insets left="10.0" right="10.0" />
|
|
</HBox.margin>
|
|
<padding>
|
|
<Insets right="5.0" />
|
|
</padding>
|
|
</Button>
|
|
<CheckBox mnemonicParsing="false">
|
|
<font>
|
|
<Font size="24.0" />
|
|
</font>
|
|
</CheckBox>
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets bottom="150.0" left="-100.0" />
|
|
</VBox.margin>
|
|
</HBox>
|
|
<HBox fx:id="hb7" alignment="CENTER" rotate="90.0">
|
|
<children>
|
|
<TextField prefHeight="51.0" prefWidth="298.0">
|
|
<font>
|
|
<Font size="24.0" />
|
|
</font>
|
|
</TextField>
|
|
<Button mnemonicParsing="false" prefHeight="55.0" prefWidth="100.0" styleClass="bouton" stylesheets="@style/menu.css" text="+">
|
|
<font>
|
|
<Font size="24.0" />
|
|
</font>
|
|
<HBox.margin>
|
|
<Insets left="10.0" right="10.0" />
|
|
</HBox.margin>
|
|
<padding>
|
|
<Insets right="5.0" />
|
|
</padding>
|
|
</Button>
|
|
<CheckBox mnemonicParsing="false">
|
|
<font>
|
|
<Font size="24.0" />
|
|
</font>
|
|
</CheckBox>
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets left="-100.0" top="200.0" />
|
|
</VBox.margin>
|
|
</HBox>
|
|
</children>
|
|
</VBox>
|
|
</left>
|
|
<right>
|
|
<VBox alignment="CENTER" prefHeight="688.0" prefWidth="248.0" BorderPane.alignment="CENTER">
|
|
<children>
|
|
<HBox fx:id="hb6" alignment="CENTER" prefHeight="100.0" prefWidth="200.0" rotate="270.0">
|
|
<children>
|
|
<TextField>
|
|
<font>
|
|
<Font size="24.0" />
|
|
</font>
|
|
</TextField>
|
|
<Button mnemonicParsing="false" prefHeight="55.0" prefWidth="100.0" styleClass="bouton" stylesheets="@style/menu.css" text="+">
|
|
<font>
|
|
<Font size="24.0" />
|
|
</font>
|
|
<HBox.margin>
|
|
<Insets left="10.0" right="10.0" />
|
|
</HBox.margin>
|
|
<padding>
|
|
<Insets right="5.0" />
|
|
</padding>
|
|
</Button>
|
|
<CheckBox mnemonicParsing="false">
|
|
<font>
|
|
<Font size="24.0" />
|
|
</font>
|
|
</CheckBox>
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets bottom="150.0" right="-100.0" />
|
|
</VBox.margin>
|
|
</HBox>
|
|
<HBox fx:id="hb8" alignment="CENTER" prefHeight="100.0" prefWidth="200.0" rotate="270.0">
|
|
<children>
|
|
<TextField>
|
|
<font>
|
|
<Font size="24.0" />
|
|
</font>
|
|
</TextField>
|
|
<Button mnemonicParsing="false" prefHeight="55.0" prefWidth="100.0" styleClass="bouton" stylesheets="@style/menu.css" text="+">
|
|
<font>
|
|
<Font size="24.0" />
|
|
</font>
|
|
<HBox.margin>
|
|
<Insets left="10.0" right="10.0" />
|
|
</HBox.margin>
|
|
<padding>
|
|
<Insets right="5.0" />
|
|
</padding>
|
|
</Button>
|
|
<CheckBox mnemonicParsing="false">
|
|
<font>
|
|
<Font size="24.0" />
|
|
</font>
|
|
</CheckBox>
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets right="-100.0" top="150.0" />
|
|
</VBox.margin>
|
|
</HBox>
|
|
</children>
|
|
</VBox>
|
|
</right>
|
|
<center>
|
|
<VBox alignment="CENTER" prefHeight="486.0" prefWidth="392.0" BorderPane.alignment="CENTER">
|
|
<children>
|
|
<Label styleClass="titre" stylesheets="@style/menu.css" text="Entrez le nom des joueurs">
|
|
<font>
|
|
<Font size="48.0" />
|
|
</font>
|
|
</Label>
|
|
<Label styleClass="titre" stylesheets="@style/menu.css" text="(Il faut au moins 4 joueurs)">
|
|
<font>
|
|
<Font size="36.0" />
|
|
</font>
|
|
</Label>
|
|
<Label styleClass="titre" stylesheets="@style/menu.css" text="Cochez la case pour avoir un joueur virtuel">
|
|
<font>
|
|
<Font size="36.0" />
|
|
</font>
|
|
</Label>
|
|
<Button fx:id="btnCommencer" mnemonicParsing="false" onMouseClicked="#commencerJeux" styleClass="bouton" stylesheets="@style/menu.css" text="Commencer la partie">
|
|
<font>
|
|
<Font size="24.0" />
|
|
</font>
|
|
<VBox.margin>
|
|
<Insets top="20.0" />
|
|
</VBox.margin>
|
|
</Button>
|
|
</children>
|
|
</VBox>
|
|
</center>
|
|
<top>
|
|
<HBox alignment="CENTER" prefHeight="110.0" prefWidth="1280.0" BorderPane.alignment="CENTER">
|
|
<children>
|
|
<HBox fx:id="hb1" alignment="CENTER" rotate="180.0">
|
|
<children>
|
|
<TextField>
|
|
<font>
|
|
<Font size="24.0" />
|
|
</font>
|
|
</TextField>
|
|
<Button mnemonicParsing="false" prefHeight="55.0" prefWidth="55.0" 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 fx:id="hb2" alignment="CENTER" rotate="180.0">
|
|
<children>
|
|
<TextField accessibleRole="PARENT">
|
|
<font>
|
|
<Font size="24.0" />
|
|
</font>
|
|
<HBox.margin>
|
|
<Insets />
|
|
</HBox.margin>
|
|
</TextField>
|
|
<Button mnemonicParsing="false" prefHeight="55.0" prefWidth="55.0" 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.margin>
|
|
<Insets left="30.0" />
|
|
</HBox.margin>
|
|
</HBox>
|
|
</children>
|
|
</HBox>
|
|
</top>
|
|
<bottom>
|
|
<VBox alignment="CENTER" prefHeight="94.0" prefWidth="1280.0" BorderPane.alignment="CENTER">
|
|
<children>
|
|
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
|
<children>
|
|
<HBox fx:id="hb3" alignment="CENTER">
|
|
<children>
|
|
<TextField prefHeight="51.0" prefWidth="298.0">
|
|
<font>
|
|
<Font size="24.0" />
|
|
</font>
|
|
</TextField>
|
|
<Button mnemonicParsing="false" prefHeight="55.0" prefWidth="55.0" 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 fx:id="hb4" alignment="CENTER">
|
|
<children>
|
|
<TextField>
|
|
<font>
|
|
<Font size="24.0" />
|
|
</font>
|
|
</TextField>
|
|
<Button mnemonicParsing="false" prefHeight="55.0" prefWidth="55.0" 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.margin>
|
|
<Insets left="30.0" />
|
|
</HBox.margin>
|
|
</HBox>
|
|
</children>
|
|
</HBox>
|
|
</children>
|
|
</VBox>
|
|
</bottom>
|
|
</BorderPane>
|
|
</children>
|
|
</AnchorPane>
|