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

<?import javafx.scene.control.Button?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.TilePane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.layout.FlowPane?>
<?import cz.polreich.spagetka.models.gui.buttons.ConfirmButton?>
<?import cz.polreich.spagetka.models.gui.buttons.CancelButton?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.image.ImageView?>
<?import cz.polreich.spagetka.models.gui.panes.TouchScrollPane?>
<?import javafx.scene.media.MediaView?>

<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.BorderPane?>
<StackPane fx:id="outerStackPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="1920.0" prefWidth="1080.0" xmlns="http://javafx.com/javafx/20.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="cz.polreich.spagetka.controllers.CustomerMainController">
    <BorderPane fx:id="mainPane" styleClass="main-flow-pane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="1920.0" prefWidth="1080.0">
        <top>
            <HBox fx:id="topHBox" VBox.vgrow="ALWAYS" prefHeight="1789.0" maxHeight="1789.0">
                <AnchorPane fx:id="leftAnchorPane" minHeight="0.0" minWidth="0.0" prefHeight="1789.0" prefWidth="318.0"
                            AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0" AnchorPane.rightAnchor="762.0">
                    <VBox fx:id="menuButtonsVBox" layoutX="86.0" layoutY="95.0" prefHeight="371.0" prefWidth="318.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="10.0" />
                </AnchorPane>
                <AnchorPane fx:id="rightAnchorPane" minHeight="0.0" minWidth="0.0" prefHeight="1789.0" prefWidth="762.0"> <!-- AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" AnchorPane.leftAnchor="318.0" -->
                    <Label fx:id="categoryTitle" prefHeight="90.0" maxHeight="90.0" prefWidth="762.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
                    <TouchScrollPane fx:id="rightScrollPane" styleClass="edge-to-edge" hbarPolicy="NEVER" hmax="0.0" prefHeight="1789.0" prefWidth="762.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="90.0">
                        <TilePane fx:id="products_tilePane" prefColumns="2" prefHeight="1789.0" prefTileHeight="337.0" prefTileWidth="377.0" prefWidth="762.0"/>
                    </TouchScrollPane>
                </AnchorPane>
            </HBox>
        </top>
        <bottom>
            <VBox fx:id="bottomAnchorPane" prefHeight="0.0" maxHeight="470.0" alignment="BOTTOM_CENTER"> <!-- AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" -->
                <TouchScrollPane fx:id="bottomScrollPane" styleClass="edge-to-edge" hbarPolicy="NEVER" hmax="0.0" maxHeight="470.0"><!-- AnchorPane.bottomAnchor="135.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" -->
                    <VBox fx:id="orderOverview_vBox" alignment="TOP_CENTER" prefWidth="1080.0" maxHeight="470.0"/>
                </TouchScrollPane>
                <AnchorPane prefHeight="125.0">
                    <CancelButton fx:id="cancelOrder_button" mnemonicParsing="false" onAction="#activeCancelOrder_button" prefHeight="100.0" prefWidth="450.0" AnchorPane.topAnchor="10.0" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="25.0"/>
                    <ConfirmButton fx:id="finishOrder_button" mnemonicParsing="false" onAction="#activeFinishOrder_button" prefHeight="100.0" prefWidth="450.0" AnchorPane.topAnchor="10.0" AnchorPane.bottomAnchor="10.0" AnchorPane.rightAnchor="25.0"/>
                </AnchorPane>
            </VBox>
        </bottom>
    </BorderPane>
    <AnchorPane fx:id="welcomeMainAnchorPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="1920.0" prefWidth="1080.0">
        <Label fx:id="welcomeMainTitle" alignment="CENTER" contentDisplay="CENTER" layoutX="481.0" layoutY="56.0" prefHeight="100.0" prefWidth="1080.0" textAlignment="CENTER" wrapText="true" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="35.0" />
        <ImageView fx:id="welcomeLogoImageView" fitHeight="480.0" fitWidth="1060.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="150.0" />
        <Label fx:id="welcomeLogoTitle" alignment="CENTER" contentDisplay="CENTER" AnchorPane.topAnchor="610.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"/>
        <AnchorPane fx:id="welcomeOrderTypeAnchorPane" prefHeight="400.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="800.0">
            <Label fx:id="welcomeOrderTypeTitle" alignment="CENTER" contentDisplay="CENTER" prefHeight="100.0" prefWidth="1080.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
            <FlowPane fx:id="welcomeOrderTypeFlowPane" alignment="CENTER" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="100.0">
                <Button fx:id="welcomeHereButton" mnemonicParsing="false" onAction="#welcomeHereButtonAction" />
                <Button fx:id="welcomeTakeAwayButton" mnemonicParsing="false" onAction="#welcomeTakeAwayButtonAction" />
            </FlowPane>
        </AnchorPane>
        <AnchorPane fx:id="welcomeLanguageAnchorPane" prefHeight="500.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
            <Label fx:id="welcomeLanguageTitle" alignment="CENTER" contentDisplay="CENTER" prefHeight="100.0" prefWidth="1080.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
            <FlowPane fx:id="welcomeLanguageFlowPane" alignment="CENTER" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="100.0">
            </FlowPane>
        </AnchorPane>
    </AnchorPane>
    <AnchorPane fx:id="screensaverAnchorPane" visible="false" mouseTransparent="true" prefHeight="1920.0" prefWidth="1080.0" xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml">

        <ImageView fx:id="imageView1" fitWidth="1080.0" fitHeight="1720.0" AnchorPane.topAnchor="0.0" />
        <ImageView fx:id="imageView2" fitWidth="1080.0" fitHeight="1720.0" AnchorPane.topAnchor="0.0" />
        <MediaView fx:id="mediaView" fitWidth="1080.0" fitHeight="1720.0" AnchorPane.topAnchor="0.0" />

        <Button fx:id="goToWelcomePageButton" AnchorPane.bottomAnchor="0.0" />
    </AnchorPane>
</StackPane>

