mystyle-java-fx-tools/src/main/resources/fxml/video.fxml

75 lines
3.7 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<?import com.leewyatt.rxcontrols.controls.RXMediaProgressBar?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.control.Slider?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.media.MediaView?>
2023-02-21 07:21:24 +00:00
<AnchorPane fx:id="video_root" prefHeight="649.0" prefWidth="1200.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.zhangmeng.tools.controller.VideoController">
2023-02-21 07:21:24 +00:00
<HBox fx:id="mv_hbox" layoutX="2.0" layoutY="31.0" prefHeight="521.0" prefWidth="1198.0" style="-fx-border-color: #85c486" AnchorPane.bottomAnchor="98.0" AnchorPane.leftAnchor="1.0" AnchorPane.rightAnchor="1.0" AnchorPane.topAnchor="0.0">
<children>
<ListView fx:id="listView" prefHeight="551.0" prefWidth="300.0" />
<MediaView id="mv" fx:id="mv" style="-fx-border-color: red;-fx-background-color: #e9df47" HBox.hgrow="ALWAYS">
2023-02-21 07:21:24 +00:00
</MediaView>
</children>
</HBox>
<HBox layoutX="22.0" layoutY="562.0301513671875" AnchorPane.bottomAnchor="69.9698486328125" AnchorPane.leftAnchor="22.0" AnchorPane.rightAnchor="33.0">
<children>
<Label fx:id="label_name" text="芊芊墨客-音乐相随" />
<RXMediaProgressBar fx:id="progressBar" prefHeight="11.0" prefWidth="961.0" HBox.hgrow="ALWAYS" />
<Label fx:id="label_time" text="00:00" />
</children>
</HBox>
<HBox fx:id="icon_hbox" alignment="CENTER" layoutX="2.0" layoutY="479.0" prefHeight="36.0" prefWidth="1198.0" spacing="20.0" style="-fx-background-color: #6666" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
<children>
<ImageView fx:id="iv_set" fitHeight="33.0" fitWidth="77.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../static/icon_white/set.png" />
</image>
</ImageView>
<ImageView fx:id="iv_cycle" fitHeight="33.0" fitWidth="77.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../static/icon_white/repeat.png" />
</image>
</ImageView>
<ImageView fx:id="iv_last" fitHeight="33.0" fitWidth="77.0" pickOnBounds="true" preserveRatio="true" HBox.hgrow="ALWAYS">
<image>
<Image url="@../static/icon_white/last.png" />
</image>
</ImageView>
<ImageView fx:id="iv_play" fitHeight="74.0" fitWidth="33.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../static/icon_white/play.png" />
</image>
</ImageView>
<ImageView fx:id="iv_next" fitHeight="33.0" fitWidth="77.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../static/icon_white/next.png" />
</image>
</ImageView>
<ImageView fx:id="iv_list" fitHeight="33.0" fitWidth="77.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../static/icon_white/list.png" />
</image>
</ImageView>
<ImageView fx:id="iv_vol" fitHeight="33.0" fitWidth="77.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../static/icon_white/vol.png" />
</image>
</ImageView>
<Slider fx:id="sl_vol" prefHeight="14.0" prefWidth="148.0" />
</children>
</HBox>
2023-02-18 03:45:03 +00:00
</AnchorPane>