mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
moving the frame event handling to PApplet itself
This commit is contained in:
@@ -43,6 +43,7 @@ import java.awt.color.ColorSpace;
|
||||
import java.awt.image.BufferedImage;
|
||||
|
||||
|
||||
|
||||
// used by loadImage() functions
|
||||
import javax.imageio.ImageIO;
|
||||
import javax.swing.ImageIcon;
|
||||
@@ -9288,6 +9289,20 @@ public class PApplet implements PConstants {
|
||||
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
void frameMoved(int x, int y) {
|
||||
System.err.println(EXTERNAL_MOVE + " " + x + " " + y);
|
||||
System.err.flush(); // doesn't seem to help or hurt
|
||||
}
|
||||
|
||||
|
||||
void frameResized(int w, int h) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////
|
||||
|
||||
// MAIN
|
||||
|
||||
Reference in New Issue
Block a user