ocornut
20b12204af
Win32: Fix GLFW_FOCUSED hint being ignored
...
The window was activated by _glfwPlatformShowWindow, causing the
GLFW_FOCUSED window hint to be ignored when set to false.
Fixes #1179 .
Closes #1180 .
2018-01-09 20:36:13 +01:00
Camilla Löwy
ee9dffcd66
Add GLFW_HOVERED for polling cursor hover state
...
This window attribute corresponds to the cursor enter/leave callback.
Fixes #1166 .
2018-01-09 18:02:52 +01:00
Camilla Löwy
370eac3c48
Add glfwSetWindowContentScaleCallback
...
Related to #677 .
Related to #1115 .
2018-01-09 18:00:22 +01:00
Camilla Löwy
0e8c4ea7ce
Add lock key modifier bits input mode
...
This adds the GLFW_MOD_CAPS_LOCK and GLFW_MOD_NUM_LOCK modifier bits.
Set the GLFW_LOCK_KEY_MODS input mode to enable these for all callbacks
that receive modifier bits.
Fixes #946 .
2017-12-06 18:01:34 +01:00
Camilla Löwy
7c87948eaf
Win32: Fix accidentally working bit tests
...
Good grief.
2017-11-28 19:59:59 +01:00
Camilla Löwy
d630684654
Win32: Remove double resize of full screen window
...
Related to #1085 .
2017-11-16 11:56:03 +01:00
Camilla Löwy
11e47f08b1
Add glfwGetWindowOpacity and glfwSetWindowOpacity
...
This adds support for setting the opacity of the whole window, including
any decorations.
Fixes #1089 .
2017-11-15 15:46:01 +01:00
Camilla Löwy
31cbb20ba2
Deprecate window parameter of clipboard functions
2017-11-10 02:52:16 +01:00
Camilla Löwy
80d181f12d
Win32: Fix maximization of undecorated windows
...
Fixes #899 .
2017-10-31 15:47:01 +01:00
Camilla Löwy
bf09dba95b
Cleanup
2017-10-26 18:05:56 +02:00
Camilla Löwy
16bf872117
Add content scale queries
...
This adds glfwGetWindowContentScale and glfwGetMonitorContentScale for
querying the recommended drawing scale factor for DPI-aware rendering.
Parts of this patch are based on code by @ferreiradaselva.
Fixes #235 .
Fixes #439 .
Fixes #677 .
Fixes #845 .
Fixes #898 .
2017-10-26 17:26:36 +02:00
Camilla Löwy
5d0d30db38
Cleanup
2017-09-28 17:32:15 +02:00
Camilla Löwy
32e78aeb2e
Add GLFW_TRANSPARENT attribute and documentation
...
This completes support for window framebuffer transparency on Windows,
macOS and X11. Note that the hint/attribute may be renamed before
release to clarify its relationship to GLFW_OPACITY.
Fixes #197 .
Closes #1079 .
Related to #663 .
Related to #715 .
Related to #723 .
Related to #1078 .
2017-09-27 21:54:04 +02:00
Camilla Löwy
25b7eba4a0
Win32: Clean up dynamic loading and version checks
2017-09-27 21:33:03 +02:00
Camilla Löwy
e3be6b8ae0
Cleanup
...
Break up some overly long lines.
2017-09-17 15:14:22 +02:00
Camilla Löwy
f8668c5a9f
Win32: Fix key names not matching other platforms
...
This brings printable key names more in line with the results provided
on other platforms.
Fixes #943 .
2017-09-13 17:55:51 +02:00
Camilla Löwy
a368d89c94
Win32: Fix disabled cursor mode vs caption buttons
...
This postpones disabling the cursor until the user is done interacting
with a caption button.
Related to #650 .
Fixes #1071 .
2017-09-08 16:18:15 +02:00
Camilla Löwy
d8551b73f6
Cleanup
2017-08-28 18:31:14 +02:00
Camilla Löwy
82284b86eb
Cleanup
...
Thanks to glfwGetKeyScancode we can now pass only a scancode to the
platform layer for glfwGetKeyName.
2017-07-13 01:26:06 +02:00
Camilla Löwy
2fa90ae19f
Win32: Fix capture logic ignoring last mouse button
2017-07-09 18:37:24 +02:00
Felipe Ferreira da Silva
412eb6a611
Add glfwRequestWindowAttention
...
Related to #988 .
2017-05-11 13:36:39 +02:00
Camilla Löwy
21355e31db
Cleanup
2017-03-14 20:39:18 +01:00
Camilla Löwy
97dbd8b63b
Win32: Fix monitor event emission
...
Fixes #784 .
2017-03-14 19:21:57 +01:00
Camilla Löwy
e9560ef021
Add GLFW_OSMESA_CONTEXT_API
...
This allows the creation of OpenGL contexts via OSMesa on existing
platforms. It does not add a compile- or link-time dependency on
OSMesa.
Fixes #281 .
2017-02-28 20:38:10 +01:00
Camilla Löwy
a44f2c0e65
Win32: Fix VC++ warning
2017-02-28 00:07:37 +01:00
Camilla Löwy
918b4e81d2
Win32: Move to WM_INPUT for disabled cursor motion
...
Related to #125 .
2017-02-26 18:48:03 +01:00
Camilla Löwy
dd96d0ac93
Win32: Fix mouse button messages lost by capture
...
Fixes #954 .
2017-02-26 18:48:02 +01:00
Camilla Löwy
355b46e6c5
Win32: Fix screensaver and blanking prevention
...
On Vista and later, Handling WM_SYSCOMMAND is not enough to prevent
password protected screensavers or monitor blanking.
Fixes #851 .
2017-02-10 02:28:55 +01:00
Camilla Löwy
366b90be1a
Documentation work
2017-02-10 01:55:03 +01:00
Camilla Löwy
5a74b5008d
Cleanup
...
Related to #842 .
2017-02-06 15:16:27 +01:00
Liam Middlebrook
72ac5badb0
Add GLFW_CENTER_CURSOR
...
Adds a hint for controlling whether the cursor is centered over newly
created full screen windows.
Fixes #749 .
Closes #842 .
2017-02-06 15:16:26 +01:00
Camilla Löwy
43c1910453
Win32: Cleanup
2017-01-29 19:50:41 +01:00
Camilla Löwy
f3e20ca437
Pass scancode with synthetic key release events
2017-01-29 16:44:38 +01:00
Camilla Löwy
c28778e28c
Win32: Improve platform error messages
...
Related to #733 .
2017-01-20 01:35:24 +01:00
Camilla Löwy
221451b817
Cleanup
2017-01-10 15:46:00 +01:00
Camilla Löwy
04f559e28d
Restructure monitor enumeration
...
This way is both kinder on event-based enumeration and less work to
unwind allocations for when properly implementing GLFW_OUT_OF_MEMORY.
2017-01-02 06:03:02 +01:00
Camilla Löwy
9e56099edd
Add glfwSetWindowAttrib
...
This function allows updating the GLFW_DECORATED, GLFW_RESIZABLE,
GLFW_FLOATING and GLFW_AUTO_ICONIFY attributes for existing windows.
Fixes #537 .
2016-12-06 15:59:18 +01:00
Camilla Löwy
f4d0c83181
Paperwork done
2016-11-30 14:00:41 +01:00
Camilla Berglund
8d6f265441
Update default name from OS X to macOS
...
Note that earlier releases are still referred to by their proper names;
OS X <version> or Mac OS X <version>.
2016-10-20 00:53:37 +02:00
Camilla Berglund
c156b50e4c
Add glfwSetWindowMaximizeCallback
...
Fixes #778 .
2016-09-29 01:24:56 +02:00
Camilla Berglund
838c4e938c
Win32: Allow iconifying undecorated windows
...
Fixes #861 .
2016-09-14 18:12:21 +02:00
Camilla Berglund
f79a52fe9b
Win32: Make glfwPostEmptyEvent use helper window
2016-09-14 13:07:52 +02:00
Camilla Berglund
e6a32db7b9
Cleanup
2016-09-07 16:49:29 +02:00
Camilla Berglund
bb3cb8f233
Cleanup
...
Clean up code and documentation for glfwGetKeyScancode and add
implementation for Wayland and Mir.
Related to #830 .
2016-09-07 16:46:48 +02:00
Michael Stocker
e745b0dd47
Add glfwGetKeyScancode
...
Allows retrieval of platform scancode from GLFW_KEY_*. Implemented for
Win32, Cocoa and X11. Stubs for Mir and Wayland.
Closes #830 .
2016-09-07 16:38:22 +02:00
Camilla Berglund
5ff7d9505f
Simplify Vulkan extension checks
...
Related to #478 .
2016-09-07 16:31:18 +02:00
Camilla Berglund
53fafad915
Start 3.3
2016-08-18 23:55:49 +02:00
Camilla Berglund
fcdef1d0a0
Fix potential context resource leaks
...
There is a gap between the creation of the context and the call to
_glfwRefreshContextAttribs.
2016-08-05 11:23:05 +02:00
Camilla Berglund
7be62631ae
Cleanup
2016-08-01 23:13:11 +02:00
Camilla Berglund
2c32503b10
Fix comment
2016-08-01 12:15:08 +02:00