jeu-de-combat/src/launcher/launcher.fxml

82 lines
2.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ChoiceBox?>
<?import javafx.scene.control.CheckBox?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.text.Text?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Hyperlink?>
<HBox xmlns:fx="http://javafx.com/fxml" stylesheets="@style.css" fx:id="window"
prefWidth="640" prefHeight="380"
fx:controller="launcher.Launcher">
<children>
<VBox fx:id="sidepanel"
prefWidth="120" prefHeight="380">
<children>
<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"
prefWidth="120" prefHeight="260" spacing="5">
<children>
<Button text="Play" fx:id="btn_launch" onAction="#launch"
prefWidth="110" prefHeight="15"/>
<Label text="Resolution"/>
<ChoiceBox fx:id="resolution" styleClass="res_box"/>
<HBox fx:id="fs_box" styleClass="fs_box">
<children>
<Label text="Fullscreen"/>
<CheckBox fx:id="fullscreen"/>
</children>
</HBox>
<Button text="Quit" fx:id="btn_quit" onAction="#quit"
prefWidth="110" prefHeight="15"/>
</children>
</VBox>
<VBox fx:id="prgm"
prefWidth="120">
<children>
<Hyperlink text="GIT" onAction="#website"/>
<Text text="Ver: Snapshot"/>
</children>
</VBox>
</children>
</VBox>
<HBox fx:id="picker">
<children>
<VBox fx:id="p1" styleClass="pane_p">
<children>
<ImageView/>
<ChoiceBox styleClass="char_box" />
<ChoiceBox styleClass="contr_box" />
</children>
</VBox>
<VBox fx:id="p2" styleClass="pane_p">
<children>
<ImageView/>
<ChoiceBox styleClass="char_box" />
<ChoiceBox styleClass="contr_box" />
</children>
</VBox>
</children>
</HBox>
</children>
</HBox>