public interface WindowSizeListener
GLFW.glfwSetWindowSizeCallback(long, org.lwjgl.glfw.GLFWWindowSizeCallbackI)
,
registering a new one will remove the previous one. Using this interface one can register
multiple listeners.Modifier and Type | Method and Description |
---|---|
void |
onWindowSizeChanged(int width,
int height)
When registered by
LwjglWindow.registerWindowSizeListener(WindowSizeListener) ,
it gets invoked on each glfw window size callback to notify the listener about changes
in the window size. |
void onWindowSizeChanged(int width, int height)
LwjglWindow.registerWindowSizeListener(WindowSizeListener)
,
it gets invoked on each glfw window size callback to notify the listener about changes
in the window size.width
- the new window width.height
- the new window height.