Grisser les joueurs non ajoutés

This commit is contained in:
Yessine Ben El Bey
2020-04-20 14:39:19 +02:00
parent 0633478389
commit 1a59e9759a
7 changed files with 285 additions and 111 deletions

View File

@ -42,117 +42,117 @@
</top>
<left>
<HBox alignment="CENTER_LEFT" prefHeight="533.0" prefWidth="520.0" BorderPane.alignment="CENTER">
<children>
<VBox alignment="CENTER_LEFT" prefHeight="533.0" prefWidth="1142.0">
<children>
<TextField fx:id="tfJ1">
<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>
<font>
<Font size="24.0" />
</font></TextField>
<TextField>
<VBox.margin>
<Insets top="5.0" />
</VBox.margin>
<font>
<Font size="24.0" />
</font></TextField>
</children>
</VBox>
<VBox prefHeight="533.0" prefWidth="18.0">
<children>
<VBox alignment="CENTER" prefHeight="533.0" prefWidth="258.0">
<children>
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
<font>
<Font size="24.0" />
</font>
<VBox.margin>
<Insets left="10.0" top="5.0" />
</VBox.margin></Button>
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
<VBox.margin>
<Insets left="10.0" top="5.0" />
</VBox.margin>
<font>
<Font size="24.0" />
</font></Button>
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
<VBox.margin>
<Insets left="10.0" top="5.0" />
</VBox.margin>
<font>
<Font size="24.0" />
</font></Button>
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
<VBox.margin>
<Insets left="10.0" top="5.0" />
</VBox.margin>
<font>
<Font size="24.0" />
</font></Button>
</children>
</VBox>
</children>
<HBox.margin>
<Insets left="5.0" />
</HBox.margin>
</VBox>
<VBox alignment="CENTER_LEFT" prefHeight="533.0" prefWidth="76.0">
<children>
<CheckBox mnemonicParsing="false" stylesheets="@style/menu.css">
<padding>
<Insets top="5.0" />
</padding>
<font>
<Font size="24.0" />
</font>
<VBox.margin>
<Insets left="10.0" />
</VBox.margin></CheckBox>
<CheckBox mnemonicParsing="false" stylesheets="@style/menu.css">
<font>
<Font size="24.0" />
</font>
<VBox.margin>
<Insets left="10.0" top="30.0" />
</VBox.margin></CheckBox>
<CheckBox mnemonicParsing="false" stylesheets="@style/menu.css">
<font>
<Font size="24.0" />
</font>
<VBox.margin>
<Insets left="10.0" top="30.0" />
</VBox.margin></CheckBox>
<CheckBox mnemonicParsing="false" stylesheets="@style/menu.css">
<font>
<Font size="24.0" />
</font>
<VBox.margin>
<Insets left="10.0" top="30.0" />
</VBox.margin></CheckBox>
</children>
<HBox.margin>
<Insets left="5.0" />
</HBox.margin>
</VBox>
</children>
<BorderPane.margin>
<Insets left="20.0" />
</BorderPane.margin>
<children>
<HBox prefHeight="533.0" prefWidth="697.0">
<children>
<VBox alignment="CENTER" prefHeight="525.0" prefWidth="342.0">
<children>
<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>
<font>
<Font size="24.0" />
</font>
</TextField>
<TextField>
<VBox.margin>
<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>
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
<VBox.margin>
<Insets top="5.0" />
</VBox.margin>
<font>
<Font size="24.0" />
</font>
</Button>
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
<VBox.margin>
<Insets top="5.0" />
</VBox.margin>
<font>
<Font size="24.0" />
</font>
</Button>
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
<VBox.margin>
<Insets top="5.0" />
</VBox.margin>
<font>
<Font size="24.0" />
</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>
</children>
</VBox>
</children>
</HBox>
</children>
</HBox>
</left>
<right>

View File

@ -0,0 +1,90 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.text.Font?>
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
<children>
<HBox layoutX="11.0" layoutY="14.0" prefHeight="60.0" prefWidth="345.0" spacing="30.0">
<children>
<HBox prefHeight="29.0" prefWidth="55.0">
<children>
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
</children>
</HBox>
<HBox prefHeight="29.0" prefWidth="55.0">
<children>
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
</children>
</HBox>
<HBox prefHeight="54.0" prefWidth="107.0">
<children>
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
</children>
</HBox>
<HBox prefHeight="29.0" prefWidth="55.0">
<children>
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
</children>
</HBox>
</children>
</HBox>
<HBox layoutX="14.0" layoutY="317.0" prefHeight="60.0" prefWidth="345.0" spacing="30.0">
<children>
<HBox prefHeight="29.0" prefWidth="55.0">
<children>
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
</children>
</HBox>
<HBox prefHeight="29.0" prefWidth="55.0">
<children>
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
</children>
</HBox>
<HBox prefHeight="54.0" prefWidth="107.0">
<children>
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
</children>
</HBox>
<HBox prefHeight="29.0" prefWidth="55.0">
<children>
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="60.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true" />
</children>
</HBox>
</children>
</HBox>
<Label layoutX="114.0" layoutY="183.0" text="Choississez une équipement à voler">
<font>
<Font size="24.0" />
</font>
</Label>
</children>
</Pane>