Added python project; fixed spelling of folder
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import java.lang.String?>
|
||||
<?import javafx.collections.FXCollections?>
|
||||
<?import javafx.scene.canvas.Canvas?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.ButtonBar?>
|
||||
<?import javafx.scene.control.ComboBox?>
|
||||
<?import javafx.scene.control.ContextMenu?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.MenuItem?>
|
||||
<?import javafx.scene.control.ScrollPane?>
|
||||
<?import javafx.scene.control.TextField?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
|
||||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/10.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<HBox alignment="CENTER" layoutX="15.0" layoutY="14.0" prefHeight="35.0" prefWidth="245.0" AnchorPane.leftAnchor="15.0" AnchorPane.topAnchor="15.0">
|
||||
<children>
|
||||
<ButtonBar prefHeight="35.0" prefWidth="284.0">
|
||||
<buttons>
|
||||
<Button mnemonicParsing="false" onAction="#importFromDir" prefHeight="26.0" prefWidth="111.0" text="Open Folder" />
|
||||
<Button mnemonicParsing="false" onAction="#importFromFile" prefHeight="25.0" text="Open File" />
|
||||
</buttons>
|
||||
</ButtonBar>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" layoutX="278.0" layoutY="20.0" prefHeight="26.0" prefWidth="507.0" AnchorPane.rightAnchor="15.0" AnchorPane.topAnchor="20.0">
|
||||
<children>
|
||||
<Label prefHeight="32.0" prefWidth="60.0" text="Tile Size:" textAlignment="CENTER" />
|
||||
<ComboBox fx:id="imgSizeComboBox" onAction="#updateTileSize" prefHeight="32.0" prefWidth="85.0">
|
||||
<items>
|
||||
<FXCollections fx:factory="observableArrayList">
|
||||
<String fx:value="8" />
|
||||
<String fx:value="16" />
|
||||
<String fx:value="32" />
|
||||
<String fx:value="64" />
|
||||
<String fx:value="128" />
|
||||
<String fx:value="256" />
|
||||
<String fx:value="512" />
|
||||
</FXCollections>
|
||||
</items>
|
||||
<value>
|
||||
<String fx:value="32" />
|
||||
</value>
|
||||
</ComboBox>
|
||||
<Label prefHeight="32.0" text="Column Count:" />
|
||||
<TextField fx:id="columnCountTextField" onKeyReleased="#setColumnCount" prefHeight="32.0" prefWidth="100.0" text="2" />
|
||||
<Label prefHeight="32.0" prefWidth="44.0" text="Offset:" />
|
||||
<TextField fx:id="offsetTextField" onKeyReleased="#setOffset" prefHeight="32.0" prefWidth="100.0" text="5" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox layoutX="15.0" layoutY="55.0" prefHeight="525.0" prefWidth="770.0" AnchorPane.bottomAnchor="15.0" AnchorPane.leftAnchor="15.0" AnchorPane.rightAnchor="15.0">
|
||||
<children>
|
||||
<ScrollPane pannable="true" prefHeight="400.0" prefWidth="770.0">
|
||||
<content>
|
||||
<Canvas fx:id="canvas" height="320.0" width="320.0" />
|
||||
</content>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" onAction="#saveCanvas" text="Save as Image" />
|
||||
<MenuItem mnemonicParsing="false" onAction="#splitIntoTiles" text="Split Tiles" />
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</ScrollPane>
|
||||
<ScrollPane hbarPolicy="NEVER" pannable="true" prefHeight="487.0" prefWidth="256.0">
|
||||
<content>
|
||||
<VBox fx:id="tileImagesVbox" prefHeight="484.0" prefWidth="128.0" />
|
||||
</content>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" onAction="#saveTilesToImages" text="Save To Images" />
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</ScrollPane>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</AnchorPane>
|
Binary file not shown.
After Width: | Height: | Size: 3.4 KiB |
Reference in New Issue
Block a user