144 lines
7.6 KiB
XML
144 lines
7.6 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" styleClass="tab-paneSettings" stylesheets="@../res/landing.css" 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="M 33.727273,12.181818 H 4.2727273 V -7.4545455 H 33.727273 m 0,-3.2727275 H 4.2727273 C 2.4563636,-10.727273 1,-9.2709091 1,-7.4545455 V 12.181818 a 3.2727273,3.2727273 0 0 0 3.2727273,3.272727 H 15.727273 v 3.272728 H 12.454545 V 22 h 13.09091 V 18.727273 H 22.272727 V 15.454545 H 33.727273 A 3.2727273,3.2727273 0 0 0 37,12.181818 V -7.4545455 c 0,-1.8163636 -1.472727,-3.2727275 -3.272727,-3.2727275 z" />
|
|
<Label text="%settings_Tab_General" />
|
|
</children>
|
|
</VBox>
|
|
</graphic>
|
|
</Tab>
|
|
<Tab closable="false">
|
|
<graphic>
|
|
<VBox alignment="CENTER">
|
|
<children>
|
|
<SVGPath content="m 32,-3 h -4 v -4 h 4 M 32,5 H 28 V 1 h 4 m 0,12 H 28 V 9 h 4 M 12,-3 H 8 v -4 h 4 M 12,5 H 8 V 1 h 4 m 0,12 H 8 V 9 h 4 m 20,-24 v 4 h -4 v -4 H 12 v 4 H 8 v -4 H 4 v 36 h 4 v -4 h 4 v 4 h 16 v -4 h 4 v 4 h 4 v -36 z" />
|
|
<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="m 25,-14.31 v 4.12 c 5.78,1.72 10,7.08 10,13.42 0,6.34 -4.22,11.68 -10,13.4 v 4.14 C 33,18.95 39,11.79 39,3.23 39,-5.33 33,-12.49 25,-14.31 m 5,17.54 c 0,-3.54 -2,-6.58 -5,-8.06 v 16.06 c 3,-1.42 5,-4.48 5,-8 m -27,-6 v 12 h 8 l 10,10 v -32 l -10,10 z" />
|
|
<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="M 34.4,-8.8 H 5.6 A 3.6,3.6 0 0 0 2,-5.2 V 16.4 A 3.6,3.6 0 0 0 5.6,20 H 34.4 A 3.6,3.6 0 0 0 38,16.4 V -5.2 A 3.6,3.6 0 0 0 34.4,-8.8 M 5.6,5.6 h 7.2 V 9.2 H 5.6 V 5.6 m 18,10.8 h -18 v -3.6 h 18 v 3.6 m 10.8,0 h -7.2 v -3.6 h 7.2 v 3.6 m 0,-7.2 h -18 V 5.6 h 18 z" />
|
|
<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>
|