103 lines
3.6 KiB
Plaintext
Raw Normal View History

2021-05-27 03:04:08 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<!--
Launcher FXML
@author François AUTIN
-->
2021-05-27 03:04:08 +02:00
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ChoiceBox?>
<?import javafx.scene.control.CheckBox?>
2021-05-27 03:04:08 +02:00
<?import javafx.scene.image.ImageView?>
2021-06-03 03:47:04 +02:00
<?import javafx.scene.image.Image?>
2021-05-27 03:04:08 +02:00
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.layout.Pane?>
2021-06-03 03:47:04 +02:00
<?import javafx.scene.text.Text?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Hyperlink?>
2021-05-27 03:04:08 +02:00
<HBox xmlns:fx="http://javafx.com/fxml" stylesheets="@style.css" fx:id="window"
2021-06-10 15:38:17 +02:00
prefWidth="1280" prefHeight="720"
2021-06-03 03:47:04 +02:00
fx:controller="launcher.Launcher">
2021-05-27 03:04:08 +02:00
<children>
<VBox fx:id="sidepanel"
minWidth="280" prefHeight="1280">
2021-05-27 03:04:08 +02:00
<children>
2021-06-03 03:47:04 +02:00
<ImageView fx:id="logo" fitHeight="120" fitWidth="120">
<image>
<Image url="/launcher/logo.png"/>
</image>
</ImageView>
<Label StyleClass="title" text="BOULEVARD"/>
<Label StyleClass="title" text="COMBATTANT"/>
<VBox fx:id="btn"
2021-06-03 03:47:04 +02:00
prefWidth="120" prefHeight="260" spacing="5">
2021-05-27 03:04:08 +02:00
<children>
<Label text="Resolution"/>
<ChoiceBox fx:id="resolution" styleClass="res_box"/>
<HBox fx:id="fs_box" styleClass="fs_box">
<children>
2021-06-10 15:38:17 +02:00
<Label text="Fullscreen "/>
<CheckBox fx:id="fullscreen"/>
</children>
</HBox>
<Label text="Rounds"/>
<ChoiceBox fx:id="rounds" styleClass="res_box"/>
<HBox fx:id="hb_box" styleClass="fs_box">
<children>
<Label text="Hitboxes "/>
<CheckBox fx:id="hitboxes"/>
</children>
</HBox>
<Button text="Play" fx:id="btn_launch" onAction="#runGame"
2021-06-10 15:38:17 +02:00
prefWidth="110" prefHeight="15"/>
2021-06-03 03:47:04 +02:00
<Button text="Quit" fx:id="btn_quit" onAction="#quit"
prefWidth="110" prefHeight="15"/>
2021-05-27 03:04:08 +02:00
</children>
</VBox>
2021-06-10 15:38:17 +02:00
2021-06-03 03:47:04 +02:00
<VBox fx:id="prgm"
prefWidth="120">
<children>
<Hyperlink text="GIT" onAction="#website"/>
<Text text="Ver: Snapshot"/>
</children>
</VBox>
2021-05-27 03:04:08 +02:00
</children>
</VBox>
<HBox fx:id="picker">
2021-05-27 03:04:08 +02:00
<children>
<VBox fx:id="p1" styleClass="pane_p" prefWidth="500" prefHeight="720">
2021-05-27 03:04:08 +02:00
<children>
<ImageView styleClass="char_img" fitHeight="400" fitWidth="400">
<image>
<Image url="/launcher/default.png"/>
</image>
</ImageView>
<ChoiceBox styleClass="char_box" onAction="#chp1"/>
2021-05-27 03:04:08 +02:00
</children>
</VBox>
<VBox fx:id="p2" styleClass="pane_p" prefWidth="500" prefHeight="720">
<children>
<ImageView styleClass="char_img" fx:id="char_p2" fitHeight="400" fitWidth="400">
<image>
<Image url="/launcher/default.png"/>
</image>
</ImageView>
<ChoiceBox styleClass="char_box" onAction="#chp2"/>
</children>
</VBox>
</children>
</HBox>
2021-05-27 03:04:08 +02:00
</children>
</HBox>