Login  Register

Re: How to overlay SWT Widgets over GLCanvas

Posted by Sven Gothel on Jul 04, 2013; 11:41am
URL: https://forum.jogamp.org/How-to-overlay-SWT-Widgets-over-GLCanvas-tp4029507p4029516.html

On 07/04/2013 01:22 PM, Tuan Anh Nguyen [via jogamp] wrote:
> Yes, i followed the tutorial on wade walker blog but the layout manager
> (Absolute layout) didn't work, i mean the canvas still cover the button , no
> matter how i changed the order of button and canvas in the layout.

Don't know how much Wade is using
'com.jogamp.opengl.swt.GLCanvas' or our NewtCanvasSWT class, if at all.

However, we do overlay ourselves a native window on top of the SWT Canvas one,
actually similar to what the SWT own GLCanvas implementation does.

Yes, the SWT implementation has outstanding bugs
and issues like yours (layout z-stacking etc) are quite possible not be covered.

See our bug list for SWT here:
  <https://jogamp.org/bugzilla/buglist.cgi?list_id=1296&short_desc=SWT&resolution=---&query_format=advanced&bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=IN_PROGRESS&short_desc_type=allwordssubstr>

Everybody is welcome to tackle these bugs!
I may only find time for those later this year,
since they are of low-priority at least for me and our projects right now.

Cheers, Sven



signature.asc (911 bytes) Download Attachment