Login  Register

Re: Feedback on Newt bindings (by lhkbob)

Posted by lhkbob on May 17, 2010; 11:48pm
URL: https://forum.jogamp.org/Feedback-on-Newt-bindings-by-lhkbob-tp823824p824945.html

With regards to using the screen width/height, in Newt's Screen class all I see is a way to get the width and height.  The setters are protected.  If I set the Newt Window's size, it's ignored when I tell it to go to fullscreen mode.  I think this is something that could easily be added to the screen or display classes (I'm not sure which would actually be responsible).

For my 2/3 points, I would be willing to look into it, but it would be helpful if you could point me towards some good literature.

With #4:
The interface NativeWindow has lockSurface(), unlockSurface(), surfaceSwap(), getWindowHandle(), and getSurfaceHandle().  All of these seem more useful for the actual implementations but not something we want most users to see when they just want to make a visible window.

Within Display, there's getFQName(), pumpMessages(), and when creating a Display it's not obvious what's the purpose for having different named displays (or if you can choose your own names).