Restructured project and cleaned code

Overall code was cleaned and the Project was restructured, more structure was added. Also changed spelling errors.
main
Kaabp 5 years ago
parent c4ea752682
commit 60506f96d6

@ -45,27 +45,27 @@
<?import javafx.scene.text.Text?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" onKeyPressed="#pressedkey" prefHeight="680.0" prefWidth="1280.0" xmlns="http://javafx.com/javafx/15.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controller.homeController">
<BorderPane id="borderpane" layoutX="162.0" layoutY="64.0" prefHeight="200.0" prefWidth="200.0" stylesheets="@home.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<BorderPane id="borderpane" layoutX="162.0" layoutY="64.0" prefHeight="200.0" prefWidth="200.0" stylesheets="@../css/home.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<top>
<BorderPane prefHeight="0.0" prefWidth="1280.0" BorderPane.alignment="CENTER">
<center>
<HBox id="men" prefHeight="25.0" prefWidth="1920.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<Label id="menubutton" onMouseClicked="#menuOpenClicked" onMouseEntered="#menuOpenEntered" stylesheets="@home.css" text="Menu" textAlignment="CENTER" textFill="WHITE" translateX="10.0">
<HBox id="men" prefHeight="25.0" prefWidth="1920.0" stylesheets="@../css/home.css" BorderPane.alignment="CENTER">
<Label id="menubutton" onMouseClicked="#menuOpenClicked" onMouseEntered="#menuOpenEntered" stylesheets="@../css/home.css" text="Menu" textAlignment="CENTER" textFill="WHITE" translateX="10.0">
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</Label>
<Label id="menubutton" onMouseClicked="#filesButtonClicked" onMouseEntered="#filesButtonEntred" stylesheets="@home.css" text="Files" textFill="WHITE" translateX="10.0">
<Label id="menubutton" onMouseClicked="#filesButtonClicked" onMouseEntered="#filesButtonEntred" stylesheets="@../css/home.css" text="Files" textFill="WHITE" translateX="10.0">
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</Label>
<Label id="menubutton" onMouseClicked="#optionButtonClicked" onMouseEntered="#optionButtonEntered" stylesheets="@home.css" text="Options" textFill="WHITE" translateX="10.0">
<Label id="menubutton" onMouseClicked="#optionButtonClicked" onMouseEntered="#optionButtonEntered" stylesheets="@../css/home.css" text="Options" textFill="WHITE" translateX="10.0">
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</Label>
<Label id="menubutton" onMouseEntered="#borderLabelEntered" prefHeight="27.0" prefWidth="18.0" stylesheets="@home.css" textFill="WHITE" translateX="10.0">
<Label id="menubutton" onMouseEntered="#borderLabelEntered" prefHeight="27.0" prefWidth="18.0" stylesheets="@../css/home.css" textFill="WHITE" translateX="10.0">
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
@ -76,9 +76,9 @@
</HBox>
</center>
<top>
<BorderPane id="topbar" fx:id="hboxmen" onMouseDragged="#dragged" onMouseEntered="#topBarEntered" onMousePressed="#pressed" prefHeight="25.0" prefWidth="1280.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<BorderPane id="topbar" fx:id="hboxmen" onMouseDragged="#dragged" onMouseEntered="#topBarEntered" onMousePressed="#pressed" prefHeight="25.0" prefWidth="1280.0" stylesheets="@../css/home.css" BorderPane.alignment="CENTER">
<right>
<HBox id="topbar" alignment="TOP_RIGHT" prefHeight="25.0" prefWidth="678.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<HBox id="topbar" alignment="TOP_RIGHT" prefHeight="25.0" prefWidth="678.0" stylesheets="@../css/home.css" BorderPane.alignment="CENTER">
<FontAwesomeIcon fill="WHITE" iconName="MINUS" onMouseClicked="#min" textAlignment="CENTER" translateY="2.0">
<HBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
@ -100,8 +100,8 @@
</HBox>
</right>
<left>
<HBox id="topbar" prefHeight="29.0" prefWidth="592.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<Label id="topbartext" stylesheets="@home.css" text="Genealogie" textFill="WHITE">
<HBox id="topbar" prefHeight="29.0" prefWidth="592.0" stylesheets="@../css/home.css" BorderPane.alignment="CENTER">
<Label id="topbartext" stylesheets="@../css/home.css" text="Genealogie" textFill="WHITE">
<padding>
<Insets bottom="5.0" left="10.0" right="5.0" top="6.0" />
</padding>
@ -114,31 +114,31 @@
</top>
<center>
<AnchorPane onMouseClicked="#bodyOnClick" onMouseEntered="#bodyMouseEntred" prefHeight="627.0" prefWidth="1135.0" BorderPane.alignment="CENTER">
<Pane id="panehome" stylesheets="@home.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<Pane id="panehome" stylesheets="@../css/home.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<Text fill="WHITE" layoutX="492.0" layoutY="316.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Dashboard und so, lol.">
<font>
<Font size="30.0" />
</font>
</Text>
<VBox id="menuslide" fx:id="menuslideV" prefHeight="622.0" prefWidth="200.0" stylesheets="@home.css" visible="false">
<Label prefHeight="20.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" />
<JFXListCell id="buttonStammbaum" fx:id="buttonStammbaum" onMouseClicked="#buttonStammbaumClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="Stammbaum" textFill="WHITE" />
<JFXListCell id="buttonPeople" fx:id="buttonPeople" onMouseClicked="#buttonPeopleClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="People" textFill="WHITE" />
<JFXListCell id="buttonPictrues" fx:id="buttonPictures" onMouseClicked="#buttonPicturesClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="Pictures" textFill="WHITE" />
<JFXListCell id="buttonResearch" fx:id="buttoResearch" onMouseClicked="#buttonResearchClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="Research " textFill="WHITE" />
<JFXListCell id="buttonMoney" fx:id="buttonMoney" onMouseClicked="#buttonMoneyClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="Money" textFill="WHITE" />
<JFXListCell id="buttonOptions" fx:id="buttonOptions" onMouseClicked="#buttonOptionsClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="Optionen" textFill="WHITE" />
<VBox id="menuslide" fx:id="menuslideV" prefHeight="622.0" prefWidth="200.0" stylesheets="@../css/home.css" visible="false">
<Label prefHeight="20.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@../css/home.css" />
<JFXListCell id="buttonStammbaum" fx:id="buttonStammbaum" onMouseClicked="#buttonStammbaumClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@../css/home.css" text="Stammbaum" textFill="WHITE" />
<JFXListCell id="buttonPeople" fx:id="buttonPeople" onMouseClicked="#buttonPeopleClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@../css/home.css" text="People" textFill="WHITE" />
<JFXListCell id="buttonPictrues" fx:id="buttonPictures" onMouseClicked="#buttonPicturesClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@../css/home.css" text="Pictures" textFill="WHITE" />
<JFXListCell id="buttonResearch" fx:id="buttoResearch" onMouseClicked="#buttonResearchClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@../css/home.css" text="Research " textFill="WHITE" />
<JFXListCell id="buttonMoney" fx:id="buttonMoney" onMouseClicked="#buttonMoneyClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@../css/home.css" text="Money" textFill="WHITE" />
<JFXListCell id="buttonOptions" fx:id="buttonOptions" onMouseClicked="#buttonOptionsClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@../css/home.css" text="Optionen" textFill="WHITE" />
</VBox>
<VBox id="filesmenu" fx:id="filesmenu" layoutX="57.0" onMouseExited="#filesOpenPaneExited" prefHeight="250.0" prefWidth="150.0" stylesheets="@home.css" visible="false" />
<VBox id="filesmenu" fx:id="filesmenu" layoutX="57.0" onMouseExited="#filesOpenPaneExited" prefHeight="250.0" prefWidth="150.0" stylesheets="@../css/home.css" visible="false" />
<BorderPane id="optionPane" fx:id="optionsmenu" layoutX="91.0" onMouseEntered="#optionPaneEntered" onMouseExited="#optionPaneExited" prefHeight="245.0" prefWidth="148.0" visible="false">
<center>
<VBox id="VboxOption0" prefHeight="250.0" prefWidth="150.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<JFXListCell id="prefreceButtonOptionsMenu" prefHeight="30.0" prefWidth="152.0" styleClass="buttonTopBarMenus" stylesheets="@home.css" text="Prefrences" />
<VBox id="VboxOption0" prefHeight="250.0" prefWidth="150.0" stylesheets="@../css/home.css" BorderPane.alignment="CENTER">
<JFXListCell id="prefreceButtonOptionsMenu" prefHeight="30.0" prefWidth="152.0" styleClass="buttonTopBarMenus" stylesheets="@../css/home.css" text="Prefrences" />
</VBox>
</center>
<bottom>
<VBox id="VboxOption1" prefHeight="30.0" prefWidth="147.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<JFXListCell id="prefreceButtonOptionsMenu" onMouseClicked="#optionsTopMenuPrefrenceButton" prefHeight="33.0" prefWidth="184.0" styleClass="buttonTopBarMenus" stylesheets="@home.css" text="Prefrences" />
<VBox id="VboxOption1" prefHeight="30.0" prefWidth="147.0" stylesheets="@../css/home.css" BorderPane.alignment="CENTER">
<JFXListCell id="prefreceButtonOptionsMenu" onMouseClicked="#optionsTopMenuPrefrenceButton" prefHeight="33.0" prefWidth="184.0" styleClass="buttonTopBarMenus" stylesheets="@../css/home.css" text="Prefrences" />
</VBox>
</bottom>
</BorderPane>

