Login  Register

Re: NEWT : dialog frame and transparent frame

Posted by Sven Gothel on Jun 25, 2013; 3:53pm
URL: https://forum.jogamp.org/NEWT-dialog-frame-and-transparent-frame-tp4029449p4029460.html

On 06/25/2013 04:53 PM, DAO [via jogamp] wrote:
> I could render it in the same GLDrawable.
>
> But sometimes the tooltip size makes it go out of the frame.
> So I would prefer to have a separate frame for it otherwise when I have a
> small frame the tooltips might not be visible.
>
> So how can I make the NEWT frame translucent and child of another frame ?
> Are any of those possible ?

Have a look at the unit tests. We also have a translucent applet
on the test web page.

Basically you set opaque=false and no decorations for the NEWT frame,
then use RGBA8888 caps. Thats it.

~Sven



signature.asc (911 bytes) Download Attachment