mirror of
https://github.com/glfw/glfw.git
synced 2025-06-15 20:22:15 +00:00
cocoa implementation (needs testing)
This commit is contained in:
parent
d8dd2cef7c
commit
f146811306
@ -978,6 +978,14 @@ void _glfwPlatformDestroyWindow(_GLFWwindow* window)
|
|||||||
} // autoreleasepool
|
} // autoreleasepool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void _glfwPlatformGetWindowTitle(_GLFWwindow* window)
|
||||||
|
{
|
||||||
|
// TODO: This is UNTESTED
|
||||||
|
@autoreleasepool {
|
||||||
|
return window->ns.object.title;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void _glfwPlatformSetWindowTitle(_GLFWwindow* window, const char* title)
|
void _glfwPlatformSetWindowTitle(_GLFWwindow* window, const char* title)
|
||||||
{
|
{
|
||||||
@autoreleasepool {
|
@autoreleasepool {
|
||||||
|
Loading…
Reference in New Issue
Block a user