jglfw icon indicating copy to clipboard operation
jglfw copied to clipboard

provide methods for work with cursor

Open NkD opened this issue 10 years ago • 2 comments

missing methods

glfwCreateCursor http://www.glfw.org/docs/latest/group__input.html#gafca356935e10135016aa49ffa464c355

glfwCreateStandardCursor http://www.glfw.org/docs/latest/group__input.html#gaa65f416d03ebbbb5b8db71a489fcb894

glfwDestroyCursor http://www.glfw.org/docs/latest/group__input.html#ga81b952cd1764274d0db7fb3c5a79ba6a

glfwSetCursor http://www.glfw.org/docs/latest/group__input.html#gad3b4f38c8d5dae036bc8fa959e18343e

NkD avatar Sep 21 '15 01:09 NkD

Ups. I find that this methods were added in GLFW version 3.1. Then please update GLFW (3.1.1 is actual) and bind this methods.

NkD avatar Sep 21 '15 01:09 NkD

We had to customize JGLFW slightly for it to work with AWT on OSX. There are now JGLFW apps relying on this (eg, to show a file chooser or use imageio). Upgrading to the latest JGLFW would be great, but would break AWT support and existing apps. It was a lot of work to get GLFW to play nice with AWT on OSX, so I don't think we will have time to update to the latest any time soon.

NathanSweet avatar Sep 21 '15 01:09 NathanSweet