[FIXED] Enhance native display window API

Started by princec, July 06, 2011, 23:13:30

Previous topic - Next topic

Liam

Is there any news on this? My current project pretty much relies on the solidity of this implementation to work well heh >.<

The following are things I would really like to see added:

- The Maximize window function (Already mentioned this)
- A minimum size for the window

I believe those two additions would 'complete' the API for most developers needs.

Liam

Sorry for the double posts, but I thought this was worth it to report the bug:

- On the MAC, after the resize has occured all offsets seem relative to the ultimate top of the window (i.e. the top of the native UI bar). This gives the effect of hiding part of the GUI underneath it.

Liam

CodeBunny

Can't you put it on a JFrame? Display.setParent will still work, you know.

kappa

Quote from: Liam on August 30, 2011, 16:06:40
Sorry for the double posts, but I thought this was worth it to report the bug:

- On the MAC, after the resize has occured all offsets seem relative to the ultimate top of the window (i.e. the top of the native UI bar). This gives the effect of hiding part of the GUI underneath it.

Liam

Can you please clarify a bit more on exactly what the issue is here? I've had a look but not noticed anything odd in the resize behaviour, so not sure what the bug here is that you're reporting.

kappa

The Resizing API is now complete as the last remaining implementation (for Linux) is now part of the nightly builds.

I'll mark this RFE as done as its ready for use. Any further features or API's should probably be a separate RFE to keep things simple and allow LWJGL 2.8 to go ahead.

Please do test and report any issues so that they can get fixed for the soon to be released LWJGL 2.8.

princec

Sweet! I'll have a go with the nightlies as soon as I can. Been holding off releasing an update of Revenge until 2.8 comes out :)

Cas :)