summaryrefslogtreecommitdiffstats
path: root/src/newt/classes/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-11-20 00:27:10 +0100
committerSven Gothel <[email protected]>2011-11-20 00:27:10 +0100
commit21439c3423e8a2539cd2bfd4a0c210ae28fac323 (patch)
tree03e482cadadd79b89c2eaab1d0dd440be3f39252 /src/newt/classes/jogamp
parentcf31fc3d119cc8ce531b2b7d898e6d80af79d051 (diff)
NEWT MacWindow: Revised offscreen FIXME tags
Diffstat (limited to 'src/newt/classes/jogamp')
-rw-r--r--src/newt/classes/jogamp/newt/driver/macosx/MacWindow.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/newt/classes/jogamp/newt/driver/macosx/MacWindow.java b/src/newt/classes/jogamp/newt/driver/macosx/MacWindow.java
index 1076c5aac..b7e572b6c 100644
--- a/src/newt/classes/jogamp/newt/driver/macosx/MacWindow.java
+++ b/src/newt/classes/jogamp/newt/driver/macosx/MacWindow.java
@@ -177,21 +177,20 @@ public class MacWindow extends WindowImpl implements SurfaceChangeable, DriverCl
if( 0 != ( FLAG_CHANGE_DECORATION & flags) ||
0 != ( FLAG_CHANGE_PARENTING & flags) ||
0 != ( FLAG_CHANGE_FULLSCREEN & flags) ) {
- // FIXME: need solution for fullscreen ..
createWindow(isOffscreenInstance, true, pS, width, height, 0 != ( FLAG_IS_FULLSCREEN & flags));
if(isVisible()) { flags |= FLAG_CHANGE_VISIBILITY; }
}
if(x>=0 && y>=0) {
if( !isOffscreenInstance ) {
setFrameTopLeftPoint0(getParentWindowHandle(), getWindowHandle(), pS.getX(), pS.getY());
- } // FIXME: need solution for position ..
+ } // else no offscreen position
// no native event (fullscreen, some reparenting)
positionChanged(true, getLocationOnScreenImpl(0, 0)); // incl. validation
}
if(width>0 && height>0) {
if( !isOffscreenInstance ) {
setContentSize0(getWindowHandle(), width, height);
- } // FIXME: need solution for size ..
+ } // else offscreen size is realized via recreation
// no native event (fullscreen, some reparenting)
sizeChanged(true, width, height, false); // incl. validation (incl. repositioning)
}
@@ -236,7 +235,7 @@ public class MacWindow extends WindowImpl implements SurfaceChangeable, DriverCl
protected boolean setPointerVisibleImpl(final boolean pointerVisible) {
if( !isOffscreenInstance ) {
return setPointerVisible0(getWindowHandle(), pointerVisible);
- } // else FIXME: need solution
+ } // else may need offscreen solution ? FIXME
return false;
}
@@ -244,7 +243,7 @@ public class MacWindow extends WindowImpl implements SurfaceChangeable, DriverCl
protected boolean confinePointerImpl(final boolean confine) {
if( !isOffscreenInstance ) {
return confinePointer0(getWindowHandle(), confine);
- } // else FIXME: need solution
+ } // else may need offscreen solution ? FIXME
return false;
}
@@ -252,7 +251,7 @@ public class MacWindow extends WindowImpl implements SurfaceChangeable, DriverCl
protected void warpPointerImpl(final int x, final int y) {
if( !isOffscreenInstance ) {
warpPointer0(getWindowHandle(), x, y);
- } // else FIXME: need solution
+ } // else may need offscreen solution ? FIXME
}
@Override