Package jgl.wt.awt.listener.callbacks
Interface ReshapeCallback
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ReshapeCallback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onReshape(Component target, int width, int height)
Sets the reshape callback for the current window (triggered when window dimensions are changed) void glutReshapeFunc (void (*func)(int width, int height))
-
-
-
Method Detail
-
onReshape
void onReshape(Component target, int width, int height)
Sets the reshape callback for the current window (triggered when window dimensions are changed) void glutReshapeFunc (void (*func)(int width, int height))- Parameters:
target
- Rendering target componentwidth
- New width of window, pxheight
- New height of window, px
-
-