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

202 lines
10 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.*?>
<?import java.lang.String?>
<?import javafx.collections.*?>
<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/null"
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/>
</HBox.margin>
<padding>
<Insets left="7.0" right="7.0"/>
</padding>
</HBox>
<Separator minWidth="-Infinity" orientation="VERTICAL" prefWidth="2.0"/>
<HBox alignment="CENTER" spacing="7.0" HBox.hgrow="ALWAYS">
<children>
<Label fx:id="playbackTimeLabel" minWidth="42.0" prefHeight="24.0" text="--:--"/>
<StackPane HBox.hgrow="ALWAYS">
<children>
<ProgressBar fx:id="bufferProgress" minHeight="-Infinity" prefHeight="8.0"
prefWidth="1000.0" progress="0.0" visible="false"
StackPane.alignment="BOTTOM_CENTER">
<StackPane.margin>
<Insets bottom="-5.0" left="4.0" right="6.0"/>
</StackPane.margin>
</ProgressBar>
<Slider fx:id="playbackSlider" max="1.0" min="0.0" prefHeight="16.0" prefWidth="1000.0"
StackPane.alignment="CENTER"/>
</children>
</StackPane>
<Label fx:id="playbackLeftLabel" alignment="CENTER_RIGHT" minWidth="42.0" prefHeight="24.0"
text="--:--"/>
</children>
<HBox.margin>
<Insets/>
</HBox.margin>
<padding>
<Insets left="7.0" right="7.0"/>
</padding>
</HBox>
<Separator minWidth="-Infinity" orientation="VERTICAL" prefWidth="2.0"/>
<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" minWidth="-Infinity" prefWidth="64.0"
value="1.0"/>
</children>
<padding>
<Insets left="7.0" right="7.0"/>
</padding>
</HBox>
<Separator minWidth="-Infinity" orientation="VERTICAL" prefWidth="2.0"/>
<HBox alignment="CENTER" prefWidth="16.0">
<children>
<ImageView fx:id="statusIcon" fitHeight="16.0" fitWidth="16.0" opacity="0.75"
pickOnBounds="true" preserveRatio="true">
<HBox.margin>
<Insets/>
</HBox.margin>
</ImageView>
</children>
<padding>
<Insets bottom="3.5" left="3.5" right="3.5" top="3.5"/>
</padding>
</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="80.0" prefWidth="50.0">
<children>
<ListView fx:id="showList" VBox.vgrow="ALWAYS"><!--
<items>
<FXCollections fx:factory="observableArrayList">
<String fx:value="%artists" />
<String fx:value="%albums" />
<String fx:value="%tracks" />
</FXCollections>
</items>-->
</ListView>
<VBox fx:id="currentDetails" alignment="BOTTOM_LEFT">
<children>
<ImageView fx:id="currentImage" fitHeight="120.0" fitWidth="120.0" pickOnBounds="true"
preserveRatio="true"/>
<VBox>
<children>
<Label fx:id="currentTitle">
<font>
<Font name="System Bold" size="13.0"/>
</font>
</Label>
<Label fx:id="currentArtist"/>
</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 fx:id="flowPane" alignment="TOP_CENTER" columnHalignment="CENTER" hgap="7.0"
vgap="7.0">
<children>
</children>
<padding>
<Insets bottom="14.0" left="14.0" right="14.0" top="14.0"/>
</padding>
</FlowPane>
</content>
</ScrollPane>
</items>
</SplitPane>
</center>
</BorderPane>