A Program to manage your locally saved movies.
https://www.mosad.xyz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
177 lines
11 KiB
177 lines
11 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
|
|
<?import com.jfoenix.controls.JFXButton?> |
|
<?import com.jfoenix.controls.JFXColorPicker?> |
|
<?import com.jfoenix.controls.JFXHamburger?> |
|
<?import com.jfoenix.controls.JFXSlider?> |
|
<?import com.jfoenix.controls.JFXTextField?> |
|
<?import com.jfoenix.controls.JFXToggleButton?> |
|
<?import javafx.geometry.Insets?> |
|
<?import javafx.scene.control.ChoiceBox?> |
|
<?import javafx.scene.control.Label?> |
|
<?import javafx.scene.control.ScrollPane?> |
|
<?import javafx.scene.control.Separator?> |
|
<?import javafx.scene.control.TableColumn?> |
|
<?import javafx.scene.control.TableView?> |
|
<?import javafx.scene.control.TreeTableView?> |
|
<?import javafx.scene.image.Image?> |
|
<?import javafx.scene.image.ImageView?> |
|
<?import javafx.scene.layout.AnchorPane?> |
|
<?import javafx.scene.layout.HBox?> |
|
<?import javafx.scene.layout.VBox?> |
|
<?import javafx.scene.text.Font?> |
|
<?import javafx.scene.text.TextFlow?> |
|
|
|
<AnchorPane fx:id="mainAnchorPane" prefHeight="600.0" prefWidth="950.0" xmlns="http://javafx.com/javafx/9" xmlns:fx="http://javafx.com/fxml/1" fx:controller="kellerkinder.HomeFlix.application.MainWindowController"> |
|
<children> |
|
<ScrollPane fx:id="textScrollPane" fitToWidth="true" layoutX="408.0" layoutY="44.0" prefHeight="544.0" prefWidth="320.0" AnchorPane.bottomAnchor="12.0" AnchorPane.leftAnchor="408.0" AnchorPane.rightAnchor="222.0" AnchorPane.topAnchor="44.0"> |
|
<content> |
|
<TextFlow fx:id="textFlow" accessibleRole="TEXT_AREA" maxHeight="544.0" maxWidth="320.0" visible="true" /> |
|
</content> |
|
</ScrollPane> |
|
<TreeTableView fx:id="filmsTreeTable" layoutX="14.0" layoutY="88.0" prefHeight="500.0" prefWidth="375.0" AnchorPane.bottomAnchor="12.0" AnchorPane.leftAnchor="12.0" AnchorPane.rightAnchor="568.0" AnchorPane.topAnchor="88.0" /> |
|
<JFXButton fx:id="playbtn" contentDisplay="CENTER" layoutX="690.0" layoutY="363.0" onAction="#playbtnclicked" prefHeight="25.0" prefWidth="198.0" AnchorPane.bottomAnchor="212.0" AnchorPane.rightAnchor="12.0"> |
|
<font> |
|
<Font name="System Bold" size="14.0" /> |
|
</font></JFXButton> |
|
<JFXButton fx:id="openfolderbtn" layoutX="690.0" layoutY="404.0" onAction="#openfolderbtnclicked" prefHeight="25.0" prefWidth="198.0" text="open Folder" AnchorPane.bottomAnchor="171.0" AnchorPane.rightAnchor="12.0"> |
|
<font> |
|
<Font name="System Bold" size="14.0" /> |
|
</font></JFXButton> |
|
<JFXTextField fx:id="searchTextField" layoutX="12.0" layoutY="44.0" maxWidth="477.0" minWidth="359.0" prefHeight="31.0" prefWidth="370.0" promptText="search ..." AnchorPane.leftAnchor="12.0" AnchorPane.rightAnchor="568.0" AnchorPane.topAnchor="44.0"> |
|
<font> |
|
<Font name="Arial" size="12.0" /> |
|
</font></JFXTextField> |
|
<ImageView fx:id="posterImageView" fitHeight="297.0" fitWidth="198.0" layoutX="481.0" layoutY="46.0" pickOnBounds="true" preserveRatio="true" AnchorPane.rightAnchor="12.0" AnchorPane.topAnchor="44.0"> |
|
<image> |
|
<Image url="@../icons/Homeflix_Poster.png" /> |
|
</image></ImageView> |
|
<JFXButton fx:id="returnBtn" contentDisplay="CENTER" layoutX="690.0" layoutY="443.0" onAction="#returnBtnclicked" prefHeight="25.0" prefWidth="90.0" AnchorPane.bottomAnchor="132.0" AnchorPane.rightAnchor="120.0" /> |
|
<JFXButton fx:id="forwardBtn" contentDisplay="CENTER" layoutX="798.0" layoutY="443.0" onAction="#forwardBtnclicked" prefHeight="25.0" prefWidth="90.0" AnchorPane.bottomAnchor="132.0" AnchorPane.rightAnchor="12.0" /> |
|
<HBox fx:id="topHBox" layoutY="12.0" prefHeight="32.0" prefWidth="900.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> |
|
<children> |
|
<JFXHamburger fx:id="menuHam"> |
|
<padding> |
|
<Insets left="3.0" /> |
|
</padding> |
|
</JFXHamburger> |
|
</children> |
|
</HBox> |
|
<VBox fx:id="sideMenuVBox" layoutY="32.0" prefHeight="660.0" prefWidth="150.0" visible="false" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="32.0"> |
|
<children> |
|
<JFXButton fx:id="aboutBtn" onAction="#aboutBtnAction" prefHeight="32.0" prefWidth="150.0" textAlignment="CENTER"> |
|
<font> |
|
<Font name="System Bold" size="15.0" /> |
|
</font> |
|
</JFXButton> |
|
<JFXButton fx:id="settingsBtn" onAction="#settingsBtnclicked" prefHeight="37.0" prefWidth="150.0" textAlignment="CENTER"> |
|
<font> |
|
<Font name="System Bold" size="15.0" /> |
|
</font> |
|
</JFXButton> |
|
<JFXButton fx:id="debugBtn" onAction="#debugBtnclicked" prefHeight="32.0" prefWidth="150.0" text="debugging" textAlignment="CENTER"> |
|
<font> |
|
<Font name="System Bold" size="15.0" /> |
|
</font> |
|
</JFXButton> |
|
</children> |
|
</VBox> |
|
<ScrollPane fx:id="settingsScrollPane" prefHeight="568.0" prefWidth="800.0" style="-fx-background: white;" visible="false" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="150.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="32.0"> |
|
<content> |
|
<AnchorPane fx:id="settingsAnchorPane" style="-fx-background-color: white;"> |
|
<children> |
|
<VBox spacing="30.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> |
|
<padding> |
|
<Insets bottom="14.0" top="14.0" /> |
|
</padding> |
|
<children> |
|
<VBox spacing="25.0"> |
|
<padding> |
|
<Insets left="24.0" /> |
|
</padding> |
|
<children> |
|
<VBox> |
|
<children> |
|
<Label fx:id="homeflixSettingsLbl" text="HomeFlix Settings"> |
|
<font> |
|
<Font name="System Bold" size="14.0" /> |
|
</font> |
|
</Label> |
|
<Separator prefWidth="200.0"> |
|
<padding> |
|
<Insets right="5.0" /> |
|
</padding> |
|
</Separator> |
|
</children> |
|
<padding> |
|
<Insets left="-14.0" /> |
|
</padding> |
|
</VBox> |
|
<HBox minHeight="25.0" spacing="10.0"> |
|
<children> |
|
<Label fx:id="mainColorLbl" prefHeight="25.0" text="Main-Color" /> |
|
<JFXColorPicker fx:id="colorPicker" onAction="#colorPickerAction" /> |
|
</children> |
|
</HBox> |
|
<HBox spacing="10.0"> |
|
<children> |
|
<Label fx:id="fontsizeLbl" text="Fontsize" /> |
|
<JFXSlider fx:id="fontsizeSlider" max="48.0" min="2.0" prefWidth="250.0" /> |
|
</children> |
|
</HBox> |
|
<HBox prefHeight="100.0" prefWidth="200.0" spacing="10.0"> |
|
<children> |
|
<Label fx:id="languageLbl" prefHeight="25.0" text="Language" /> |
|
<ChoiceBox fx:id="languageChoisBox" prefWidth="150.0" /> |
|
</children> |
|
</HBox> |
|
<VBox spacing="10.0"> |
|
<children> |
|
<Label fx:id="updateLbl" text="Updates" /> |
|
<HBox spacing="10.0"> |
|
<children> |
|
<JFXButton fx:id="updateBtn" onAction="#updateBtnAction" text="check now" /> |
|
<Label fx:id="branchLbl" prefHeight="25.0" text="Branch"> |
|
<padding> |
|
<Insets right="-5.0" /> |
|
</padding> |
|
</Label> |
|
<ChoiceBox fx:id="branchChoisBox" prefWidth="150.0" /> |
|
</children> |
|
</HBox> |
|
<JFXToggleButton fx:id="autoUpdateToggleBtn" onAction="#autoUpdateToggleBtnAction" text="check for updates on startup" /> |
|
</children> |
|
</VBox> |
|
<Label fx:id="versionLbl" text="Version" /> |
|
<VBox spacing="10.0"> |
|
<children> |
|
<Label fx:id="sourcesLbl" text="Sources" /> |
|
<HBox spacing="10.0"> |
|
<children> |
|
<JFXButton fx:id="addStreamSourceBtn" onAction="#addStreamSourceBtnAction" prefHeight="32.0" text="add stream source" /> |
|
<JFXButton fx:id="addDirectoryBtn" onAction="#addDirectoryBtnAction" prefHeight="32.0" text="add directory" /> |
|
</children> |
|
</HBox> |
|
<TableView fx:id="sourcesTable" maxWidth="430.0" minHeight="100.0" prefHeight="100.0" prefWidth="430.0"> |
|
<columns> |
|
<TableColumn fx:id="sourceColumn" prefWidth="290.0" resizable="false" text="Sources" /> |
|
<TableColumn fx:id="modeColumn" minWidth="130.0" prefWidth="138.0" resizable="false" text="Mode" /> |
|
</columns> |
|
</TableView> |
|
</children> |
|
</VBox> |
|
</children> |
|
</VBox> |
|
<VBox spacing="25.0"> |
|
<padding> |
|
<Insets left="24.0" /> |
|
</padding> |
|
</VBox> |
|
</children> |
|
</VBox> |
|
</children> |
|
</AnchorPane> |
|
</content> |
|
</ScrollPane> |
|
</children> |
|
</AnchorPane>
|
|
|