44 lines
1.3 KiB
XML
44 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.geometry.Insets?>
|
|
<?import javafx.geometry.Pos?>
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.Label?>
|
|
<?import javafx.scene.layout.BorderPane?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
|
|
<BorderPane xmlns:fx="http://javafx.com/fxml"
|
|
fx:controller="dev.gould.lingo.client.bootstrap.LingoPresenter"
|
|
fx:id="content"
|
|
prefWidth="650"
|
|
prefHeight="420">
|
|
|
|
<center>
|
|
<BorderPane fx:id="gameModeChooser">
|
|
<top>
|
|
<VBox alignment="CENTER" prefHeight="100.0" prefWidth="100.0" styleClass="header">
|
|
<Label text="Lingo" styleClass="title"/>
|
|
<Label text="word guessing game" styleClass="subtitle"/>
|
|
</VBox>
|
|
</top>
|
|
<center>
|
|
<VBox spacing="20" alignment="CENTER">
|
|
<Button text="Play a practice game" onAction="#showSinglePlayer" prefWidth="350" styleClass="gamemode,practice" />
|
|
<Button text="Join a multiplayer game" onAction="#showMultiplayer" prefWidth="350" styleClass="gamemode,multiplayer" />
|
|
</VBox>
|
|
</center>
|
|
<bottom>
|
|
<Button text="Exit" onAction="#exit" prefWidth="50" styleClass="navigation">
|
|
<BorderPane.alignment>
|
|
<Pos fx:value="BOTTOM_LEFT" />
|
|
</BorderPane.alignment>
|
|
<BorderPane.margin>
|
|
<Insets bottom="10" left="10" />
|
|
</BorderPane.margin>
|
|
</Button>
|
|
</bottom>
|
|
</BorderPane>
|
|
</center>
|
|
|
|
</BorderPane>
|