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

<?import imp.PictureViewer?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Menu?>
<?import javafx.scene.control.MenuBar?>
<?import javafx.scene.control.MenuItem?>
<?import javafx.scene.control.SeparatorMenuItem?>
<?import javafx.scene.control.Slider?>
<?import javafx.scene.input.KeyCodeCombination?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.VBox?>

<VBox prefHeight="400.0" prefWidth="640.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="Controller">
  <children>
    <MenuBar VBox.vgrow="NEVER">
      <menus>
        <Menu text="_Datei">
          <items>
            <MenuItem mnemonicParsing="false" onAction="#mBildOeffnen" text="Bild öffnen...">
                     <accelerator>
                        <KeyCodeCombination alt="UP" code="O" control="DOWN" meta="UP" shift="UP" shortcut="UP" />
                     </accelerator></MenuItem>
            <MenuItem mnemonicParsing="false" onAction="#mBildSpeichern" text="Bild speichern ...">
                     <accelerator>
                        <KeyCodeCombination alt="UP" code="S" control="DOWN" meta="UP" shift="UP" shortcut="UP" />
                     </accelerator></MenuItem>
            <SeparatorMenuItem mnemonicParsing="false" />
            <MenuItem mnemonicParsing="false" onAction="#mBeenden" text="Beenden">
                     <accelerator>
                        <KeyCodeCombination alt="UP" code="Q" control="DOWN" meta="UP" shift="UP" shortcut="UP" />
                     </accelerator></MenuItem>
          </items>
        </Menu>
        <Menu text="_Bearbeiten">
          <items>
            <MenuItem mnemonicParsing="false" onAction="#mZurueck" text="Zurück">
                     <accelerator>
                        <KeyCodeCombination alt="UP" code="Z" control="DOWN" meta="UP" shift="UP" shortcut="UP" />
                     </accelerator></MenuItem>
            <SeparatorMenuItem mnemonicParsing="false" />
            <MenuItem mnemonicParsing="false" onAction="#mDreheLinks" text="Drehe links">
                     <accelerator>
                        <KeyCodeCombination alt="UP" code="L" control="DOWN" meta="UP" shift="UP" shortcut="UP" />
                     </accelerator></MenuItem>
            <MenuItem mnemonicParsing="false" onAction="#mDreheRechts" text="Drehe rechts">
                     <accelerator>
                        <KeyCodeCombination alt="UP" code="R" control="DOWN" meta="UP" shift="UP" shortcut="UP" />
                     </accelerator></MenuItem>
            <SeparatorMenuItem mnemonicParsing="false" />
            <MenuItem mnemonicParsing="false" onAction="#mSpiegleVertikal" text="Spiegle vertikal" />
            <MenuItem mnemonicParsing="false" onAction="#mSpiegleHorizontal" text="Spiegle horizontal" />
          </items>
        </Menu>
            <Menu text="_Farben">
               <items>
                  <MenuItem mnemonicParsing="false" onAction="#mGraustufenMinimum" text="Graustufen (Minimum)" />
                  <MenuItem mnemonicParsing="false" onAction="#mGraustufenMaximum" text="Graustufen (Maximum)" />
                  <MenuItem mnemonicParsing="false" onAction="#mGraustufenMittelwert" text="Graustufen (Mittelwert)" />
                  <MenuItem mnemonicParsing="false" onAction="#mGraustufenNatuerlich" text="Graustufen (Natürlich)" />
                  <SeparatorMenuItem mnemonicParsing="false" />
                  <MenuItem mnemonicParsing="false" onAction="#mTauschRotGruen" text="Tausch Rot-Grün" />
                  <MenuItem mnemonicParsing="false" onAction="#mTauschRotBlau" text="Tausch Rot-Blau" />
                  <MenuItem mnemonicParsing="false" onAction="#mTauschGruenBlau" text="Tausch Grün-Blau" />
                  <SeparatorMenuItem mnemonicParsing="false" />
                  <MenuItem mnemonicParsing="false" onAction="#mNurRotkanal" text="Nur Rotkanal" />
                  <MenuItem mnemonicParsing="false" onAction="#mNurGruenkanal" text="Nur Grünkanal" />
                  <MenuItem mnemonicParsing="false" onAction="#mNurBlaukanal" text="Nur Blaukanal" />
               </items>
            </Menu>
            <Menu text="_Effekte">
               <items>
                  <MenuItem mnemonicParsing="false" onAction="#mWeichzeichnen" text="Weichzeichnen" />
                  <MenuItem mnemonicParsing="false" onAction="#mWeichzeichnen31x31" text="Weichzeichnen (31x31)" />
                  <MenuItem mnemonicParsing="false" onAction="#mWeichzeichnenGauss31x31" text="Weichzeichnen Gaußfilter (31x31)" />
                  <MenuItem mnemonicParsing="false" onAction="#mSchaerfen" text="Schärfen" />
                  <SeparatorMenuItem mnemonicParsing="false" />
                  <MenuItem mnemonicParsing="false" onAction="#mFindeHorizontaleKanten" text="Finde horizontale Kanten" />
                  <MenuItem mnemonicParsing="false" onAction="#mFindeVertikaleKanten" text="Finde vertikale Kanten" />
                  <MenuItem mnemonicParsing="false" onAction="#mFindeKanten" text="Finde alle Kanten" />
               </items>
            </Menu>
            <Menu text="_Kunst">
               <items>
                  <MenuItem mnemonicParsing="false" onAction="#mRelief" text="Relief" />
               </items>
            </Menu>
        <Menu text="_Hilfe">
          <items>
            <MenuItem mnemonicParsing="false" onAction="#mUeber" text="Über mein Programm..." />
          </items>
        </Menu>
      </menus>
    </MenuBar>
      <HBox fx:id="hauptbereich" prefHeight="100.0" prefWidth="200.0" VBox.vgrow="ALWAYS">
         <children>
            <PictureViewer fx:id="viewer" HBox.hgrow="ALWAYS" />
         </children>
      </HBox>
    <AnchorPane maxHeight="-1.0" maxWidth="-1.0" prefHeight="47.0" style="-fx-background-color: #80a0a0;" VBox.vgrow="NEVER">
         <children>
            <Button layoutX="568.0" layoutY="11.0" mnemonicParsing="false" onAction="#bZurueck" text="Zurück" AnchorPane.rightAnchor="20.0" AnchorPane.topAnchor="11.0" />
            <Slider fx:id="slZoom" layoutX="14.0" layoutY="12.0" majorTickUnit="0.5" max="10.0" min="0.01" minorTickCount="4" prefHeight="14.0" prefWidth="535.0" showTickMarks="true" value="1.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="91.0" AnchorPane.topAnchor="12.0" />
         </children>
    </AnchorPane>
      <HBox spacing="5.0" style="-fx-background-color: #608080;" VBox.vgrow="NEVER">
         <children>
            <Label minWidth="-Infinity" text="MLG Baden-Baden" textFill="#e9eea9" HBox.hgrow="NEVER" />
            <Pane HBox.hgrow="ALWAYS" />
            <Label fx:id="lDateiname" layoutX="10.0" layoutY="10.0" minWidth="-Infinity" text="Bild1.jpg" textFill="#e9eea9" HBox.hgrow="NEVER" />
            <Pane HBox.hgrow="ALWAYS" />
            <Label layoutX="10.0" layoutY="10.0" minWidth="-Infinity" text="T. Schaller (ZPG IMP)" textFill="#e9eea9" HBox.hgrow="NEVER" />
         </children>
         <padding>
            <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
         </padding>
      </HBox>
  </children>
</VBox>
