LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: princec on April 03, 2004, 23:07:05

Title: Some new LWJGL just committed
Post by: princec on April 03, 2004, 23:07:05
Window now has the following new API:

int getX();
int getY();
void setLocation(int x, int y);
void setSize(int width, int height);
void setBounds(int x, int y, int width, int height);


And there is now a new (optional) boolean in the advanced create(...) methods that specifies you want an undecorated window if possible. See the new BouncingWindowTest.

Four more LWJGL properties are now used for those using LWJGL in strange ways:
Cas :)
Title: Some new LWJGL just committed
Post by: cfmdobbie on April 04, 2004, 08:45:19
Groovy - those'll be handy for the Xith3D binding.

Is there an isWindowResized() test or similar, or is window resizing purely a programmatic thing for now?
Title: Some new LWJGL just committed
Post by: princec on April 04, 2004, 09:24:02
Window sizing is purely programmatically controlled. It's just an advanced hack for some specialist purposes.

Cas :)
Title: Some new LWJGL just committed
Post by: elias on April 04, 2004, 09:50:01
Thing is that beyond simple windowed use, we want to encourage the use of the SWT or swing/awt binding. At the documentation phase (post 0.9) we'll probably add a howto-use-foreign-bindings-with-lwjgl.

- elias
Title: Some new LWJGL just committed
Post by: pokkelipoo on April 04, 2004, 15:13:55
Hey, how about adding a method to set the icon of a window(?).