Add GLFW_HOVERED for polling cursor hover state

This window attribute corresponds to the cursor enter/leave callback.

Fixes #1166.
This commit is contained in:
Camilla Löwy
2018-01-04 13:50:58 +01:00
parent 370eac3c48
commit ee9dffcd66
14 changed files with 83 additions and 0 deletions

View File

@@ -814,6 +814,7 @@ extern "C" {
* [window attribute](@ref GLFW_TRANSPARENT_FRAMEBUFFER_attrib).
*/
#define GLFW_TRANSPARENT_FRAMEBUFFER 0x0002000A
#define GLFW_HOVERED 0x0002000B
/*! @brief Framebuffer bit depth hint.
*