aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/resources')
-rw-r--r--app/src/main/resources/xyz/brysonsteck/serverfordummies/dialog.fxml24
-rw-r--r--app/src/main/resources/xyz/brysonsteck/serverfordummies/icons/info.pngbin0 -> 5289 bytes
-rw-r--r--app/src/main/resources/xyz/brysonsteck/serverfordummies/icons/warning.pngbin0 -> 5131 bytes
-rw-r--r--app/src/main/resources/xyz/brysonsteck/serverfordummies/primary.fxml6
4 files changed, 27 insertions, 3 deletions
diff --git a/app/src/main/resources/xyz/brysonsteck/serverfordummies/dialog.fxml b/app/src/main/resources/xyz/brysonsteck/serverfordummies/dialog.fxml
new file mode 100644
index 0000000..6dab79a
--- /dev/null
+++ b/app/src/main/resources/xyz/brysonsteck/serverfordummies/dialog.fxml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<?import javafx.geometry.Insets?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.control.ButtonBar?>
+<?import javafx.scene.control.Label?>
+<?import javafx.scene.layout.Pane?>
+
+
+<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="200.0" prefWidth="400.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1">
+ <children>
+ <Pane fx:id="iconPane" layoutX="14.0" layoutY="14.0" prefHeight="82.0" prefWidth="82.0" />
+ <Label fx:id="dialogLabel" layoutX="115.0" layoutY="40.0" text="Dialog&#10;Box" />
+ <ButtonBar layoutY="157.0" prefHeight="43.0" prefWidth="400.0">
+ <buttons>
+ <Button fx:id="otherButton" mnemonicParsing="false" text="Decline" />
+ <Button fx:id="defaultButton" defaultButton="true" mnemonicParsing="false" text="Accept" />
+ </buttons>
+ <padding>
+ <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
+ </padding>
+ </ButtonBar>
+ </children>
+</Pane>
diff --git a/app/src/main/resources/xyz/brysonsteck/serverfordummies/icons/info.png b/app/src/main/resources/xyz/brysonsteck/serverfordummies/icons/info.png
new file mode 100644
index 0000000..c1951a7
--- /dev/null
+++ b/app/src/main/resources/xyz/brysonsteck/serverfordummies/icons/info.png
Binary files differ
diff --git a/app/src/main/resources/xyz/brysonsteck/serverfordummies/icons/warning.png b/app/src/main/resources/xyz/brysonsteck/serverfordummies/icons/warning.png
new file mode 100644
index 0000000..4d66729
--- /dev/null
+++ b/app/src/main/resources/xyz/brysonsteck/serverfordummies/icons/warning.png
Binary files differ
diff --git a/app/src/main/resources/xyz/brysonsteck/serverfordummies/primary.fxml b/app/src/main/resources/xyz/brysonsteck/serverfordummies/primary.fxml
index 85b7370..c940d08 100644
--- a/app/src/main/resources/xyz/brysonsteck/serverfordummies/primary.fxml
+++ b/app/src/main/resources/xyz/brysonsteck/serverfordummies/primary.fxml
@@ -220,7 +220,7 @@
</Pane>
<ButtonBar fx:id="buttonBar" disable="true" layoutY="635.0" prefHeight="40.0" prefWidth="963.0">
<buttons>
- <Button mnemonicParsing="false" text="Build Server" />
+ <Button mnemonicParsing="false" onMouseClicked="#onBuild" text="Build Server" />
<Button defaultButton="true" mnemonicParsing="false" text="Start Server" />
</buttons>
<padding>
@@ -239,9 +239,9 @@
<Insets left="5.0" />
</HBox.margin>
</Label>
- <ProgressBar fx:id="progressBar" prefWidth="400.0" progress="0.0" visible="false">
+ <ProgressBar fx:id="progressBar" prefWidth="400.0" visible="false">
<HBox.margin>
- <Insets left="460.0" />
+ <Insets left="10.0" />
</HBox.margin>
</ProgressBar>
</children>