mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 08:50:15 +00:00
Replaced glfwGetMonitorParam with glfwGetMonitor*.
Having one way to retrieve the cursor position and another (more verbose) way to retrieve the monitor position is inconsistent. Having them both work the same way is the least surprising thing. The expected glfwGetMonitorSize function gets an added Physical in its name so users won't confuse it with glfwGetVideoMode.
This commit is contained in:
@@ -226,8 +226,8 @@ GLFW.
|
||||
handle
|
||||
* Added `glfwGetMonitors` and `glfwGetPrimaryMonitor` for enumerating available
|
||||
monitors
|
||||
* Added `glfwGetMonitorParam` and `glfwGetMonitorName` for retrieving monitor
|
||||
properties
|
||||
* Added `glfwGetMonitorPos`, `glfwGetMonitorPhysicalSize` and
|
||||
`glfwGetMonitorName` for retrieving monitor properties
|
||||
* Added `glfwSetMonitorCallback` and `GLFWmonitorfun` for notification of
|
||||
changes in the set of available monitors
|
||||
* Added `GLFWwindow` and updated window-related functions and callbacks to take
|
||||
|
||||
Reference in New Issue
Block a user