-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMaze.fxml
71 lines (69 loc) · 4.38 KB
/
Maze.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
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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.effect.*?>
<?import javafx.scene.*?>
<?import javafx.scene.paint.*?>
<?import javafx.scene.text.*?>
<?import javafx.geometry.*?>
<?import com.jfoenix.controls.*?>
<?import java.lang.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import com.jfoenix.controls.JFXButton?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.Pane?>
<AnchorPane fx:id="pane" focusTraversable="true" prefHeight="760.0" prefWidth="1350.0" style="-fx-background-color: linear-gradient(to right, #42275a, #734b6d);" stylesheets="@style.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="projMAZE.Controller">
<children>
<ScrollPane fx:id="scroll" focusTraversable="false" layoutX="10.0" layoutY="10.0" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" pannable="true" prefHeight="740.0" prefWidth="1100.0" style="-fx-background: white;">
<content>
<Pane fx:id="mazeGUI" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="1.0" prefWidth="1.0" />
</content>
</ScrollPane>
<VBox alignment="CENTER" layoutX="1110.0" layoutY="301.0" prefHeight="281.0" prefWidth="151.0" spacing="25.0" style="-fx-background-color: #f7f1e3;" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="1120.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0">
<children>
<Label layoutX="22.0" layoutY="178.0" style="-fx-background-color: #b33939;" text="A-MAZE-ING STACKS AND QUEUES" textAlignment="CENTER" textFill="WHITE" textOverrun="CLIP" wrapText="true">
<font>
<Font name="Avenir Light" size="18.0" />
</font>
</Label>
<Label fx:id="status" text="STATUS: NOT STARTED">
<font>
<Font name="Avenir Light" size="18.0" />
</font>
</Label>
<Label fx:id="clock" layoutX="45.0" layoutY="522.0" text="SOLVE TIME ---">
<font>
<Font name="Avenir Light" size="18.0" />
</font>
</Label>
<Label fx:id="explore" layoutX="25.0" layoutY="267.0" text="EXPLORED 0.00%">
<font>
<Font name="Avenir Light" size="18.0" />
</font>
</Label>
<JFXTextField fx:id="width" focusTraversable="false" labelFloat="true" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="27.0" prefWidth="180.0" promptText="MAZE WIDTH (5-300)" />
<JFXTextField fx:id="height" focusTraversable="false" labelFloat="true" layoutX="30.0" layoutY="576.0" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="27.0" prefWidth="180.0" promptText="MAZE HEIGHT (5-300)" />
<JFXTextField fx:id="box" focusTraversable="false" labelFloat="true" layoutX="30.0" layoutY="692.0" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="27.0" prefWidth="180.0" promptText="BOX SIZE (3-100)" />
<JFXButton fx:id="genMaze" buttonType="RAISED" focusTraversable="false" prefHeight="50.0" prefWidth="200.0" style="-fx-background-color: #ffda79;" text="NEW MAZE">
<font>
<Font name="Avenir Light" size="18.0" />
</font>
</JFXButton>
<JFXButton fx:id="solveMaze" buttonType="RAISED" focusTraversable="false" prefHeight="50.0" prefWidth="200.0" style="-fx-background-color: #ffb142;" text="SOLVE MAZE">
<font>
<Font name="Avenir Light" size="18.0" />
</font>
</JFXButton>
<JFXCheckBox fx:id="fails" checkedColor="#40407a" focusTraversable="false" selected="true" text="SHOW FAILED PATHS">
<font>
<Font name="Avenir Light" size="16.0" />
</font>
</JFXCheckBox>
<JFXButton fx:id="restart" buttonType="RAISED" focusTraversable="false" prefHeight="50.0" prefWidth="200.0" style="-fx-background-color: #ff793f;" text="RESTART MAZE">
<font>
<Font name="Avenir Light" size="18.0" />
</font>
</JFXButton>
</children>
</VBox>
</children>
</AnchorPane>