Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 213 by
steph...@ooki.com: LWJGL SetResizable and
graphics.SetSize() Conflict
http://code.google.com/p/playn/issues/detail?id=213
What steps will reproduce the problem?
1. Set a Display Resizable : Display.SetResizable(true)
2. Change the size of the canvas in playN :
PlayN.graphics().SetSize(100,100)
3.try to drag your mouse on the border of your window
What is the expected output? What do you see instead?
The game windows is no more resizable.
What version of the product are you using? On what operating system?
PlayN 1.4
Please provide any additional information below.
The setResizable fonction have a test : if(this.resizable != resizable)
which don't work in the createwindow call (class WindowsDisplay) because:
the hwnd is just created but you always have the isResizable in the last
state ( true in my case )
So, the code try to setResizable after but for him their is no change.
And you don't call the setWindowLongPtr(hwnd, GWL_STYLE, style |=
(WS_THICKFRAME | WS_MAXIMIZEBOX));
I think we need something like : this.resizable = false; in the top of the
createwindow fontion.
I'm not sure to be clear :p
Thanks.