Skip to content

Commit

Permalink
Version 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel committed Feb 6, 2017
1 parent 26fc9c5 commit a177229
Show file tree
Hide file tree
Showing 195 changed files with 5,803 additions and 272 deletions.
16 changes: 16 additions & 0 deletions Kopfrechen-Trainer.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="jfoenix" level="project" />
<orderEntry type="library" name="fontawesomefx-commons-8.14" level="project" />
<orderEntry type="library" name="fontawesomefx-materialicons-2.2.0-3" level="project" />
<orderEntry type="library" name="gson-2.5" level="project" />
<orderEntry type="library" name="commons-io-2.5" level="project" />
</component>
</module>
87 changes: 87 additions & 0 deletions Mental Arithmetic Trainer Math Game.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="EclipseModuleManager">
<libelement value="jar://C:/Program Files (x86)/eclipse/libs/commons-io-2.4.jar!/" />
<libelement value="jar://C:/Program Files (x86)/eclipse/libs/fontawesomefx-commons-8.12.jar!/" />
<libelement value="jar://C:/Program Files (x86)/eclipse/libs/fontawesomefx-fontawesome-4.6.3.jar!/" />
<libelement value="jar://C:/Program Files (x86)/eclipse/libs/fontawesomefx-materialicons-2.2.0.jar!/" />
<libelement value="jar://C:/Program Files (x86)/eclipse/libs/gson-2.7.jar!/" />
<libelement value="jar://C:/Program Files (x86)/eclipse/libs/jfoenix.jar!/" />
<libelement value="jar://C:/Program Files (x86)/eclipse/libs/org.apache.commons.io-2.4.jar!/" />
<src_description expected_position="0">
<src_folder value="file://$MODULE_DIR$/src" expected_position="0" />
</src_description>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/bin" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="jdk" jdkName="JavaSE-1.8" jdkType="JavaSDK" />
<orderEntry type="module-library">
<library name="commons-io-2.4.jar">
<CLASSES>
<root url="jar://C:/Program Files (x86)/eclipse/libs/commons-io-2.4.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="fontawesomefx-commons-8.12.jar">
<CLASSES>
<root url="jar://C:/Program Files (x86)/eclipse/libs/fontawesomefx-commons-8.12.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="fontawesomefx-fontawesome-4.6.3.jar">
<CLASSES>
<root url="jar://C:/Program Files (x86)/eclipse/libs/fontawesomefx-fontawesome-4.6.3.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="fontawesomefx-materialicons-2.2.0.jar">
<CLASSES>
<root url="jar://C:/Program Files (x86)/eclipse/libs/fontawesomefx-materialicons-2.2.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="gson-2.7.jar">
<CLASSES>
<root url="jar://C:/Program Files (x86)/eclipse/libs/gson-2.7.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="jfoenix.jar">
<CLASSES>
<root url="jar://C:/Program Files (x86)/eclipse/libs/jfoenix.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="org.apache.commons.io-2.4.jar">
<CLASSES>
<root url="jar://C:/Program Files (x86)/eclipse/libs/org.apache.commons.io-2.4.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
</component>
</module>
Binary file added bin/exercise/Exercise.class
Binary file not shown.
Binary file added bin/exercise/ExerciseSheet.class
Binary file not shown.
Binary file added bin/exercise/Tester.class
Binary file not shown.
Binary file added bin/exercise/calculator/AdditionCalculator.class
Binary file not shown.
Binary file added bin/exercise/calculator/Calculator.class
Binary file not shown.
Binary file added bin/exercise/calculator/DivisionCalculator.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added bin/generators/DifficultyGenerator.class
Binary file not shown.
Binary file added bin/generators/MarkGenerator.class
Binary file not shown.
Binary file added bin/handlers/FXMLHandler.class
Binary file not shown.
Binary file added bin/handlers/FileHandler.class
Binary file not shown.
Binary file added bin/handlers/SceneHandler.class
Binary file not shown.
Binary file added bin/handlers/SettingsHandler.class
Binary file not shown.
Binary file added bin/handlers/SoundHandler.class
Binary file not shown.
Binary file added bin/handlers/UpdateHandler.class
Binary file not shown.
Binary file added bin/initializers/InitMain$1.class
Binary file not shown.
Binary file added bin/initializers/InitMain$2.class
Binary file not shown.
Binary file added bin/initializers/InitMain$3.class
Binary file not shown.
Binary file added bin/initializers/InitMain.class
Binary file not shown.
Binary file added bin/initializers/InitSettings.class
Binary file not shown.
Binary file added bin/initializers/InitStats.class
Binary file not shown.
Binary file added bin/initializers/InitTester.class
Binary file not shown.
Binary file added bin/initializers/InitToolbar$1.class
Binary file not shown.
Binary file added bin/initializers/InitToolbar$2.class
Binary file not shown.
Binary file added bin/initializers/InitToolbar.class
Binary file not shown.
Binary file modified bin/main/Main.class
Binary file not shown.
Binary file added bin/properties/BooleanProperty$Serializer.class
Binary file not shown.
Binary file added bin/properties/BooleanProperty.class
Binary file not shown.
Binary file added bin/properties/IntegerProperty$Serializer.class
Binary file not shown.
Binary file added bin/properties/IntegerProperty.class
Binary file not shown.
Binary file added bin/properties/LocaleProperty$Serializer.class
Binary file not shown.
Binary file added bin/properties/LocaleProperty.class
Binary file not shown.
Binary file added bin/properties/Property.class
Binary file not shown.
Binary file added bin/resources/fonts/cc-icons.ttf
Binary file not shown.
Binary file added bin/resources/img/icon.ico
Binary file not shown.
Binary file added bin/resources/img/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/resources/img/iconBlue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions bin/resources/javafx/main.fxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.media.*?>
<?import javafx.scene.*?>
<?import javafx.geometry.*?>
<?import javafx.scene.image.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import java.lang.*?>
<?import javafx.scene.canvas.*?>

