propane 3.4.2-java → 3.8.0-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. checksums.yaml +4 -4
  2. data/.mvn/extensions.xml +1 -1
  3. data/.mvn/wrapper/MavenWrapperDownloader.java +2 -2
  4. data/.mvn/wrapper/maven-wrapper.properties +2 -2
  5. data/.travis.yml +1 -1
  6. data/CHANGELOG.md +9 -1
  7. data/Gemfile +2 -0
  8. data/README.md +7 -10
  9. data/Rakefile +10 -11
  10. data/bin/propane +3 -1
  11. data/lib/propane.rb +4 -2
  12. data/lib/propane/app.rb +5 -1
  13. data/lib/propane/creators/sketch_class.rb +7 -1
  14. data/lib/propane/creators/sketch_factory.rb +4 -2
  15. data/lib/propane/creators/sketch_writer.rb +1 -0
  16. data/lib/propane/helper_methods.rb +22 -23
  17. data/lib/propane/helpers/numeric.rb +2 -0
  18. data/lib/propane/helpers/version_error.rb +1 -0
  19. data/lib/propane/library.rb +5 -1
  20. data/lib/propane/library_loader.rb +2 -0
  21. data/lib/propane/native_folder.rb +10 -9
  22. data/lib/propane/native_loader.rb +3 -0
  23. data/lib/propane/runner.rb +20 -14
  24. data/lib/propane/version.rb +2 -1
  25. data/library/boids/boids.rb +21 -11
  26. data/library/color_group/color_group.rb +2 -0
  27. data/library/control_panel/control_panel.rb +8 -5
  28. data/library/dxf/dxf.rb +2 -0
  29. data/library/file_chooser/chooser.rb +10 -9
  30. data/library/file_chooser/file_chooser.rb +10 -9
  31. data/library/library_proxy/library_proxy.rb +2 -0
  32. data/library/net/net.rb +2 -0
  33. data/library/slider/slider.rb +23 -22
  34. data/library/vector_utils/vector_utils.rb +4 -0
  35. data/library/video_event/video_event.rb +2 -0
  36. data/pom.rb +37 -36
  37. data/pom.xml +7 -7
  38. data/propane.gemspec +13 -9
  39. data/src/main/java/japplemenubar/JAppleMenuBar.java +3 -3
  40. data/src/main/java/monkstone/ColorUtil.java +1 -3
  41. data/src/main/java/monkstone/MathToolModule.java +1 -1
  42. data/src/main/java/monkstone/PropaneLibrary.java +2 -2
  43. data/src/main/java/monkstone/fastmath/DegLutTables.java +111 -0
  44. data/src/main/java/monkstone/fastmath/Deglut.java +6 -56
  45. data/src/main/java/monkstone/filechooser/Chooser.java +1 -1
  46. data/src/main/java/monkstone/noise/Noise.java +116 -0
  47. data/src/main/java/monkstone/noise/NoiseGenerator.java +63 -0
  48. data/src/main/java/monkstone/noise/NoiseMode.java +15 -0
  49. data/src/main/java/monkstone/noise/SimplexNoise.java +137 -103
  50. data/src/main/java/monkstone/noise/ValueNoise.java +170 -0
  51. data/src/main/java/monkstone/slider/CustomHorizontalSlider.java +1 -1
  52. data/src/main/java/monkstone/slider/CustomVerticalSlider.java +1 -1
  53. data/src/main/java/monkstone/slider/SimpleHorizontalSlider.java +1 -1
  54. data/src/main/java/monkstone/slider/SimpleVerticalSlider.java +1 -1
  55. data/src/main/java/monkstone/slider/SliderBar.java +1 -1
  56. data/src/main/java/monkstone/slider/SliderGroup.java +1 -1
  57. data/src/main/java/monkstone/slider/WheelHandler.java +1 -1
  58. data/src/main/java/monkstone/vecmath/package-info.java +1 -1
  59. data/src/main/java/monkstone/vecmath/vec2/Vec2.java +1 -1
  60. data/src/main/java/monkstone/vecmath/vec3/Vec3.java +1 -2
  61. data/src/main/java/monkstone/videoevent/CaptureEvent.java +1 -1
  62. data/src/main/java/monkstone/videoevent/MovieEvent.java +1 -1
  63. data/src/main/java/monkstone/videoevent/package-info.java +1 -1
  64. data/src/main/java/processing/awt/PGraphicsJava2D.java +781 -285
  65. data/src/main/java/processing/awt/PImageAWT.java +377 -0
  66. data/src/main/java/processing/awt/PShapeJava2D.java +56 -52
  67. data/src/main/java/processing/awt/PSurfaceAWT.java +308 -208
  68. data/src/main/java/processing/awt/ShimAWT.java +581 -0
  69. data/src/main/java/processing/core/PApplet.java +13142 -13883
  70. data/src/main/java/processing/core/PConstants.java +477 -447
  71. data/src/main/java/processing/core/PFont.java +914 -880
  72. data/src/main/java/processing/core/PGraphics.java +152 -136
  73. data/src/main/java/processing/core/PImage.java +275 -372
  74. data/src/main/java/processing/core/PMatrix.java +172 -159
  75. data/src/main/java/processing/core/PMatrix2D.java +478 -415
  76. data/src/main/java/processing/core/PMatrix3D.java +762 -735
  77. data/src/main/java/processing/core/PShape.java +2887 -2651
  78. data/src/main/java/processing/core/PShapeOBJ.java +97 -92
  79. data/src/main/java/processing/core/PShapeSVG.java +1705 -1490
  80. data/src/main/java/processing/core/PStyle.java +40 -37
  81. data/src/main/java/processing/core/PSurface.java +139 -97
  82. data/src/main/java/processing/core/PSurfaceNone.java +296 -218
  83. data/src/main/java/processing/core/PVector.java +995 -963
  84. data/src/main/java/processing/core/ThinkDifferent.java +12 -8
  85. data/src/main/java/processing/data/DoubleDict.java +756 -710
  86. data/src/main/java/processing/data/DoubleList.java +749 -696
  87. data/src/main/java/processing/data/FloatDict.java +748 -702
  88. data/src/main/java/processing/data/FloatList.java +751 -697
  89. data/src/main/java/processing/data/IntDict.java +720 -673
  90. data/src/main/java/processing/data/IntList.java +699 -633
  91. data/src/main/java/processing/data/JSONArray.java +931 -873
  92. data/src/main/java/processing/data/JSONObject.java +1262 -1165
  93. data/src/main/java/processing/data/JSONTokener.java +351 -341
  94. data/src/main/java/processing/data/LongDict.java +710 -663
  95. data/src/main/java/processing/data/LongList.java +701 -635
  96. data/src/main/java/processing/data/Sort.java +37 -41
  97. data/src/main/java/processing/data/StringDict.java +525 -486
  98. data/src/main/java/processing/data/StringList.java +626 -580
  99. data/src/main/java/processing/data/Table.java +3690 -3510
  100. data/src/main/java/processing/data/TableRow.java +182 -183
  101. data/src/main/java/processing/data/XML.java +957 -883
  102. data/src/main/java/processing/event/Event.java +87 -67
  103. data/src/main/java/processing/event/KeyEvent.java +48 -41
  104. data/src/main/java/processing/event/MouseEvent.java +88 -113
  105. data/src/main/java/processing/event/TouchEvent.java +10 -6
  106. data/src/main/java/processing/javafx/PGraphicsFX2D.java +20 -345
  107. data/src/main/java/processing/javafx/PSurfaceFX.java +149 -121
  108. data/src/main/java/processing/net/Client.java +20 -20
  109. data/src/main/java/processing/net/Server.java +9 -9
  110. data/src/main/java/processing/opengl/FontTexture.java +286 -266
  111. data/src/main/java/processing/opengl/FrameBuffer.java +389 -377
  112. data/src/main/java/processing/opengl/LinePath.java +132 -89
  113. data/src/main/java/processing/opengl/LineStroker.java +588 -581
  114. data/src/main/java/processing/opengl/PGL.java +660 -567
  115. data/src/main/java/processing/opengl/PGraphics2D.java +408 -315
  116. data/src/main/java/processing/opengl/PGraphics3D.java +107 -72
  117. data/src/main/java/processing/opengl/PGraphicsOpenGL.java +12378 -12075
  118. data/src/main/java/processing/opengl/PJOGL.java +1753 -1670
  119. data/src/main/java/processing/opengl/PShader.java +369 -461
  120. data/src/main/java/processing/opengl/PShapeOpenGL.java +4678 -4580
  121. data/src/main/java/processing/opengl/PSurfaceJOGL.java +1114 -1027
  122. data/src/main/java/processing/opengl/Texture.java +1492 -1401
  123. data/src/main/java/processing/opengl/VertexBuffer.java +57 -55
  124. data/test/create_test.rb +21 -20
  125. data/test/deglut_spec_test.rb +4 -2
  126. data/test/helper_methods_test.rb +49 -20
  127. data/test/math_tool_test.rb +39 -32
  128. data/test/native_folder.rb +47 -0
  129. data/test/respond_to_test.rb +3 -2
  130. data/test/sketches/key_event.rb +2 -2
  131. data/test/sketches/library/my_library/my_library.rb +3 -0
  132. data/test/test_helper.rb +2 -0
  133. data/test/vecmath_spec_test.rb +35 -22
  134. data/vendors/Rakefile +35 -40
  135. metadata +47 -23
  136. data/library/simplex_noise/simplex_noise.rb +0 -3
  137. data/src/main/java/processing/opengl/shaders/LightVert-brcm.glsl +0 -154
  138. data/src/main/java/processing/opengl/shaders/LightVert-vc4.glsl +0 -154
  139. data/src/main/java/processing/opengl/shaders/TexLightVert-brcm.glsl +0 -160
  140. data/src/main/java/processing/opengl/shaders/TexLightVert-vc4.glsl +0 -160
