Commit #1 ;---]
|
@ -0,0 +1,53 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!-- You may freely edit this file. See commented blocks below for --><!-- some examples of how to customize the build. --><!-- (If you delete it and reopen the project it will be recreated.) --><!-- By default, only the Clean and Build commands use this build script. --><project name="CircleArt" default="default" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
|
||||
<description>Builds, tests, and runs the project CircleArt.</description>
|
||||
<import file="nbproject/build-impl.xml"/>
|
||||
<!--
|
||||
|
||||
There exist several targets which are by default empty and which can be
|
||||
used for execution of your tasks. These targets are usually executed
|
||||
before and after some main targets. Those of them relevant for JavaFX project are:
|
||||
|
||||
-pre-init: called before initialization of project properties
|
||||
-post-init: called after initialization of project properties
|
||||
-pre-compile: called before javac compilation
|
||||
-post-compile: called after javac compilation
|
||||
-pre-compile-test: called before javac compilation of JUnit tests
|
||||
-post-compile-test: called after javac compilation of JUnit tests
|
||||
-pre-jfx-jar: called before FX SDK specific <fx:jar> task
|
||||
-post-jfx-jar: called after FX SDK specific <fx:jar> task
|
||||
-pre-jfx-deploy: called before FX SDK specific <fx:deploy> task
|
||||
-post-jfx-deploy: called after FX SDK specific <fx:deploy> task
|
||||
-pre-jfx-native: called just after -pre-jfx-deploy if <fx:deploy> runs in native packaging mode
|
||||
-post-jfx-native: called just after -post-jfx-deploy if <fx:deploy> runs in native packaging mode
|
||||
-post-clean: called after cleaning build products
|
||||
|
||||
(Targets beginning with '-' are not intended to be called on their own.)
|
||||
|
||||
Example of inserting a HTML postprocessor after javaFX SDK deployment:
|
||||
|
||||
<target name="-post-jfx-deploy">
|
||||
<basename property="jfx.deployment.base" file="${jfx.deployment.jar}" suffix=".jar"/>
|
||||
<property name="jfx.deployment.html" location="${jfx.deployment.dir}${file.separator}${jfx.deployment.base}.html"/>
|
||||
<custompostprocess>
|
||||
<fileset dir="${jfx.deployment.html}"/>
|
||||
</custompostprocess>
|
||||
</target>
|
||||
|
||||
Example of calling an Ant task from JavaFX SDK. Note that access to JavaFX SDK Ant tasks must be
|
||||
initialized; to ensure this is done add the dependence on -check-jfx-sdk-version target:
|
||||
|
||||
<target name="-post-jfx-jar" depends="-check-jfx-sdk-version">
|
||||
<echo message="Calling jar task from JavaFX SDK"/>
|
||||
<fx:jar ...>
|
||||
...
|
||||
</fx:jar>
|
||||
</target>
|
||||
|
||||
For more details about JavaFX SDK Ant tasks go to
|
||||
http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm
|
||||
|
||||
For list of available properties check the files
|
||||
nbproject/build-impl.xml and nbproject/jfx-impl.xml.
|
||||
|
||||
-->
|
||||
</project>
|
|
@ -0,0 +1,4 @@
|
|||
#Thu, 10 Aug 2017 14:14:04 +0200
|
||||
|
||||
|
||||
/home/bandie/NetBeansProjects/CircleArt=
|
After Width: | Height: | Size: 319 KiB |
After Width: | Height: | Size: 304 KiB |
After Width: | Height: | Size: 185 KiB |
|
@ -0,0 +1,47 @@
|
|||
# Copyright (c) 2017, bandie
|
||||
# All rights reserved.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# 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 HOLDER 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.
|
||||
|
||||
FILE=File
|
||||
QUIT=Quit
|
||||
SAVE=Save
|
||||
NEW=New
|
||||
SAVE_IMG=Save Image
|
||||
VIEW=View
|
||||
FULLSCREEN=Fullscreen
|
||||
TOOLS=Tools
|
||||
SETTINGS=Settings
|
||||
SETTINGS_TITLE=CircleArt \- Settings
|
||||
SETTINGS_CIRC_SIZE=Max. circle size
|
||||
SETTINGS_DIST=Distance
|
||||
SETTINGS_DIR=Direction
|
||||
SETTINGS_Y=Use y instead of x
|
||||
SETTINGS_COLOR=Color settings
|
||||
RED=Red
|
||||
GREEN=Green
|
||||
BLUE=Blue
|
||||
HELP=Help
|
||||
ABOUT=About
|
||||
DRAWING_OFF=Status: Off
|
||||
DRAWING_ON=Status: On
|
||||
HELP_DRAWING=To switch on/off your pen, press D.
|
|
@ -0,0 +1,47 @@
|
|||
# Copyright (c) 2017, bandie
|
||||
# All rights reserved.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# 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 HOLDER 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.
|
||||
|
||||
FILE=Datei
|
||||
QUIT=Beenden
|
||||
SAVE=Speichern
|
||||
NEW=Neu
|
||||
SAVE_IMG=Speichere Bild
|
||||
VIEW=Ansicht
|
||||
FULLSCREEN=Vollbild
|
||||
TOOLS=Tools
|
||||
SETTINGS=Einstellungen
|
||||
SETTINGS_TITLE=CircleArt \- Einstellungen
|
||||
SETTINGS_CIRC_SIZE=Max. Gr\u00f6\u00dfe der Kreise
|
||||
SETTINGS_DIST=Distanz
|
||||
SETTINGS_DIR=Richtung
|
||||
SETTINGS_Y=Benutze y statt x
|
||||
SETTINGS_COLOR=Farbeinstellungen
|
||||
RED=Rot
|
||||
GREEN=Gr\u00fcn
|
||||
BLUE=Blau
|
||||
HELP=Hilfe
|
||||
ABOUT=\u00dcber
|
||||
DRAWING_OFF=Status: Aus
|
||||
DRAWING_ON=Status: An
|
||||
HELP_DRAWING=Ein-/Ausschalten des Stiftes durch Dr\u00fccken von D.
|
|
@ -0,0 +1,47 @@
|
|||
# Copyright (c) 2017, bandie
|
||||
# All rights reserved.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# 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 HOLDER 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.
|
||||
|
||||
FILE=Datei
|
||||
QUIT=Beenden
|
||||
SAVE=Speichern
|
||||
NEW=Neu
|
||||
SAVE_IMG=Speichere Bild
|
||||
VIEW=Ansicht
|
||||
FULLSCREEN=Vollbild
|
||||
TOOLS=Tools
|
||||
SETTINGS=Einstellungen
|
||||
SETTINGS_TITLE=CircleArt \- Einstellungen
|
||||
SETTINGS_CIRC_SIZE=Max. Gr\u00f6\u00dfe der Kreise
|
||||
SETTINGS_DIST=Distanz
|
||||
SETTINGS_DIR=Richtung
|
||||
SETTINGS_Y=Benutze y statt x
|
||||
SETTINGS_COLOR=Farbeinstellungen
|
||||
RED=Rot
|
||||
GREEN=Gr\u00fcn
|
||||
BLUE=Blau
|
||||
HELP=Hilfe
|
||||
ABOUT=\u00dcber
|
||||
DRAWING_OFF=Status: Aus
|
||||
DRAWING_ON=Status: An
|
||||
HELP_DRAWING=Ein-/Ausschalten des Stiftes durch Dr\u00fccken von D.
|
|
@ -0,0 +1,47 @@
|
|||
# Copyright (c) 2017, bandie
|
||||
# All rights reserved.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# 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 HOLDER 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.
|
||||
|
||||
FILE=Datei
|
||||
QUIT=Beenden
|
||||
SAVE=Speichern
|
||||
NEW=Neu
|
||||
SAVE_IMG=Speichere Bild
|
||||
VIEW=Ansicht
|
||||
FULLSCREEN=Vollbild
|
||||
TOOLS=Tools
|
||||
SETTINGS=Einstellungen
|
||||
SETTINGS_TITLE=CircleArt \- Einstellungen
|
||||
SETTINGS_CIRC_SIZE=Max. Gr\u00f6\u00dfe der Kreise
|
||||
SETTINGS_DIST=Distanz
|
||||
SETTINGS_DIR=Richtung
|
||||
SETTINGS_Y=Benutze y statt x
|
||||
SETTINGS_COLOR=Farbeinstellungen
|
||||
RED=Rot
|
||||
GREEN=Gr\u00fcn
|
||||
BLUE=Blau
|
||||
HELP=Hilfe
|
||||
ABOUT=\u00dcber
|
||||
DRAWING_OFF=Status: Aus
|
||||
DRAWING_ON=Status: An
|
||||
HELP_DRAWING=Ein-/Ausschalten des Stiftes durch Dr\u00fccken von D.
|
|
@ -0,0 +1,47 @@
|
|||
# Copyright (c) 2017, bandie
|
||||
# All rights reserved.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# 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 HOLDER 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.
|
||||
|
||||
FILE=Datei
|
||||
QUIT=Beenden
|
||||
SAVE=Speichern
|
||||
NEW=Neu
|
||||
SAVE_IMG=Speichere Bild
|
||||
VIEW=Ansicht
|
||||
FULLSCREEN=Vollbild
|
||||
TOOLS=Tools
|
||||
SETTINGS=Einstellungen
|
||||
SETTINGS_TITLE=CircleArt \- Einstellungen
|
||||
SETTINGS_CIRC_SIZE=Max. Gr\u00f6\u00dfe der Kreise
|
||||
SETTINGS_DIST=Distanz
|
||||
SETTINGS_DIR=Richtung
|
||||
SETTINGS_Y=Benutze y statt x
|
||||
SETTINGS_COLOR=Farbeinstellungen
|
||||
RED=Rot
|
||||
GREEN=Gr\u00fcn
|
||||
BLUE=Blau
|
||||
HELP=Hilfe
|
||||
ABOUT=\u00dcber
|
||||
DRAWING_OFF=Status: Aus
|
||||
DRAWING_ON=Status: An
|
||||
HELP_DRAWING=Ein-/Ausschalten des Stiftes durch Dr\u00fccken von D.
|
|
@ -0,0 +1,47 @@
|
|||
# Copyright (c) 2017, bandie
|
||||
# All rights reserved.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# 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 HOLDER 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.
|
||||
|
||||
FILE=Datei
|
||||
QUIT=Beenden
|
||||
SAVE=Speichern
|
||||
NEW=Neu
|
||||
SAVE_IMG=Speichere Bild
|
||||
VIEW=Ansicht
|
||||
FULLSCREEN=Vollbild
|
||||
TOOLS=Tools
|
||||
SETTINGS=Einstellungen
|
||||
SETTINGS_TITLE=CircleArt \- Einstellungen
|
||||
SETTINGS_CIRC_SIZE=Max. Gr\u00f6\u00dfe der Kreise
|
||||
SETTINGS_DIST=Distanz
|
||||
SETTINGS_DIR=Richtung
|
||||
SETTINGS_Y=Benutze y statt x
|
||||
SETTINGS_COLOR=Farbeinstellungen
|
||||
RED=Rot
|
||||
GREEN=Gr\u00fcn
|
||||
BLUE=Blau
|
||||
HELP=Hilfe
|
||||
ABOUT=\u00dcber
|
||||
DRAWING_OFF=Status: Aus
|
||||
DRAWING_ON=Status: An
|
||||
HELP_DRAWING=Ein-/Ausschalten des Stiftes durch Dr\u00fccken von D.
|
|
@ -0,0 +1,47 @@
|
|||
# Copyright (c) 2017, bandie
|
||||
# All rights reserved.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# 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 HOLDER 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.
|
||||
|
||||
FILE=File
|
||||
QUIT=Quit
|
||||
SAVE=Save
|
||||
NEW=New
|
||||
SAVE_IMG=Save Image
|
||||
VIEW=View
|
||||
FULLSCREEN=Fullscreen
|
||||
TOOLS=Tools
|
||||
SETTINGS=Settings
|
||||
SETTINGS_TITLE=CircleArt \- Settings
|
||||
SETTINGS_CIRC_SIZE=Max. circle size
|
||||
SETTINGS_DIST=Distance
|
||||
SETTINGS_DIR=Direction
|
||||
SETTINGS_Y=Use y instead of x
|
||||
SETTINGS_COLOR=Color settings
|
||||
RED=Red
|
||||
GREEN=Green
|
||||
BLUE=Blue
|
||||
HELP=Help
|
||||
ABOUT=About
|
||||
DRAWING_OFF=Status: Off
|
||||
DRAWING_ON=Status: On
|
||||
HELP_DRAWING=To switch on/off your pen, press D.
|
|
@ -0,0 +1,47 @@
|
|||
# Copyright (c) 2017, bandie
|
||||
# All rights reserved.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# 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 HOLDER 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.
|
||||
|
||||
FILE=File
|
||||
QUIT=Quit
|
||||
SAVE=Save
|
||||
NEW=New
|
||||
SAVE_IMG=Save Image
|
||||
VIEW=View
|
||||
FULLSCREEN=Fullscreen
|
||||
TOOLS=Tools
|
||||
SETTINGS=Settings
|
||||
SETTINGS_TITLE=CircleArt \- Settings
|
||||
SETTINGS_CIRC_SIZE=Max. circle size
|
||||
SETTINGS_DIST=Distance
|
||||
SETTINGS_DIR=Direction
|
||||
SETTINGS_Y=Use y instead of x
|
||||
SETTINGS_COLOR=Color settings
|
||||
RED=Red
|
||||
GREEN=Green
|
||||
BLUE=Blue
|
||||
HELP=Help
|
||||
ABOUT=About
|
||||
DRAWING_OFF=Status: Off
|
||||
DRAWING_ON=Status: On
|
||||
HELP_DRAWING=To switch on/off your pen, press D.
|
|
@ -0,0 +1,47 @@
|
|||
# Copyright (c) 2017, bandie
|
||||
# All rights reserved.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# 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 HOLDER 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.
|
||||
|
||||
FILE=File
|
||||
QUIT=Quit
|
||||
SAVE=Save
|
||||
NEW=New
|
||||
SAVE_IMG=Save Image
|
||||
VIEW=View
|
||||
FULLSCREEN=Fullscreen
|
||||
TOOLS=Tools
|
||||
SETTINGS=Settings
|
||||
SETTINGS_TITLE=CircleArt \- Settings
|
||||
SETTINGS_CIRC_SIZE=Max. circle size
|
||||
SETTINGS_DIST=Distance
|
||||
SETTINGS_DIR=Direction
|
||||
SETTINGS_Y=Use y instead of x
|
||||
SETTINGS_COLOR=Color settings
|
||||
RED=Red
|
||||
GREEN=Green
|
||||
BLUE=Blue
|
||||
HELP=Help
|
||||
ABOUT=About
|
||||
DRAWING_OFF=Status: Off
|
||||
DRAWING_ON=Status: On
|
||||
HELP_DRAWING=To switch on/off your pen, press D.
|
|
@ -0,0 +1,47 @@
|
|||
# Copyright (c) 2017, bandie
|
||||
# All rights reserved.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# 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 HOLDER 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.
|
||||
|
||||
FILE=Ficher
|
||||
QUIT=Quitter
|
||||
SAVE=Sauvegarder
|
||||
NEW=Nouveau
|
||||
SAVE_IMG=Sauvegarder la peinture
|
||||
VIEW=Vue
|
||||
FULLSCREEN=Plein \u00e9cran
|
||||
TOOLS=Outils
|
||||
SETTINGS=R\u00e9glage
|
||||
SETTINGS_TITLE=R\u00e9glage de CircleArt
|
||||
SETTINGS_CIRC_SIZE=Maximum de les cercles
|
||||
SETTINGS_DIST=Distance
|
||||
SETTINGS_DIR=Direction
|
||||
SETTINGS_Y=Utilise Y au lieu de X
|
||||
SETTINGS_COLOR=R\u00e9glage de coleur
|
||||
RED=Rouge
|
||||
GREEN=Vert
|
||||
BLUE=Bleu
|
||||
HELP=Aider
|
||||
ABOUT=\u00c0 propos de programme
|
||||
DRAWING_OFF=Crayon: D\u00e9sactiv\u00e9
|
||||
DRAWING_ON=Crayon: Allum\u00e9
|
||||
HELP_DRAWING=Allum\u00e9/D\u00e9sactiv\u00e9 le crayon en appuyant sur la barre d'espacement.
|
|
@ -0,0 +1,47 @@
|
|||
# Copyright (c) 2017, bandie
|
||||
# All rights reserved.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# 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 HOLDER 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.
|
||||
|
||||
FILE=Ficher
|
||||
QUIT=Quitter
|
||||
SAVE=Sauvegarder
|
||||
NEW=Nouveau
|
||||
SAVE_IMG=Sauvegarder la peinture
|
||||
VIEW=Vue
|
||||
FULLSCREEN=Plein \u00e9cran
|
||||
TOOLS=Outils
|
||||
SETTINGS=R\u00e9glage
|
||||
SETTINGS_TITLE=R\u00e9glage de CircleArt
|
||||
SETTINGS_CIRC_SIZE=Maximum de les cercles
|
||||
SETTINGS_DIST=Distance
|
||||
SETTINGS_DIR=Direction
|
||||
SETTINGS_Y=Utilise Y au lieu de X
|
||||
SETTINGS_COLOR=R\u00e9glage de coleur
|
||||
RED=Rouge
|
||||
GREEN=Vert
|
||||
BLUE=Bleu
|
||||
HELP=Aider
|
||||
ABOUT=\u00c0 propos de programme
|
||||
DRAWING_OFF=Crayon: D\u00e9sactiv\u00e9
|
||||
DRAWING_ON=Crayon: Allum\u00e9
|
||||
HELP_DRAWING=Allum\u00e9/D\u00e9sactiv\u00e9 le crayon en appuyant sur la barre d'espacement.
|
|
@ -0,0 +1,47 @@
|
|||
# Copyright (c) 2017, bandie
|
||||
# All rights reserved.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# 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 HOLDER 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.
|
||||
|
||||
FILE=Ficher
|
||||
QUIT=Quitter
|
||||
SAVE=Sauvegarder
|
||||
NEW=Nouveau
|
||||
SAVE_IMG=Sauvegarder la peinture
|
||||
VIEW=Vue
|
||||
FULLSCREEN=Plein \u00e9cran
|
||||
TOOLS=Outils
|
||||
SETTINGS=R\u00e9glage
|
||||
SETTINGS_TITLE=R\u00e9glage de CircleArt
|
||||
SETTINGS_CIRC_SIZE=Maximum de les cercles
|
||||
SETTINGS_DIST=Distance
|
||||
SETTINGS_DIR=Direction
|
||||
SETTINGS_Y=Utilise Y au lieu de X
|
||||
SETTINGS_COLOR=R\u00e9glage de coleur
|
||||
RED=Rouge
|
||||
GREEN=Vert
|
||||
BLUE=Bleu
|
||||
HELP=Aider
|
||||
ABOUT=\u00c0 propos de programme
|
||||
DRAWING_OFF=Crayon: D\u00e9sactiv\u00e9
|
||||
DRAWING_ON=Crayon: Allum\u00e9
|
||||
HELP_DRAWING=Allum\u00e9/D\u00e9sactiv\u00e9 le crayon en appuyant sur la barre d'espacement.
|
|
@ -0,0 +1,47 @@
|
|||
# Copyright (c) 2017, bandie
|
||||
# All rights reserved.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# 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 HOLDER 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.
|
||||
|
||||
FILE=File
|
||||
QUIT=Be\u00ebindigen
|
||||
SAVE=Opslaan
|
||||
NEW=Nieuw
|
||||
SAVE_IMG=Afbeelding opslaan
|
||||
VIEW=Inzicht
|
||||
FULLSCREEN=Volledige scherm
|
||||
TOOLS=Tools
|
||||
SETTINGS=Instellingen
|
||||
SETTINGS_TITLE=CircleArt \- Instellingen
|
||||
SETTINGS_CIRC_SIZE=Max. grootte van de cirkels
|
||||
SETTINGS_DIST=Afstand
|
||||
SETTINGS_DIR=Richting
|
||||
SETTINGS_Y=Gebruik y in plaats van x
|
||||
SETTINGS_COLOR=Kleur instellingen
|
||||
RED=Rood
|
||||
GREEN=Groen
|
||||
BLUE=Blauw
|
||||
HELP=Help
|
||||
ABOUT=Over dit programma
|
||||
DRAWING_OFF=Status: Af
|
||||
DRAWING_ON=Status: Aan
|
||||
HELP_DRAWING=Je kunt de pen aan/uitschakelen door dat je D drukt.
|
|
@ -0,0 +1,47 @@
|
|||
# Copyright (c) 2017, bandie
|
||||
# All rights reserved.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# 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 HOLDER 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.
|
||||
|
||||
FILE=File
|
||||
QUIT=Be\u00ebindigen
|
||||
SAVE=Opslaan
|
||||
NEW=Nieuw
|
||||
SAVE_IMG=Afbeelding opslaan
|
||||
VIEW=Inzicht
|
||||
FULLSCREEN=Volledige scherm
|
||||
TOOLS=Tools
|
||||
SETTINGS=Instellingen
|
||||
SETTINGS_TITLE=CircleArt \- Instellingen
|
||||
SETTINGS_CIRC_SIZE=Max. grootte van de cirkels
|
||||
SETTINGS_DIST=Afstand
|
||||
SETTINGS_DIR=Richting
|
||||
SETTINGS_Y=Gebruik y in plaats van x
|
||||
SETTINGS_COLOR=Kleur instellingen
|
||||
RED=Rood
|
||||
GREEN=Groen
|
||||
BLUE=Blauw
|
||||
HELP=Help
|
||||
ABOUT=Over dit programma
|
||||
DRAWING_OFF=Status: Af
|
||||
DRAWING_ON=Status: Aan
|
||||
HELP_DRAWING=Je kunt de pen aan/uitschakelen door dat je D drukt.
|
|
@ -0,0 +1,45 @@
|
|||
<html><head>
|
||||
<SCRIPT src="./web-files/dtjava.js"></SCRIPT>
|
||||
<script>
|
||||
function launchApplication(jnlpfile) {
|
||||
dtjava.launch( {
|
||||
url : 'CircleArt.jnlp',
|
||||
jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPGpubHAgc3BlYz0iMS4wIiB4bWxuczpqZng9Imh0dHA6Ly9qYXZhZnguY29tIiBocmVmPSJDaXJjbGVBcnQuam5scCI+CiAgPGluZm9ybWF0aW9uPgogICAgPHRpdGxlPkNpcmNsZUFydDwvdGl0bGU+CiAgICA8dmVuZG9yPmJhbmRpZTwvdmVuZG9yPgogICAgPGRlc2NyaXB0aW9uPm51bGw8L2Rlc2NyaXB0aW9uPgogICAgPG9mZmxpbmUtYWxsb3dlZC8+CiAgPC9pbmZvcm1hdGlvbj4KICA8cmVzb3VyY2VzPgogICAgPGoyc2UgdmVyc2lvbj0iMS42KyIgaHJlZj0iaHR0cDovL2phdmEuc3VuLmNvbS9wcm9kdWN0cy9hdXRvZGwvajJzZSIvPgogICAgPGphciBocmVmPSJDaXJjbGVBcnQuamFyIiBzaXplPSIxMTA2NzkwIiBkb3dubG9hZD0iZWFnZXIiIC8+CiAgPC9yZXNvdXJjZXM+CiAgPGFwcGxldC1kZXNjICB3aWR0aD0iODAwIiBoZWlnaHQ9IjYwMCIgbWFpbi1jbGFzcz0iY29tLmphdmFmeC5tYWluLk5vSmF2YUZYRmFsbGJhY2siICBuYW1lPSJDaXJjbGVBcnQiID4KICAgIDxwYXJhbSBuYW1lPSJyZXF1aXJlZEZYVmVyc2lvbiIgdmFsdWU9IjguMCsiLz4KICA8L2FwcGxldC1kZXNjPgogIDxqZng6amF2YWZ4LWRlc2MgIHdpZHRoPSI4MDAiIGhlaWdodD0iNjAwIiBtYWluLWNsYXNzPSJvcmcuYmFuZGllLmNpcmNsZWFydC5DaXJjbGVBcnQiICBuYW1lPSJDaXJjbGVBcnQiIC8+CiAgPHVwZGF0ZSBjaGVjaz0iYWx3YXlzIi8+Cjwvam5scD4K'
|
||||
},
|
||||
{
|
||||
javafx : '8.0+'
|
||||
},
|
||||
{}
|
||||
);
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
|
||||
<script>
|
||||
function javafxEmbedorg.bandie.circleart() {
|
||||
dtjava.embed(
|
||||
{
|
||||
id : 'org.bandie.circleart',
|
||||
url : 'CircleArt.jnlp',
|
||||
placeholder : 'javafx-app-placeholder',
|
||||
width : '800',
|
||||
height : '600',
|
||||
jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPGpubHAgc3BlYz0iMS4wIiB4bWxuczpqZng9Imh0dHA6Ly9qYXZhZnguY29tIiBocmVmPSJDaXJjbGVBcnQuam5scCI+CiAgPGluZm9ybWF0aW9uPgogICAgPHRpdGxlPkNpcmNsZUFydDwvdGl0bGU+CiAgICA8dmVuZG9yPmJhbmRpZTwvdmVuZG9yPgogICAgPGRlc2NyaXB0aW9uPm51bGw8L2Rlc2NyaXB0aW9uPgogICAgPG9mZmxpbmUtYWxsb3dlZC8+CiAgPC9pbmZvcm1hdGlvbj4KICA8cmVzb3VyY2VzPgogICAgPGoyc2UgdmVyc2lvbj0iMS42KyIgaHJlZj0iaHR0cDovL2phdmEuc3VuLmNvbS9wcm9kdWN0cy9hdXRvZGwvajJzZSIvPgogICAgPGphciBocmVmPSJDaXJjbGVBcnQuamFyIiBzaXplPSIxMTA2NzkwIiBkb3dubG9hZD0iZWFnZXIiIC8+CiAgPC9yZXNvdXJjZXM+CiAgPGFwcGxldC1kZXNjICB3aWR0aD0iODAwIiBoZWlnaHQ9IjYwMCIgbWFpbi1jbGFzcz0iY29tLmphdmFmeC5tYWluLk5vSmF2YUZYRmFsbGJhY2siICBuYW1lPSJDaXJjbGVBcnQiID4KICAgIDxwYXJhbSBuYW1lPSJyZXF1aXJlZEZYVmVyc2lvbiIgdmFsdWU9IjguMCsiLz4KICA8L2FwcGxldC1kZXNjPgogIDxqZng6amF2YWZ4LWRlc2MgIHdpZHRoPSI4MDAiIGhlaWdodD0iNjAwIiBtYWluLWNsYXNzPSJvcmcuYmFuZGllLmNpcmNsZWFydC5DaXJjbGVBcnQiICBuYW1lPSJDaXJjbGVBcnQiIC8+CiAgPHVwZGF0ZSBjaGVjaz0iYWx3YXlzIi8+Cjwvam5scD4K'
|
||||
},
|
||||
{
|
||||
javafx : '8.0+'
|
||||
},
|
||||
{}
|
||||
);
|
||||
}
|
||||
<!-- Embed FX application into web page once page is loaded -->
|
||||
dtjava.addOnloadCallback(javafxEmbedorg.bandie.circleart);
|
||||
</script>
|
||||
|
||||
</head><body>
|
||||
<h2>Test page for <b>CircleArt</b></h2>
|
||||
<b>Webstart:</b> <a href='CircleArt.jnlp' onclick="return launchApplication('CircleArt.jnlp');">click to launch this app as webstart</a><br><hr><br>
|
||||
|
||||
<!-- Applet will be inserted here -->
|
||||
<div id='javafx-app-placeholder'></div>
|
||||
</body></html>
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="CircleArt.jnlp">
|
||||
<information>
|
||||
<title>CircleArt</title>
|
||||
<vendor>bandie</vendor>
|
||||
<description>null</description>
|
||||
<offline-allowed/>
|
||||
</information>
|
||||
<resources>
|
||||
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
|
||||
<jar href="CircleArt.jar" size="1106790" download="eager" />
|
||||
</resources>
|
||||
<applet-desc width="800" height="600" main-class="com.javafx.main.NoJavaFXFallback" name="CircleArt" >
|
||||
<param name="requiredFXVersion" value="8.0+"/>
|
||||
</applet-desc>
|
||||
<jfx:javafx-desc width="800" height="600" main-class="org.bandie.circleart.CircleArt" name="CircleArt" />
|
||||
<update check="always"/>
|
||||
</jnlp>
|
After Width: | Height: | Size: 725 B |
After Width: | Height: | Size: 9.7 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 13 KiB |
|
@ -0,0 +1,3 @@
|
|||
Manifest-Version: 1.0
|
||||
X-COMMENT: Main-Class will be added automatically by build
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
# Do not modify this property in this configuration. It can be re-generated.
|
||||
$label=Run as WebStart
|
|
@ -0,0 +1,2 @@
|
|||
# Do not modify this property in this configuration. It can be re-generated.
|
||||
$label=Run in Browser
|
|
@ -0,0 +1,8 @@
|
|||
build.xml.data.CRC32=38241210
|
||||
build.xml.script.CRC32=e354da3e
|
||||
build.xml.stylesheet.CRC32=8064a381@1.80.1.48
|
||||
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
|
||||
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
|
||||
nbproject/build-impl.xml.data.CRC32=157ad1af
|
||||
nbproject/build-impl.xml.script.CRC32=c8488e2d
|
||||
nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48
|
|
@ -0,0 +1,2 @@
|
|||
# Do not modify this property in this configuration. It can be re-generated.
|
||||
javafx.run.as=webstart
|
|
@ -0,0 +1,2 @@
|
|||
# Do not modify this property in this configuration. It can be re-generated.
|
||||
javafx.run.as=embedded
|
|
@ -0,0 +1,12 @@
|
|||
auxiliary.org-netbeans-modules-projectapi.issue214819_5f_fx_5f_enabled=true
|
||||
compile.on.save=true
|
||||
do.depend=false
|
||||
do.jar=true
|
||||
# No need to modify this property unless customizing JavaFX Ant task infrastructure
|
||||
endorsed.javafx.ant.classpath=.
|
||||
javac.debug=true
|
||||
javadoc.preview=true
|
||||
javafx.run.as=standalone
|
||||
javafx.run.inbrowser=<Default System Browser>
|
||||
javafx.run.inbrowser.path=
|
||||
user.properties.file=/home/bandie/.netbeans/8.2/build.properties
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
|
||||
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
|
||||
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
|
||||
<group>
|
||||
<file>file:/home/bandie/NetBeansProjects/CircleArt/src/org/bandie/circleart/CircleArt.java</file>
|
||||
<file>file:/home/bandie/NetBeansProjects/CircleArt/src/org/bandie/circleart/ObjectMath.java</file>
|
||||
<file>file:/home/bandie/NetBeansProjects/CircleArt/src/org/bandie/circleart/Pen.java</file>
|
||||
<file>file:/home/bandie/NetBeansProjects/CircleArt/src/org/bandie/circleart/CircleArtGUI.java</file>
|
||||
<file>file:/home/bandie/NetBeansProjects/CircleArt/src/org/bandie/circleart/SettingsGUI.java</file>
|
||||
</group>
|
||||
</open-files>
|
||||
</project-private>
|
|
@ -0,0 +1,126 @@
|
|||
annotation.processing.enabled=true
|
||||
annotation.processing.enabled.in.editor=false
|
||||
annotation.processing.processors.list=
|
||||
annotation.processing.run.all.processors=true
|
||||
annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
|
||||
application.splash=
|
||||
application.title=CircleArt
|
||||
application.vendor=bandie
|
||||
auxiliary.org-netbeans-spi-editor-hints-projects.perProjectHintSettingsFile=nbproject/cfg_hints.xml
|
||||
build.classes.dir=${build.dir}/classes
|
||||
build.classes.excludes=**/*.java,**/*.form
|
||||
# This directory is removed when the project is cleaned:
|
||||
build.dir=build
|
||||
build.generated.dir=${build.dir}/generated
|
||||
build.generated.sources.dir=${build.dir}/generated-sources
|
||||
# Only compile against the classpath explicitly listed here:
|
||||
build.sysclasspath=ignore
|
||||
build.test.classes.dir=${build.dir}/test/classes
|
||||
build.test.results.dir=${build.dir}/test/results
|
||||
compile.on.save=true
|
||||
compile.on.save.unsupported.javafx=true
|
||||
# Uncomment to specify the preferred debugger connection transport:
|
||||
#debug.transport=dt_socket
|
||||
debug.classpath=\
|
||||
${run.classpath}
|
||||
debug.test.classpath=\
|
||||
${run.test.classpath}
|
||||
# This directory is removed when the project is cleaned:
|
||||
dist.dir=dist
|
||||
dist.jar=${dist.dir}/CircleArt.jar
|
||||
dist.javadoc.dir=${dist.dir}/javadoc
|
||||
endorsed.classpath=
|
||||
excludes=
|
||||
includes=**
|
||||
# Non-JavaFX jar file creation is deactivated in JavaFX 2.0+ projects
|
||||
jar.archive.disabled=true
|
||||
jar.compress=false
|
||||
javac.classpath=\
|
||||
${javafx.classpath.extension}
|
||||
# Space-separated list of extra javac options
|
||||
javac.compilerargs=
|
||||
javac.deprecation=false
|
||||
javac.external.vm=false
|
||||
javac.processorpath=\
|
||||
${javac.classpath}
|
||||
javac.source=1.8
|
||||
javac.target=1.8
|
||||
javac.test.classpath=\
|
||||
${javac.classpath}:\
|
||||
${build.classes.dir}
|
||||
javac.test.processorpath=\
|
||||
${javac.test.classpath}
|
||||
javadoc.additionalparam=
|
||||
javadoc.author=false
|
||||
javadoc.encoding=${source.encoding}
|
||||
javadoc.noindex=false
|
||||
javadoc.nonavbar=false
|
||||
javadoc.notree=false
|
||||
javadoc.private=false
|
||||
javadoc.splitindex=true
|
||||
javadoc.use=true
|
||||
javadoc.version=false
|
||||
javadoc.windowtitle=
|
||||
javafx.application.implementation.version=1.0
|
||||
javafx.binarycss=false
|
||||
javafx.classpath.extension=\
|
||||
${java.home}/lib/javaws.jar:\
|
||||
${java.home}/lib/deploy.jar:\
|
||||
${java.home}/lib/plugin.jar
|
||||
javafx.deploy.adddesktopshortcut=false
|
||||
javafx.deploy.addstartmenushortcut=false
|
||||
javafx.deploy.allowoffline=true
|
||||
# If true, application update mode is set to 'background', if false, update mode is set to 'eager'
|
||||
javafx.deploy.backgroundupdate=false
|
||||
javafx.deploy.disable.proxy=false
|
||||
javafx.deploy.embedJNLP=true
|
||||
javafx.deploy.includeDT=true
|
||||
javafx.deploy.installpermanently=false
|
||||
javafx.deploy.permissionselevated=false
|
||||
# Set true to prevent creation of temporary copy of deployment artifacts before each run (disables concurrent runs)
|
||||
javafx.disable.concurrent.runs=false
|
||||
# Set true to enable multiple concurrent runs of the same WebStart or Run-in-Browser project
|
||||
javafx.enable.concurrent.external.runs=false
|
||||
# This is a JavaFX project
|
||||
javafx.enabled=true
|
||||
javafx.fallback.class=com.javafx.main.NoJavaFXFallback
|
||||
# Main class for JavaFX
|
||||
javafx.main.class=org.bandie.circleart.CircleArt
|
||||
javafx.preloader.class=
|
||||
# This project does not use Preloader
|
||||
javafx.preloader.enabled=false
|
||||
javafx.preloader.jar.filename=
|
||||
javafx.preloader.jar.path=
|
||||
javafx.preloader.project.path=
|
||||
javafx.preloader.type=none
|
||||
# Set true for GlassFish only. Rebases manifest classpaths of JARs in lib dir. Not usable with signed JARs.
|
||||
javafx.rebase.libs=false
|
||||
javafx.run.height=600
|
||||
javafx.run.width=800
|
||||
javafx.signing.blob=false
|
||||
javafx.signing.enabled=false
|
||||
javafx.signing.type=notsigned
|
||||
# Pre-JavaFX 2.0 WebStart is deactivated in JavaFX 2.0+ projects
|
||||
jnlp.enabled=false
|
||||
# Main class for Java launcher
|
||||
main.class=com.javafx.main.Main
|
||||
# For improved security specify narrower Codebase manifest attribute to prevent RIAs from being repurposed
|
||||
manifest.custom.codebase=*
|
||||
# Specify Permissions manifest attribute to override default (choices: sandbox, all-permissions)
|
||||
manifest.custom.permissions=
|
||||
manifest.file=manifest.mf
|
||||
meta.inf.dir=${src.dir}/META-INF
|
||||
mkdist.disabled=false
|
||||
native.bundling.enabled=false
|
||||
platform.active=default_platform
|
||||
project.license=bsd
|
||||
run.classpath=\
|
||||
${dist.jar}:\
|
||||
${javac.classpath}:\
|
||||
${build.classes.dir}
|
||||
run.test.classpath=\
|
||||
${javac.test.classpath}:\
|
||||
${build.test.classes.dir}
|
||||
source.encoding=UTF-8
|
||||
src.dir=src
|
||||
test.src.dir=test
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://www.netbeans.org/ns/project/1">
|
||||
<type>org.netbeans.modules.java.j2seproject</type>
|
||||
<configuration>
|
||||
<buildExtensions xmlns="http://www.netbeans.org/ns/ant-build-extender/1">
|
||||
<extension file="jfx-impl.xml" id="jfx3">
|
||||
<dependency dependsOn="-jfx-copylibs" target="-post-jar"/>
|
||||
<dependency dependsOn="-rebase-libs" target="-post-jar"/>
|
||||
<dependency dependsOn="jfx-deployment" target="-post-jar"/>
|
||||
<dependency dependsOn="jar" target="debug"/>
|
||||
<dependency dependsOn="jar" target="profile"/>
|
||||
<dependency dependsOn="jar" target="run"/>
|
||||
</extension>
|
||||
</buildExtensions>
|
||||
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
|
||||
<name>CircleArt</name>
|
||||
<source-roots>
|
||||
<root id="src.dir"/>
|
||||
</source-roots>
|
||||
<test-roots>
|
||||
<root id="test.src.dir"/>
|
||||
</test-roots>
|
||||
</data>
|
||||
</configuration>
|
||||
</project>
|
|
@ -0,0 +1,112 @@
|
|||
/*
|
||||
* Copyright (c) 2017, bandie
|
||||
* All rights reserved.
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 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 HOLDER 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.
|
||||
*/
|
||||
package org.bandie.circleart;
|
||||
|
||||
import javafx.geometry.Insets;
|
||||
import javafx.scene.control.Alert;
|
||||
import javafx.scene.control.Alert.AlertType;
|
||||
import javafx.scene.control.Label;
|
||||
import javafx.scene.control.TextArea;
|
||||
import javafx.scene.image.ImageView;
|
||||
import javafx.scene.layout.BorderPane;
|
||||
import javafx.scene.layout.GridPane;
|
||||
import javafx.stage.Stage;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author bandie
|
||||
*/
|
||||
public abstract class About {
|
||||
|
||||
static protected void show(Stage stage) {
|
||||
|
||||
boolean fscr = stage.isFullScreen();
|
||||
|
||||
String progname = "CircleArt";
|
||||
String copyright = "\n\u00a9 2017 by Bandie Canis <bandie@bandie.org>.";
|
||||
String licensetext
|
||||
= "CirceArt is licensed under BSD-2-Clause:\n\n\n"
|
||||
+ "Copyright \u00a9 2017, Bandie Canis"
|
||||
+ "\nAll rights reserved.\n\n"
|
||||
+ "Redistribution and use in source and binary forms, with or without modification, \n"
|
||||
+ "are permitted provided that the following conditions are met:\n\n"
|
||||
+ "1.\tRedistributions of source code must retain the above copyright notice, \n"
|
||||
+ "\tthis list of conditions and the following disclaimer.\n"
|
||||
+ "2.\tRedistributions in binary form must reproduce the above copyright notice, \n"
|
||||
+ "\tthis list of conditions and the following disclaimer in the documentation \n"
|
||||
+ "\tand/or other materials provided with the distribution.\n\n"
|
||||
+ "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 HOLDER 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.";
|
||||
|
||||
ImageView imgBandie = new ImageView(About.class.getResource("BandieCanis.gif").toString());
|
||||
GridPane gp = new GridPane();
|
||||
BorderPane bp = new BorderPane();
|
||||
|
||||
Label prog = new Label(progname);
|
||||
prog.setStyle("-fx-font-weight: bold");
|
||||
Label copy = new Label(copyright);
|
||||
TextArea license = new TextArea(licensetext);
|
||||
license.setEditable(false);
|
||||
license.setWrapText(true);
|
||||
|
||||
gp.setHgap(20.0);
|
||||
gp.addColumn(0, prog, copy);
|
||||
|
||||
gp.addColumn(1, imgBandie);
|
||||
gp.setPadding(new Insets(20, 20, 20, 20));
|
||||
|
||||
bp.setTop(gp);
|
||||
bp.setBottom(license);
|
||||
|
||||
Alert alert = new Alert(AlertType.INFORMATION);
|
||||
alert.setHeight(630.0);
|
||||
alert.setWidth(680.0);
|
||||
alert.setResizable(false);
|
||||
alert.setTitle("About CircleArt");
|
||||
alert.setHeaderText("About CircleArt");
|
||||
alert.getDialogPane().setContent(bp);
|
||||
|
||||
/*
|
||||
alert.widthProperty().addListener((ObservableValue<? extends Number> ov, Number t, Number t1) -> {
|
||||
System.out.println("Width:" + ov.getValue());
|
||||
});
|
||||
|
||||
alert.heightProperty().addListener((ObservableValue<? extends Number> ov, Number t, Number t1) -> {
|
||||
System.out.println("Height:" + ov.getValue());
|
||||
});
|
||||
*/
|
||||
if (fscr) {
|
||||
stage.setFullScreen(false);
|
||||
}
|
||||
|
||||
alert.showAndWait();
|
||||
|
||||
if (fscr) {
|
||||
stage.setFullScreen(true);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
After Width: | Height: | Size: 319 KiB |
|
@ -0,0 +1,65 @@
|
|||
/*
|
||||
* Copyright (c) 2017, bandie
|
||||
* All rights reserved.
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 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 HOLDER 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.
|
||||
*/
|
||||
package org.bandie.circleart;
|
||||
|
||||
import java.util.Locale;
|
||||
import java.util.ResourceBundle;
|
||||
import javafx.animation.PauseTransition;
|
||||
import javafx.application.Application;
|
||||
import javafx.stage.Stage;
|
||||
import javafx.util.Duration;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author bandie
|
||||
*/
|
||||
public class CircleArt extends Application {
|
||||
|
||||
static final Locale CURRENTLOCALE = Locale.getDefault();
|
||||
static final ResourceBundle MSGS = ResourceBundle.getBundle("org/bandie/circleart/msgs", CURRENTLOCALE);
|
||||
|
||||
@Override
|
||||
public void start(Stage stage) {
|
||||
|
||||
Stage cagStage = new Stage();
|
||||
CircleArtGUI cag = new CircleArtGUI();
|
||||
|
||||
Splash.start();
|
||||
PauseTransition delay = new PauseTransition(Duration.seconds(4));
|
||||
delay.setOnFinished(ev -> {
|
||||
Splash.stop();
|
||||
cagStage.requestFocus();
|
||||
|
||||
});
|
||||
delay.play();
|
||||
|
||||
|
||||
|
||||
cag.start(cagStage);
|
||||
|
||||
}
|
||||
|
||||
}
|
After Width: | Height: | Size: 304 KiB |
|
@ -0,0 +1,209 @@
|
|||
/*
|
||||
* Copyright (c) 2017, bandie
|
||||
* All rights reserved.
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 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 HOLDER 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.
|
||||
*/
|
||||
package org.bandie.circleart;
|
||||
|
||||
import javafx.application.Application;
|
||||
import javafx.application.Platform;
|
||||
import javafx.event.ActionEvent;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.scene.control.Label;
|
||||
import javafx.scene.control.Menu;
|
||||
import javafx.scene.control.MenuBar;
|
||||
import javafx.scene.control.MenuItem;
|
||||
import javafx.scene.control.ScrollPane;
|
||||
import javafx.scene.control.SeparatorMenuItem;
|
||||
import javafx.scene.input.KeyCode;
|
||||
import javafx.scene.input.KeyCodeCombination;
|
||||
import javafx.scene.input.KeyCombination;
|
||||
import javafx.scene.input.KeyEvent;
|
||||
import javafx.scene.input.MouseEvent;
|
||||
import javafx.scene.layout.BorderPane;
|
||||
import javafx.scene.layout.GridPane;
|
||||
import javafx.scene.layout.Pane;
|
||||
import javafx.scene.paint.Color;
|
||||
import javafx.scene.shape.Circle;
|
||||
import javafx.scene.text.Font;
|
||||
import javafx.stage.Stage;
|
||||
import static org.bandie.circleart.CircleArt.MSGS;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author bandie
|
||||
*/
|
||||
public class CircleArtGUI extends Application {
|
||||
|
||||
private Stage stageSettingsGUI;
|
||||
private SettingsGUI sg;
|
||||
static final Pen P = new Pen();
|
||||
|
||||
@Override
|
||||
public void start(Stage stage) {
|
||||
|
||||
final KeyCodeCombination kcNew = new KeyCodeCombination(KeyCode.N, KeyCombination.CONTROL_DOWN);
|
||||
final KeyCodeCombination kcSave = new KeyCodeCombination(KeyCode.S, KeyCombination.CONTROL_DOWN);
|
||||
final KeyCodeCombination kcQuit = new KeyCodeCombination(KeyCode.Q, KeyCombination.CONTROL_DOWN);
|
||||
final KeyCodeCombination kcFullscreen = new KeyCodeCombination(KeyCode.F, KeyCombination.CONTROL_DOWN);
|
||||
|
||||
BorderPane root = new BorderPane();
|
||||
|
||||
Pane drawPane = new Pane();
|
||||
ScrollPane scrollPane = new ScrollPane(drawPane);
|
||||
scrollPane.setFitToHeight(true);
|
||||
scrollPane.setFitToWidth(true);
|
||||
|
||||
GridPane statusPane = new GridPane();
|
||||
|
||||
//MENU - File
|
||||
MenuItem menuIFNew = new MenuItem(MSGS.getString("NEW"));
|
||||
menuIFNew.setAccelerator(kcNew);
|
||||
menuIFNew.setOnAction((ActionEvent t) -> {
|
||||
drawPane.getChildren().clear();
|
||||
});
|
||||
|
||||
MenuItem menuIFSave = new MenuItem(MSGS.getString("SAVE"));
|
||||
menuIFSave.setAccelerator(kcSave);
|
||||
menuIFSave.setOnAction((ActionEvent t) -> {
|
||||
FileUtil.saveFile(stage, drawPane);
|
||||
});
|
||||
|
||||
MenuItem menuIFQuit = new MenuItem(MSGS.getString("QUIT"));
|
||||
menuIFQuit.setAccelerator(kcQuit);
|
||||
menuIFQuit.setOnAction(t -> {
|
||||
if (stageSettingsGUI != null) {
|
||||
stageSettingsGUI.close();
|
||||
}
|
||||
stage.close();
|
||||
});
|
||||
|
||||
Menu menuFile = new Menu(MSGS.getString("FILE"));
|
||||
menuFile.getItems().addAll(menuIFNew, menuIFSave, new SeparatorMenuItem(), menuIFQuit);
|
||||
|
||||
//MENU - View
|
||||
MenuItem menuIVFullscreen = new MenuItem(MSGS.getString("FULLSCREEN"));
|
||||
menuIVFullscreen.setAccelerator(kcFullscreen);
|
||||
menuIVFullscreen.setOnAction((ActionEvent t) -> {
|
||||
toggleFullscreen(stage);
|
||||
});
|
||||
|
||||
Menu menuView = new Menu(MSGS.getString("VIEW"));
|
||||
menuView.getItems().addAll(menuIVFullscreen);
|
||||
|
||||
//MENU - Tools
|
||||