Jake Sumrican
Jake Sumrican

Reputation: 23

Setting up a cursor with LWJGL

I don't understand how to create a cursor with a custom image with the Lightweight Java Game Library.

Upvotes: 0

Views: 865

Answers (1)

Andrew
Andrew

Reputation: 1784

If you have the opengl window in a swing frame. (Add canvas to frame and set the display parent) you might be able to change the cursor for with the frame. Otherwise just disable the cursor and draw a new one and translate it by the mouse position.

Upvotes: 1

Related Questions