Changed Things
This commit is contained in:
parent
b00f587722
commit
0f1615d9c3
@ -30,7 +30,7 @@ public class Main extends Application {
|
||||
public static final URL mainLauncher = Main.class.getResource("../assets/layout/main.fxml"); // Launcher body
|
||||
|
||||
private double xOffset = 0, yOffset = 0; // Offsets for dragging
|
||||
private Button exit, min, Home_btn, Modpack_btn, Settings_btn, Instance_btn; // Define buttons
|
||||
private Button exit, min, Home_btn, Modpack_btn, Settings_btn, Instance_btn, Settings_General_btn, Settings_Minecraft_btn; // Define buttons
|
||||
private ImageView icon;
|
||||
private TextField Search_modpacks;
|
||||
private Image appIcon;
|
||||
@ -61,6 +61,8 @@ public class Main extends Application {
|
||||
Modpack_btn = (Button) root.lookup("#Modpacks-btn");
|
||||
Settings_btn = (Button) root.lookup("#Settings-btn");
|
||||
Instance_btn = (Button) root.lookup("#Instance-btn");
|
||||
Settings_General_btn = (Button) root.lookup("Settings-Gen-btn");
|
||||
Settings_Minecraft_btn = (Button) root.lookup("Settings-Mine-btn");
|
||||
|
||||
tab = (Pane) root.lookup("#tab");
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
package Launcher.minecraft;
|
||||
|
||||
public class Launcher {
|
||||
|
||||
|
||||
}
|
||||
|
@ -1,19 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Accordion?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.TitledPane?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
|
||||
<Pane id="pane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="450.0" prefWidth="750.0" stylesheets="@../style/nav.css" xmlns="http://javafx.com/javafx/8.0.112-ea" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Rectangle id="Modpack-back" arcHeight="5.0" arcWidth="5.0" height="47.0" strokeType="INSIDE" width="750.0" />
|
||||
<Rectangle id="Modpack-back" arcHeight="5.0" arcWidth="5.0" height="50.0" strokeType="INSIDE" width="750.0" />
|
||||
<Label layoutX="34.0" layoutY="5.0" text="Settings" textFill="WHITE">
|
||||
<font>
|
||||
<Font name="Centaur" size="31.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#0d0d39" height="40.0" layoutY="50.0" width="750.0" />
|
||||
<Button id="Settings-Gen-btn" layoutX="0.0" layoutY="50.0" mnemonicParsing="false" prefHeight="40.0" prefWidth="100.0" text="General" textFill="WHITE" />
|
||||
<Button id="Settings-Mine-btn" layoutX="100.0" layoutY="50.0" mnemonicParsing="false" prefHeight="40.0" prefWidth="100.0" text="Minecraft" textFill="WHITE">
|
||||
<font>
|
||||
<Font name="Candara" size="12.0" />
|
||||
</font></Button>
|
||||
</children>
|
||||
</Pane>
|
||||
|
||||
|
@ -13,10 +13,10 @@
|
||||
#min:hover, #exit:hover{
|
||||
-fx-background-color: #bf0000;
|
||||
}
|
||||
#Home-btn, #Modpacks-btn, #Settings-btn, #Instance-btn {
|
||||
#Home-btn, #Modpacks-btn, #Settings-btn, #Instance-btn, #Settings-Gen-btn, #Settings-Mine-btn{
|
||||
-fx-background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
#Home-btn:hover, #Modpacks-btn:hover, #Settings-btn:hover, #Instance-btn:hover {
|
||||
#Home-btn:hover, #Modpacks-btn:hover, #Settings-btn:hover, #Instance-btn:hover, #Settings-Gen-btn:hover, #Settings-Mine-btn:hover {
|
||||
-fx-background-color: #0c182d;
|
||||
-fx-background-radius: 0em;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user