Skip to content
Snippets Groups Projects
Commit affcdd08 authored by Jakob Behrens's avatar Jakob Behrens
Browse files

Finishing touches

parent af600cd3
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.*?>
<?import javafx.scene.text.Font?>
<AnchorPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="no.ntnu.idatg1002.idatg1002_2022_group6.CreateTournamentMatchController"
prefHeight="400.0" prefWidth="600.0">
<AnchorPane prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.14-internal" xmlns:fx="http://javafx.com/fxml/1" fx:controller="no.ntnu.idatg1002.idatg1002_2022_group6.CreateTournamentMatchController">
<children>
<Button layoutX="263.0" layoutY="441.0" mnemonicParsing="false" onAction="#onPressPlayMatch" style="-fx-background-color: #297ca6;" text="PLAY MATCH" textFill="WHITE">
<Button layoutX="233.0" layoutY="440.0" mnemonicParsing="false" onAction="#onPressPlayMatch" style="-fx-background-color: #297ca6;" text="Start tournament" textFill="WHITE">
<font>
<Font size="36.0" />
</font>
......@@ -28,12 +22,7 @@
<Font size="24.0" />
</font>
</Label>
<Label layoutX="373.0" layoutY="239.0" text="VS" textFill="RED">
<font>
<Font size="36.0" />
</font>
</Label>
<Label layoutX="297.0" layoutY="29.0" text="FACEOFF" textFill="#297ca6">
<Label layoutX="264.0" layoutY="100.0" text="Tournament" textFill="#297ca6">
<font>
<Font size="48.0" />
</font>
......
......@@ -28,7 +28,7 @@
</Label>
<Button fx:id="pointPlayer1" layoutX="154.0" layoutY="335.0" mnemonicParsing="false" onAction="#onPressPointPlayer1" text="Point" />
<Button fx:id="pointPlayer2" layoutX="580.0" layoutY="335.0" mnemonicParsing="false" onAction="#onPressPointPlayer2" text="Point" />
<Label fx:id="winnerLabel" layoutX="282.0" layoutY="120.0" textFill="#fff600">
<Label fx:id="winnerLabel" contentDisplay="CENTER" layoutX="282.0" layoutY="100.0" textFill="darkblue">
<font>
<Font size="36.0" />
</font></Label>
......@@ -37,8 +37,8 @@
<Font size="24.0" />
</font>
</Label>
<Button fx:id="mainMenu" layoutX="348.0" layoutY="541.0" mnemonicParsing="false" onAction="#onPressReturnToMenu" text="Return to main menu" />
<Button fx:id="saveButton" layoutX="705.0" layoutY="541.0" mnemonicParsing="false" onAction="#onPressSaveMatch" text="Save game" />
<Button fx:id="nextMatch" layoutX="541.0" layoutY="541.0" mnemonicParsing="false" onAction="#onNextMatchPress" text="Next match" />
<Button fx:id="mainMenu" layoutX="230.0" layoutY="530.0" mnemonicParsing="false" onAction="#onPressReturnToMenu" prefHeight="40.0" prefWidth="150.0" text="Return to main menu" />
<Button fx:id="saveButton" layoutX="406.0" layoutY="530.0" mnemonicParsing="false" onAction="#onPressSaveMatch" prefHeight="40.0" prefWidth="150.0" text="Save game" />
<Button fx:id="nextMatch" layoutX="362.0" layoutY="490.0" mnemonicParsing="false" onAction="#onNextMatchPress" text="Next match" />
</children>
</Pane>
......@@ -35,9 +35,5 @@
<font>
<Font size="18.0" />
</font></Button>
<Button layoutX="303.0" layoutY="369.0" mnemonicParsing="false" onAction="#create32PlayerTournament" prefHeight="40.0" prefWidth="200.0" text="32 Player tournament">
<font>
<Font size="18.0" />
</font></Button>
</children>
</Pane>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment