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.

76 lines
2.3 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>
<TextField fx:id="rowGame" text="50" onAction="#initialize"/>
<Label>Column</Label>
<TextField fx:id="colGame" text="50" onAction="#initialize"/>
<HBox>
<Button>Play</Button>
<Button>Pause</Button>
<Button>Random</Button>
</HBox>
</VBox>
</right>
<center>
<GridPane fx:id="map" hgap="2" vgap="2" onMouseClicked="#changeColor">
</GridPane>
</center>
<bottom>
<HBox>
<Label> Grid size : </Label>
<Label fx:id="nbRowGame"> </Label>
<Label> x </Label>
<Label fx:id="nbColGame"> </Label>
</HBox>
</bottom>
</BorderPane>