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.

77 lines
2.4 KiB

<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.collections.FXCollections?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<BorderPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="views.VueJeu"
prefHeight="400.0" prefWidth="600.0">
<top>
<VBox>
<MenuBar>
<Menu text="File">
<MenuItem text="Open"/>
<MenuItem text="Save"/>
</Menu>
<Menu text="apropos">
<MenuItem text="License"/>
</Menu>
</MenuBar>
</VBox>
</top>
<right>
<VBox>
<Label>Color</Label>
<ColorPicker fx:id="color"/>
<Label>Birth</Label>
<HBox>
<Label>1</Label> <CheckBox/>
<Label>2</Label> <CheckBox/>
<Label>3</Label> <CheckBox/>
<Label>4</Label> <CheckBox/>
</HBox>
<Label>Death</Label>
<HBox>
<Label>1</Label> <CheckBox/>
<Label>2</Label> <CheckBox/>
<Label>3</Label> <CheckBox/>
<Label>4</Label> <CheckBox/>
</HBox>
<HBox>
<Label> Rules </Label>
<ChoiceBox>
<items>
<FXCollections fx:factory="emptyObservableList">
</FXCollections>
</items>
</ChoiceBox>
</HBox>
<Label>Row</Label>
<Spinner editable="true" fx:id="rowGame" amountToStepBy="5" min="0" max="100" />
<Label>Column</Label>
<Spinner editable="true" fx:id="colGame" amountToStepBy="5" min="0" max="100" />
<HBox>
<Button fx:id="play" onAction="#startGame">Play</Button>
<Button>Pause</Button>
<Button fx:id="random" onAction="#generateraRandom">Random</Button>
</HBox>
</VBox>
</right>
<center>
<GridPane fx:id="map" hgap="2" vgap="2">
</GridPane>
</center>
<bottom>
<HBox>
<Label> Grid size : </Label>
<Label fx:id="nbRowGame"> </Label>
<Label> x </Label>
<Label fx:id="nbColGame"> </Label>
</HBox>
</bottom>
</BorderPane>