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.

60 lines
1.9 KiB

<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.geometry.Insets?>
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="vues.MainWindow">
<top>
<Label fx:id="dateDuJour"/>
</top>
<left>
<ListView fx:id="listeOiseaux"/>
</left>
<center>
<VBox>
<padding>
<Insets left="10"/>
</padding>
<HBox>
<Label fx:id="nomOiseau">
<padding>
<Insets right="10"/>
</padding>
</Label>
<Label fx:id="ageOiseau">
<padding>
<Insets right="10"/>
</padding>
</Label>
</HBox>
<Label fx:id="couleurAile">
<padding>
<Insets right="10"/>
</padding>
</Label>
<Label fx:id="dateDernierRepas">
<padding>
<Insets right="10"/>
</padding>
</Label>
<Button text="Tuer oiseau" fx:id="boutonTuerOiseau" onAction="#tuerOiseau"/>
</VBox>
</center>
<bottom>
<HBox>
<Button onAction="#passerUnJour" text="Passer à demain"/>
<Button fx:id="ajouterOiseau" onAction="#ajouterOiseau" text="Ajouter oiseau"/>
</HBox>
</bottom>
</BorderPane>