<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>

<HBox alignment="CENTER_RIGHT" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity"
      prefHeight="300.0" prefWidth="400.0" xmlns="http://javafx.com/javafx/8.0.141" xmlns:fx="http://javafx.com/fxml/1"
      fx:controller="barnestr.Controller">
    <children>
        <ImageView fx:id="imgView" fitHeight="300.0" fitWidth="300.0" onMouseMoved="#coordResfresh" pickOnBounds="true"
                   preserveRatio="true"/>
        <VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0" spacing="10.0">
            <children>
                <Button fx:id="btnOpen" mnemonicParsing="false" onAction="#open" prefWidth="100.0" text="Open">
                    <VBox.margin>
                        <Insets/>
                    </VBox.margin>
                </Button>
                <Button fx:id="btnSave" mnemonicParsing="false" onAction="#save" prefWidth="100.0" text="Save"/>
                <Button fx:id="btnReload" mnemonicParsing="false" onAction="#reload" prefWidth="100.0" text="Reload"/>
                <Button fx:id="btnGrayscale" mnemonicParsing="false" onAction="#grayscale" prefWidth="100.0"
                        text="Grayscale"/>
                <Button fx:id="btnRed" mnemonicParsing="false" onAction="#red" prefWidth="100.0" text="Red"/>
                <Button fx:id="btnRedGray" mnemonicParsing="false" onAction="#redGray" prefWidth="100.0"
                        text="Red-Gray"/>
                <Button fx:id="btnNegative" mnemonicParsing="false" onAction="#negative" prefWidth="100.0"
                        text="Negative"/>
                <Button fx:id="btnFilter" mnemonicParsing="false" onAction="#filter" prefWidth="100.0"
                        text="Show Filter"/>
                <Label fx:id="coordsLabel" text="X: Y:">
                    <VBox.margin>
                        <Insets/>
                    </VBox.margin>
                </Label>
            </children>
        </VBox>
    </children>
</HBox>