@ -12,12 +12,12 @@
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<AnchorPane prefHeight="400.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/15.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controller.prefrenceController">
<BorderPane id="backgroundBorderPane" layoutX="67.0" layoutY="54.0" prefHeight="200.0" prefWidth="200.0" styleClass="background" stylesheets="@prefrence.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<AnchorPane prefHeight="400.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/15.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controller.preferenceController">
<BorderPane id="backgroundBorderPane" layoutX="67.0" layoutY="54.0" prefHeight="200.0" prefWidth="200.0" styleClass="background" stylesheets="@../css/prefrence.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<top>
<BorderPane onMouseDragged="#dragged" onMousePressed="#pressed" prefHeight="25.0" prefWidth="600.0" styleClass="topbar" stylesheets="@prefrence.css" BorderPane.alignment="CENTER">
<BorderPane onMouseDragged="#dragged" onMousePressed="#pressed" prefHeight="25.0" prefWidth="600.0" styleClass="topbar" stylesheets="@../css/prefrence.css" BorderPane.alignment="CENTER">
<left>
<HBox id="lefttopbar" prefHeight="25.0" prefWidth="368.0" styleClass="topbar" stylesheets="@prefrence.css" BorderPane.alignment="CENTER">
<HBox id="lefttopbar" prefHeight="25.0" prefWidth="368.0" styleClass="topbar" stylesheets="@../css/prefrence.css" BorderPane.alignment="CENTER">
<opaqueInsets>
<Insets />
</opaqueInsets>
@ -29,7 +29,7 @@
</HBox>
</left>
<right>
<HBox id="lefttopbar" alignment="CENTER_RIGHT" prefHeight="25.0" prefWidth="230.0" styleClass="topbar" stylesheets="@prefrence.css" BorderPane.alignment="CENTER">
<HBox id="lefttopbar" alignment="CENTER_RIGHT" prefHeight="25.0" prefWidth="230.0" styleClass="topbar" stylesheets="@../css/prefrence.css" BorderPane.alignment="CENTER">
<opaqueInsets>
<Insets />
</opaqueInsets>
@ -46,12 +46,12 @@
<top>
<VBox prefHeight="376.0" prefWidth="800.0" BorderPane.alignment="CENTER">
<Pane prefHeight="10.0" prefWidth="800.0"/>
<Pane id="menuName1Pane" prefHeight="23.0" prefWidth="800.0" stylesheets="@prefrence.css">
<Pane id="menuName1Pane" prefHeight="23.0" prefWidth="800.0" stylesheets="@../css/prefrence.css">
<styleClass>
<String fx:value="background"/>
<String fx:value="menu"/>
</styleClass>
<Label alignment="CENTER" layoutX="354.0" layoutY="1.0" stylesheets="@prefrence.css"
<Label alignment="CENTER" layoutX="354.0" layoutY="1.0" stylesheets="@../css/prefrence.css"
text="Personalisieren" textFill="WHITE">
<font>
<Font size="14.0"/>
@ -59,32 +59,32 @@
</Label>
</Pane>
<Pane id="menu1MainPane" prefHeight="150.0" prefWidth="800.0" styleClass="background"
stylesheets="@prefrence.css">
<HBox prefHeight="150.0" prefWidth="800.0" stylesheets="@prefrence.css">
stylesheets="@../css/prefrence.css">
<HBox prefHeight="150.0" prefWidth="800.0" stylesheets="@../css/prefrence.css">
<Pane prefHeight="150.0" prefWidth="270.0" styleClass="background"
stylesheets="@prefrence.css">
stylesheets="@../css/prefrence.css">
<Label layoutX="104.0" layoutY="14.0" text="Nickname" textFill="WHITE"/>
<TextField id="nicknameField" layoutX="34.0" layoutY="32.0" prefHeight="26.0"
prefWidth="200.0" stylesheets="@prefrence.css"/>
prefWidth="200.0" stylesheets="@../css/prefrence.css"/>
<Label layoutX="84.0" layoutY="90.0" text="Vor &amp; Nachname" textFill="WHITE"/>
<TextField id="nicknameField" layoutX="34.0" layoutY="109.0" prefHeight="26.0"
prefWidth="200.0" stylesheets="@prefrence.css"/>
prefWidth="200.0" stylesheets="@../css/prefrence.css"/>
</Pane>
<Pane prefHeight="150.0" prefWidth="270.0" styleClass="background"
stylesheets="@prefrence.css">
stylesheets="@../css/prefrence.css">
<Label layoutX="114.0" layoutY="14.0" text="Design" textFill="WHITE"/>
</Pane>
<Pane prefHeight="150.0" prefWidth="270.0" styleClass="background"
stylesheets="@prefrence.css"/>
stylesheets="@../css/prefrence.css"/>
</HBox>
</Pane>
<Pane prefHeight="13.0" prefWidth="800.0"/>
<Pane id="menuName1Pane" prefHeight="23.0" prefWidth="800.0" stylesheets="@prefrence.css">
<Pane id="menuName1Pane" prefHeight="23.0" prefWidth="800.0" stylesheets="@../css/prefrence.css">
<styleClass>
<String fx:value="background"/>
<String fx:value="menu"/>
</styleClass>
<Label alignment="CENTER" layoutX="382.0" layoutY="2.0" stylesheets="@prefrence.css"
<Label alignment="CENTER" layoutX="382.0" layoutY="2.0" stylesheets="@../css/prefrence.css"
text="Other" textFill="WHITE">
<font>
<Font size="14.0"/>
@ -93,7 +93,7 @@
</Pane>
<Pane prefHeight="159.0" prefWidth="800.0">
<HBox prefHeight="162.0" prefWidth="800.0" styleClass="background"
stylesheets="@prefrence.css"/>
stylesheets="@../css/prefrence.css"/>
</Pane>
</VBox>
</top>

