|
|
|
@ -1,39 +1,55 @@
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?import javafx.geometry.*?>
|
|
|
|
|
|
|
|
<?import javafx.scene.image.*?>
|
|
|
|
|
|
|
|
<?import java.lang.*?>
|
|
|
|
|
|
|
|
<?import javafx.scene.control.*?>
|
|
|
|
|
|
|
|
<?import javafx.scene.text.*?>
|
|
|
|
<?import javafx.scene.control.Button?>
|
|
|
|
<?import javafx.scene.control.Button?>
|
|
|
|
<?import javafx.scene.control.Label?>
|
|
|
|
<?import javafx.scene.control.Label?>
|
|
|
|
<?import javafx.scene.layout.*?>
|
|
|
|
<?import javafx.scene.layout.*?>
|
|
|
|
<?import javafx.scene.text.Font?>
|
|
|
|
<?import javafx.scene.text.Font?>
|
|
|
|
<AnchorPane fx:id="hostWrapper" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="780.0" visible="false" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="visualiser.Controllers.HostController">
|
|
|
|
|
|
|
|
|
|
|
|
<AnchorPane fx:id="hostWrapper" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="780.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="visualiser.Controllers.HostController">
|
|
|
|
<children>
|
|
|
|
<children>
|
|
|
|
<GridPane AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
|
<GridPane layoutY="14.0" AnchorPane.bottomAnchor="-14.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="14.0">
|
|
|
|
<columnConstraints>
|
|
|
|
<columnConstraints>
|
|
|
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="170.0" minWidth="10.0" prefWidth="170.0" />
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="170.0" minWidth="10.0" prefWidth="170.0" />
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
|
|
|
|
</columnConstraints>
|
|
|
|
</columnConstraints>
|
|
|
|
<rowConstraints>
|
|
|
|
<rowConstraints>
|
|
|
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
|
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
|
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
|
|
<RowConstraints maxHeight="453.0" minHeight="10.0" prefHeight="435.0" vgrow="SOMETIMES" />
|
|
|
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
|
|
<RowConstraints maxHeight="194.0" minHeight="10.0" prefHeight="50.0" vgrow="SOMETIMES" />
|
|
|
|
</rowConstraints>
|
|
|
|
</rowConstraints>
|
|
|
|
<children>
|
|
|
|
<children>
|
|
|
|
<Button fx:id="hostGameBtn" mnemonicParsing="false" onAction="#hostGamePressed" text="Start Game" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.rowIndex="2">
|
|
|
|
<Button fx:id="hostGameBtn" mnemonicParsing="false" onAction="#hostGamePressed" text="Start Game" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.rowIndex="2" GridPane.valignment="CENTER">
|
|
|
|
<font>
|
|
|
|
<font>
|
|
|
|
<Font size="20.0" />
|
|
|
|
<Font size="20.0" />
|
|
|
|
</font>
|
|
|
|
</font>
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
<Label text="Address: 127.0.0.1" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.rowIndex="1" GridPane.valignment="TOP">
|
|
|
|
<Label text="Address: 127.0.0.1" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.valignment="TOP">
|
|
|
|
<font>
|
|
|
|
<font>
|
|
|
|
<Font size="17.0" />
|
|
|
|
<Font size="17.0" />
|
|
|
|
</font>
|
|
|
|
</font>
|
|
|
|
</Label>
|
|
|
|
</Label>
|
|
|
|
<Label text="Port: 4942" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.rowIndex="1">
|
|
|
|
<Label text="Port: 4942" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.valignment="BOTTOM">
|
|
|
|
<font>
|
|
|
|
<font>
|
|
|
|
<Font size="17.0" />
|
|
|
|
<Font size="17.0" />
|
|
|
|
</font>
|
|
|
|
</font>
|
|
|
|
</Label>
|
|
|
|
</Label>
|
|
|
|
<Button mnemonicParsing="false" onAction="#menuBtnPressed" text="Main Menu" GridPane.halignment="CENTER" />
|
|
|
|
<Button mnemonicParsing="false" onAction="#menuBtnPressed" text="Main Menu" GridPane.halignment="LEFT" GridPane.valignment="TOP">
|
|
|
|
|
|
|
|
<GridPane.margin>
|
|
|
|
|
|
|
|
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
|
|
|
|
|
|
|
|
</GridPane.margin></Button>
|
|
|
|
|
|
|
|
<ImageView fx:id="mapImage" fitHeight="500.0" fitWidth="450.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.hgrow="ALWAYS" GridPane.rowIndex="1" GridPane.valignment="CENTER" GridPane.vgrow="ALWAYS">
|
|
|
|
|
|
|
|
<image>
|
|
|
|
|
|
|
|
<Image url="@../../images/AC35_Racecourse_MAP.jpg" />
|
|
|
|
|
|
|
|
</image>
|
|
|
|
|
|
|
|
</ImageView>
|
|
|
|
|
|
|
|
<Button fx:id="previousButton" maxHeight="25.0" maxWidth="80.0" mnemonicParsing="false" text="Previous" GridPane.halignment="CENTER" GridPane.rowIndex="1" GridPane.valignment="CENTER" />
|
|
|
|
|
|
|
|
<Button fx:id="nextButton" maxHeight="25.0" maxWidth="80.0" mnemonicParsing="false" text="Next" GridPane.columnIndex="2" GridPane.halignment="CENTER" GridPane.rowIndex="1" GridPane.valignment="CENTER" />
|
|
|
|
</children>
|
|
|
|
</children>
|
|
|
|
</GridPane>
|
|
|
|
</GridPane>
|
|
|
|
</children>
|
|
|
|
</children>
|
|
|
|
|