add means of getting surface from outside a subclass

This commit is contained in:
Ben Fry
2015-07-20 08:05:53 -04:00
parent ea4d6add79
commit 7c81171b38
3 changed files with 21 additions and 3 deletions
+5
View File
@@ -809,6 +809,11 @@ public class PApplet implements PConstants {
protected PSurface surface;
public PSurface getSurface() {
return surface;
}
/**
* A dummy frame to keep compatibility with 2.x code
* and encourage users to update.
+3
View File
@@ -1,4 +1,5 @@
0239 core
X add getSurface() method ('surface' is protected in PApplet)
opengl
@@ -24,6 +25,8 @@ _ try using Frame instead of JFrame
_ default sketch location using insets incorrectly
_ use the BufferStrategy directly from the Frame object?
_ might fix performance issues w/ Presentation mode
_ sketch placement (window insets) not properly set on Linux
_ https://github.com/processing/processing/issues/2063
javafx
+13 -3
View File
@@ -1,14 +1,22 @@
0239
X Welcome screen completely broken/looking for debug files
X https://github.com/processing/processing/issues/3474
X Add message that says it's safe to ignore the tools.jar warning
fixed earlier
X font fixes for Georgia in the examples
X contribs listed multiple times
X because they're listed multiple times in contribs.txt
X https://github.com/processing/processing/issues/3353
contribs
X Fix contribution compatibility check
X https://github.com/processing/processing/pull/3479
contribs pending
_ Ready to add contributed example packages?
_ https://github.com/processing/processing/issues/2953
gsoc
X CM updates dialog box doesn't open CM
X https://github.com/processing/processing/issues/3481
X https://github.com/processing/processing/pull/3489
beta
@@ -18,6 +26,8 @@ _ CM ongoing notes and questions
_ https://github.com/processing/processing/issues/3440
_ Contribution Manager design is really rough
_ https://github.com/processing/processing/issues/3464
_ Ready to add contributed example packages?
_ https://github.com/processing/processing/issues/2953
gui