mirror of
https://github.com/glfw/glfw.git
synced 2025-01-19 14:32:49 +00:00
News page fixes.
This commit is contained in:
parent
2cc2e8acd7
commit
74d355fae4
@ -38,10 +38,10 @@ that specific monitor.
|
|||||||
|
|
||||||
@subsection news_30_unicode Unicode support
|
@subsection news_30_unicode Unicode support
|
||||||
|
|
||||||
All string arguments to GLFW functions and all strings returned by GLFW use the
|
All string arguments to GLFW functions and all strings returned by GLFW now use
|
||||||
UTF-8 encoding. This includes the window title, error string, clipboard text,
|
the UTF-8 encoding. This includes the window title, error string, clipboard
|
||||||
monitor and joystick names as well as the extension function arguments (as ASCII
|
text, monitor and joystick names as well as the extension function arguments (as
|
||||||
is a subset of UTF-8).
|
ASCII is a subset of UTF-8).
|
||||||
|
|
||||||
|
|
||||||
@subsection news_30_clipboard Clipboard text I/O
|
@subsection news_30_clipboard Clipboard text I/O
|
||||||
@ -58,7 +58,7 @@ GLFW now supports setting and reading back the gamma ramp of monitors, with the
|
|||||||
glfwSetGamma, which generates a ramp from a gamma value and then sets it.
|
glfwSetGamma, which generates a ramp from a gamma value and then sets it.
|
||||||
|
|
||||||
|
|
||||||
@subsection news_30_gles OpenGL ES and EGL support
|
@subsection news_30_gles OpenGL ES support
|
||||||
|
|
||||||
GLFW now supports the creation of OpenGL ES contexts, by setting the
|
GLFW now supports the creation of OpenGL ES contexts, by setting the
|
||||||
`GLFW_CLIENT_API` window hint to `GLFW_OPENGL_ES_API`, where creation of such
|
`GLFW_CLIENT_API` window hint to `GLFW_OPENGL_ES_API`, where creation of such
|
||||||
@ -67,8 +67,11 @@ driver must provide support in a way usable by GLFW. Modern nVidia and Intel
|
|||||||
drivers support creation of OpenGL ES context using the GLX and WGL APIs, while
|
drivers support creation of OpenGL ES context using the GLX and WGL APIs, while
|
||||||
AMD provides an EGL implementation instead.
|
AMD provides an EGL implementation instead.
|
||||||
|
|
||||||
GLFW now has an (experimental) EGL context creation back end, which can be
|
|
||||||
selected through CMake options.
|
@subsection news_30_egl (Experimental) EGL support
|
||||||
|
|
||||||
|
GLFW now has an experimental EGL context creation back end that can be selected
|
||||||
|
through CMake options.
|
||||||
|
|
||||||
|
|
||||||
@subsection news_30_hidpi High-DPI support
|
@subsection news_30_hidpi High-DPI support
|
||||||
@ -89,20 +92,20 @@ an error code and a description string.
|
|||||||
|
|
||||||
@subsection news_30_wndptr Per-window user pointer
|
@subsection news_30_wndptr Per-window user pointer
|
||||||
|
|
||||||
Each window object has a user-defined pointer, retrieved with @ref
|
Each window now has a user-defined pointer, retrieved with @ref
|
||||||
glfwGetWindowUserPointer and set with @ref glfwSetWindowUserPointer, to make it
|
glfwGetWindowUserPointer and set with @ref glfwSetWindowUserPointer, to make it
|
||||||
easier to integrate GLFW into C++ code.
|
easier to integrate GLFW into C++ code.
|
||||||
|
|
||||||
|
|
||||||
@subsection news_30_iconifyfun Window iconification callback
|
@subsection news_30_iconifyfun Window iconification callback
|
||||||
|
|
||||||
Each window object has a callback for iconification and restoration events,
|
Each window now has a callback for iconification and restoration events,
|
||||||
which is set with @ref glfwSetWindowIconifyCallback.
|
which is set with @ref glfwSetWindowIconifyCallback.
|
||||||
|
|
||||||
|
|
||||||
@subsection news_30_wndposfun Window position callback
|
@subsection news_30_wndposfun Window position callback
|
||||||
|
|
||||||
Each window object has a callback for position events, which is set with @ref
|
Each window now has a callback for position events, which is set with @ref
|
||||||
glfwSetWindowPosCallback.
|
glfwSetWindowPosCallback.
|
||||||
|
|
||||||
|
|
||||||
@ -113,7 +116,7 @@ The position of a window can now be retrieved using @ref glfwGetWindowPos.
|
|||||||
|
|
||||||
@subsection news_30_focusfun Window focus callback
|
@subsection news_30_focusfun Window focus callback
|
||||||
|
|
||||||
Windows now have a callback for focus events, which is set with @ref
|
Each windows now has a callback for focus events, which is set with @ref
|
||||||
glfwSetWindowFocusCallback.
|
glfwSetWindowFocusCallback.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user