mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 20:11:58 +00:00
Added cursor stubs to Wayland backend.
This commit is contained in:
parent
115c6bc000
commit
7a4623e034
@ -47,6 +47,7 @@
|
||||
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowWayland wl
|
||||
#define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryWayland wl
|
||||
#define _GLFW_PLATFORM_MONITOR_STATE _GLFWmonitorWayland wl
|
||||
#define _GLFW_PLATFORM_CURSOR_STATE _GLFWcursorWayland wl
|
||||
|
||||
|
||||
typedef struct _GLFWvidmodeWayland _GLFWvidmodeWayland;
|
||||
@ -89,6 +90,11 @@ typedef struct _GLFWmonitorWayland
|
||||
int y;
|
||||
} _GLFWmonitorWayland;
|
||||
|
||||
typedef struct _GLFWcursorWayland
|
||||
{
|
||||
int dummy;
|
||||
} _GLFWcursorWayland;
|
||||
|
||||
|
||||
//========================================================================
|
||||
// Prototypes for platform specific internal functions
|
||||
|
@ -273,3 +273,21 @@ void _glfwPlatformApplyCursorMode(_GLFWwindow* window)
|
||||
}
|
||||
}
|
||||
|
||||
int _glfwPlatformCreateCursor(_GLFWcursor* cursor,
|
||||
const GLFWimage* image,
|
||||
int xhot, int yhot)
|
||||
{
|
||||
fprintf(stderr, "_glfwPlatformCreateCursor not implemented yet\n");
|
||||
return GL_FALSE;
|
||||
}
|
||||
|
||||
void _glfwPlatformDestroyCursor(_GLFWcursor* cursor)
|
||||
{
|
||||
fprintf(stderr, "_glfwPlatformDestroyCursor not implemented yet\n");
|
||||
}
|
||||
|
||||
void _glfwPlatformSetCursor(_GLFWwindow* window, _GLFWcursor* cursor)
|
||||
{
|
||||
fprintf(stderr, "_glfwPlatformSetCursor not implemented yet\n");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user