-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdlmh_home.fxml
More file actions
109 lines (106 loc) · 6.35 KB
/
dlmh_home.fxml
File metadata and controls
109 lines (106 loc) · 6.35 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.SplitPane?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/21" xmlns:fx="http://javafx.com/fxml/1">
<children>
<Text layoutX="14.0" layoutY="27.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Don't Leave Me Hanging" />
<AnchorPane layoutX="14.0" layoutY="30.0" prefHeight="354.0" prefWidth="573.0">
<children>
<BorderPane prefHeight="352.0" prefWidth="573.0">
<center>
<SplitPane dividerPositions="0.2767695099818512" prefHeight="354.0" prefWidth="573.0" BorderPane.alignment="CENTER">
<items>
<BorderPane prefHeight="200.0" prefWidth="200.0">
<padding>
<Insets bottom="20.0" left="20.0" right="20.0" top="20.0" />
</padding>
<center>
<VBox prefHeight="200.0" prefWidth="100.0" BorderPane.alignment="CENTER">
<children>
<Label text="Stats:" />
<Label fx:id="gamesPlayedLabel" text="Games Played:" />
<Label fx:id="averageGuessesLabel" text="Average Guesses:" />
</children>
</VBox>
</center>
<bottom>
<VBox alignment="TOP_CENTER" prefHeight="24.0" prefWidth="160.0" BorderPane.alignment="CENTER">
<children>
<Label text="Reset:" />
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
<children>
<Button fx:id="resetStatsButton" mnemonicParsing="false" onAction="#resetStats" text="Stats" />
<Button fx:id="resetGameButton" alignment="CENTER" mnemonicParsing="false" onAction="#resetGame" text="Game" />
</children>
</HBox>
</children>
</VBox>
</bottom>
</BorderPane>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="301.0" prefWidth="397.0">
<children>
<BorderPane prefHeight="332.0" prefWidth="384.0">
<padding>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</padding>
<center>
<Pane prefHeight="200.0" prefWidth="200.0" BorderPane.alignment="CENTER">
<children>
<VBox prefHeight="51.0" prefWidth="371.0">
<children>
<Label fx:id="guessesLabel" text="Guesses: 0" />
<Label fx:id="lettersRemainingLabel" text="Letters Remaining: " />
<Label fx:id="lettersCorrectLabel" text="Letters Correct:" />
<Label fx:id="lettersIncorrectLabel" text="Letters Incorrect:" />
</children>
</VBox>
<Pane layoutY="68.0" prefHeight="200.0" prefWidth="373.0">
<children>
<Label layoutY="43.0" prefHeight="17.0" prefWidth="380.0" text="Game:" />
<Label fx:id="hintsLabel" layoutX="-1.0" layoutY="60.0" prefHeight="29.0" prefWidth="382.0" text="_ _ _ _ _ _ _ _ _ " textAlignment="CENTER">
<font>
<Font size="24.0" />
</font>
</Label>
</children>
</Pane>
</children>
</Pane>
</center>
<bottom>
<HBox prefHeight="22.0" prefWidth="364.0" BorderPane.alignment="CENTER">
<children>
<Label text="Guess: " />
<TextField fx:id="guessTextEntry" onAction="#submitGuess" />
<Button fx:id="guessTextButton" mnemonicParsing="false" onAction="#submitGuess" text="Submit">
<HBox.margin>
<Insets left="10.0" />
</HBox.margin>
</Button>
</children>
</HBox>
</bottom>
</BorderPane>
</children>
</AnchorPane>
</items>
</SplitPane>
</center>
<padding>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</padding>
</BorderPane>
</children>
</AnchorPane>
</children>
</Pane>