propane 3.6.0-java → 3.10.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.mvn/extensions.xml +1 -1
- data/.travis.yml +1 -1
- data/CHANGELOG.md +5 -1
- data/README.md +6 -13
- data/Rakefile +7 -6
- data/lib/java/japplemenubar/JAppleMenuBar.java +88 -0
- data/lib/java/japplemenubar/libjAppleMenuBar.jnilib +0 -0
- data/lib/java/monkstone/ColorUtil.java +127 -0
- data/lib/java/monkstone/MathToolModule.java +287 -0
- data/lib/java/monkstone/PropaneLibrary.java +46 -0
- data/lib/java/monkstone/core/LibraryProxy.java +136 -0
- data/lib/java/monkstone/fastmath/DegLutTables.java +111 -0
- data/lib/java/monkstone/fastmath/Deglut.java +71 -0
- data/lib/java/monkstone/fastmath/package-info.java +6 -0
- data/lib/java/monkstone/filechooser/Chooser.java +39 -0
- data/lib/java/monkstone/noise/FastTerrain.java +874 -0
- data/lib/java/monkstone/noise/Noise.java +90 -0
- data/lib/java/monkstone/noise/NoiseGenerator.java +75 -0
- data/lib/java/monkstone/noise/NoiseMode.java +28 -0
- data/lib/java/monkstone/noise/OpenSimplex2F.java +881 -0
- data/lib/java/monkstone/noise/OpenSimplex2S.java +1106 -0
- data/lib/java/monkstone/noise/SmoothTerrain.java +1099 -0
- data/lib/java/monkstone/slider/CustomHorizontalSlider.java +164 -0
- data/lib/java/monkstone/slider/CustomVerticalSlider.java +178 -0
- data/lib/java/monkstone/slider/SimpleHorizontalSlider.java +145 -0
- data/lib/java/monkstone/slider/SimpleSlider.java +166 -0
- data/lib/java/monkstone/slider/SimpleVerticalSlider.java +157 -0
- data/lib/java/monkstone/slider/Slider.java +61 -0
- data/lib/java/monkstone/slider/SliderBar.java +245 -0
- data/lib/java/monkstone/slider/SliderGroup.java +56 -0
- data/lib/java/monkstone/slider/WheelHandler.java +35 -0
- data/lib/java/monkstone/vecmath/GfxRender.java +86 -0
- data/lib/java/monkstone/vecmath/JRender.java +56 -0
- data/lib/java/monkstone/vecmath/ShapeRender.java +87 -0
- data/lib/java/monkstone/vecmath/package-info.java +20 -0
- data/lib/java/monkstone/vecmath/vec2/Vec2.java +802 -0
- data/lib/java/monkstone/vecmath/vec2/package-info.java +6 -0
- data/lib/java/monkstone/vecmath/vec3/Vec3.java +727 -0
- data/lib/java/monkstone/vecmath/vec3/package-info.java +6 -0
- data/lib/java/monkstone/videoevent/CaptureEvent.java +27 -0
- data/lib/java/monkstone/videoevent/MovieEvent.java +32 -0
- data/lib/java/monkstone/videoevent/package-info.java +20 -0
- data/lib/java/processing/awt/PGraphicsJava2D.java +3040 -0
- data/lib/java/processing/awt/PImageAWT.java +377 -0
- data/lib/java/processing/awt/PShapeJava2D.java +387 -0
- data/lib/java/processing/awt/PSurfaceAWT.java +1581 -0
- data/lib/java/processing/awt/ShimAWT.java +581 -0
- data/lib/java/processing/core/PApplet.java +15156 -0
- data/lib/java/processing/core/PConstants.java +523 -0
- data/lib/java/processing/core/PFont.java +1126 -0
- data/lib/java/processing/core/PGraphics.java +8600 -0
- data/lib/java/processing/core/PImage.java +3377 -0
- data/lib/java/processing/core/PMatrix.java +208 -0
- data/lib/java/processing/core/PMatrix2D.java +562 -0
- data/lib/java/processing/core/PMatrix3D.java +890 -0
- data/lib/java/processing/core/PShape.java +3561 -0
- data/lib/java/processing/core/PShapeOBJ.java +483 -0
- data/lib/java/processing/core/PShapeSVG.java +2016 -0
- data/lib/java/processing/core/PStyle.java +63 -0
- data/lib/java/processing/core/PSurface.java +198 -0
- data/lib/java/processing/core/PSurfaceNone.java +431 -0
- data/lib/java/processing/core/PVector.java +1066 -0
- data/lib/java/processing/core/ThinkDifferent.java +115 -0
- data/lib/java/processing/data/DoubleDict.java +850 -0
- data/lib/java/processing/data/DoubleList.java +928 -0
- data/lib/java/processing/data/FloatDict.java +847 -0
- data/lib/java/processing/data/FloatList.java +936 -0
- data/lib/java/processing/data/IntDict.java +807 -0
- data/lib/java/processing/data/IntList.java +936 -0
- data/lib/java/processing/data/JSONArray.java +1260 -0
- data/lib/java/processing/data/JSONObject.java +2282 -0
- data/lib/java/processing/data/JSONTokener.java +435 -0
- data/lib/java/processing/data/LongDict.java +802 -0
- data/lib/java/processing/data/LongList.java +937 -0
- data/lib/java/processing/data/Sort.java +46 -0
- data/lib/java/processing/data/StringDict.java +613 -0
- data/lib/java/processing/data/StringList.java +800 -0
- data/lib/java/processing/data/Table.java +4936 -0
- data/lib/java/processing/data/TableRow.java +198 -0
- data/lib/java/processing/data/XML.java +1156 -0
- data/lib/java/processing/dxf/RawDXF.java +404 -0
- data/lib/java/processing/event/Event.java +125 -0
- data/lib/java/processing/event/KeyEvent.java +70 -0
- data/lib/java/processing/event/MouseEvent.java +114 -0
- data/lib/java/processing/event/TouchEvent.java +57 -0
- data/lib/java/processing/javafx/PGraphicsFX2D.java +32 -0
- data/lib/java/processing/javafx/PSurfaceFX.java +173 -0
- data/lib/java/processing/net/Client.java +744 -0
- data/lib/java/processing/net/Server.java +388 -0
- data/lib/java/processing/opengl/FontTexture.java +378 -0
- data/lib/java/processing/opengl/FrameBuffer.java +513 -0
- data/lib/java/processing/opengl/LinePath.java +627 -0
- data/lib/java/processing/opengl/LineStroker.java +681 -0
- data/lib/java/processing/opengl/PGL.java +3483 -0
- data/lib/java/processing/opengl/PGraphics2D.java +615 -0
- data/lib/java/processing/opengl/PGraphics3D.java +281 -0
- data/lib/java/processing/opengl/PGraphicsOpenGL.java +13753 -0
- data/lib/java/processing/opengl/PJOGL.java +2008 -0
- data/lib/java/processing/opengl/PShader.java +1484 -0
- data/lib/java/processing/opengl/PShapeOpenGL.java +5269 -0
- data/lib/java/processing/opengl/PSurfaceJOGL.java +1385 -0
- data/lib/java/processing/opengl/Texture.java +1696 -0
- data/lib/java/processing/opengl/VertexBuffer.java +88 -0
- data/lib/java/processing/opengl/cursors/arrow.png +0 -0
- data/lib/java/processing/opengl/cursors/cross.png +0 -0
- data/lib/java/processing/opengl/cursors/hand.png +0 -0
- data/lib/java/processing/opengl/cursors/license.txt +27 -0
- data/lib/java/processing/opengl/cursors/move.png +0 -0
- data/lib/java/processing/opengl/cursors/text.png +0 -0
- data/lib/java/processing/opengl/cursors/wait.png +0 -0
- data/lib/java/processing/opengl/shaders/ColorFrag.glsl +32 -0
- data/lib/java/processing/opengl/shaders/ColorVert.glsl +34 -0
- data/lib/java/processing/opengl/shaders/LightFrag.glsl +33 -0
- data/lib/java/processing/opengl/shaders/LightVert.glsl +151 -0
- data/lib/java/processing/opengl/shaders/LineFrag.glsl +32 -0
- data/lib/java/processing/opengl/shaders/LineVert.glsl +100 -0
- data/lib/java/processing/opengl/shaders/MaskFrag.glsl +40 -0
- data/lib/java/processing/opengl/shaders/PointFrag.glsl +32 -0
- data/lib/java/processing/opengl/shaders/PointVert.glsl +56 -0
- data/lib/java/processing/opengl/shaders/TexFrag.glsl +37 -0
- data/lib/java/processing/opengl/shaders/TexLightFrag.glsl +37 -0
- data/lib/java/processing/opengl/shaders/TexLightVert.glsl +157 -0
- data/lib/java/processing/opengl/shaders/TexVert.glsl +38 -0
- data/lib/java/processing/pdf/PGraphicsPDF.java +581 -0
- data/lib/java/processing/svg/PGraphicsSVG.java +378 -0
- data/lib/propane/app.rb +9 -10
- data/lib/propane/runner.rb +10 -12
- data/lib/propane/version.rb +1 -1
- data/library/pdf/pdf.rb +7 -0
- data/library/svg/svg.rb +7 -0
- data/mvnw +3 -3
- data/mvnw.cmd +2 -2
- data/pom.rb +30 -3
- data/pom.xml +54 -3
- data/propane.gemspec +7 -3
- data/src/main/java/monkstone/FastNoiseModuleJava.java +127 -0
- data/src/main/java/monkstone/MathToolModule.java +30 -30
- data/src/main/java/monkstone/PropaneLibrary.java +2 -0
- data/src/main/java/monkstone/SmoothNoiseModuleJava.java +127 -0
- data/src/main/java/monkstone/fastmath/DegLutTables.java +111 -0
- data/src/main/java/monkstone/fastmath/Deglut.java +6 -56
- data/src/main/java/monkstone/filechooser/Chooser.java +1 -1
- data/src/main/java/monkstone/noise/OpenSimplex2F.java +813 -0
- data/src/main/java/monkstone/noise/OpenSimplex2S.java +1138 -0
- data/src/main/java/monkstone/slider/WheelHandler.java +1 -1
- data/src/main/java/monkstone/vecmath/JRender.java +6 -6
- data/src/main/java/monkstone/vecmath/vec2/Vec2.java +20 -19
- data/src/main/java/monkstone/vecmath/vec3/Vec3.java +12 -12
- data/src/main/java/processing/awt/PGraphicsJava2D.java +11 -3
- data/src/main/java/processing/core/PApplet.java +13242 -13374
- data/src/main/java/processing/core/PConstants.java +155 -163
- data/src/main/java/processing/core/PGraphics.java +118 -111
- data/src/main/java/processing/opengl/PJOGL.java +6 -5
- data/src/main/java/processing/pdf/PGraphicsPDF.java +581 -0
- data/src/main/java/processing/svg/PGraphicsSVG.java +378 -0
- data/test/deglut_spec_test.rb +2 -2
- data/vendors/Rakefile +1 -1
- metadata +146 -17
- data/library/simplex_noise/simplex_noise.rb +0 -5
- data/src/main/java/monkstone/noise/SimplexNoise.java +0 -436
@@ -0,0 +1,70 @@
|
|
1
|
+
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
|
2
|
+
|
3
|
+
/*
|
4
|
+
Part of the Processing project - http://processing.org
|
5
|
+
|
6
|
+
Copyright (c) 2012 The Processing Foundation
|
7
|
+
|
8
|
+
This library is free software; you can redistribute it and/or
|
9
|
+
modify it under the terms of the GNU Lesser General Public
|
10
|
+
License as published by the Free Software Foundation, version 2.1.
|
11
|
+
|
12
|
+
This library is distributed in the hope that it will be useful,
|
13
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
+
Lesser General Public License for more details.
|
16
|
+
|
17
|
+
You should have received a copy of the GNU Lesser General
|
18
|
+
Public License along with this library; if not, write to the
|
19
|
+
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
20
|
+
Boston, MA 02111-1307 USA
|
21
|
+
*/
|
22
|
+
|
23
|
+
package processing.event;
|
24
|
+
|
25
|
+
|
26
|
+
public class KeyEvent extends Event {
|
27
|
+
static public final int PRESS = 1;
|
28
|
+
static public final int RELEASE = 2;
|
29
|
+
static public final int TYPE = 3;
|
30
|
+
|
31
|
+
char key;
|
32
|
+
int keyCode;
|
33
|
+
|
34
|
+
boolean isAutoRepeat;
|
35
|
+
|
36
|
+
|
37
|
+
public KeyEvent(Object nativeObject,
|
38
|
+
long millis, int action, int modifiers,
|
39
|
+
char key, int keyCode) {
|
40
|
+
super(nativeObject, millis, action, modifiers);
|
41
|
+
this.flavor = KEY;
|
42
|
+
this.key = key;
|
43
|
+
this.keyCode = keyCode;
|
44
|
+
}
|
45
|
+
|
46
|
+
public KeyEvent(Object nativeObject,
|
47
|
+
long millis, int action, int modifiers,
|
48
|
+
char key, int keyCode, boolean isAutoRepeat) {
|
49
|
+
super(nativeObject, millis, action, modifiers);
|
50
|
+
this.flavor = KEY;
|
51
|
+
this.key = key;
|
52
|
+
this.keyCode = keyCode;
|
53
|
+
this.isAutoRepeat = isAutoRepeat;
|
54
|
+
}
|
55
|
+
|
56
|
+
|
57
|
+
public char getKey() {
|
58
|
+
return key;
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
public int getKeyCode() {
|
63
|
+
return keyCode;
|
64
|
+
}
|
65
|
+
|
66
|
+
|
67
|
+
public boolean isAutoRepeat() {
|
68
|
+
return isAutoRepeat;
|
69
|
+
}
|
70
|
+
}
|
@@ -0,0 +1,114 @@
|
|
1
|
+
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
|
2
|
+
|
3
|
+
/*
|
4
|
+
Part of the Processing project - http://processing.org
|
5
|
+
|
6
|
+
Copyright (c) 2012 The Processing Foundation
|
7
|
+
|
8
|
+
This library is free software; you can redistribute it and/or
|
9
|
+
modify it under the terms of the GNU Lesser General Public
|
10
|
+
License as published by the Free Software Foundation, version 2.1.
|
11
|
+
|
12
|
+
This library is distributed in the hope that it will be useful,
|
13
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
+
Lesser General Public License for more details.
|
16
|
+
|
17
|
+
You should have received a copy of the GNU Lesser General
|
18
|
+
Public License along with this library; if not, write to the
|
19
|
+
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
20
|
+
Boston, MA 02111-1307 USA
|
21
|
+
*/
|
22
|
+
|
23
|
+
package processing.event;
|
24
|
+
|
25
|
+
//import processing.core.PConstants;
|
26
|
+
|
27
|
+
|
28
|
+
public class MouseEvent extends Event {
|
29
|
+
static public final int PRESS = 1;
|
30
|
+
static public final int RELEASE = 2;
|
31
|
+
static public final int CLICK = 3;
|
32
|
+
static public final int DRAG = 4;
|
33
|
+
static public final int MOVE = 5;
|
34
|
+
static public final int ENTER = 6;
|
35
|
+
static public final int EXIT = 7;
|
36
|
+
static public final int WHEEL = 8;
|
37
|
+
|
38
|
+
protected int x, y;
|
39
|
+
protected int button;
|
40
|
+
protected int count;
|
41
|
+
|
42
|
+
|
43
|
+
public MouseEvent(Object nativeObject,
|
44
|
+
long millis, int action, int modifiers,
|
45
|
+
int x, int y, int button, int count) {
|
46
|
+
super(nativeObject, millis, action, modifiers);
|
47
|
+
this.flavor = MOUSE;
|
48
|
+
this.x = x;
|
49
|
+
this.y = y;
|
50
|
+
this.button = button;
|
51
|
+
this.count = count;
|
52
|
+
}
|
53
|
+
|
54
|
+
|
55
|
+
public int getX() {
|
56
|
+
return x;
|
57
|
+
}
|
58
|
+
|
59
|
+
|
60
|
+
public int getY() {
|
61
|
+
return y;
|
62
|
+
}
|
63
|
+
|
64
|
+
|
65
|
+
/** Which button was pressed, either LEFT, CENTER, or RIGHT.
|
66
|
+
* @return */
|
67
|
+
public int getButton() {
|
68
|
+
return button;
|
69
|
+
}
|
70
|
+
|
71
|
+
|
72
|
+
/**
|
73
|
+
* Number of clicks for mouse button events, or the number of steps (positive
|
74
|
+
* or negative depending on direction) for a mouse wheel event.Wheel events follow Java (see <a href="http://docs.oracle.com/javase/6/docs/api/java/awt/event/MouseWheelEvent.html#getWheelRotation()">here</a>), so
|
75
|
+
getAmount() will return "negative values if the mouse wheel was rotated
|
76
|
+
up or away from the user" and positive values in the other direction.
|
77
|
+
* On Mac OS X, this will be reversed when "natural" scrolling is enabled
|
78
|
+
in System Preferences &rarr Mouse.
|
79
|
+
* @return
|
80
|
+
*/
|
81
|
+
public int getCount() {
|
82
|
+
return count;
|
83
|
+
}
|
84
|
+
|
85
|
+
|
86
|
+
private String actionString() {
|
87
|
+
switch (action) {
|
88
|
+
default:
|
89
|
+
return "UNKNOWN";
|
90
|
+
case CLICK:
|
91
|
+
return "CLICK";
|
92
|
+
case DRAG:
|
93
|
+
return "DRAG";
|
94
|
+
case ENTER:
|
95
|
+
return "ENTER";
|
96
|
+
case EXIT:
|
97
|
+
return "EXIT";
|
98
|
+
case MOVE:
|
99
|
+
return "MOVE";
|
100
|
+
case PRESS:
|
101
|
+
return "PRESS";
|
102
|
+
case RELEASE:
|
103
|
+
return "RELEASE";
|
104
|
+
case WHEEL:
|
105
|
+
return "WHEEL";
|
106
|
+
}
|
107
|
+
}
|
108
|
+
|
109
|
+
@Override
|
110
|
+
public String toString() {
|
111
|
+
return String.format("<MouseEvent %s@%d,%d count:%d button:%d>",
|
112
|
+
actionString(), x, y, count, button);
|
113
|
+
}
|
114
|
+
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
|
2
|
+
|
3
|
+
/*
|
4
|
+
Part of the Processing project - http://processing.org
|
5
|
+
|
6
|
+
Copyright (c) 2012 The Processing Foundation
|
7
|
+
|
8
|
+
This library is free software; you can redistribute it and/or
|
9
|
+
modify it under the terms of the GNU Lesser General Public
|
10
|
+
License as published by the Free Software Foundation, version 2.1.
|
11
|
+
|
12
|
+
This library is distributed in the hope that it will be useful,
|
13
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
+
Lesser General Public License for more details.
|
16
|
+
|
17
|
+
You should have received a copy of the GNU Lesser General
|
18
|
+
Public License along with this library; if not, write to the
|
19
|
+
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
20
|
+
Boston, MA 02111-1307 USA
|
21
|
+
*/
|
22
|
+
|
23
|
+
package processing.event;
|
24
|
+
|
25
|
+
|
26
|
+
// PLACEHOLDER CLASS: DO NOT USE. IT HAS NOT EVEN DECIDED WHETHER
|
27
|
+
// THIS WILL BE CALLED TOUCHEVENT ONCE IT'S FINISHED.
|
28
|
+
|
29
|
+
/*
|
30
|
+
http://developer.android.com/guide/topics/ui/ui-events.html
|
31
|
+
http://developer.android.com/reference/android/view/MotionEvent.html
|
32
|
+
http://developer.apple.com/library/safari/#documentation/UserExperience/Reference/TouchEventClassReference/TouchEvent/TouchEvent.html
|
33
|
+
http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIGestureRecognizer_Class/Reference/Reference.html#//apple_ref/occ/cl/UIGestureRecognizer
|
34
|
+
|
35
|
+
Apple's high-level gesture names:
|
36
|
+
tap
|
37
|
+
pinch
|
38
|
+
rotate
|
39
|
+
swipe
|
40
|
+
pan
|
41
|
+
longpress
|
42
|
+
|
43
|
+
W3C touch events
|
44
|
+
http://www.w3.org/TR/touch-events/
|
45
|
+
http://www.w3.org/TR/2011/WD-touch-events-20110913/
|
46
|
+
|
47
|
+
Pointer and gesture events (Windows)
|
48
|
+
http://msdn.microsoft.com/en-US/library/ie/hh673557.aspx
|
49
|
+
|
50
|
+
*/
|
51
|
+
public class TouchEvent extends Event {
|
52
|
+
|
53
|
+
public TouchEvent(Object nativeObject, long millis, int action, int modifiers) {
|
54
|
+
super(nativeObject, millis, action, modifiers);
|
55
|
+
this.flavor = TOUCH;
|
56
|
+
}
|
57
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
|
2
|
+
|
3
|
+
/*
|
4
|
+
Part of the Processing project - http://processing.org
|
5
|
+
|
6
|
+
Copyright (c) 2015 The Processing Foundation
|
7
|
+
|
8
|
+
This library is free software; you can redistribute it and/or
|
9
|
+
modify it under the terms of the GNU Lesser General Public
|
10
|
+
License as published by the Free Software Foundation, version 2.1.
|
11
|
+
|
12
|
+
This library is distributed in the hope that it will be useful,
|
13
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
+
Lesser General Public License for more details.
|
16
|
+
|
17
|
+
You should have received a copy of the GNU Lesser General
|
18
|
+
Public License along with this library; if not, write to the
|
19
|
+
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
20
|
+
Boston, MA 02111-1307 USA
|
21
|
+
*/
|
22
|
+
|
23
|
+
package processing.javafx;
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
import processing.core.*;
|
28
|
+
|
29
|
+
|
30
|
+
public class PGraphicsFX2D extends PGraphics {
|
31
|
+
|
32
|
+
}
|
@@ -0,0 +1,173 @@
|
|
1
|
+
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
|
2
|
+
|
3
|
+
/*
|
4
|
+
Part of the Processing project - http://processing.org
|
5
|
+
|
6
|
+
Copyright (c) 2015 The Processing Foundation
|
7
|
+
|
8
|
+
This library is free software; you can redistribute it and/or
|
9
|
+
modify it under the terms of the GNU Lesser General Public
|
10
|
+
License as published by the Free Software Foundation, version 2.1.
|
11
|
+
|
12
|
+
This library is distributed in the hope that it will be useful,
|
13
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
+
Lesser General Public License for more details.
|
16
|
+
|
17
|
+
You should have received a copy of the GNU Lesser General
|
18
|
+
Public License along with this library; if not, write to the
|
19
|
+
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
20
|
+
Boston, MA 02111-1307 USA
|
21
|
+
*/
|
22
|
+
|
23
|
+
package processing.javafx;
|
24
|
+
|
25
|
+
|
26
|
+
import java.io.File;
|
27
|
+
import processing.core.*;
|
28
|
+
|
29
|
+
|
30
|
+
public class PSurfaceFX implements PSurface {
|
31
|
+
final String MESSAGE = "Not implemented by ruby-processing projects";
|
32
|
+
|
33
|
+
@Override
|
34
|
+
public void initOffscreen(PApplet sketch) {
|
35
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
36
|
+
}
|
37
|
+
|
38
|
+
@Override
|
39
|
+
public void initFrame(PApplet sketch) {
|
40
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
41
|
+
}
|
42
|
+
|
43
|
+
@Override
|
44
|
+
public PImage loadImage(String path, Object... args) {
|
45
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
46
|
+
}
|
47
|
+
|
48
|
+
@Override
|
49
|
+
public void selectInput(String prompt, String callback, File file, Object callbackObject) {
|
50
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
51
|
+
}
|
52
|
+
|
53
|
+
@Override
|
54
|
+
public void selectOutput(String prompt, String callback, File file, Object callbackObject) {
|
55
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
56
|
+
}
|
57
|
+
|
58
|
+
@Override
|
59
|
+
public void selectFolder(String prompt, String callback, File file, Object callbackObject) {
|
60
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
61
|
+
}
|
62
|
+
|
63
|
+
@Override
|
64
|
+
public Object getNative() {
|
65
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
66
|
+
}
|
67
|
+
|
68
|
+
@Override
|
69
|
+
public void setTitle(String title) {
|
70
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
71
|
+
}
|
72
|
+
|
73
|
+
@Override
|
74
|
+
public void setVisible(boolean visible) {
|
75
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
76
|
+
}
|
77
|
+
|
78
|
+
@Override
|
79
|
+
public void setResizable(boolean resizable) {
|
80
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
81
|
+
}
|
82
|
+
|
83
|
+
@Override
|
84
|
+
public void setAlwaysOnTop(boolean always) {
|
85
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
86
|
+
}
|
87
|
+
|
88
|
+
@Override
|
89
|
+
public void setIcon(PImage icon) {
|
90
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
91
|
+
}
|
92
|
+
|
93
|
+
@Override
|
94
|
+
public void placeWindow(int[] location, int[] editorLocation) {
|
95
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
96
|
+
}
|
97
|
+
|
98
|
+
@Override
|
99
|
+
public void placePresent(int stopColor) {
|
100
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
101
|
+
}
|
102
|
+
|
103
|
+
@Override
|
104
|
+
public void setupExternalMessages() {
|
105
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
106
|
+
}
|
107
|
+
|
108
|
+
@Override
|
109
|
+
public void setLocation(int x, int y) {
|
110
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
111
|
+
}
|
112
|
+
|
113
|
+
@Override
|
114
|
+
public void setSize(int width, int height) {
|
115
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
116
|
+
}
|
117
|
+
|
118
|
+
@Override
|
119
|
+
public void setFrameRate(float fps) {
|
120
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
121
|
+
}
|
122
|
+
|
123
|
+
@Override
|
124
|
+
public void setCursor(int kind) {
|
125
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
126
|
+
}
|
127
|
+
|
128
|
+
@Override
|
129
|
+
public void setCursor(PImage image, int hotspotX, int hotspotY) {
|
130
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
131
|
+
}
|
132
|
+
|
133
|
+
@Override
|
134
|
+
public void showCursor() {
|
135
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
136
|
+
}
|
137
|
+
|
138
|
+
@Override
|
139
|
+
public void hideCursor() {
|
140
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
141
|
+
}
|
142
|
+
|
143
|
+
@Override
|
144
|
+
public boolean openLink(String url) {
|
145
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
146
|
+
}
|
147
|
+
|
148
|
+
@Override
|
149
|
+
public void startThread() {
|
150
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
151
|
+
}
|
152
|
+
|
153
|
+
@Override
|
154
|
+
public void pauseThread() {
|
155
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
156
|
+
}
|
157
|
+
|
158
|
+
@Override
|
159
|
+
public void resumeThread() {
|
160
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
161
|
+
}
|
162
|
+
|
163
|
+
@Override
|
164
|
+
public boolean stopThread() {
|
165
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
166
|
+
}
|
167
|
+
|
168
|
+
@Override
|
169
|
+
public boolean isStopped() {
|
170
|
+
throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
|
171
|
+
}
|
172
|
+
|
173
|
+
}
|