1
0
Fork 0
Undefined/src/io/makerforce/undefined/view/interface.fxml

161 lines
8.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.image.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.*?>
<BorderPane xmlns:fx="http://javafx.com/fxml/1" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="400.0"
minWidth="600.0" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8.0.40"
fx:controller="io.makerforce.undefined.view.InterfaceController">
<bottom>
<HBox alignment="CENTER_LEFT" spacing="7.0" BorderPane.alignment="CENTER_LEFT">
<BorderPane.margin>
<Insets/>
</BorderPane.margin>
<children>
<HBox alignment="CENTER" spacing="7.0">
<children>
<Button fx:id="previousButton" mnemonicParsing="false" onAction="#previousTrack">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" opacity="0.75" pickOnBounds="true"
preserveRatio="true">
<image>
<Image url="@/icons/previous2.32.png"/>
</image>
</ImageView>
</graphic>
<padding>
<Insets bottom="8.0" left="8.0" right="8.0" top="8.0"/>
</padding>
<font>
<Font size="1.0"/>
</font>
</Button>
<Button fx:id="pausePlayButton" mnemonicParsing="false" onAction="#pausePlay">
<graphic>
<ImageView fx:id="pausePlayButtonIcon" fitHeight="24.0" fitWidth="24.0" opacity="0.75"
pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@/icons/play3.48.png"/>
</image>
</ImageView>
</graphic>
<padding>
<Insets bottom="8.0" left="8.0" right="8.0" top="8.0"/>
</padding>
<font>
<Font size="1.0"/>
</font>
</Button>
<Button fx:id="nextButton" mnemonicParsing="false" onAction="#nextTrack">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" opacity="0.75" pickOnBounds="true"
preserveRatio="true">
<image>
<Image url="@/icons/next2.32.png"/>
</image>
</ImageView>
</graphic>
<padding>
<Insets bottom="8.0" left="8.0" right="8.0" top="8.0"/>
</padding>
<font>
<Font size="1.0"/>
</font>
</Button>
</children>
<HBox.margin>
<Insets left="7.0" right="7.0"/>
</HBox.margin>
</HBox>
<Separator orientation="VERTICAL"/>
<HBox alignment="CENTER" spacing="7.0" HBox.hgrow="ALWAYS">
<children>
<Label fx:id="playbackTimeLabel" minWidth="42.0" prefHeight="24.0" text="01:00"/>
<Slider fx:id="playbackSlider" max="1.0" min="0.0" prefHeight="16.0" prefWidth="156.0"
HBox.hgrow="ALWAYS"/>
<Label fx:id="playbackLeftLabel" alignment="CENTER_RIGHT" minWidth="42.0" prefHeight="24.0"
text="-01:00"/>
</children>
<HBox.margin>
<Insets/>
</HBox.margin>
</HBox>
<Separator orientation="VERTICAL"/>
<HBox alignment="CENTER" spacing="7.0">
<children>
<ToggleButton fx:id="muteToggle" mnemonicParsing="false">
<graphic>
<ImageView fx:id="muteToggleIcon" fitHeight="12.0" fitWidth="12.0" opacity="0.75"
pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@/icons/volume-medium.24.png"/>
</image>
</ImageView>
</graphic>
<padding>
<Insets bottom="6.0" left="6.0" right="6.0" top="6.0"/>
</padding>
<font>
<Font size="1.0"/>
</font>
</ToggleButton>
<Slider fx:id="volumeSlider" max="1.0" min="0.0" prefHeight="16.0" prefWidth="64.0"
value="1.0"/>
</children>
</HBox>
<Separator orientation="VERTICAL"/>
<HBox alignment="CENTER" prefWidth="16.0">
<children>
<ImageView fx:id="statusIcon" fitHeight="16.0" fitWidth="16.0" pickOnBounds="true"
preserveRatio="true"/>
</children>
</HBox>
</children>
<padding>
<Insets bottom="7.0" left="7.0" right="7.0" top="7.0"/>
</padding>
</HBox>
</bottom>
<center>
<SplitPane dividerPositions="0.2" BorderPane.alignment="CENTER">
<items>
<VBox fx:id="leftPane" maxWidth="240.0" minWidth="120.0">
<children>
<ListView fx:id="showList" prefHeight="200.0" prefWidth="200.0" VBox.vgrow="ALWAYS"/>
<VBox fx:id="currentDetails" alignment="BOTTOM_LEFT">
<children>
<ImageView fx:id="currentImage" fitHeight="120.0" fitWidth="120.0" pickOnBounds="true"
preserveRatio="true">
<image>
<Image url="@/images/srw.png"/>
</image>
</ImageView>
<VBox>
<children>
<Label fx:id="currentTitle" text="Fade">
<font>
<Font name="System Bold" size="13.0"/>
</font>
</Label>
<Label fx:id="currentArtist" text="Alan Walker"/>
</children>
<padding>
<Insets bottom="7.0" left="10.0" right="10.0" top="7.0"/>
</padding>
</VBox>
</children>
</VBox>
</children>
</VBox>
<ScrollPane fx:id="scrollPane" fitToHeight="true" fitToWidth="true" hbarPolicy="NEVER">
<content>
<FlowPane/>
</content>
</ScrollPane>
</items>
</SplitPane>
</center>
</BorderPane>