Re: Newt undecorated - round corners?
Posted by
gouessej on
Jul 19, 2022; 11:13am
URL: https://forum.jogamp.org/Newt-undecorated-round-corners-tp4041791p4041792.html
Hello
You need to call CreateRoundRectRgn and SetWindowRgn somehow (if you keep the decoration). Maybe it's doable in pure Java by using the Foreign-Memory Access API. Otherwise, you have to modify the region used by the GLWindow if you want to use an undecorated window.
Good luck :s