-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A few new features and especially: a new design!
- Loading branch information
KingOfDog
committed
Jul 29, 2016
1 parent
4a921d7
commit 140b420
Showing
58 changed files
with
983 additions
and
352 deletions.
There are no files selected for viewing
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,88 +1,76 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import java.lang.*?> | ||
<?import java.util.*?> | ||
<?import com.jfoenix.controls.*?> | ||
<?import javafx.geometry.*?> | ||
<?import javafx.scene.control.*?> | ||
<?import java.lang.*?> | ||
<?import javafx.scene.layout.*?> | ||
<?import javafx.scene.paint.*?> | ||
<?import javafx.scene.text.*?> | ||
|
||
<StackPane prefHeight="506.0" prefWidth="785.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="main.FXMLDocumentController"> | ||
<StackPane fx:id="container" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="500.0" prefWidth="750.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"> | ||
<children> | ||
<Button mnemonicParsing="false" onAction="#backHome" text="%back" StackPane.alignment="TOP_LEFT"> | ||
<tooltip> | ||
<Tooltip text="%back_hover" /> | ||
</tooltip> | ||
<StackPane.margin> | ||
<Insets left="25.0" top="20.0" /> | ||
</StackPane.margin> | ||
</Button> | ||
<Label id="labelTitle" alignment="BOTTOM_CENTER" contentDisplay="CENTER" mouseTransparent="true" prefWidth="600.0" text="%settings" textAlignment="CENTER" StackPane.alignment="TOP_CENTER"> | ||
<font> | ||
<Font size="20.0" /> | ||
</font> | ||
<Label alignment="CENTER" mouseTransparent="true" prefHeight="34.0" prefWidth="227.0" styleClass="title" text="%settings" StackPane.alignment="TOP_CENTER"> | ||
<StackPane.margin> | ||
<Insets top="20.0" /> | ||
<Insets top="15.0" /> | ||
</StackPane.margin> | ||
</Label> | ||
<StackPane StackPane.alignment="CENTER"> | ||
</Label> | ||
<StackPane prefHeight="150.0" prefWidth="200.0"> | ||
<children> | ||
<StackPane> | ||
<StackPane maxHeight="-Infinity" maxWidth="1.7976931348623157E308" prefHeight="40.0" prefWidth="200.0" translateX="-50.0" translateY="-150.0"> | ||
<children> | ||
<JFXCheckBox fx:id="addition" text="%addition" translateX="-224.0" /> | ||
<JFXTextField fx:id="addMin" labelFloat="true" maxWidth="-Infinity" prefWidth="250.0" promptText="%addition_min" translateX="-25.0" /> | ||
<JFXTextField fx:id="addMax" labelFloat="true" maxWidth="-Infinity" prefWidth="250.0" promptText="%addition_max" translateX="225.0" /> | ||
</children> | ||
</StackPane> | ||
<StackPane maxHeight="-Infinity" maxWidth="1.7976931348623157E308" prefHeight="40.0" prefWidth="200.0" translateX="-50.0" translateY="-110.0"> | ||
<children> | ||
<CheckBox fx:id="addition" alignment="CENTER_LEFT" indeterminate="false" mnemonicParsing="false" onAction="#newDifficulty" prefHeight="27.0" prefWidth="128.0" selected="true" text="%addition" translateX="-170.0" StackPane.alignment="TOP_CENTER" /> | ||
<TextField fx:id="addMin" maxWidth="-Infinity" onAction="#newDifficulty" prefWidth="200.0" promptText="%addition_min" StackPane.alignment="TOP_CENTER"> | ||
<StackPane.margin> | ||
<Insets /> | ||
</StackPane.margin> | ||
</TextField> | ||
<TextField fx:id="addMax" maxWidth="-Infinity" onAction="#newDifficulty" prefWidth="200.0" promptText="%addition_max" translateX="210.0" StackPane.alignment="TOP_CENTER" /> | ||
<JFXCheckBox fx:id="subtraction" text="%subtraction" translateX="-215.0" /> | ||
<JFXTextField fx:id="subMin" labelFloat="true" maxWidth="-Infinity" prefWidth="250.0" promptText="%subtraction_min" translateX="-25.0" /> | ||
<JFXTextField fx:id="subMax" labelFloat="true" maxWidth="-Infinity" prefWidth="250.0" promptText="%subtraction_max" translateX="225.0" /> | ||
</children> | ||
</StackPane> | ||
<StackPane translateY="35.0" StackPane.alignment="TOP_CENTER"> | ||
<StackPane maxHeight="-Infinity" maxWidth="1.7976931348623157E308" prefHeight="40.0" prefWidth="200.0" translateX="-50.0" translateY="-70.0"> | ||
<children> | ||
<CheckBox fx:id="subtraktion" alignment="CENTER_LEFT" indeterminate="false" mnemonicParsing="false" onAction="#newDifficulty" prefHeight="27.0" prefWidth="128.0" selected="true" text="%subtraction" translateX="-170.0" StackPane.alignment="TOP_CENTER" /> | ||
<TextField fx:id="subMin" maxWidth="-Infinity" onAction="#newDifficulty" prefWidth="200.0" promptText="%subtraction_min" StackPane.alignment="TOP_CENTER" /> | ||
<TextField fx:id="subMax" maxWidth="-Infinity" onAction="#newDifficulty" prefWidth="200.0" promptText="%subtraction_max" translateX="210.0" StackPane.alignment="TOP_CENTER" /> | ||
<JFXCheckBox fx:id="multiplication" text="%multiplication" translateX="-210.0" /> | ||
<JFXTextField fx:id="mulMin" labelFloat="true" maxWidth="-Infinity" prefWidth="250.0" promptText="%multiplication_min" translateX="-25.0" /> | ||
<JFXTextField fx:id="mulMax" labelFloat="true" maxWidth="-Infinity" prefWidth="250.0" promptText="%multiplication_max" translateX="225.0" /> | ||
</children> | ||
</StackPane> | ||
<StackPane translateY="70.0" StackPane.alignment="TOP_CENTER"> | ||
<StackPane maxHeight="-Infinity" maxWidth="1.7976931348623157E308" prefHeight="40.0" prefWidth="200.0" translateX="-50.0" translateY="-30.0"> | ||
<children> | ||
<CheckBox fx:id="multiplikation" alignment="CENTER_LEFT" indeterminate="false" mnemonicParsing="false" onAction="#newDifficulty" prefHeight="27.0" prefWidth="128.0" selected="true" text="%multiplication" translateX="-170.0" StackPane.alignment="TOP_CENTER" /> | ||
<TextField fx:id="mulMin" maxWidth="-Infinity" onAction="#newDifficulty" prefWidth="200.0" promptText="%multiplication_min" StackPane.alignment="TOP_CENTER" /> | ||
<TextField fx:id="mulMax" maxWidth="-Infinity" onAction="#newDifficulty" prefWidth="200.0" promptText="%multiplication_max" translateX="210.0" StackPane.alignment="TOP_CENTER" /> | ||
<JFXCheckBox fx:id="division" text="%division" translateX="-225.0" /> | ||
<JFXTextField fx:id="divMin" labelFloat="true" maxWidth="-Infinity" prefWidth="250.0" promptText="%division_min" translateX="-25.0" /> | ||
<JFXTextField fx:id="divMax" labelFloat="true" maxWidth="-Infinity" prefWidth="250.0" promptText="%division_max" translateX="225.0" /> | ||
</children> | ||
</StackPane> | ||
<StackPane translateY="105.0" StackPane.alignment="TOP_CENTER"> | ||
<StackPane maxHeight="-Infinity" maxWidth="1.7976931348623157E308" prefHeight="40.0" prefWidth="200.0" translateX="-50.0" translateY="10.0"> | ||
<children> | ||
<CheckBox fx:id="division" alignment="CENTER_LEFT" indeterminate="false" mnemonicParsing="false" onAction="#newDifficulty" prefHeight="27.0" prefWidth="128.0" selected="true" text="%division" translateX="-170.0" StackPane.alignment="TOP_CENTER" /> | ||
<TextField fx:id="divMin" maxWidth="-Infinity" onAction="#newDifficulty" prefWidth="200.0" promptText="%division_min" StackPane.alignment="TOP_CENTER" /> | ||
<TextField fx:id="divMax" maxWidth="-Infinity" onAction="#newDifficulty" prefWidth="200.0" promptText="%division_max" translateX="210.0" StackPane.alignment="TOP_CENTER" /> | ||
<JFXCheckBox fx:id="subNeg" prefHeight="15.0" prefWidth="317.0" text="%sub_neg" translateX="-111.0" /> | ||
<JFXCheckBox fx:id="divComma" prefHeight="15.0" prefWidth="374.0" text="%div_comma" translateX="150.0" /> | ||
</children> | ||
</StackPane> | ||
<StackPane translateY="140.0" StackPane.alignment="TOP_CENTER"> | ||
<StackPane maxHeight="-Infinity" maxWidth="1.7976931348623157E308" prefHeight="40.0" prefWidth="200.0" translateY="50.0"> | ||
<children> | ||
<CheckBox fx:id="subNeg" mnemonicParsing="false" onAction="#newDifficulty" prefHeight="27.0" prefWidth="200.0" selected="true" text="%sub_neg" translateX="-134.0" StackPane.alignment="TOP_CENTER" /> | ||
<CheckBox fx:id="divComma" mnemonicParsing="false" onAction="#newDifficulty" prefHeight="27.0" prefWidth="280.0" text="%div_comma" translateX="110.0" StackPane.alignment="TOP_CENTER" /> | ||
<Label text="%language" translateX="-250.0" /> | ||
<JFXComboBox fx:id="language" promptText="%language" translateX="-170.0" /> | ||
</children> | ||
</StackPane> | ||
<Label prefHeight="29.0" prefWidth="154.0" styleClass="label-light" text="%difficulty" translateX="-235.0" StackPane.alignment="BOTTOM_CENTER"> | ||
<StackPane.margin> | ||
<Insets bottom="100.0" /> | ||
</StackPane.margin> | ||
</Label> | ||
<Label fx:id="difficulty" prefHeight="29.0" prefWidth="105.0" styleClass="label-light" translateX="-100.0" StackPane.alignment="BOTTOM_CENTER"> | ||
<StackPane.margin> | ||
<Insets bottom="100.0" /> | ||
</StackPane.margin> | ||
</Label> | ||
<JFXButton fx:id="save" styleClass="btn-blue" text="%save" StackPane.alignment="BOTTOM_CENTER"> | ||
<StackPane.margin> | ||
<Insets bottom="100.0" /> | ||
</StackPane.margin> | ||
</JFXButton> | ||
</children> | ||
<StackPane.margin> | ||
<Insets top="125.0" /> | ||
</StackPane.margin> | ||
</StackPane> | ||
<Label text="%language" translateX="-100.0" translateY="75.0" /> | ||
<ChoiceBox fx:id="language" prefWidth="150.0" translateY="75.0" /> | ||
<Label text="%difficulty" translateX="-200.0" translateY="150.0"> | ||
<font> | ||
<Font size="16.0" /> | ||
</font> | ||
</Label> | ||
<Label fx:id="difficulty" prefWidth="75.0" translateX="-90.0" translateY="150.0"> | ||
<font> | ||
<Font size="16.0" /> | ||
</font> | ||
</Label> | ||
<Button defaultButton="true" mnemonicParsing="false" onAction="#saveSettings" text="%save" translateY="150.0" StackPane.alignment="CENTER" /> | ||
</children> | ||
</StackPane> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import java.lang.*?> | ||
<?import java.util.*?> | ||
<?import javafx.geometry.*?> | ||
<?import javafx.scene.control.*?> | ||
<?import javafx.scene.layout.*?> | ||
<?import javafx.scene.paint.*?> | ||
<?import javafx.scene.text.*?> | ||
|
||
<StackPane fx:id="container" prefHeight="506.0" prefWidth="785.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="main.FXMLDocumentController"> | ||
<children> | ||
<Button fx:id="backhome" mnemonicParsing="false" onAction="#backHome" text="%back" StackPane.alignment="TOP_LEFT"> | ||
<tooltip> | ||
<Tooltip text="%back_hover" /> | ||
</tooltip> | ||
<StackPane.margin> | ||
<Insets left="25.0" top="20.0" /> | ||
</StackPane.margin> | ||
</Button> | ||
<Label id="labelTitle" alignment="BOTTOM_CENTER" contentDisplay="CENTER" mouseTransparent="true" prefWidth="600.0" text="%settings" textAlignment="CENTER" StackPane.alignment="TOP_CENTER"> | ||
<font> | ||
<Font size="20.0" /> | ||
</font> | ||
<StackPane.margin> | ||
<Insets top="20.0" /> | ||
</StackPane.margin> | ||
</Label> | ||
<StackPane StackPane.alignment="CENTER"> | ||
<children> | ||
<StackPane> | ||
<children> | ||
<CheckBox fx:id="addition" alignment="CENTER_LEFT" indeterminate="false" mnemonicParsing="false" onAction="#newDifficulty" prefHeight="27.0" prefWidth="128.0" selected="true" text="%addition" translateX="-170.0" StackPane.alignment="TOP_CENTER" /> | ||
<TextField fx:id="addMin" maxWidth="-Infinity" onAction="#newDifficulty" prefWidth="200.0" promptText="%addition_min" StackPane.alignment="TOP_CENTER"> | ||
<StackPane.margin> | ||
<Insets /> | ||
</StackPane.margin> | ||
</TextField> | ||
<TextField fx:id="addMax" maxWidth="-Infinity" onAction="#newDifficulty" prefWidth="200.0" promptText="%addition_max" translateX="210.0" StackPane.alignment="TOP_CENTER" /> | ||
</children> | ||
</StackPane> | ||
<StackPane translateY="35.0" StackPane.alignment="TOP_CENTER"> | ||
<children> | ||
<CheckBox fx:id="subtraktion" alignment="CENTER_LEFT" indeterminate="false" mnemonicParsing="false" onAction="#newDifficulty" prefHeight="27.0" prefWidth="128.0" selected="true" text="%subtraction" translateX="-170.0" StackPane.alignment="TOP_CENTER" /> | ||
<TextField fx:id="subMin" maxWidth="-Infinity" onAction="#newDifficulty" prefWidth="200.0" promptText="%subtraction_min" StackPane.alignment="TOP_CENTER" /> | ||
<TextField fx:id="subMax" maxWidth="-Infinity" onAction="#newDifficulty" prefWidth="200.0" promptText="%subtraction_max" translateX="210.0" StackPane.alignment="TOP_CENTER" /> | ||
</children> | ||
</StackPane> | ||
<StackPane translateY="70.0" StackPane.alignment="TOP_CENTER"> | ||
<children> | ||
<CheckBox fx:id="multiplikation" alignment="CENTER_LEFT" indeterminate="false" mnemonicParsing="false" onAction="#newDifficulty" prefHeight="27.0" prefWidth="128.0" selected="true" text="%multiplication" translateX="-170.0" StackPane.alignment="TOP_CENTER" /> | ||
<TextField fx:id="mulMin" maxWidth="-Infinity" onAction="#newDifficulty" prefWidth="200.0" promptText="%multiplication_min" StackPane.alignment="TOP_CENTER" /> | ||
<TextField fx:id="mulMax" maxWidth="-Infinity" onAction="#newDifficulty" prefWidth="200.0" promptText="%multiplication_max" translateX="210.0" StackPane.alignment="TOP_CENTER" /> | ||
</children> | ||
</StackPane> | ||
<StackPane translateY="105.0" StackPane.alignment="TOP_CENTER"> | ||
<children> | ||
<CheckBox fx:id="division" alignment="CENTER_LEFT" indeterminate="false" mnemonicParsing="false" onAction="#newDifficulty" prefHeight="27.0" prefWidth="128.0" selected="true" text="%division" translateX="-170.0" StackPane.alignment="TOP_CENTER" /> | ||
<TextField fx:id="divMin" maxWidth="-Infinity" onAction="#newDifficulty" prefWidth="200.0" promptText="%division_min" StackPane.alignment="TOP_CENTER" /> | ||
<TextField fx:id="divMax" maxWidth="-Infinity" onAction="#newDifficulty" prefWidth="200.0" promptText="%division_max" translateX="210.0" StackPane.alignment="TOP_CENTER" /> | ||
</children> | ||
</StackPane> | ||
<StackPane translateY="140.0" StackPane.alignment="TOP_CENTER"> | ||
<children> | ||
<CheckBox fx:id="subNeg" mnemonicParsing="false" onAction="#newDifficulty" prefHeight="27.0" prefWidth="200.0" selected="true" text="%sub_neg" translateX="-134.0" StackPane.alignment="TOP_CENTER" /> | ||
<CheckBox fx:id="divComma" mnemonicParsing="false" onAction="#newDifficulty" prefHeight="27.0" prefWidth="280.0" text="%div_comma" translateX="110.0" StackPane.alignment="TOP_CENTER" /> | ||
</children> | ||
</StackPane> | ||
</children> | ||
<StackPane.margin> | ||
<Insets top="125.0" /> | ||
</StackPane.margin> | ||
</StackPane> | ||
<Label text="%language" translateX="-100.0" translateY="75.0" /> | ||
<ChoiceBox fx:id="language" prefWidth="150.0" translateY="75.0" /> | ||
<Label text="%difficulty" translateX="-200.0" translateY="150.0"> | ||
<font> | ||
<Font size="16.0" /> | ||
</font> | ||
</Label> | ||
<Label fx:id="difficulty" prefWidth="75.0" translateX="-90.0" translateY="150.0"> | ||
<font> | ||
<Font size="16.0" /> | ||
</font> | ||
</Label> | ||
<Button defaultButton="true" mnemonicParsing="false" onAction="#saveSettings" text="%save" translateY="150.0" StackPane.alignment="CENTER" /> | ||
</children> | ||
</StackPane> |
Oops, something went wrong.