You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.5 KiB

<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.text.Text?>
<BorderPane style="-fx-background-color: #ecf0f1;" xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1" fx:controller="view.Fenetre">
<top>
<Text fx:id="topText" style="-fx-background-color: #3498db;" text="Fight de Cedric et Jerome" BorderPane.alignment="CENTER" />
</top>
<center>
<HBox alignment="CENTER" spacing="10" style="-fx-background-color: #ecf0f1;">
<Button fx:id="buttonHold" mnemonicParsing="false" onAction="#onButtonHoldClicked" style="-fx-background-color: #f39c12;" text="Hold" />
<ImageView fx:id="diceImage" fitHeight="150.0" fitWidth="150.0" preserveRatio="true" />
<Button fx:id="buttonRoll" mnemonicParsing="false" onAction="#onButtonRollClicked" style="-fx-background-color: #2ecc71;" text="Roll" />
<BorderPane prefHeight="200.0" prefWidth="200.0">
<top>
<TextField fx:id="joueur1" BorderPane.alignment="CENTER" />
</top>
<center>
<TextField fx:id="joueur2" BorderPane.alignment="CENTER" />
</center>
</BorderPane>
</HBox>
</center>
<bottom>
<Text fx:id="bottomText" style="-fx-background-color: #e74c3c;" BorderPane.alignment="CENTER" />
</bottom>
</BorderPane>