@@ -1,3 +1,5 @@
1
+ /* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
2
+
1
3
  /*
2
4
  Part of the Processing project - http://processing.org
3
5
 
@@ -16,9 +18,11 @@
16
18
  Public License along with this library; if not, write to the
17
19
  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
18
20
  Boston, MA 02111-1307 USA
19
- */
21
+ */
22
+
20
23
  package processing.event;
21
24
 
25
+
22
26
  // PLACEHOLDER CLASS: DO NOT USE. IT HAS NOT EVEN DECIDED WHETHER
23
27
  // THIS WILL BE CALLED TOUCHEVENT ONCE IT'S FINISHED.
24
28
 
@@ -43,11 +47,11 @@ http://www.w3.org/TR/2011/WD-touch-events-20110913/
43
47
  Pointer and gesture events (Windows)
44
48
  http://msdn.microsoft.com/en-US/library/ie/hh673557.aspx
45
49
 
46
- */
50
+ */
47
51
  public class TouchEvent extends Event {
48
52
 
49
- public TouchEvent(Object nativeObject, long millis, int action, int modifiers) {
50
- super(nativeObject, millis, action, modifiers);
51
- this.flavor = TOUCH;
52
- }
53
+ public TouchEvent(Object nativeObject, long millis, int action, int modifiers) {
54
+ super(nativeObject, millis, action, modifiers);
55
+ this.flavor = TOUCH;
56
+ }
53
57
  }