@ -1,16 +0,0 @@
/* css */
#button {
-fx-background-color: #0b111a;
-fx-border-color: white;
}
#button:hover {
-fx-background-color: #111928;
-fx-background-insets: 0;
}
/*style="-fx-background-color: #0b111a; -fx-border-color: white;" */
/*Senet Diving Cup 2017, B C Platform*/
#menubar {
-fx-border-color: white;
-fx-background-color: #0b111a;
}

@ -1,84 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2015, 2019, Gluon and/or its affiliates.
All rights reserved. Use is subject to license terms.
This file is available and licensed under the following license:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the distribution.
- Neither the name of Oracle Corporation nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<?import de.jensd.fx.glyphs.fontawesome.FontAwesomeIcon?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.text.Font?>
<BorderPane fx:id="bpane01" maxHeight="1080.0" maxWidth="1920.0" minHeight="-Infinity" minWidth="-Infinity" onKeyPressed="#pressedkey" prefHeight="700.0" prefWidth="1280.0" style="-fx-background-color: #252526;" xmlns="http://javafx.com/javafx/15.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controller.homeController">
<left>
<Pane id="slidemenu" fx:id="slidemenu" onMouseEntered="#onMouseHover" onMouseExited="#onMouseExited" prefHeight="700.0" prefWidth="181.0" style="-fx-background-color: #0b111a; -fx-border-color: white;" stylesheets="@home.css" BorderPane.alignment="CENTER">
<Button id="button" layoutX="1.0" mnemonicParsing="false" prefHeight="69.0" prefWidth="180.0" styleClass="slidemenubutton" stylesheets="@home.css" text="Suche" textFill="WHITE" />
<Button id="button" layoutY="69.0" mnemonicParsing="false" prefHeight="69.0" prefWidth="180.0" styleClass="slidemenubutton" stylesheets="@home.css" text="Home" textFill="WHITE" />
<Button id="button" layoutX="1.0" layoutY="136.0" mnemonicParsing="false" prefHeight="69.0" prefWidth="180.0" styleClass="slidemenubutton" stylesheets="@home.css" text="Profile" textFill="WHITE" />
<Button id="button" layoutX="1.0" layoutY="205.0" mnemonicParsing="false" prefHeight="69.0" prefWidth="180.0" styleClass="slidemenubutton" stylesheets="@home.css" text="Stammbaum" textFill="WHITE" />
<Button id="button" layoutX="1.0" layoutY="274.0" mnemonicParsing="false" prefHeight="69.0" prefWidth="180.0" styleClass="slidemenubutton" stylesheets="@home.css" text="Personen" textFill="WHITE" />
<Button id="button" layoutY="343.0" mnemonicParsing="false" prefHeight="69.0" prefWidth="180.0" styleClass="slidemenubutton" stylesheets="@home.css" text="Forschung" textFill="WHITE" />
<Button id="button" layoutY="412.0" mnemonicParsing="false" prefHeight="69.0" prefWidth="180.0" styleClass="slidemenubutton" stylesheets="@home.css" text="Geld" textFill="WHITE" />
<Button id="button" layoutX="1.0" layoutY="481.0" mnemonicParsing="false" prefHeight="69.0" prefWidth="180.0" styleClass="slidemenubutton" stylesheets="@home.css" text="Settings" textFill="WHITE" />
</Pane>
</left>
<top>
<HBox id="menubar" alignment="CENTER_RIGHT" onMouseDragged="#dragged" onMousePressed="#pressed" stylesheets="@home.css" BorderPane.alignment="CENTER">
<BorderPane.margin>
<Insets />
</BorderPane.margin>
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
<FontAwesomeIcon fill="WHITE" iconName="MINUS" onMouseClicked="#min" textAlignment="JUSTIFY">
<HBox.margin>
<Insets left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<FontAwesomeIcon fill="WHITE" iconName="CIRCLE" onMouseClicked="#max" textAlignment="JUSTIFY">
<HBox.margin>
<Insets bottom="4.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<FontAwesomeIcon fill="WHITE" iconName="CLOSE" onMouseClicked="#close">
<HBox.margin>
<Insets bottom="4.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
<font>
<Font size="14.0" />
</font>
</FontAwesomeIcon>
</HBox>
</top>
</BorderPane>

