fb51e2c469
Bug fixes. A lot of things added <3
143 lines
6.9 KiB
XML
143 lines
6.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.geometry.Insets?>
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.CheckBox?>
|
|
<?import javafx.scene.control.Label?>
|
|
<?import javafx.scene.control.Tab?>
|
|
<?import javafx.scene.control.TabPane?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.Pane?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<?import javafx.scene.shape.SVGPath?>
|
|
<?import javafx.scene.text.Font?>
|
|
|
|
<VBox xmlns="http://javafx.com/javafx/8.0.141" xmlns:fx="http://javafx.com/fxml/1" fx:controller="mplayer4anime.Settings.SettingsController">
|
|
<children>
|
|
<TabPane side="LEFT" tabClosingPolicy="UNAVAILABLE" tabMaxHeight="100.0" tabMaxWidth="500.0" tabMinHeight="100.0" tabMinWidth="80.0" VBox.vgrow="ALWAYS">
|
|
<tabs>
|
|
<Tab closable="false">
|
|
<content>
|
|
<VBox spacing="5.0">
|
|
<children>
|
|
<HBox alignment="CENTER_LEFT" spacing="5.0" VBox.vgrow="NEVER">
|
|
<children>
|
|
<Label text="%settings_PathToMplayerLbl" />
|
|
<Label fx:id="pathToMplayerLbl" text="-------" />
|
|
<Pane HBox.hgrow="ALWAYS" />
|
|
<Button mnemonicParsing="false" onAction="#findPathToMplayer">
|
|
<graphic>
|
|
<SVGPath content="M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z" />
|
|
</graphic>
|
|
</Button>
|
|
<Button mnemonicParsing="false" onAction="#clearPath">
|
|
<graphic>
|
|
<SVGPath content="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" fill="#cc0101" />
|
|
</graphic>
|
|
</Button>
|
|
</children>
|
|
</HBox>
|
|
<Label disable="true" minHeight="35.0" text="%settings_unixOsInformation" wrapText="true">
|
|
<font>
|
|
<Font name="System Italic" size="12.0" />
|
|
</font>
|
|
</Label>
|
|
<HBox alignment="CENTER_LEFT" VBox.vgrow="NEVER">
|
|
<children>
|
|
<Label text="%settings_SubtitlesTabFirst" />
|
|
<Pane HBox.hgrow="ALWAYS" />
|
|
<CheckBox fx:id="subtitlesFirstCheckBox" mnemonicParsing="false" />
|
|
</children>
|
|
</HBox>
|
|
</children>
|
|
<padding>
|
|
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
|
</padding>
|
|
</VBox>
|
|
</content>
|
|
<graphic>
|
|
<VBox alignment="CENTER">
|
|
<children>
|
|
<SVGPath content="M19,4C20.11,4 21,4.9 21,6V18A2,2 0 0,1 19,20H5C3.89,20 3,19.1 3,18V6A2,2 0 0,1 5,4H19M19,18V8H5V18H19Z" />
|
|
<Label text="%settings_Tab_General" />
|
|
</children>
|
|
</VBox>
|
|
</graphic>
|
|
</Tab>
|
|
<Tab closable="false">
|
|
<graphic>
|
|
<VBox alignment="CENTER">
|
|
<children>
|
|
<SVGPath content="M17,10.5V7A1,1 0 0,0 16,6H4A1,1 0 0,0 3,7V17A1,1 0 0,0 4,18H16A1,1 0 0,0 17,17V13.5L21,17.5V6.5L17,10.5Z" />
|
|
<Label text="%settings_Tab_Video" />
|
|
</children>
|
|
</VBox>
|
|
</graphic>
|
|
<content>
|
|
<VBox spacing="5.0">
|
|
<padding>
|
|
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
|
</padding>
|
|
<children>
|
|
<Label text="%settings_videoExtensionList" />
|
|
<fx:include fx:id="videoExtensionList" source="ListSelector.fxml" />
|
|
</children>
|
|
</VBox>
|
|
</content>
|
|
</Tab>
|
|
<Tab closable="false">
|
|
<graphic>
|
|
<VBox alignment="CENTER">
|
|
<children>
|
|
<SVGPath content="M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z" />
|
|
<Label text="%settings_Tab_Audio" />
|
|
</children>
|
|
</VBox>
|
|
</graphic>
|
|
<content>
|
|
<VBox spacing="5.0">
|
|
<padding>
|
|
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
|
</padding>
|
|
<children>
|
|
<Label text="%settings_audioExtensionList" />
|
|
<fx:include fx:id="audioExtensionList" source="ListSelector.fxml" />
|
|
</children>
|
|
</VBox>
|
|
</content>
|
|
</Tab>
|
|
<Tab closable="false">
|
|
<graphic>
|
|
<VBox alignment="CENTER">
|
|
<children>
|
|
<SVGPath content="M20,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6A2,2 0 0,0 20,4M4,12H8V14H4V12M14,18H4V16H14V18M20,18H16V16H20V18M20,14H10V12H20V14Z" />
|
|
<Label text="%settings_Tab_Subtitles" />
|
|
</children>
|
|
</VBox>
|
|
</graphic>
|
|
<content>
|
|
<VBox spacing="5.0">
|
|
<Label text="%settings_subsExtensionList" />
|
|
<fx:include fx:id="subExtensionList" source="ListSelector.fxml" />
|
|
<Label text="%settings_subsCodepageList" />
|
|
<fx:include fx:id="subEncodingList" source="ListSelector.fxml" />
|
|
<padding>
|
|
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
|
</padding>
|
|
</VBox>
|
|
</content>
|
|
</Tab>
|
|
</tabs>
|
|
</TabPane>
|
|
<HBox prefWidth="200.0" spacing="5.0" VBox.vgrow="NEVER">
|
|
<children>
|
|
<Pane HBox.hgrow="ALWAYS" />
|
|
<Button cancelButton="true" mnemonicParsing="false" onAction="#Cancel" text="%CancelBtn" />
|
|
<Button mnemonicParsing="false" onAction="#Save" text="%SaveBtn" />
|
|
</children>
|
|
<padding>
|
|
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
|
</padding>
|
|
</HBox>
|
|
</children>
|
|
</VBox>
|