SuccessChanges

Summary

  1. Bug 1232 - NEWT Translucent Decorated Windows Not Working On Windows >= (details)
  2. Bug 1205: Revert clear background to support fix for Bug 1232: NEWT (details)
Commit a9b3f6d13b45284e81b91a1e1e31b35c31dd3670 by Sven Gothel
Bug 1232 - NEWT Translucent Decorated Windows Not Working On Windows >=
8 (Lack of Aero / Blur )
Adopting new undocumented user32.dll Windows >= 8 API:
- SetWindowCompositionAttribute / AccentState
See:
-
<https://github.com/riverar/sample-win10-aeroglass/blob/master/MainWindow.xaml.cs>
-
<http://withinrafael.com/adding-the-aero-glass-blur-to-your-windows-10-apps/>
-
<http://undoc.airesoft.co.uk/user32.dll/SetWindowCompositionAttribute.php>
-
<http://undoc.airesoft.co.uk/user32.dll/GetWindowCompositionAttribute.php>
+++
Cleaning up WindowsDWM.h, use on header file (in stub_includes) for
GlueGen and implementation.
+++
Merge java implementation within GDIUtil.DwmSetupTranslucency(..), to be
utilized by NEWT and JOGL.
NEWT issues GDIUtil.DwmSetupTranslucency(..) at creation and when
toggling decoration.
Toggling decoration on Win >= 8 leads to lost of translucency when
returning to decorated window. On Win 7, this may work .. but is also
buggy.
+++
Followup patch is needed for NEWT to _not_ clear the background!
The file was modifiedmake/stub_includes/win32/WindowsDWM.h (diff)
The file was modifiedmake/config/nativewindow/win32-lib.cfg (diff)
The file was modifiedsrc/nativewindow/classes/jogamp/nativewindow/windows/GDIUtil.java (diff)
The file was modifiedsrc/newt/native/WindowsWindow.c (diff)
The file was addedmake/stub_includes/win32/gluegen/wingdi.h
The file was modifiedsrc/nativewindow/native/win32/WindowsDWM.c (diff)
The file was addedmake/stub_includes/win32/gluegen/windows.h
The file was removedmake/stub_includes/win32/wingdi_types.h
The file was modifiedsrc/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLGraphicsConfiguration.java (diff)
The file was removedmake/stub_includes/win32/windows.h
The file was removedmake/stub_includes/win32/wingdi.h
The file was addedmake/stub_includes/win32/gluegen/wingdi_types.h
The file was modifiedsrc/newt/classes/jogamp/newt/driver/windows/WindowDriver.java (diff)
The file was removedsrc/nativewindow/native/win32/WindowsDWM.h
The file was addedmake/stub_includes/win32/gluegen/winwgl.h
The file was modifiedmake/build-nativewindow.xml (diff)
The file was removedmake/stub_includes/win32/winwgl.h
Commit f60bc2eb827a89d5d26d7348761da268306c0623 by Sven Gothel
Bug 1205: Revert clear background to support fix for Bug 1232: NEWT
Translucency Windows >= 8
Reverting 'clear backrgound' portion of commit
f607c0148736fa198fb91b60123824e53366022e. It has been identified, that
Windows does initialize onscreen windows (i.e. w/ white/DESKTOP color).
This is also required for allowing translucent windows, since clearing
the background intefers on Windows >= 8 (undecorated windows).
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/newt/native/WindowsWindow.c (diff)