How to disable/hide mouse pointer

Started by chriddel, June 09, 2004, 00:00:04

Previous topic - Next topic

n4pgamer

Quote from: princec on December 23, 2011, 21:05:03
emptyCursor = new Cursor(1, 1, 0, 0, 1, BufferUtils.createIntBuffer(1), null);
Mouse.setNativeCursor(emptyCursor);
Well, that works. Thanks!

Any idea how to undo that ? I tried Mouse.getNativeCursor(); to retrieve the default cursor before hiding the cursor but it doesn't work. Seems to deal only with custom cursors.

I need to change the cursor visibility between menu and game (pretty often).

princec