@ -158,7 +158,7 @@ public class homeController {
//Options Menu Opened Prefrence Button Clicked
public void optionsTopMenuPrefrenceButton(MouseEvent mouseEvent) throws IOException {
wOpener.newWindow("/resources/prefrence.fxml", "Prefrences", StageStyle.UNDECORATED,800, 400);
wOpener.newWindow("/resources/fxml/preference.fxml", "Prefrences", StageStyle.UNDECORATED,800, 400);
optionsmenu.setVisible(false); //Deactivates option slider
}

@ -8,7 +8,7 @@ import javafx.stage.Stage;
* @author <a href="http://lukasmartin.eu">Lukas Martin</a>
*/
public class prefrenceController {
public class preferenceController {
//Const

@ -19,7 +19,7 @@ public class Main extends Application {
@Override
public void start(Stage primaryStage) { //Start function
try { //Try (check for runtime errors)
Parent root = FXMLLoader.load(getClass().getResource("/resources/home.fxml")); //Gets the start FXML
Parent root = FXMLLoader.load(getClass().getResource("/resources/fxml/home.fxml")); //Gets the start FXML
primaryStage.setTitle("Genologie"); //Sets the title of the start FXML
primaryStage.initStyle(StageStyle.UNDECORATED); //Sets the style of the window to "UNDECORATED"
primaryStage.setScene(new Scene(root, 1280, 680)); //Sets the scene for the start and sets the size

@ -45,27 +45,27 @@
<?import javafx.scene.text.Text?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" onKeyPressed="#pressedkey" prefHeight="680.0" prefWidth="1280.0" xmlns="http://javafx.com/javafx/15.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controller.homeController">
<BorderPane id="borderpane" layoutX="162.0" layoutY="64.0" prefHeight="200.0" prefWidth="200.0" stylesheets="@home.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<BorderPane id="borderpane" layoutX="162.0" layoutY="64.0" prefHeight="200.0" prefWidth="200.0" stylesheets="@../css/home.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<top>
<BorderPane prefHeight="0.0" prefWidth="1280.0" BorderPane.alignment="CENTER">
<center>
<HBox id="men" prefHeight="25.0" prefWidth="1920.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<Label id="menubutton" onMouseClicked="#menuOpenClicked" onMouseEntered="#menuOpenEntered" stylesheets="@home.css" text="Menu" textAlignment="CENTER" textFill="WHITE" translateX="10.0">
<HBox id="men" prefHeight="25.0" prefWidth="1920.0" stylesheets="@../css/home.css" BorderPane.alignment="CENTER">
<Label id="menubutton" onMouseClicked="#menuOpenClicked" onMouseEntered="#menuOpenEntered" stylesheets="@../css/home.css" text="Menu" textAlignment="CENTER" textFill="WHITE" translateX="10.0">
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</Label>
<Label id="menubutton" onMouseClicked="#filesButtonClicked" onMouseEntered="#filesButtonEntred" stylesheets="@home.css" text="Files" textFill="WHITE" translateX="10.0">
<Label id="menubutton" onMouseClicked="#filesButtonClicked" onMouseEntered="#filesButtonEntred" stylesheets="@../css/home.css" text="Files" textFill="WHITE" translateX="10.0">
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</Label>
<Label id="menubutton" onMouseClicked="#optionButtonClicked" onMouseEntered="#optionButtonEntered" stylesheets="@home.css" text="Options" textFill="WHITE" translateX="10.0">
<Label id="menubutton" onMouseClicked="#optionButtonClicked" onMouseEntered="#optionButtonEntered" stylesheets="@../css/home.css" text="Options" textFill="WHITE" translateX="10.0">
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</Label>
<Label id="menubutton" onMouseEntered="#borderLabelEntered" prefHeight="27.0" prefWidth="18.0" stylesheets="@home.css" textFill="WHITE" translateX="10.0">
<Label id="menubutton" onMouseEntered="#borderLabelEntered" prefHeight="27.0" prefWidth="18.0" stylesheets="@../css/home.css" textFill="WHITE" translateX="10.0">
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
@ -76,9 +76,9 @@
</HBox>
</center>
<top>
<BorderPane id="topbar" fx:id="hboxmen" onMouseDragged="#dragged" onMouseEntered="#topBarEntered" onMousePressed="#pressed" prefHeight="25.0" prefWidth="1280.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<BorderPane id="topbar" fx:id="hboxmen" onMouseDragged="#dragged" onMouseEntered="#topBarEntered" onMousePressed="#pressed" prefHeight="25.0" prefWidth="1280.0" stylesheets="@../css/home.css" BorderPane.alignment="CENTER">
<right>
<HBox id="topbar" alignment="TOP_RIGHT" prefHeight="25.0" prefWidth="678.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<HBox id="topbar" alignment="TOP_RIGHT" prefHeight="25.0" prefWidth="678.0" stylesheets="@../css/home.css" BorderPane.alignment="CENTER">
<FontAwesomeIcon fill="WHITE" iconName="MINUS" onMouseClicked="#min" textAlignment="CENTER" translateY="2.0">
<HBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
@ -100,8 +100,8 @@
</HBox>
</right>
<left>
<HBox id="topbar" prefHeight="29.0" prefWidth="592.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<Label id="topbartext" stylesheets="@home.css" text="Genealogie" textFill="WHITE">
<HBox id="topbar" prefHeight="29.0" prefWidth="592.0" stylesheets="@../css/home.css" BorderPane.alignment="CENTER">
<Label id="topbartext" stylesheets="@../css/home.css" text="Genealogie" textFill="WHITE">
<padding>
<Insets bottom="5.0" left="10.0" right="5.0" top="6.0" />
</padding>
@ -114,31 +114,31 @@
</top>
<center>
<AnchorPane onMouseClicked="#bodyOnClick" onMouseEntered="#bodyMouseEntred" prefHeight="627.0" prefWidth="1135.0" BorderPane.alignment="CENTER">
<Pane id="panehome" stylesheets="@home.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<Pane id="panehome" stylesheets="@../css/home.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<Text fill="WHITE" layoutX="492.0" layoutY="316.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Dashboard und so, lol.">
<font>
<Font size="30.0" />
</font>
</Text>
<VBox id="menuslide" fx:id="menuslideV" prefHeight="622.0" prefWidth="200.0" stylesheets="@home.css" visible="false">
<Label prefHeight="20.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" />
<JFXListCell id="buttonStammbaum" fx:id="buttonStammbaum" onMouseClicked="#buttonStammbaumClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="Stammbaum" textFill="WHITE" />
<JFXListCell id="buttonPeople" fx:id="buttonPeople" onMouseClicked="#buttonPeopleClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="People" textFill="WHITE" />
<JFXListCell id="buttonPictrues" fx:id="buttonPictures" onMouseClicked="#buttonPicturesClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="Pictures" textFill="WHITE" />
<JFXListCell id="buttonResearch" fx:id="buttoResearch" onMouseClicked="#buttonResearchClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="Research " textFill="WHITE" />
<JFXListCell id="buttonMoney" fx:id="buttonMoney" onMouseClicked="#buttonMoneyClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="Money" textFill="WHITE" />
<JFXListCell id="buttonOptions" fx:id="buttonOptions" onMouseClicked="#buttonOptionsClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@home.css" text="Optionen" textFill="WHITE" />
<VBox id="menuslide" fx:id="menuslideV" prefHeight="622.0" prefWidth="200.0" stylesheets="@../css/home.css" visible="false">
<Label prefHeight="20.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@../css/home.css" />
<JFXListCell id="buttonStammbaum" fx:id="buttonStammbaum" onMouseClicked="#buttonStammbaumClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@../css/home.css" text="Stammbaum" textFill="WHITE" />
<JFXListCell id="buttonPeople" fx:id="buttonPeople" onMouseClicked="#buttonPeopleClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@../css/home.css" text="People" textFill="WHITE" />
<JFXListCell id="buttonPictrues" fx:id="buttonPictures" onMouseClicked="#buttonPicturesClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@../css/home.css" text="Pictures" textFill="WHITE" />
<JFXListCell id="buttonResearch" fx:id="buttoResearch" onMouseClicked="#buttonResearchClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@../css/home.css" text="Research " textFill="WHITE" />
<JFXListCell id="buttonMoney" fx:id="buttonMoney" onMouseClicked="#buttonMoneyClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@../css/home.css" text="Money" textFill="WHITE" />
<JFXListCell id="buttonOptions" fx:id="buttonOptions" onMouseClicked="#buttonOptionsClicked" prefHeight="40.0" prefWidth="198.0" styleClass="buttonMenu" stylesheets="@../css/home.css" text="Optionen" textFill="WHITE" />
</VBox>
<VBox id="filesmenu" fx:id="filesmenu" layoutX="57.0" onMouseExited="#filesOpenPaneExited" prefHeight="250.0" prefWidth="150.0" stylesheets="@home.css" visible="false" />
<VBox id="filesmenu" fx:id="filesmenu" layoutX="57.0" onMouseExited="#filesOpenPaneExited" prefHeight="250.0" prefWidth="150.0" stylesheets="@../css/home.css" visible="false" />
<BorderPane id="optionPane" fx:id="optionsmenu" layoutX="91.0" onMouseEntered="#optionPaneEntered" onMouseExited="#optionPaneExited" prefHeight="245.0" prefWidth="148.0" visible="false">
<center>
<VBox id="VboxOption0" prefHeight="250.0" prefWidth="150.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<JFXListCell id="prefreceButtonOptionsMenu" prefHeight="30.0" prefWidth="152.0" styleClass="buttonTopBarMenus" stylesheets="@home.css" text="Prefrences" />
<VBox id="VboxOption0" prefHeight="250.0" prefWidth="150.0" stylesheets="@../css/home.css" BorderPane.alignment="CENTER">
<JFXListCell id="prefreceButtonOptionsMenu" prefHeight="30.0" prefWidth="152.0" styleClass="buttonTopBarMenus" stylesheets="@../css/home.css" text="Preferences" />
</VBox>
</center>
<bottom>
<VBox id="VboxOption1" prefHeight="30.0" prefWidth="147.0" stylesheets="@home.css" BorderPane.alignment="CENTER">
<JFXListCell id="prefreceButtonOptionsMenu" onMouseClicked="#optionsTopMenuPrefrenceButton" prefHeight="33.0" prefWidth="184.0" styleClass="buttonTopBarMenus" stylesheets="@home.css" text="Prefrences" />
<VBox id="VboxOption1" prefHeight="30.0" prefWidth="147.0" stylesheets="@../css/home.css" BorderPane.alignment="CENTER">
<JFXListCell id="prefreceButtonOptionsMenu" onMouseClicked="#optionsTopMenuPrefrenceButton" prefHeight="33.0" prefWidth="184.0" styleClass="buttonTopBarMenus" stylesheets="@../css/home.css" text="Prefrences" />
</VBox>
</bottom>
</BorderPane>

@ -12,16 +12,16 @@
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<AnchorPane prefHeight="400.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/15.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controller.prefrenceController">
<BorderPane id="backgroundBorderPane" layoutX="67.0" layoutY="54.0" prefHeight="200.0" prefWidth="200.0" styleClass="background" stylesheets="@prefrence.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<AnchorPane prefHeight="400.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/15.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controller.preferenceController">
<BorderPane id="backgroundBorderPane" layoutX="67.0" layoutY="54.0" prefHeight="200.0" prefWidth="200.0" styleClass="background" stylesheets="@../css/prefrence.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<top>
<BorderPane onMouseDragged="#dragged" onMousePressed="#pressed" prefHeight="25.0" prefWidth="600.0" styleClass="topbar" stylesheets="@prefrence.css" BorderPane.alignment="CENTER">
<BorderPane onMouseDragged="#dragged" onMousePressed="#pressed" prefHeight="25.0" prefWidth="600.0" styleClass="topbar" stylesheets="@../css/prefrence.css" BorderPane.alignment="CENTER">
<left>
<HBox id="lefttopbar" prefHeight="25.0" prefWidth="368.0" styleClass="topbar" stylesheets="@prefrence.css" BorderPane.alignment="CENTER">
<HBox id="lefttopbar" prefHeight="25.0" prefWidth="368.0" styleClass="topbar" stylesheets="@../css/prefrence.css" BorderPane.alignment="CENTER">
<opaqueInsets>
<Insets />
</opaqueInsets>
<Label text="Prefrences" textFill="WHITE">
<Label text="Preferences" textFill="WHITE">
<padding>
<Insets left="10.0" top="4.0" />
</padding>
@ -29,7 +29,7 @@
</HBox>
</left>
<right>
<HBox id="lefttopbar" alignment="CENTER_RIGHT" prefHeight="25.0" prefWidth="230.0" styleClass="topbar" stylesheets="@prefrence.css" BorderPane.alignment="CENTER">
<HBox id="lefttopbar" alignment="CENTER_RIGHT" prefHeight="25.0" prefWidth="230.0" styleClass="topbar" stylesheets="@../css/prefrence.css" BorderPane.alignment="CENTER">
<opaqueInsets>
<Insets />
</opaqueInsets>
@ -45,55 +45,46 @@
<BorderPane prefHeight="380.0" prefWidth="800.0" BorderPane.alignment="CENTER">
<top>
<VBox prefHeight="376.0" prefWidth="800.0" BorderPane.alignment="CENTER">
<Pane prefHeight="10.0" prefWidth="800.0"/>
<Pane id="menuName1Pane" prefHeight="23.0" prefWidth="800.0" stylesheets="@prefrence.css">
<Pane prefHeight="10.0" prefWidth="800.0" />
<Pane id="menuName1Pane" prefHeight="23.0" prefWidth="800.0" stylesheets="@../css/prefrence.css">
<styleClass>
<String fx:value="background"/>
<String fx:value="menu"/>
<String fx:value="background" />
<String fx:value="menu" />
</styleClass>
<Label alignment="CENTER" layoutX="354.0" layoutY="1.0" stylesheets="@prefrence.css"
text="Personalisieren" textFill="WHITE">
<Label alignment="CENTER" layoutX="354.0" layoutY="1.0" stylesheets="@../css/prefrence.css" text="Personalisieren" textFill="WHITE">
<font>
<Font size="14.0"/>
<Font size="14.0" />
</font>
</Label>
</Pane>
<Pane id="menu1MainPane" prefHeight="150.0" prefWidth="800.0" styleClass="background"
stylesheets="@prefrence.css">
<HBox prefHeight="150.0" prefWidth="800.0" stylesheets="@prefrence.css">
<Pane prefHeight="150.0" prefWidth="270.0" styleClass="background"
stylesheets="@prefrence.css">
<Label layoutX="104.0" layoutY="14.0" text="Nickname" textFill="WHITE"/>
<TextField id="nicknameField" layoutX="34.0" layoutY="32.0" prefHeight="26.0"
prefWidth="200.0" stylesheets="@prefrence.css"/>
<Label layoutX="84.0" layoutY="90.0" text="Vor &amp; Nachname" textFill="WHITE"/>
<TextField id="nicknameField" layoutX="34.0" layoutY="109.0" prefHeight="26.0"
prefWidth="200.0" stylesheets="@prefrence.css"/>
<Pane id="menu1MainPane" prefHeight="150.0" prefWidth="800.0" styleClass="background" stylesheets="@../css/prefrence.css">
<HBox prefHeight="150.0" prefWidth="800.0" stylesheets="@../css/prefrence.css">
<Pane prefHeight="150.0" prefWidth="270.0" styleClass="background" stylesheets="@../css/prefrence.css">
<Label layoutX="104.0" layoutY="14.0" text="Nickname" textFill="WHITE" />
<TextField id="nicknameField" layoutX="34.0" layoutY="32.0" prefHeight="26.0" prefWidth="200.0" stylesheets="@../css/prefrence.css" />
<Label layoutX="84.0" layoutY="90.0" text="Vor &amp; Nachname" textFill="WHITE" />
<TextField id="nicknameField" layoutX="34.0" layoutY="109.0" prefHeight="26.0" prefWidth="200.0" stylesheets="@../css/prefrence.css" />
</Pane>
<Pane prefHeight="150.0" prefWidth="270.0" styleClass="background"
stylesheets="@prefrence.css">
<Label layoutX="114.0" layoutY="14.0" text="Design" textFill="WHITE"/>
<Pane prefHeight="150.0" prefWidth="270.0" styleClass="background" stylesheets="@../css/prefrence.css">
<Label layoutX="114.0" layoutY="14.0" text="Design" textFill="WHITE" />
</Pane>
<Pane prefHeight="150.0" prefWidth="270.0" styleClass="background"
stylesheets="@prefrence.css"/>
<Pane prefHeight="150.0" prefWidth="270.0" styleClass="background" stylesheets="@../css/prefrence.css" />
</HBox>
</Pane>
<Pane prefHeight="13.0" prefWidth="800.0"/>
<Pane id="menuName1Pane" prefHeight="23.0" prefWidth="800.0" stylesheets="@prefrence.css">
<Pane prefHeight="13.0" prefWidth="800.0" />
<Pane id="menuName1Pane" prefHeight="23.0" prefWidth="800.0" stylesheets="@../css/prefrence.css">
<styleClass>
<String fx:value="background"/>
<String fx:value="menu"/>
<String fx:value="background" />
<String fx:value="menu" />
</styleClass>
<Label alignment="CENTER" layoutX="382.0" layoutY="2.0" stylesheets="@prefrence.css"
text="Other" textFill="WHITE">
<Label alignment="CENTER" layoutX="382.0" layoutY="2.0" stylesheets="@../css/prefrence.css" text="Other" textFill="WHITE">
<font>
<Font size="14.0"/>
<Font size="14.0" />
</font>
</Label>
</Pane>
<Pane prefHeight="159.0" prefWidth="800.0">
<HBox prefHeight="162.0" prefWidth="800.0" styleClass="background"
stylesheets="@prefrence.css"/>
<HBox prefHeight="162.0" prefWidth="800.0" styleClass="background" stylesheets="@../css/prefrence.css" />
</Pane>
</VBox>
</top>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

@ -1,16 +0,0 @@
/* css */
#button {
-fx-background-color: #0b111a;
-fx-border-color: white;
}
#button:hover {
-fx-background-color: #111928;
-fx-background-insets: 0;
}
/*style="-fx-background-color: #0b111a; -fx-border-color: white;" */
/*Senet Diving Cup 2017, B C Platform*/
#menubar {
-fx-border-color: white;
-fx-background-color: #0b111a;
}

@ -1,84 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2015, 2019, Gluon and/or its affiliates.
All rights reserved. Use is subject to license terms.
This file is available and licensed under the following license:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the distribution.
- Neither the name of Oracle Corporation nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<?import de.jensd.fx.glyphs.fontawesome.FontAwesomeIcon?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.text.Font?>
<BorderPane fx:id="bpane01" maxHeight="1080.0" maxWidth="1920.0" minHeight="-Infinity" minWidth="-Infinity" onKeyPressed="#pressedkey" prefHeight="700.0" prefWidth="1280.0" style="-fx-background-color: #252526;" xmlns="http://javafx.com/javafx/15.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controller.homeController">
<left>
<Pane id="slidemenu" fx:id="slidemenu" onMouseEntered="#onMouseHover" onMouseExited="#onMouseExited" prefHeight="700.0" prefWidth="181.0" style="-fx-background-color: #0b111a; -fx-border-color: white;" stylesheets="@home.css" BorderPane.alignment="CENTER">
<Button id="button" layoutX="1.0" mnemonicParsing="false" prefHeight="69.0" prefWidth="180.0" styleClass="slidemenubutton" stylesheets="@home.css" text="Suche" textFill="WHITE" />
<Button id="button" layoutY="69.0" mnemonicParsing="false" prefHeight="69.0" prefWidth="180.0" styleClass="slidemenubutton" stylesheets="@home.css" text="Home" textFill="WHITE" />
<Button id="button" layoutX="1.0" layoutY="136.0" mnemonicParsing="false" prefHeight="69.0" prefWidth="180.0" styleClass="slidemenubutton" stylesheets="@home.css" text="Profile" textFill="WHITE" />
<Button id="button" layoutX="1.0" layoutY="205.0" mnemonicParsing="false" prefHeight="69.0" prefWidth="180.0" styleClass="slidemenubutton" stylesheets="@home.css" text="Stammbaum" textFill="WHITE" />
<Button id="button" layoutX="1.0" layoutY="274.0" mnemonicParsing="false" prefHeight="69.0" prefWidth="180.0" styleClass="slidemenubutton" stylesheets="@home.css" text="Personen" textFill="WHITE" />
<Button id="button" layoutY="343.0" mnemonicParsing="false" prefHeight="69.0" prefWidth="180.0" styleClass="slidemenubutton" stylesheets="@home.css" text="Forschung" textFill="WHITE" />
<Button id="button" layoutY="412.0" mnemonicParsing="false" prefHeight="69.0" prefWidth="180.0" styleClass="slidemenubutton" stylesheets="@home.css" text="Geld" textFill="WHITE" />
<Button id="button" layoutX="1.0" layoutY="481.0" mnemonicParsing="false" prefHeight="69.0" prefWidth="180.0" styleClass="slidemenubutton" stylesheets="@home.css" text="Settings" textFill="WHITE" />
</Pane>
</left>
<top>
<HBox id="menubar" alignment="CENTER_RIGHT" onMouseDragged="#dragged" onMousePressed="#pressed" stylesheets="@home.css" BorderPane.alignment="CENTER">
<BorderPane.margin>
<Insets />
</BorderPane.margin>
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
<FontAwesomeIcon fill="WHITE" iconName="MINUS" onMouseClicked="#min" textAlignment="JUSTIFY">
<HBox.margin>
<Insets left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<FontAwesomeIcon fill="WHITE" iconName="CIRCLE" onMouseClicked="#max" textAlignment="JUSTIFY">
<HBox.margin>
<Insets bottom="4.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
</FontAwesomeIcon>
<FontAwesomeIcon fill="WHITE" iconName="CLOSE" onMouseClicked="#close">
<HBox.margin>
<Insets bottom="4.0" left="5.0" right="5.0" top="5.0" />
</HBox.margin>
<font>
<Font size="14.0" />
</font>
</FontAwesomeIcon>
</HBox>
</top>
</BorderPane>
Loading…
Cancel
Save