-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathWelcomeView.fxml
More file actions
88 lines (85 loc) · 3.72 KB
/
WelcomeView.fxml
File metadata and controls
88 lines (85 loc) · 3.72 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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.effect.*?>
<?import javafx.geometry.*?>
<?import javafx.scene.text.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.image.*?>
<?import javafx.scene.*?>
<?import java.lang.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.layout.BorderPane?>
<AnchorPane fx:id="root" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="whackamole.WhackController">
<children>
<Group>
<children>
<ImageView fitHeight="450.0" fitWidth="650.0">
<image>
<Image url="@../../../../WAM%20moles/BKGRD.png" />
</image>
</ImageView>
<BorderPane prefHeight="450.0" prefWidth="650.0">
<top>
<MenuBar BorderPane.alignment="CENTER">
<menus>
<Menu mnemonicParsing="false" text="File">
<items>
<MenuItem mnemonicParsing="false" text="Save" />
<MenuItem mnemonicParsing="false" text="New" />
<MenuItem mnemonicParsing="false" text="Exit" />
</items>
</Menu>
<Menu mnemonicParsing="false" text="Edit">
<items>
<MenuItem mnemonicParsing="false" text="Mute" />
</items>
</Menu>
<Menu mnemonicParsing="false" text="Help">
<items>
<MenuItem mnemonicParsing="false" text="About" />
</items>
</Menu>
</menus>
<effect>
<Lighting diffuseConstant="1.45" light="$null" specularConstant="0.2" specularExponent="20.47" surfaceScale="2.93">
<bumpInput>
<Glow />
</bumpInput>
</Lighting>
</effect>
<BorderPane.margin>
<Insets top="5.0" />
</BorderPane.margin>
</MenuBar>
</top>
<center>
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0" BorderPane.alignment="CENTER">
<children>
<Label text="WELCOME TO WAM!!" textFill="#c41ed3">
<font>
<Font name="Comic Sans MS Bold" size="36.0" />
</font>
<VBox.margin>
<Insets bottom="35.0" />
</VBox.margin>
</Label>
<Button fx:id="start" mnemonicParsing="false" onAction="#startPress" prefHeight="45.0" prefWidth="100.0" text="Start">
<VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<effect>
<Glow level="0.12" />
</effect>
</Button>
<Button fx:id="resume" mnemonicParsing="false" onAction="#resumePress" prefHeight="45.0" prefWidth="100.0" text="Resume">
<effect>
<Glow />
</effect>
</Button>
</children>
</VBox>
</center>
</BorderPane>
</children>
</Group>
</children>
</AnchorPane>