122 lines
6.9 KiB
XML
122 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.ButtonBar?>
|
|
<?import javafx.scene.control.Label?>
|
|
<?import javafx.scene.control.ScrollPane?>
|
|
<?import javafx.scene.control.Separator?>
|
|
<?import javafx.scene.control.Tab?>
|
|
<?import javafx.scene.control.TabPane?>
|
|
<?import javafx.scene.control.TextField?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.Pane?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<?import javafx.scene.shape.SVGPath?>
|
|
|
|
<VBox xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="konogonka.Settings.SettingsController">
|
|
<children>
|
|
<TabPane side="LEFT" tabClosingPolicy="UNAVAILABLE" tabMaxHeight="100.0" tabMaxWidth="80.0" tabMinHeight="80.0" tabMinWidth="50.0" VBox.vgrow="ALWAYS">
|
|
<tabs>
|
|
<Tab closable="false">
|
|
<content>
|
|
<ScrollPane fitToWidth="true">
|
|
<content>
|
|
<VBox prefHeight="200.0" prefWidth="100.0" spacing="5.0">
|
|
<children>
|
|
<Label text="Used for XCI" />
|
|
<HBox alignment="CENTER_LEFT" spacing="5.0">
|
|
<children>
|
|
<Label text="xci_header_key" wrapText="true" />
|
|
<TextField HBox.hgrow="ALWAYS" fx:id="xciHdrKeyTF" />
|
|
</children>
|
|
</HBox>
|
|
<Label disable="true" text="Length should be 32 symbols" wrapText="true" />
|
|
<Separator prefWidth="200.0" />
|
|
<Label text="Used for NCA" />
|
|
<Button fx:id="importKeysBtn" mnemonicParsing="false" text="Import from prod.keys">
|
|
<graphic>
|
|
<SVGPath content="M1,12H10.76L8.26,9.5L9.67,8.08L14.59,13L9.67,17.92L8.26,16.5L10.76,14H1V12M19,3C20.11,3 21,3.9 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V16H5V19H19V7H5V10H3V5A2,2 0 0,1 5,3H19Z" />
|
|
</graphic>
|
|
</Button>
|
|
<HBox alignment="CENTER_LEFT" spacing="5.0">
|
|
<children>
|
|
<Label text="header_key" wrapText="true" />
|
|
<TextField fx:id="hdrKeyTF" HBox.hgrow="ALWAYS" />
|
|
</children>
|
|
</HBox>
|
|
<Label disable="true" text="Length should be 64 symbols" wrapText="true" />
|
|
<Pane VBox.vgrow="ALWAYS" />
|
|
<Separator prefWidth="200.0" />
|
|
<Label text="Key area key "Application"" />
|
|
<fx:include fx:id="ListSelectorKAEKApp" source="ListSelectorLayout.fxml" VBox.vgrow="ALWAYS" />
|
|
<Separator prefWidth="200.0" />
|
|
<Label text="Key area key "Ocean"" />
|
|
<fx:include fx:id="ListSelectorKAEKOcean" source="ListSelectorLayout.fxml" VBox.vgrow="ALWAYS" />
|
|
<Separator prefWidth="200.0" />
|
|
<Label text="Key area key "System"" />
|
|
<fx:include fx:id="ListSelectorKAEKSys" source="ListSelectorLayout.fxml" VBox.vgrow="ALWAYS" />
|
|
<Separator prefWidth="200.0" />
|
|
<Label text="Title KEKs" />
|
|
<fx:include fx:id="ListSelectorTitleKeks" source="ListSelectorLayout.fxml" VBox.vgrow="ALWAYS" />
|
|
<Separator prefWidth="200.0" />
|
|
</children>
|
|
<padding>
|
|
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
|
</padding>
|
|
</VBox>
|
|
</content>
|
|
</ScrollPane>
|
|
</content>
|
|
<graphic>
|
|
<VBox alignment="TOP_CENTER" spacing="5.0">
|
|
<children>
|
|
<SVGPath content="M6.5,2C8.46,2 10.13,3.25 10.74,5H22V8H18V11H15V8H10.74C10.13,9.75 8.46,11 6.5,11C4,11 2,9 2,6.5C2,4 4,2 6.5,2M6.5,5A1.5,1.5 0 0,0 5,6.5A1.5,1.5 0 0,0 6.5,8A1.5,1.5 0 0,0 8,6.5A1.5,1.5 0 0,0 6.5,5M6.5,13C8.46,13 10.13,14.25 10.74,16H22V19H20V22H18V19H16V22H13V19H10.74C10.13,20.75 8.46,22 6.5,22C4,22 2,20 2,17.5C2,15 4,13 6.5,13M6.5,16A1.5,1.5 0 0,0 5,17.5A1.5,1.5 0 0,0 6.5,19A1.5,1.5 0 0,0 8,17.5A1.5,1.5 0 0,0 6.5,16Z" />
|
|
<Label text="prod.keys" />
|
|
</children>
|
|
</VBox>
|
|
</graphic>
|
|
</Tab>
|
|
<Tab closable="false">
|
|
<content>
|
|
<ScrollPane fitToWidth="true">
|
|
<content>
|
|
<VBox spacing="5.0">
|
|
<padding>
|
|
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
|
</padding>
|
|
<children>
|
|
<Label text="Title Keys" />
|
|
<Button fx:id="importTitleKeysBtn" mnemonicParsing="false" text="Import from title.keys">
|
|
<graphic>
|
|
<SVGPath content="M1,12H10.76L8.26,9.5L9.67,8.08L14.59,13L9.67,17.92L8.26,16.5L10.76,14H1V12M19,3C20.11,3 21,3.9 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V16H5V19H19V7H5V10H3V5A2,2 0 0,1 5,3H19Z" />
|
|
</graphic>
|
|
</Button>
|
|
<fx:include fx:id="ListSelectorTitleKeys" source="ListSelectorLayout.fxml" />
|
|
</children>
|
|
</VBox>
|
|
</content>
|
|
</ScrollPane>
|
|
</content>
|
|
<graphic>
|
|
<VBox alignment="TOP_CENTER" spacing="5.0">
|
|
<children>
|
|
<SVGPath content="M22,18V22H18V19H15V16H12L9.74,13.74C9.19,13.91 8.61,14 8,14A6,6 0 0,1 2,8A6,6 0 0,1 8,2A6,6 0 0,1 14,8C14,8.61 13.91,9.19 13.74,9.74L22,18M7,5A2,2 0 0,0 5,7A2,2 0 0,0 7,9A2,2 0 0,0 9,7A2,2 0 0,0 7,5Z" />
|
|
<Label text="title.keys" />
|
|
</children>
|
|
</VBox>
|
|
</graphic>
|
|
</Tab>
|
|
</tabs>
|
|
</TabPane>
|
|
<ButtonBar>
|
|
<buttons>
|
|
<Button fx:id="okBtn" mnemonicParsing="false" text="Ok" />
|
|
<Button fx:id="cancelBtn" mnemonicParsing="false" text="Cancel" />
|
|
</buttons>
|
|
<padding>
|
|
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
|
</padding>
|
|
</ButtonBar>
|
|
</children>
|
|
</VBox>
|