-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
enhancementFeature suggestions and PRsFeature suggestions and PRs
Description
While it is possible to set one of the standard cursor to be the current cursor through glfwCreateStandardCursor, there is no way to get the underlying image (which is already retrieved internally by glfw for various implementations).
This feature would allow to have virtual cursors with a standard shape. For instance to implement sticky cursor.
My proposition is to add the getStandardCursorImage function pointer to the _GLFWplatform struct and implement this function for each WM
struct _GLFWplatform
{
int platformID;
// init
GLFWbool (*init)(void);
void (*terminate)(void);
// input
void (*getCursorPos)(_GLFWwindow*,double*,double*);
...
GLFWbool (*getStandardCursorImage)(GLFWimage*,int);
...
};Metadata
Metadata
Assignees
Labels
enhancementFeature suggestions and PRsFeature suggestions and PRs