| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?import javafx.geometry.Insets?>
- <?import javafx.scene.control.ScrollPane?>
- <?import javafx.scene.image.Image?>
- <?import javafx.scene.image.ImageView?>
- <?import javafx.scene.layout.ColumnConstraints?>
- <?import javafx.scene.layout.GridPane?>
- <?import javafx.scene.layout.RowConstraints?>
- <?import javafx.scene.layout.VBox?>
- <?import javafx.scene.text.TextFlow?>
- <?import javafx.scene.layout.StackPane?>
- <?import javafx.scene.shape.Rectangle?>
- <?import javafx.scene.control.Button?>
- <GridPane xmlns="http://javafx.com/javafx/25" xmlns:fx="http://javafx.com/fxml/1"
- fx:controller="eu.oschl.gui.GameController">
- <columnConstraints>
- <ColumnConstraints hgrow="ALWAYS"/>
- </columnConstraints>
- <rowConstraints>
- <RowConstraints minHeight="10.0" percentHeight="75.0" vgrow="ALWAYS"/>
- <RowConstraints minHeight="10.0" percentHeight="25.0" vgrow="ALWAYS"/>
- </rowConstraints>
- <GridPane>
- <columnConstraints>
- <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" percentWidth="75.0"/>
- <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" percentWidth="25.0"/>
- </columnConstraints>
- <rowConstraints>
- <RowConstraints minHeight="10.0" vgrow="SOMETIMES"/>
- </rowConstraints>
- <ScrollPane fitToWidth="true" hbarPolicy="NEVER">
- <TextFlow fx:id="output">
- <padding>
- <Insets bottom="10.0" left="10.0" right="10.0" top="10.0"/>
- </padding>
- </TextFlow>
- </ScrollPane>
- <GridPane GridPane.columnIndex="1">
- <columnConstraints>
- <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/>
- </columnConstraints>
- <rowConstraints>
- <RowConstraints minHeight="10.0" percentHeight="50.0" prefHeight="30.0" vgrow="SOMETIMES"/>
- <RowConstraints minHeight="10.0" percentHeight="50.0" prefHeight="30.0" vgrow="SOMETIMES"/>
- </rowConstraints>
- <StackPane GridPane.columnIndex="0" GridPane.rowIndex="0"
- GridPane.hgrow="ALWAYS" GridPane.vgrow="ALWAYS"
- GridPane.fillWidth="true" GridPane.fillHeight="true"
- fx:id="cell"
- minWidth="0" minHeight="0"
- maxWidth="Infinity" maxHeight="Infinity">
- <clip>
- <Rectangle width="${cell.width}" height="${cell.height}"/>
- </clip>
- <ImageView fx:id="mapContainer" preserveRatio="true" fitWidth="${cell.width}">
- <Image url="@images/map/royal_well.png"/>
- </ImageView>
- </StackPane>
- <ScrollPane fitToWidth="true" fitToHeight="true" GridPane.rowIndex="1">
- <VBox fx:id="inventoryContainer" spacing="5.0" alignment="BOTTOM_CENTER">
- <padding>
- <Insets bottom="10.0" left="10.0" right="10.0" top="10.0"/>
- </padding>
- </VBox>
- </ScrollPane>
- </GridPane>
- </GridPane>
- <ScrollPane fitToWidth="true" GridPane.rowIndex="1">
- <VBox fx:id="inputButtonContainer" spacing="5.0">
- <padding>
- <Insets bottom="10.0" left="10.0" right="10.0" top="10.0"/>
- </padding>
- </VBox>
- </ScrollPane>
- </GridPane>
|