diff --git a/src/main/resources/Images/add_expense.png b/src/main/resources/Images/add_expense.png new file mode 100644 index 0000000000000000000000000000000000000000..0c0773f42c667ed370652c4b5e75cb993a0bf2cf Binary files /dev/null and b/src/main/resources/Images/add_expense.png differ diff --git a/src/main/resources/Images/monthly_budget_overview.fxml b/src/main/resources/Images/monthly_budget_overview.fxml new file mode 100644 index 0000000000000000000000000000000000000000..edf79ef2993e2d3d1ee0e2ece9bd551130c34f54 --- /dev/null +++ b/src/main/resources/Images/monthly_budget_overview.fxml @@ -0,0 +1,135 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<?import javafx.geometry.Insets?> +<?import javafx.scene.Cursor?> +<?import javafx.scene.control.Button?> +<?import javafx.scene.control.DatePicker?> +<?import javafx.scene.control.Label?> +<?import javafx.scene.control.ProgressBar?> +<?import javafx.scene.image.Image?> +<?import javafx.scene.image.ImageView?> +<?import javafx.scene.layout.AnchorPane?> +<?import javafx.scene.layout.BorderPane?> +<?import javafx.scene.layout.ColumnConstraints?> +<?import javafx.scene.layout.GridPane?> +<?import javafx.scene.layout.HBox?> +<?import javafx.scene.layout.Region?> +<?import javafx.scene.layout.RowConstraints?> +<?import javafx.scene.text.Font?> +<?import javafx.scene.text.Text?> + + +<AnchorPane xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1"> + <children> + <ImageView fitHeight="400.0" fitWidth="600.0" pickOnBounds="true"> + <cursor> + <Cursor fx:constant="DEFAULT" /> + </cursor> + </ImageView> + <BorderPane prefHeight="400.0" prefWidth="600.0" AnchorPane.topAnchor="0.0"> + <center> + <GridPane gridLinesVisible="true" BorderPane.alignment="CENTER"> + <columnConstraints> + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> + </columnConstraints> + <rowConstraints> + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> + </rowConstraints> + <children> + <HBox prefHeight="68.0" prefWidth="574.0" GridPane.columnSpan="2"> + <children> + <Region prefHeight="108.0" prefWidth="270.0" /> + <Label text="Label" /> + <Region prefHeight="108.0" prefWidth="100.0" /> + <DatePicker /> + </children> + </HBox> + <AnchorPane GridPane.columnSpan="2" GridPane.rowIndex="1"> + <children> + <ProgressBar layoutX="9.0" layoutY="41.0" prefHeight="18.0" prefWidth="554.0" progress="0.37" /> + </children> + </AnchorPane> + <HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0" spacing="50.0" GridPane.columnSpan="2" GridPane.rowIndex="2"> + <children> + <Button contentDisplay="TOP" mnemonicParsing="false" prefHeight="125.0" prefWidth="125.0" text="Food"> + <graphic> + <ImageView fitHeight="63.0" fitWidth="87.0" pickOnBounds="true"> + <cursor> + <Cursor fx:constant="DEFAULT" /> + </cursor> + <image> + <Image url="@pizzaslice.png" /> + </image> + </ImageView> + </graphic> + </Button> + <Button contentDisplay="TOP" mnemonicParsing="false" prefHeight="125.0" prefWidth="125.0" text="Add expense"> + <graphic> + <ImageView fitHeight="79.0" fitWidth="87.0" pickOnBounds="true"> + <cursor> + <Cursor fx:constant="DEFAULT" /> + </cursor> + <image> + <Image url="@add_expense.png" /> + </image> + </ImageView> + </graphic> + </Button> + <Button contentDisplay="TOP" mnemonicParsing="false" prefHeight="125.0" prefWidth="125.0" text="Overview"> + <graphic> + <ImageView fitHeight="63.0" fitWidth="87.0" pickOnBounds="true"> + <cursor> + <Cursor fx:constant="DEFAULT" /> + </cursor> + <image> + <Image url="@overview_stonks.png" /> + </image> + </ImageView> + </graphic> + </Button> + </children> + </HBox> + </children> + </GridPane> + </center> + <bottom> + <Region prefHeight="8.0" prefWidth="600.0" BorderPane.alignment="CENTER" /> + </bottom> + <left> + <Region prefHeight="287.0" prefWidth="14.0" BorderPane.alignment="CENTER" /> + </left> + <right> + <Region prefHeight="287.0" prefWidth="12.0" BorderPane.alignment="CENTER" /> + </right> + <top> + <HBox BorderPane.alignment="CENTER"> + <children> + <Button mnemonicParsing="false" onAction="#switchIncome" text="Return "> + <opaqueInsets> + <Insets left="100.0" /> + </opaqueInsets> + <HBox.margin> + <Insets left="10.0" top="10.0" /> + </HBox.margin> + </Button> + <Region prefHeight="70.0" prefWidth="103.0" /> + <Text strokeType="OUTSIDE" strokeWidth="0.0" text="BUDGET FEBRUARY" textAlignment="CENTER"> + <HBox.margin> + <Insets /> + </HBox.margin> + <font> + <Font size="30.0" /> + </font> + </Text> + </children> + <opaqueInsets> + <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> + </opaqueInsets> + </HBox> + </top> + </BorderPane> + </children> +</AnchorPane> diff --git a/src/main/resources/Images/overview_stonks.png b/src/main/resources/Images/overview_stonks.png new file mode 100644 index 0000000000000000000000000000000000000000..b9cbdc6e52faf7102423b713a3e72152375f5f59 Binary files /dev/null and b/src/main/resources/Images/overview_stonks.png differ diff --git a/src/main/resources/Images/pizzaslice.png b/src/main/resources/Images/pizzaslice.png new file mode 100644 index 0000000000000000000000000000000000000000..6ab7c2818c2abe9a91e263d18c57b19ed7c66101 Binary files /dev/null and b/src/main/resources/Images/pizzaslice.png differ