|
|
|
|
@ -1,16 +1,10 @@
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
|
|
<?import javafx.scene.image.*?>
|
|
|
|
|
<?import java.lang.*?>
|
|
|
|
|
<?import javafx.geometry.*?>
|
|
|
|
|
<?import javafx.scene.chart.*?>
|
|
|
|
|
<?import javafx.scene.control.*?>
|
|
|
|
|
<?import javafx.scene.layout.*?>
|
|
|
|
|
<?import javafx.scene.text.*?>
|
|
|
|
|
<?import java.lang.*?>
|
|
|
|
|
<?import javafx.geometry.*?>
|
|
|
|
|
<?import javafx.scene.chart.*?>
|
|
|
|
|
<?import javafx.scene.control.*?>
|
|
|
|
|
<?import javafx.scene.image.*?>
|
|
|
|
|
<?import javafx.scene.layout.*?>
|
|
|
|
|
<?import javafx.scene.text.*?>
|
|
|
|
|
<?import javafx.geometry.Insets?>
|
|
|
|
|
@ -27,13 +21,14 @@
|
|
|
|
|
<?import javafx.scene.control.TableView?>
|
|
|
|
|
<?import javafx.scene.control.TitledPane?>
|
|
|
|
|
<?import javafx.scene.control.ToggleGroup?>
|
|
|
|
|
<?import javafx.scene.image.Image?>
|
|
|
|
|
<?import javafx.scene.image.ImageView?>
|
|
|
|
|
<?import javafx.scene.layout.AnchorPane?>
|
|
|
|
|
<?import javafx.scene.layout.ColumnConstraints?>
|
|
|
|
|
<?import javafx.scene.layout.GridPane?>
|
|
|
|
|
<?import javafx.scene.layout.Pane?>
|
|
|
|
|
<?import javafx.scene.layout.RowConstraints?>
|
|
|
|
|
<?import javafx.scene.layout.StackPane?>
|
|
|
|
|
<?import javafx.scene.layout.VBox?>
|
|
|
|
|
<?import javafx.scene.text.Font?>
|
|
|
|
|
|
|
|
|
|
<SplitPane fx:id="racePane" prefHeight="431.0" prefWidth="610.0" visible="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="visualiser.Controllers.RaceViewController">
|
|
|
|
|
@ -49,13 +44,6 @@
|
|
|
|
|
<rowConstraints>
|
|
|
|
|
<RowConstraints minHeight="10.0" vgrow="SOMETIMES" />
|
|
|
|
|
</rowConstraints>
|
|
|
|
|
<children>
|
|
|
|
|
<StackPane fx:id="nextMarkPane" alignment="TOP_CENTER" mouseTransparent="true" prefHeight="150.0" prefWidth="150.0" snapToPixel="false">
|
|
|
|
|
<children>
|
|
|
|
|
<fx:include fx:id="nextMark" source="nextMark.fxml" />
|
|
|
|
|
</children>
|
|
|
|
|
</StackPane>
|
|
|
|
|
</children>
|
|
|
|
|
</GridPane>
|
|
|
|
|
<Pane prefHeight="200.0" prefWidth="400.0" visible="false">
|
|
|
|
|
<children>
|
|
|
|
|
@ -100,6 +88,21 @@
|
|
|
|
|
</Accordion>
|
|
|
|
|
</children>
|
|
|
|
|
</Pane>
|
|
|
|
|
<ImageView fitHeight="250.0" fitWidth="272.0" mouseTransparent="true" pickOnBounds="true" preserveRatio="true" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="1.0">
|
|
|
|
|
<image>
|
|
|
|
|
<Image url="@../../images/raceViewUI_LowerRight.png" />
|
|
|
|
|
</image>
|
|
|
|
|
</ImageView>
|
|
|
|
|
<ImageView fitHeight="250.0" fitWidth="272.0" layoutX="10.0" layoutY="10.0" mouseTransparent="true" pickOnBounds="true" preserveRatio="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0">
|
|
|
|
|
<image>
|
|
|
|
|
<Image url="@../../images/raceViewUI_LowerLeft.png" />
|
|
|
|
|
</image>
|
|
|
|
|
</ImageView>
|
|
|
|
|
<Label fx:id="FPS" mouseTransparent="true" text="FPS: 0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
|
|
<font>
|
|
|
|
|
<Font name="System Bold" size="15.0" />
|
|
|
|
|
</font>
|
|
|
|
|
</Label>
|
|
|
|
|
<GridPane fx:id="playerHealthContainer" prefHeight="75.0" prefWidth="75.0" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
|
|
<columnConstraints>
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
|
@ -111,44 +114,16 @@
|
|
|
|
|
<Insets left="10.0" top="10.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</GridPane>
|
|
|
|
|
<VBox alignment="CENTER" prefHeight="54.0" prefWidth="608.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
|
|
<children>
|
|
|
|
|
|
|
|
|
|
<Label fx:id="timer" alignment="CENTER" maxHeight="20.0" text="0:0">
|
|
|
|
|
<font>
|
|
|
|
|
<Font name="System Bold" size="15.0" />
|
|
|
|
|
</font>
|
|
|
|
|
</Label>
|
|
|
|
|
<Label fx:id="timeZone" text="Label">
|
|
|
|
|
<font>
|
|
|
|
|
<Font name="System Bold" size="15.0" />
|
|
|
|
|
</font>
|
|
|
|
|
</Label>
|
|
|
|
|
</children>
|
|
|
|
|
</VBox>
|
|
|
|
|
<Label fx:id="FPS" text="FPS: 0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0">
|
|
|
|
|
<font>
|
|
|
|
|
<Font name="System Bold" size="15.0" />
|
|
|
|
|
</font>
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets bottom="200.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</Label>
|
|
|
|
|
<StackPane fx:id="arrowPane" alignment="TOP_RIGHT" mouseTransparent="true" prefHeight="150.0" prefWidth="150.0" snapToPixel="false" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
|
|
<children>
|
|
|
|
|
<fx:include fx:id="arrow" source="arrow.fxml" />
|
|
|
|
|
</children>
|
|
|
|
|
</StackPane>
|
|
|
|
|
<Label fx:id="tutorialText" alignment="CENTER" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" style="-fx-border-color: orange; -fx-border-radius: 5px; -fx-background-color: #ffffcc; -fx-text-fill: #3399ff; -fx-border-width: 3; -fx-border-insets: -3;" text="This is the tutorial text" visible="false" AnchorPane.leftAnchor="150.0" AnchorPane.rightAnchor="150.0" AnchorPane.topAnchor="100.0" />
|
|
|
|
|
<StackPane fx:id="speedPane" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="200.0" prefWidth="200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="20.0">
|
|
|
|
|
<Label fx:id="tutorialText" alignment="CENTER" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" style="-fx-border-color: orange; -fx-border-radius: 5px; -fx-background-color: #ffffcc; -fx-text-fill: #3399ff; -fx-border-width: 3; -fx-border-insets: -3;" text="This is the tutorial text" visible="false" AnchorPane.leftAnchor="150.0" AnchorPane.rightAnchor="150.0" AnchorPane.topAnchor="150.0" />
|
|
|
|
|
<StackPane fx:id="speedPane" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="200.0" prefWidth="200.0" AnchorPane.bottomAnchor="14.0" AnchorPane.rightAnchor="2.0">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets right="20.0" />
|
|
|
|
|
</padding></StackPane>
|
|
|
|
|
<AnchorPane maxHeight="200.0" maxWidth="200.0" mouseTransparent="true" opacity="0.6" prefHeight="200.0" prefWidth="200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0">
|
|
|
|
|
<AnchorPane maxHeight="145.0" maxWidth="145.0" minHeight="145.0" minWidth="145.0" mouseTransparent="true" prefHeight="145.0" prefWidth="145.0" AnchorPane.bottomAnchor="30.0" AnchorPane.leftAnchor="30.0">
|
|
|
|
|
<children>
|
|
|
|
|
<AnchorPane maxHeight="200.0" maxWidth="200.0" prefHeight="200.0" prefWidth="216.0">
|
|
|
|
|
<AnchorPane maxHeight="145.0" maxWidth="145.0" minHeight="145.0" minWidth="145.0" prefHeight="145.0" prefWidth="145.0">
|
|
|
|
|
<children>
|
|
|
|
|
<GridPane fx:id="canvasBase1" maxHeight="200.0" maxWidth="200.0" prefHeight="200.0" prefWidth="216.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
|
|
<GridPane fx:id="canvasBase1" maxHeight="145.0" maxWidth="145.0" minHeight="145.0" minWidth="145.0" prefHeight="145.0" prefWidth="145.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
|
|
<columnConstraints>
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" />
|
|
|
|
|
</columnConstraints>
|
|
|
|
|
@ -229,6 +204,49 @@
|
|
|
|
|
</StackPane>
|
|
|
|
|
</children>
|
|
|
|
|
</AnchorPane>
|
|
|
|
|
<ImageView fitHeight="150.0" fitWidth="200.0" focusTraversable="true" mouseTransparent="true" pickOnBounds="true" preserveRatio="true" StackPane.alignment="BOTTOM_CENTER">
|
|
|
|
|
<image>
|
|
|
|
|
<Image url="@../../images/raceViewUI_LowerMiddle.png" />
|
|
|
|
|
</image>
|
|
|
|
|
</ImageView>
|
|
|
|
|
<ImageView fitHeight="115.0" fitWidth="255.0" mouseTransparent="true" pickOnBounds="true" preserveRatio="true" StackPane.alignment="TOP_CENTER">
|
|
|
|
|
<image>
|
|
|
|
|
<Image url="@../../images/raceViewUI_UpperMiddle.png" />
|
|
|
|
|
</image>
|
|
|
|
|
</ImageView>
|
|
|
|
|
<StackPane fx:id="arrowPane" maxHeight="60.0" maxWidth="60.0" minHeight="60.0" minWidth="60.0" prefHeight="60.0" prefWidth="60.0" StackPane.alignment="BOTTOM_CENTER">
|
|
|
|
|
<StackPane.margin>
|
|
|
|
|
<Insets bottom="25.0" left="2.0" />
|
|
|
|
|
</StackPane.margin>
|
|
|
|
|
</StackPane>
|
|
|
|
|
<StackPane fx:id="nextMarkPane" alignment="TOP_CENTER" mouseTransparent="true" prefHeight="150.0" prefWidth="150.0" snapToPixel="false">
|
|
|
|
|
<children>
|
|
|
|
|
<fx:include fx:id="nextMark" source="nextMark.fxml" />
|
|
|
|
|
</children>
|
|
|
|
|
<StackPane.margin>
|
|
|
|
|
<Insets top="4.0" />
|
|
|
|
|
</StackPane.margin>
|
|
|
|
|
</StackPane>
|
|
|
|
|
<Label fx:id="timer" alignment="CENTER" maxHeight="20.0" mouseTransparent="true" text="0:0" StackPane.alignment="TOP_CENTER">
|
|
|
|
|
<font>
|
|
|
|
|
<Font size="9.0" />
|
|
|
|
|
</font>
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets top="101.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</Label>
|
|
|
|
|
<AnchorPane maxHeight="600.0" maxWidth="600.0" minHeight="600.0" minWidth="600.0" mouseTransparent="true" prefHeight="600.0" prefWidth="600.0" StackPane.alignment="CENTER">
|
|
|
|
|
<children>
|
|
|
|
|
<GridPane fx:id="canvasBase2" maxHeight="600.0" maxWidth="600.0" minHeight="600.0" minWidth="600.0" prefHeight="600.0" prefWidth="600.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
|
|
<columnConstraints>
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" />
|
|
|
|
|
</columnConstraints>
|
|
|
|
|
<rowConstraints>
|
|
|
|
|
<RowConstraints minHeight="10.0" vgrow="SOMETIMES" />
|
|
|
|
|
</rowConstraints>
|
|
|
|
|
</GridPane>
|
|
|
|
|
</children>
|
|
|
|
|
</AnchorPane>
|
|
|
|
|
<AnchorPane fx:id="infoWrapper" focusTraversable="true" minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="200.0" visible="false">
|
|
|
|
|
<children>
|
|
|
|
|
<GridPane layoutX="-2.0" AnchorPane.bottomAnchor="40.0" AnchorPane.leftAnchor="40.0" AnchorPane.rightAnchor="40.0" AnchorPane.topAnchor="40.0">
|
|
|
|
|
|