home.fxml 2.73 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.shape.Rectangle?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>

12
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="500.0" prefWidth="889.0" style="-fx-background-color: white;" xmlns="http://javafx.com/javafx/8.0.172-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="main.java.client.main.controller.FXHome">
13
14
15
16
17
18
19
20
21
   <top>
      <Pane prefHeight="100.0" prefWidth="200.0" BorderPane.alignment="CENTER">
         <children>
            <Text fx:id="loginTextAppTitle" layoutX="366.0" layoutY="40.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Projet Baleine">
               <font>
                  <Font name="System Bold" size="24.0" />
               </font>
            </Text>
            <Rectangle arcHeight="5.0" arcWidth="5.0" fill="#fffffa" height="43.0" layoutY="60.0" stroke="BLACK" strokeType="INSIDE" width="889.0" />
BAL DIT SOLLIER's avatar
BAL DIT SOLLIER committed
22
            <Button fx:id="homeButtonCreateGame" layoutX="14.0" layoutY="69.0" mnemonicParsing="false" onMouseClicked="#handleButtonClick" text="Créer une partie" />
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
            <Button layoutX="124.0" layoutY="69.0" mnemonicParsing="false" text="Revoir une partie" />
            <Button fx:id="homeDeconnection" layoutX="789.0" layoutY="69.0" mnemonicParsing="false" onMouseClicked="#handleButtonClick" text="Déconnexion" />
            <Button fx:id="homeButtonMyProfile" layoutX="709.0" layoutY="69.0" mnemonicParsing="false" onMouseClicked="#handleButtonClick" text="Mon Profil" />
         </children></Pane>
   </top>
   <center>
      <HBox alignment="TOP_CENTER" prefHeight="100.0" prefWidth="200.0" BorderPane.alignment="CENTER">
         <children>
            <Pane prefHeight="200.0" prefWidth="290.0">
               <children>
                  <Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d3d3d3" height="24.0" layoutX="45.0" layoutY="23.0" stroke="WHITE" strokeType="INSIDE" width="201.0" />
                  <Text layoutX="85.0" layoutY="40.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Utilisateurs en ligne">
                     <font>
                        <Font size="14.0" />
                     </font>
                  </Text>
William Sha's avatar
William Sha committed
39
                  <ListView fx:id="homeListViewUsersOnline" editable="true" layoutX="45.0" layoutY="71.0" prefHeight="200.0" prefWidth="200.0" />
40
41
42
43
44
45
46
               </children></Pane>
            <Pane prefHeight="200.0" prefWidth="290.0" />
            <Pane prefHeight="200.0" prefWidth="290.0" />
         </children>
      </HBox>
   </center>
</BorderPane>