|
|
|
|
@ -7,6 +7,7 @@
|
|
|
|
|
<?import javafx.scene.layout.*?>
|
|
|
|
|
<?import javafx.scene.text.*?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<SplitPane fx:id="race" dividerPositions="0.7" visible="false" 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="seng302.Controllers.RaceController">
|
|
|
|
|
<items>
|
|
|
|
|
<GridPane fx:id="canvasBase">
|
|
|
|
|
@ -19,16 +20,33 @@
|
|
|
|
|
<children>
|
|
|
|
|
<Pane prefHeight="200.0" prefWidth="400.0" GridPane.halignment="LEFT" GridPane.valignment="TOP">
|
|
|
|
|
<children>
|
|
|
|
|
<TitledPane fx:id="userControl" animated="false" text="User Control" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
|
|
<content>
|
|
|
|
|
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="77.0" prefWidth="200.0">
|
|
|
|
|
<children>
|
|
|
|
|
<CheckBox fx:id="showFPS" mnemonicParsing="false" selected="true" text="Show FPS" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
|
|
|
|
<CheckBox fx:id="showAnnotations" mnemonicParsing="false" selected="true" text="Show Annotation" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="30.0" />
|
|
|
|
|
</children>
|
|
|
|
|
</AnchorPane>
|
|
|
|
|
</content>
|
|
|
|
|
</TitledPane>
|
|
|
|
|
<Accordion>
|
|
|
|
|
<panes>
|
|
|
|
|
<TitledPane animated="false" text="Annotation Control">
|
|
|
|
|
<content>
|
|
|
|
|
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
|
|
|
|
|
<children>
|
|
|
|
|
<CheckBox fx:id="showAnnotations" layoutX="-2.0" layoutY="14.0" mnemonicParsing="false" selected="true" text="Show Annotations" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
|
|
|
|
<CheckBox fx:id="showName" layoutY="39.0" mnemonicParsing="false" selected="true" text="Show Boat Name" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="26.0" />
|
|
|
|
|
<CheckBox fx:id="showAbbrev" layoutY="61.0" mnemonicParsing="false" selected="true" text="Show Boat Abbreviation" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="52.0" />
|
|
|
|
|
<CheckBox fx:id="showSpeed" layoutY="90.0" mnemonicParsing="false" selected="true" text="Show Boat Speed" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="78.0" />
|
|
|
|
|
<Button fx:id="saveAnno" layoutX="11.0" layoutY="106.0" maxWidth="154.0" mnemonicParsing="false" prefWidth="154.0" text="Save Annotation" AnchorPane.topAnchor="104.0" />
|
|
|
|
|
<Button fx:id="showSetAnno" layoutX="11.0" layoutY="139.0" mnemonicParsing="false" text="Show Set Annotation" AnchorPane.topAnchor="139.0" />
|
|
|
|
|
</children>
|
|
|
|
|
</AnchorPane>
|
|
|
|
|
</content>
|
|
|
|
|
</TitledPane>
|
|
|
|
|
<TitledPane animated="false" text="FPS Control">
|
|
|
|
|
<content>
|
|
|
|
|
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
|
|
|
|
|
<children>
|
|
|
|
|
<CheckBox fx:id="showFPS" layoutX="-14.0" layoutY="13.0" mnemonicParsing="false" selected="true" text="Show FPS" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
|
|
|
|
</children>
|
|
|
|
|
</AnchorPane>
|
|
|
|
|
</content>
|
|
|
|
|
</TitledPane>
|
|
|
|
|
</panes>
|
|
|
|
|
</Accordion>
|
|
|
|
|
</children>
|
|
|
|
|
</Pane>
|
|
|
|
|
<Label fx:id="timer" layoutX="45.0" layoutY="146.0" text="0:0" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="0.0" GridPane.halignment="RIGHT" GridPane.valignment="BOTTOM">
|
|
|
|
|
@ -56,4 +74,4 @@
|
|
|
|
|
</children>
|
|
|
|
|
</AnchorPane>
|
|
|
|
|
</items>
|
|
|
|
|
</SplitPane>
|
|
|
|
|
</SplitPane>
|