moving the frame event handling to PApplet itself

This commit is contained in:
Ben Fry
2015-05-14 11:20:35 -04:00
parent 4ba3c6f80e
commit f2e0e05198
+15
View File
@@ -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