Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pirvi-public
glfw
Commits
7a4623e0
Commit
7a4623e0
authored
Mar 27, 2014
by
Camilla Berglund
Browse files
Added cursor stubs to Wayland backend.
parent
115c6bc0
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/wayland_platform.h
View file @
7a4623e0
...
...
@@ -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
...
...
src/wayland_window.c
View file @
7a4623e0
...
...
@@ -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
"
);
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment