mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
more package mania.. preproc now inserts "public" in front of void setup
This commit is contained in:
@@ -45,7 +45,7 @@ public class PApplet extends Applet
|
||||
|
||||
public PGraphics g;
|
||||
|
||||
static final boolean THREAD_DEBUG = true;
|
||||
static final boolean THREAD_DEBUG = false; //true;
|
||||
|
||||
public int pixels[];
|
||||
|
||||
@@ -231,16 +231,16 @@ public class PApplet extends Applet
|
||||
// ------------------------------------------------------------
|
||||
|
||||
|
||||
void setup() {
|
||||
public void setup() {
|
||||
}
|
||||
|
||||
|
||||
void draw() {
|
||||
public void draw() {
|
||||
drawMethod = false;
|
||||
}
|
||||
|
||||
|
||||
void loop() {
|
||||
public void loop() {
|
||||
loopMethod = false;
|
||||
}
|
||||
|
||||
@@ -2039,8 +2039,13 @@ public class PApplet extends Applet
|
||||
}
|
||||
|
||||
|
||||
public void toGrayscale() {
|
||||
g.toGrayscale();
|
||||
public void filter(int kind) {
|
||||
g.filter(kind);
|
||||
}
|
||||
|
||||
|
||||
public void filter(int kind, float param) {
|
||||
g.filter(kind, param);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user