Skip to content

Commit 0052e2a

Browse files
committed
reworking around separate surface object
1 parent 239710e commit 0052e2a

File tree

6 files changed

+1490
-1979
lines changed

6 files changed

+1490
-1979
lines changed

core/notes.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
1. nothing displayed (isDisplayable returns false, i.e. PDF)
3+
2. sketch in a window (most usage, from the PDE)
4+
3. present (sketch is smaller, color the rest of the screen)
5+
4. full screen
6+
5. all screens
7+
8+
sketchRenderer() is required
9+
the renderer class/package is used to call a static method on the PGraphics
10+
that returns the class type for the rendering surface
11+
12+
inside main, will know the screen that's being used for the app
13+
14+
removed functions
15+
param()
16+
the old awt event handlers (they were a warning in 2.x)
17+
PGraphics.requestDraw(), because renderers now have their own threads
18+
PGraphics.setFrameRate removed, added to PSurface
19+
requires 1.7.. uses revalidate() method
20+
destroy() (only called by applet? calls dispose())
21+

0 commit comments

Comments
 (0)