-
Notifications
You must be signed in to change notification settings - Fork 0
/
first_scrn.fxml
33 lines (30 loc) · 1.69 KB
/
first_scrn.fxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.text.Font?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="500.0" prefWidth="300.0" xmlns="http://javafx.com/javafx/21" xmlns:fx="http://javafx.com/fxml/1" fx:controller="application.SceneController">
<children>
<Button fx:id="play" layoutX="107.0" layoutY="227.0" mnemonicParsing="false" onAction="#switchTosecond_scrn" prefHeight="88.0" prefWidth="86.0" styleClass="circular-button" text="Play" textAlignment="CENTER" textFill="WHITE">
<font>
<Font size="18.0" />
</font></Button>
<Button fx:id="help" layoutX="25.0" layoutY="374.0" mnemonicParsing="false" prefHeight="47.0" prefWidth="52.0" styleClass="circular-button-2" text="?">
<font>
<Font size="18.0" />
</font></Button>
<Label fx:id="label1" alignment="TOP_CENTER" contentDisplay="CENTER" layoutX="75.0" layoutY="30.0" prefHeight="47.0" prefWidth="149.0" text="STICK HERO" textAlignment="JUSTIFY" textFill="WHITE">
<font>
<Font size="26.0" />
</font>
</Label>
<ImageView fitHeight="94.0" fitWidth="112.0" layoutX="14.0" layoutY="271.0" pickOnBounds="true" preserveRatio="true" />
<ImageView fitHeight="61.0" fitWidth="105.0" layoutX="-1.0" layoutY="318.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@player3.png" />
</image>
</ImageView>
</children>
</AnchorPane>