Re: Menus and Newt
Posted by 4nt01n3 on Feb 20, 2017; 7:46pm
URL: https://forum.jogamp.org/Menus-and-Newt-tp4037641p4037645.html
Thanks Julien,
The problem is that I would like to be able to switch between fullscreen and windowed. To give some context, I am trying to do a very simple drawing application working with a stylus like wacom ones for example. Most of the time it is a good thing to have fullscreen but users want also a windowed mode.
That said, the Newt canvas does not want to switch to fullscreen under OSX actually (it freezes the application). It works very well under Windows. I did not tested yet under Linux.
Now I also tested NewtCanvasAWT. It works as expected under OSX but under windows the window cannot gain the focus. The same code works well with a GLCanvas, but if I understood well, Newt has better perfomance (and I definitively prefer the Newt API).
As for GUIs, I only want a very basic menu (mainly to be a good desktop citizen). I do not plan to use a very complicated UI, and I thought I might try to do it using OpenGL directly, but I think JOGL graph UI definitively deserve a look. Is there a better place to start ?
Thanks for your time.