SetMouseButtonCallback method.
void (*invoke) (
GLFWwindow *window,
int button,
int action,
int mods
)
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static GLFWMouseButtonCallback | Returns: the newGLFWMouseButtonCallbackCreates a |
| public static GLFWMouseButtonCallback | create(GLFWMouseButtonCallbackI instance)
Creates a |
| public static GLFWMouseButtonCallback | |
| public GLFWMouseButtonCallback |
| GLFWMouseButtonCallback | back to summary |
|---|---|
| protected GLFWMouseButtonCallback() | |
| GLFWMouseButtonCallback | back to summary |
|---|---|
| pack-priv GLFWMouseButtonCallback(long functionPointer) | |
| create | back to summary |
|---|---|
| public static GLFWMouseButtonCallback create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static GLFWMouseButtonCallback create(GLFWMouseButtonCallbackI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static GLFWMouseButtonCallback createSafe(long functionPointer) Like
| |
| set | back to summary |
|---|---|
| public GLFWMouseButtonCallback set(long window) | |
| Modifier and Type | Field and Description |
|---|---|
| private final GLFWMouseButtonCallbackI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | invoke(long
the window that received the event window, int the mouse button that was pressed or released button, int action, int bitfield describing which modifiers keys were held down mods)Implements org. |
| delegate | back to summary |
|---|---|
| private final GLFWMouseButtonCallbackI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, GLFWMouseButtonCallbackI delegate) | |
| invoke | back to summary |
|---|---|
| public void invoke(long window, int button, int action, int mods) Implements org. Doc from org. Will be called when a mouse button is pressed or released. | |