This is for the love2d engine. Works with the latest version. Look at my intro to software project for some examples on how to use this
5 lines
183 B
Plaintext
5 lines
183 B
Plaintext
_GuiPro.CursorN=love.mouse.getSystemCursor("arrow")
|
|
_GuiPro.CursorH=love.mouse.getSystemCursor("hand")
|
|
function gui:SetHand(img,x,y)
|
|
_GuiPro.CursorN=love.mouse.newCursor(img,x,y)
|
|
end |