@@ -1,357 +1,32 @@
1
- package processing.javafx;
2
-
3
- import processing.core.PGraphics;
4
- import processing.core.PImage;
5
- import processing.core.PMatrix;
6
- import processing.core.PMatrix2D;
7
- import processing.core.PMatrix3D;
8
- import processing.core.PShape;
9
- import processing.core.PSurface;
10
-
11
- public class PGraphicsFX2D extends PGraphics {
12
-
13
- final String message = "FX2D renderer not supported in this version of propane";
14
-
15
- public PGraphicsFX2D() {
16
- }
17
-
18
- @Override
19
- public void applyMatrix(float n00, float n01, float n02, float n10, float n11, float n12) {
20
- throw new UnsupportedOperationException(message);
21
- }
22
-
23
- @Override
24
- public void applyMatrix(float n00, float n01, float n02, float n03, float n10, float n11, float n12, float n13, float n20, float n21, float n22, float n23, float n30, float n31, float n32, float n33) {
25
- throw new UnsupportedOperationException(message);
26
- }
27
-
28
- @Override
29
- protected void backgroundImpl() {
30
- throw new UnsupportedOperationException(message);
31
- }
32
-
33
- @Override
34
- public void beginContour() {
35
- throw new UnsupportedOperationException(message);
36
- }
37
-
38
- @Override
39
- public void beginDraw() {
40
- throw new UnsupportedOperationException(message);
41
- }
42
-
43
- @Override
44
- public void beginShape(int kind) {
45
- throw new UnsupportedOperationException(message);
46
- }
47
-
48
- @Override
49
- public void bezierDetail(int detail) {
50
- throw new UnsupportedOperationException(message);
51
- }
52
-
53
- @Override
54
- public void bezierVertex(float x1, float y1, float x2, float y2, float x3, float y3) {
55
- throw new UnsupportedOperationException(message);
56
- }
57
-
58
- @Override
59
- public void bezierVertex(float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4) {
60
- throw new UnsupportedOperationException(message);
61
- }
62
-
63
- @Override
64
- public void box(float w, float h, float d) {
65
- throw new UnsupportedOperationException(message);
66
- }
67
-
68
- @Override
69
- public PSurface createSurface() {
70
- throw new UnsupportedOperationException(message);
71
- }
72
-
73
- @Override
74
- public void curveDetail(int detail) {
75
- throw new UnsupportedOperationException(message);
76
- }
77
-
78
- @Override
79
- public void curveVertex(float x, float y, float z) {
80
- throw new UnsupportedOperationException(message);
81
- }
82
-
83
- @Override
84
- public void endContour() {
85
- throw new UnsupportedOperationException(message);
86
- }
87
-
88
- @Override
89
- public void endDraw() {
90
- throw new UnsupportedOperationException(message);
91
- }
92
-
93
- @Override
94
- public void endShape(int mode) {
95
- throw new UnsupportedOperationException(message);
96
- }
97
-
98
- @Override
99
- public void flush() {
100
- throw new UnsupportedOperationException(message);
101
- }
102
-
103
- @Override
104
- public int get(int x, int y) {
105
- throw new UnsupportedOperationException(message);
106
- }
107
-
108
- @Override
109
- public PMatrix getMatrix() {
110
- throw new UnsupportedOperationException(message);
111
- }
112
-
113
- @Override
114
- public PMatrix2D getMatrix(PMatrix2D target) {
115
- throw new UnsupportedOperationException(message);
116
- }
117
-
118
- @Override
119
- public PMatrix3D getMatrix(PMatrix3D target) {
120
- throw new UnsupportedOperationException(message);
121
- }
122
-
123
- @Override
124
- public Object getNative() {
125
- throw new UnsupportedOperationException(message);
126
- }
127
-
128
- @Override
129
- public void line(float x1, float y1, float x2, float y2) {
130
- throw new UnsupportedOperationException(message);
131
- }
132
-
133
- @Override
134
- public void loadPixels() {
135
- throw new UnsupportedOperationException(message);
136
- }
137
-
138
- @Override
139
- public PShape loadShape(String filename) {
140
- throw new UnsupportedOperationException(message);
141
- }
142
-
143
- @Override
144
- public PShape loadShape(String filename, String options) {
145
- throw new UnsupportedOperationException(message);
146
- }
147
-
148
- @Override
149
- public void mask(PImage alpha) {
150
- throw new UnsupportedOperationException(message);
151
- }
1
+ /* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
152
2
 
153
- @Override
154
- public void noClip() {
155
- throw new UnsupportedOperationException(message);
156
- }
3
+ /*
4
+ Part of the Processing project - http://processing.org
157
5
 
158
- @Override
159
- public void point(float x, float y) {
160
- throw new UnsupportedOperationException(message);
161
- }
6
+ Copyright (c) 2015 The Processing Foundation
162
7
 
163
- @Override
164
- public void popMatrix() {
165
- throw new UnsupportedOperationException(message);
166
- }
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.
167
11
 
168
- @Override
169
- public void printMatrix() {
170
- throw new UnsupportedOperationException(message);
171
- }
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.
172
16
 
173
- @Override
174
- public void pushMatrix() {
175
- throw new UnsupportedOperationException(message);
176
- }
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
+ */
177
22
 
178
- @Override
179
- public void quad(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) {
180
- throw new UnsupportedOperationException(message);
181
- }
182
-
183
- @Override
184
- public void quadraticVertex(float ctrlX, float ctrlY, float endX, float endY) {
185
- throw new UnsupportedOperationException(message);
186
- }
187
-
188
- @Override
189
- public void quadraticVertex(float x2, float y2, float z2, float x4, float y4, float z4) {
190
- throw new UnsupportedOperationException(message);
191
- }
192
-
193
- @Override
194
- public void resetMatrix() {
195
- throw new UnsupportedOperationException(message);
196
- }
197
-
198
- @Override
199
- public void rotate(float angle) {
200
- throw new UnsupportedOperationException(message);
201
- }
202
-
203
- @Override
204
- public void rotate(float angle, float vx, float vy, float vz) {
205
- throw new UnsupportedOperationException(message);
206
- }
207
-
208
- @Override
209
- public void rotateX(float angle) {
210
- throw new UnsupportedOperationException(message);
211
- }
212
-
213
- @Override
214
- public void rotateY(float angle) {
215
- throw new UnsupportedOperationException(message);
216
- }
217
-
218
- @Override
219
- public void rotateZ(float angle) {
220
- throw new UnsupportedOperationException(message);
221
- }
222
-
223
- @Override
224
- public void scale(float s) {
225
- throw new UnsupportedOperationException(message);
226
- }
227
-
228
- @Override
229
- public void scale(float sx, float sy) {
230
- throw new UnsupportedOperationException(message);
231
- }
232
-
233
- @Override
234
- public void scale(float sx, float sy, float sz) {
235
- throw new UnsupportedOperationException(message);
236
- }
237
-
238
- @Override
239
- public float screenX(float x, float y) {
240
- throw new UnsupportedOperationException(message);
241
- }
242
-
243
- @Override
244
- public float screenX(float x, float y, float z) {
245
- throw new UnsupportedOperationException(message);
246
- }
247
-
248
- @Override
249
- public float screenY(float x, float y) {
250
- throw new UnsupportedOperationException(message);
251
- }
252
-
253
- @Override
254
- public float screenY(float x, float y, float z) {
255
- throw new UnsupportedOperationException(message);
256
- }
257
-
258
- @Override
259
- public float screenZ(float x, float y, float z) {
260
- throw new UnsupportedOperationException(message);
261
- }
262
-
263
- @Override
264
- public void set(int x, int y, int argb) {
265
- throw new UnsupportedOperationException(message);
266
- }
267
-
268
- @Override
269
- public void setMatrix(PMatrix2D source) {
270
- throw new UnsupportedOperationException(message);
271
- }
272
-
273
- @Override
274
- public void setMatrix(PMatrix3D source) {
275
- throw new UnsupportedOperationException(message);
276
- }
277
-
278
- @Override
279
- public void shearX(float angle) {
280
- throw new UnsupportedOperationException(message);
281
- }
282
-
283
- @Override
284
- public void shearY(float angle) {
285
- throw new UnsupportedOperationException(message);
286
- }
287
-
288
- @Override
289
- public void sphere(float r) {
290
- throw new UnsupportedOperationException(message);
291
- }
292
-
293
- @Override
294
- public void strokeCap(int cap) {
295
- throw new UnsupportedOperationException(message);
296
- }
297
-
298
- @Override
299
- public void strokeJoin(int join) {
300
- throw new UnsupportedOperationException(message);
301
- }
302
-
303
- @Override
304
- public void strokeWeight(float weight) {
305
- throw new UnsupportedOperationException(message);
306
- }
307
-
308
- @Override
309
- public float textAscent() {
310
- throw new UnsupportedOperationException(message);
311
- }
312
-
313
- @Override
314
- public float textDescent() {
315
- throw new UnsupportedOperationException(message);
316
- }
317
-
318
- @Override
319
- public void texture(PImage image) {
320
- throw new UnsupportedOperationException(message);
321
- }
322
-
323
- @Override
324
- public void translate(float tx, float ty) {
325
- throw new UnsupportedOperationException(message);
326
- }
327
-
328
- @Override
329
- public void triangle(float x1, float y1, float x2, float y2, float x3, float y3) {
330
- throw new UnsupportedOperationException(message);
331
- }
23
+ package processing.javafx;
332
24
 
333
- @Override
334
- public void vertex(float x, float y) {
335
- throw new UnsupportedOperationException(message);
336
- }
337
25
 
338
- @Override
339
- public void vertex(float x, float y, float z) {
340
- throw new UnsupportedOperationException(message);
341
- }
342
26
 
343
- @Override
344
- public void vertex(float[] v) {
345
- throw new UnsupportedOperationException(message);
346
- }
27
+ import processing.core.*;
347
28
 
348
- @Override
349
- public void vertex(float x, float y, float u, float v) {
350
- throw new UnsupportedOperationException(message);
351
- }
352
29
 
353
- @Override
354
- public void vertex(float x, float y, float z, float u, float v) {
355
- throw new UnsupportedOperationException(message);
356
- }
30
+ public class PGraphicsFX2D extends PGraphics {
31
+
357
32
  }
@@ -1,3 +1,5 @@
1
+ /* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
2
+
1
3
  /*
2
4
  Part of the Processing project - http://processing.org
3
5
 
@@ -16,130 +18,156 @@
16
18
  Public License along with this library; if not, write to the
17
19
  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
18
20
  Boston, MA 02111-1307 USA
19
- */
21
+ */
22
+
20
23
  package processing.javafx;
21
24
 
22
- import processing.core.PApplet;
23
- import processing.core.PImage;
24
- import processing.core.PSurface;
25
25
 
26
- public class PSurfaceFX implements PSurface {
26
+ import java.io.File;
27
+ import processing.core.*;
27
28
 
28
- final String message = "FX2D renderer not supported in this version of propane";
29
-
30
- @Override
31
- public void initOffscreen(PApplet sketch) {
32
- throw new UnsupportedOperationException(message);
33
- }
34
-
35
- @Override
36
- public void initFrame(PApplet sketch) {
37
- throw new UnsupportedOperationException(message);
38
- }
39
-
40
- @Override
41
- public Object getNative() {
42
- throw new UnsupportedOperationException(message);
43
- }
44
-
45
- @Override
46
- public void setTitle(String title) {
47
- throw new UnsupportedOperationException(message);
48
- }
49
-
50
- @Override
51
- public void setVisible(boolean visible) {
52
- throw new UnsupportedOperationException(message);
53
- }
54
-
55
- @Override
56
- public void setResizable(boolean resizable) {
57
- throw new UnsupportedOperationException(message);
58
- }
59
-
60
- @Override
61
- public void setAlwaysOnTop(boolean always) {
62
- throw new UnsupportedOperationException(message);
63
- }
64
-
65
- @Override
66
- public void setIcon(PImage icon) {
67
- throw new UnsupportedOperationException(message);
68
- }
69
-
70
- @Override
71
- public void placeWindow(int[] location, int[] editorLocation) {
72
- throw new UnsupportedOperationException(message);
73
- }
74
-
75
- @Override
76
- public void placePresent(int stopColor) {
77
- throw new UnsupportedOperationException(message);
78
- }
79
-
80
- @Override
81
- public void setupExternalMessages() {
82
- throw new UnsupportedOperationException(message);
83
- }
84
-
85
- @Override
86
- public void setLocation(int x, int y) {
87
- throw new UnsupportedOperationException(message);
88
- }
89
-
90
- @Override
91
- public void setSize(int width, int height) {
92
- throw new UnsupportedOperationException(message);
93
- }
94
-
95
- @Override
96
- public void setFrameRate(float fps) {
97
- throw new UnsupportedOperationException(message);
98
- }
99
-
100
- @Override
101
- public void setCursor(int kind) {
102
- throw new UnsupportedOperationException(message);
103
- }
104
-
105
- @Override
106
- public void setCursor(PImage image, int hotspotX, int hotspotY) {
107
- throw new UnsupportedOperationException(message);
108
- }
109
-
110
- @Override
111
- public void showCursor() {
112
- throw new UnsupportedOperationException(message);
113
- }
114
-
115
- @Override
116
- public void hideCursor() {
117
- throw new UnsupportedOperationException(message);
118
- }
119
-
120
- @Override
121
- public void startThread() {
122
- throw new UnsupportedOperationException(message);
123
- }
124
-
125
- @Override
126
- public void pauseThread() {
127
- throw new UnsupportedOperationException(message);
128
- }
129
-
130
- @Override
131
- public void resumeThread() {
132
- throw new UnsupportedOperationException(message);
133
- }
134
-
135
- @Override
136
- public boolean stopThread() {
137
- throw new UnsupportedOperationException(message);
138
- }
139
-
140
- @Override
141
- public boolean isStopped() {
142
- throw new UnsupportedOperationException(message);
143
- }
144
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
+
145
173
  }