Add cursor management

Alberto Fernández avatarAlberto Fernández created an issue

It would be nice to have a cursor management which we could use to load custom graphic cursor, with events defined to change cursor size, shape, graphic, etc.

Comments (1)

  1. Chris Klimas

    Depending on the scope of it, I'd consider a pull request to build up the functionality of ui/cursor.lua. Right now it's just a Group that automatically follows the mouse position, so you can stuff whatever you want in there -- graphics, etc. I don't want to get too narrow in its implementation, because people may want to have multiple sprites compose a single cursor -- for example, if you wanted the cursor to have a trail of particles coming off of it.

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.