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.
80 lines
2.4 KiB
80 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/>
|
|
<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>
|
|
<TextField fx:id="rowGame" text="50"/>
|
|
<Label>Column</Label>
|
|
<TextField fx:id="colGame" text="50"/>
|
|
<HBox>
|
|
<!-- Bouton temporaire -->
|
|
<Button fx:id="createGrid" onAction="#initialize"> Create </Button>
|
|
</HBox>
|
|
<HBox>
|
|
<Button>Play</Button>
|
|
<Button>Pause</Button>
|
|
<Button>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>
|