<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>
<Group translateX="75.0" translateY="75.0" StackPane.alignment="TOP_CENTER">
<children>
<ImageView fitHeight="68.0" fitWidth="95.0" pickOnBounds="true" preserveRatio="true" translateX="-75.0">
<image>
<Image url="@/resources/img/iconBlue.png" />
</image>
<viewport>
<Rectangle2D />
</viewport>
</ImageView>
<Label fx:id="labelTitle" prefHeight="47.0" prefWidth="432.0" styleClass="title" text="%home.title.welcome" />
<Label fx:id="labelSubheader" prefHeight="47.0" prefWidth="432.0" styleClass="subtitle" text="%home.title.subtitle" translateY="25.0" />
</children>
</Group>
</children>
</StackPane>
178 changes: 178 additions & 0 deletions bin/resources/javafx/settings.fxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import com.jfoenix.controls.*?>
<?import java.lang.*?>
<?import javafx.geometry.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>

<StackPane fx:id="container" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="handlers.FXMLHandler">
<children>
<JFXTabPane rotateGraphic="true" side="BOTTOM">
<tabs>
<Tab closable="false" styleClass="container" text="%settings.tab.main">
<content>
<ScrollPane fx:id="mainContainer" fitToHeight="true" fitToWidth="true" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefViewportHeight="593.0" prefViewportWidth="600.0">
<content>
<VBox prefHeight="200.0" prefWidth="100.0" spacing="20.0" styleClass="container">
<children>
<VBox prefHeight="200.0" prefWidth="100.0" spacing="15.0">
<children>
<Label maxWidth="1.7976931348623157E308" text="%settings.language" />
<JFXComboBox fx:id="language" maxWidth="1.7976931348623157E308" promptText="%settings.language" />
</children>
</VBox>
<VBox layoutX="10.0" layoutY="10.0" prefHeight="200.0" prefWidth="100.0" spacing="15.0">
<children>
<Label maxWidth="1.7976931348623157E308" text="%settings.window.width" />
<JFXSlider fx:id="windowWidth" majorTickUnit="50.0" max="1049.0" maxWidth="1.7976931348623157E308" min="850.0" minorTickCount="10" showTickLabels="true" showTickMarks="true" />
</children>
</VBox>
<VBox layoutX="10.0" layoutY="210.0" prefHeight="200.0" prefWidth="100.0" spacing="15.0">
<children>
<Label maxWidth="1.7976931348623157E308" text="%settings.window.height" />
<JFXSlider fx:id="windowHeight" majorTickUnit="50.0" max="900.0" maxWidth="1.7976931348623157E308" min="500.0" minorTickCount="10" showTickLabels="true" showTickMarks="true" />
</children>
</VBox>
<VBox layoutX="10.0" layoutY="143.0" prefHeight="200.0" prefWidth="100.0" spacing="15.0">
<children>
<JFXCheckBox fx:id="windowMaximized" maxWidth="1.7976931348623157E308" text="%settings.window.maximized" />
</children>
</VBox>
</children>
<padding>
<Insets bottom="30.0" left="30.0" right="30.0" top="30.0" />
</padding>
</VBox>
</content>
</ScrollPane>
</content>
</Tab>
<Tab closable="false" styleClass="container" text="%settings.tab.exercises">
<content>
<ScrollPane fx:id="exerciseContainer" fitToHeight="true" fitToWidth="true" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefViewportHeight="593.0" prefViewportWidth="600.0">
<content>
<VBox prefHeight="200.0" prefWidth="100.0" spacing="20.0" styleClass="container">
<children>
<VBox prefHeight="200.0" prefWidth="100.0" spacing="20.0">
<children>
<Label maxWidth="1.7976931348623157E308" text="%settings.add.ex" />
<HBox maxWidth="1.7976931348623157E308" prefHeight="100.0" prefWidth="200.0">
<children>
<JFXCheckBox fx:id="add" maxHeight="30.0" prefWidth="190.0" text="%settings.add" HBox.hgrow="ALWAYS" />
<JFXTextField fx:id="addMin" labelFloat="true" maxHeight="30.0" maxWidth="1.7976931348623157E308" promptText="%settings.add.min" HBox.hgrow="ALWAYS" />
<JFXTextField fx:id="addMax" labelFloat="true" maxHeight="30.0" maxWidth="1.7976931348623157E308" promptText="%settings.add.max" HBox.hgrow="ALWAYS" />
</children>
</HBox>
</children>
</VBox>
<VBox prefHeight="200.0" prefWidth="100.0" spacing="20.0">
<children>
<Label maxWidth="1.7976931348623157E308" text="%settings.sub.ex" />
<HBox maxWidth="1.7976931348623157E308" prefHeight="100.0" prefWidth="200.0">
<children>
<JFXCheckBox fx:id="sub" maxHeight="30.0" prefWidth="190.0" text="%settings.sub" HBox.hgrow="ALWAYS" />
<JFXTextField fx:id="subMin" labelFloat="true" maxHeight="30.0" maxWidth="1.7976931348623157E308" promptText="%settings.sub.min" HBox.hgrow="ALWAYS" />
<JFXTextField fx:id="subMax" labelFloat="true" maxHeight="30.0" maxWidth="1.7976931348623157E308" promptText="%settings.sub.max" HBox.hgrow="ALWAYS" />
</children>
</HBox>
<JFXCheckBox fx:id="subNeg" maxHeight="30.0" maxWidth="1.7976931348623157E308" text="%settings.sub.neg" />
</children>
</VBox>
<VBox prefHeight="200.0" prefWidth="100.0" spacing="20.0">
<children>
<Label maxWidth="1.7976931348623157E308" text="%settings.mul.ex" />
<HBox maxWidth="1.7976931348623157E308" prefHeight="100.0" prefWidth="200.0">
<children>
<JFXCheckBox fx:id="mul" maxHeight="30.0" prefWidth="190.0" text="%settings.mul" HBox.hgrow="ALWAYS" />
<JFXTextField fx:id="mulMin" labelFloat="true" maxHeight="30.0" maxWidth="1.7976931348623157E308" promptText="%settings.mul.min" HBox.hgrow="ALWAYS" />
<JFXTextField fx:id="mulMax" labelFloat="true" maxHeight="30.0" maxWidth="1.7976931348623157E308" promptText="%settings.mul.max" HBox.hgrow="ALWAYS" />
</children>
</HBox>
</children>
</VBox>
<VBox prefHeight="200.0" prefWidth="100.0" spacing="20.0">
<children>
<Label maxWidth="1.7976931348623157E308" text="%settings.div.ex" />
<HBox maxWidth="1.7976931348623157E308" prefHeight="100.0" prefWidth="200.0">
<children>
<JFXCheckBox fx:id="div" maxHeight="30.0" prefWidth="190.0" text="%settings.div" HBox.hgrow="ALWAYS" />
<JFXTextField fx:id="divMin" labelFloat="true" maxHeight="30.0" maxWidth="1.7976931348623157E308" promptText="%settings.div.min" HBox.hgrow="ALWAYS" />
<JFXTextField fx:id="divMax" labelFloat="true" maxHeight="30.0" maxWidth="1.7976931348623157E308" promptText="%settings.div.max" HBox.hgrow="ALWAYS" />
</children>
</HBox>
<JFXCheckBox fx:id="divDec" maxHeight="30.0" maxWidth="1.7976931348623157E308" text="%settings.div.dec" />
</children>
</VBox>
<VBox prefHeight="200.0" prefWidth="100.0" spacing="20.0">
<children>
<Label maxWidth="1.7976931348623157E308" text="%settings.power.ex" />
<HBox maxWidth="1.7976931348623157E308" prefHeight="100.0" prefWidth="200.0">
<children>
<JFXCheckBox fx:id="pow" maxHeight="30.0" onAction="#notavailable" prefWidth="190.0" text="%settings.power" HBox.hgrow="ALWAYS" />
<JFXTextField fx:id="powMinBase" labelFloat="true" maxHeight="30.0" maxWidth="1.7976931348623157E308" onAction="#notavailable" promptText="%settings.power.min.base" HBox.hgrow="ALWAYS" />
<JFXTextField fx:id="powMaxBase" labelFloat="true" maxHeight="30.0" maxWidth="1.7976931348623157E308" onAction="#notavailable" promptText="%settings.power.max.base" HBox.hgrow="ALWAYS" />
</children>
</HBox>
<HBox maxWidth="1.7976931348623157E308" prefHeight="100.0" prefWidth="200.0">
<children>
<Pane maxHeight="30.0" prefWidth="190.0" />
<JFXTextField fx:id="powMinExpo" labelFloat="true" maxHeight="30.0" maxWidth="1.7976931348623157E308" onAction="#notavailable" promptText="%settings.power.min.expo" HBox.hgrow="ALWAYS" />
<JFXTextField fx:id="powMaxExpo" labelFloat="true" maxHeight="30.0" maxWidth="1.7976931348623157E308" onAction="#notavailable" promptText="%settings.power.max.expo" HBox.hgrow="ALWAYS" />
</children>
</HBox>
</children>
</VBox>
<VBox prefHeight="200.0" prefWidth="100.0" spacing="20.0">
<children>
<Label maxWidth="1.7976931348623157E308" text="%settings.roots.ex" />
<HBox maxWidth="1.7976931348623157E308" prefHeight="100.0" prefWidth="200.0">
<children>
<JFXCheckBox fx:id="root" maxHeight="30.0" onAction="#notavailable" prefWidth="190.0" text="%settings.roots" HBox.hgrow="ALWAYS" />
<JFXTextField fx:id="rootMinRad" labelFloat="true" maxHeight="30.0" maxWidth="1.7976931348623157E308" onAction="#notavailable" promptText="%settings.roots.min.rad" HBox.hgrow="ALWAYS" />
<JFXTextField fx:id="rootMaxRad" labelFloat="true" maxHeight="30.0" maxWidth="1.7976931348623157E308" onAction="#notavailable" promptText="%settings.roots.max.rad" HBox.hgrow="ALWAYS" />
</children>
</HBox>
<HBox layoutX="10.0" layoutY="37.0" maxWidth="1.7976931348623157E308" prefHeight="100.0" prefWidth="200.0">
<children>
<JFXCheckBox fx:id="rootDec" maxHeight="30.0" onAction="#notavailable" prefWidth="190.0" text="%settings.roots.dec" HBox.hgrow="ALWAYS" />
<JFXTextField fx:id="rootMinExpo" labelFloat="true" maxHeight="30.0" maxWidth="1.7976931348623157E308" onAction="#notavailable" promptText="%settings.roots.min.expo" HBox.hgrow="ALWAYS" />
<JFXTextField fx:id="rootMaxExpo" labelFloat="true" maxHeight="30.0" maxWidth="1.7976931348623157E308" onAction="#notavailable" promptText="%settings.roots.max.expo" HBox.hgrow="ALWAYS" />
</children>
</HBox>
</children>
</VBox>
<VBox prefHeight="200.0" prefWidth="100.0" spacing="20.0">
<children>
<Label maxWidth="1.7976931348623157E308" text="%settings.count" />
<JFXSlider fx:id="factorCount" majorTickUnit="2.0" max="10.0" min="2.0" minorTickCount="1" showTickLabels="true" showTickMarks="true" snapToTicks="true" />
</children>
</VBox>
</children>
<padding>
<Insets bottom="20.0" left="20.0" right="20.0" top="20.0" />
</padding>
</VBox>
</content>
</ScrollPane>
</content>
</Tab>
<Tab closable="false" styleClass="container" text="%settings.tab.updates">
<content>
<VBox prefHeight="200.0" prefWidth="100.0" spacing="20.0" styleClass="container">
<padding>
<Insets bottom="30.0" left="30.0" right="30.0" top="30.0" />
</padding>
<children>
<JFXCheckBox fx:id="automaticUpdates" text="%settings.updates.automatic" />
</children>
</VBox>
</content>
</Tab>
</tabs>
<StackPane.margin>
<Insets top="50.0" />
</StackPane.margin>
</JFXTabPane>
</children>
</StackPane>
Loading

0 comments on commit a177229

Please sign in to comment.