fix present mode on os x

This commit is contained in:
benfry
2011-03-08 00:47:44 +00:00
parent cff54bee96
commit ff596dc161
2 changed files with 7 additions and 9 deletions

View File

@@ -7382,7 +7382,8 @@ public class PApplet extends Applet
frame.setBackground(backgroundColor);
if (exclusive) {
displayDevice.setFullScreenWindow(frame);
frame.setExtendedState(java.awt.Frame.MAXIMIZED_BOTH);
// this trashes the location of the window on os x
//frame.setExtendedState(java.awt.Frame.MAXIMIZED_BOTH);
fullScreenRect = frame.getBounds();
} else {
DisplayMode mode = displayDevice.getDisplayMode();

View File

@@ -14,8 +14,12 @@ X changing PDF to use textMode(SHAPE) by default
X saving a PGraphics as jpg using save() makes a cmyk file
X need to shut off the alpha channel when writing
X http://code.google.com/p/processing/issues/detail?id=415
X present mode is no longer centering on macosx
X problem with setExtendedState(), which doesn't seem to be necessary
o only top left 100 x 100 pixels are displayed in presentation mode (Linux 1.1+)
o also was just crashing in main() for me, check on this later
o http://dev.processing.org/bugs/show_bug.cgi?id=1560
_ present mode is no longer centering on macosx
_ bug: textAlign(RIGHT) is shutting off native fonts
_ makes salaryper super ugly
@@ -54,9 +58,6 @@ Unfortunately I don't really understand the true cause of the underlying problem
_ Seeming problem displaying SVG data when layer data is grouped
_ http://code.google.com/p/processing/issues/detail?id=388
_ check glyph code < 0 instead of Font.canDisplay()
_ OS X claims that it can display more glyphs because of substitutions
_ bug in SVG parser for shorthand curves (T/t and S/s)
_ http://code.google.com/p/processing/issues/detail?id=350
@@ -96,10 +97,6 @@ _ transparency issue (might just be a bug in their code?)
_ http://dev.processing.org/bugs/show_bug.cgi?id=1280
_ http://code.google.com/p/processing/issues/detail?id=182
_ only top left 100 x 100 pixels are displayed in presentation mode (Linux 1.1+)
_ also was just crashing in main() for me, check on this later
_ http://dev.processing.org/bugs/show_bug.cgi?id=1560
_ need to make sure the createFont() reference is up to date for charset
_ make determination on shape(x,y,z,w,h,d) or no