Documentation work

Fixes #920.
Related to #1322.
This commit is contained in:
Camilla Löwy
2019-02-25 14:46:48 +01:00
parent 3a2a97f15d
commit a43d1a4937
4 changed files with 24 additions and 3 deletions

View File

@@ -174,6 +174,18 @@ glfwGetMonitorPos(monitor, &xpos, &ypos);
@endcode
@subsection monitor_workarea Work area
The area of a monitor not occupied by global task bars or menu bars is the work
area. This is specified in [screen coordinates](@ref coordinate_systems) and
can be retrieved with @ref glfwGetMonitorWorkarea.
@code
int xpos, ypos, width, height;
glfwGetMonitorWorkarea(monitor, &xpos, &ypos, &width, &height);
@endcode
@subsection monitor_name Human-readable name
The human-readable, UTF-8 encoded name of a monitor is returned by @ref

View File

@@ -80,6 +80,14 @@ Windows and X11 where this is necessary.
@see @ref window_scale
@subsection news_33_workarea Support for monitor work area
GLFW now supports querying the work area of a monitor, i.e. the area not
occupied by task bars or global menu bars, with @ref glfwGetMonitorWorkarea.
@see @ref monitor_workarea
@subsection news_33_inithint Support for initialization hints
GLFW now supports setting library initialization hints with @ref glfwInitHint.