Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.
Unstable

Changes

Summary

  1. NEWT: Add DriverUpdatePosition interface; Clarify NativeWindow API doc (details)
  2. JAWTWindow: Impl. insets (if AWT component is a Container) (details)
  3. MacWindow: Impl. DriverUpdatePosition; Alias position2TopLevel -> (details)
  4. NEWT MacWindow: Fix positionChange() Usage ; Fix (details)
Commit f842b59caa0b98c0c0e229ecb9f7c615650e50e8 by Sven Gothel
NEWT: Add DriverUpdatePosition interface; Clarify NativeWindow API doc (position)

DriverUpdatePosition:
Interface tagging driver requirement of absolute positioning, ie. depend on parent position.
The file was addedsrc/newt/classes/jogamp/newt/driver/DriverUpdatePosition.java (diff)
The file was modified src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/DriverClearFocus.java (diff)
Commit 3602649d8e15d2272ac58e9d2abbf60e1e17ff0d by Sven Gothel
JAWTWindow: Impl. insets (if AWT component is a Container)
The file was modified src/nativewindow/classes/jogamp/nativewindow/jawt/JAWTWindow.java (diff)
Commit d3df9b409a0b524497eadd92ccf749ac669b0825 by Sven Gothel
MacWindow: Impl. DriverUpdatePosition; Alias position2TopLevel -> getLocationOnScreenImpl

Since the MacWindow position needs to be changed in concert with the parent,
we need to be triggered to update ours. AWTParentWindowAdapter issues 'updatePosition()'
if DriverUpdatePosition is implemented.
The file was modified src/newt/classes/com/jogamp/newt/event/awt/AWTWindowAdapter.java (diff)
The file was modified src/nativewindow/classes/jogamp/nativewindow/jawt/macosx/MacOSXJAWTWindow.java (diff)
The file was modified src/newt/classes/jogamp/newt/awt/event/AWTParentWindowAdapter.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/macosx/MacWindow.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting02AWT.java (diff)
Commit ebfaa1263a6739b1e9bcdad48c2447c71f94106e by Sven Gothel
NEWT MacWindow: Fix positionChange() Usage ; Fix getLocationOnScreenImpl()

- Native invocation of positionChange(x,y) uses screen coordinates of client area.
  Manual invocation shall respect the semantics - hence calling super.positionChanged w/ client coords.

- getLocationOnScreenImpl() shall return the screen coordinates of the client area

- Use getTopLevelLocationOnScreen(), ie substract Insets of getLocationOnScreenImpl()
The file was modified src/newt/classes/jogamp/newt/driver/macosx/MacWindow.java (diff)