SetWindowContentScaleCallback method.
void (*invoke) (
GLFWwindow *window,
float xscale,
float yscale
)
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static GLFWWindowContentScaleCallback | Returns: the newGLFWWindowContentScaleCallbackCreates a |
| public static GLFWWindowContentScaleCallback | create(GLFWWindowContentScaleCallbackI instance)
Creates a |
| public static GLFWWindowContentScaleCallback | |
| public GLFWWindowContentScaleCallback |
| GLFWWindowContentScaleCallback | back to summary |
|---|---|
| protected GLFWWindowContentScaleCallback() | |
| GLFWWindowContentScaleCallback | back to summary |
|---|---|
| pack-priv GLFWWindowContentScaleCallback(long functionPointer) | |
| create | back to summary |
|---|---|
| public static GLFWWindowContentScaleCallback create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static GLFWWindowContentScaleCallback create(GLFWWindowContentScaleCallbackI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static GLFWWindowContentScaleCallback createSafe(long functionPointer) Like
| |
| set | back to summary |
|---|---|
| public GLFWWindowContentScaleCallback set(long window) | |
| Modifier and Type | Field and Description |
|---|---|
| private final GLFWWindowContentScaleCallbackI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | invoke(long
the window whose content scale changed window, float the new x-axis content scale of the window xscale, float the new y-axis content scale of the window yscale)Implements org. |
| delegate | back to summary |
|---|---|
| private final GLFWWindowContentScaleCallbackI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, GLFWWindowContentScaleCallbackI delegate) | |
| invoke | back to summary |
|---|---|
| public void invoke(long window, float xscale, float yscale) Implements org. Doc from org. Will be called when the window content scale changes.
| |