Custom looking window...?

Started by bdk, September 13, 2009, 13:23:59

Previous topic - Next topic

bdk

Hi

First of all: thanks for developing this library :)

I wanted to ask if it's possible to create with LWJGL a custom looking window.

I found in the forum about how to create an undeccorated window by using the flag

-Dorg.lwjgl.opengl.Window.undecorated=true


However at this point how is it possible to:

1) Move the window

2) Minimize it the created window?


for (1) I've tried something like:

Display.setLocation( Mouse.getX(), desktopResolution - Mouse.getY() );


but for this to work mouse coordinates should be relative to desktop and not be clamped to window size...


Ideally it would be nice to achieve something like this:

http://rabbit-hole.blogspot.com/2007/05/easier-alpha-masks.html

which uses native OS functionalities by mean of JNA


thanks for your attention :)


bdk