Camilla Löwy
02461dc843
Add more standard cursors
...
This adds the standard cursors for diagonal and omnidirectional
resize/move and operation-not-allowed. It also adds new (better?) names
for the horizontal and vertical resize/move and pointing hand cursors.
References:
- https://developer.apple.com/documentation/appkit/nscursor
- https://stackoverflow.com/questions/10733228/
- https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setsystemcursor
- https://freedesktop.org/wiki/Specifications/cursor-spec/
- https://tronche.com/gui/x/xlib/appendix/b/
Related to #427 .
2020-04-02 23:28:42 +02:00
Camilla Löwy
0ac013381b
X11: Fix CJK IME input when locale CTYPE is "C"
...
Fixes #1587 .
Fixes #1636 .
(cherry picked from commit 4381b86b6b
)
2020-02-13 22:03:51 +01:00
Camilla Löwy
64c7aa50d0
Start 3.3.3
2020-02-13 22:01:33 +01:00
ByunghoonKim
50f3979dfd
Cocoa: Add support for VK_EXT_metal_surface
...
This adds optional support for the VK_EXT_metal_surface instance
extension.
Closes #1619 .
(cherry picked from commit c5cb4a253a
)
2020-01-17 15:38:54 +01:00
Camilla Löwy
0938462616
Start 3.3.2
2020-01-05 14:50:14 +01:00
luz.paz
13a4e4e810
Fix typos
...
Found via `codespell -q 3 -S ./deps -L fo,numer,te,uint,wille`
(cherry picked from commit 7105ff2dfd
)
2019-09-23 15:27:17 +02:00
Camilla Löwy
79f4ec6822
Unify key name string handling
...
This makes key names per-key static strings for all supported platforms.
Fixes #1200 .
(cherry picked from commit 56ca0cb3b3
)
2019-09-23 15:26:23 +02:00
Lukas Zanner
452a648abb
Fix typo in glfwGetRequiredInstanceExtensions docs
...
Closes #1500 .
(cherry picked from commit 84b13113ed
)
2019-07-16 14:41:06 +02:00
Camilla Löwy
75b415c5b8
Cleanup
...
(cherry picked from commit 62b7fe8311
)
2019-07-16 14:40:58 +02:00
Camilla Löwy
248e827673
Win32: Fix symbol redefinition warnings
...
When both GLFW_INCLUDE_VULKAN and VK_USE_PLATFORM_WIN32_KHR were
defined, the GLFW header would define replacement versions of APIENTRY
and WINGDIAPI /before/ including the Vulkan header, which would include
windows.h, which (justifiably) defines APIENTRY and WINGDIAPI blindly.
Fixes #1524 .
(cherry picked from commit 773f4495f0
)
2019-07-16 14:40:52 +02:00
Camilla Löwy
b962ef1241
Improve (?) reference documentation for callbacks
...
(cherry picked from commit 51bb76c7c3
)
2019-05-27 16:34:45 +02:00
Camilla Löwy
e01128f32f
Clarify difference between time and timer in docs
...
(cherry picked from commit bb6945a18a
)
2019-05-27 16:34:04 +02:00
Camilla Löwy
3afb2cc8ed
Documentation work
...
Most context related hint and attribute links had copypaste errors.
The GLFW_CONTEXT_RELEASE_BEHAVIOR and GLFW_CONTEXT_NO_ERROR attributes
did not have guide documentation.
(cherry picked from commit 3cf7645b96
)
2019-05-27 16:29:05 +02:00
Camilla Löwy
a9343d641c
Start 3.3.1
2019-04-16 14:48:16 +02:00
Camilla Löwy
ab118b2529
Fix copyright years (somewhat)
2019-04-15 20:50:00 +02:00
Camilla Löwy
422bf79e8f
Documentation work
2019-04-05 03:26:52 +02:00
Camilla Löwy
a43d1a4937
Documentation work
...
Fixes #920 .
Related to #1322 .
2019-03-05 16:59:46 +01:00
Camilla Löwy
0118743333
Formatting
...
Related to #1322 .
2019-03-05 16:58:45 +01:00
Doug Binks
f1d40fa046
Documentation work.
...
This adds documentation for work area size.
Related to #1322 .
2019-03-05 16:10:59 +01:00
Doug Binks
6907629cbf
Fix version number in glfwGetMonitorWorkarea docs
...
Related to #1322 .
2019-03-05 16:10:59 +01:00
Doug Binks
154db76a6c
Documentation work
...
Related to #1322 .
2019-03-05 16:10:59 +01:00
Doug Binks
3fd70cc513
Documentation work
...
This adds documentation for the width and height parameters of
glfwGetMonitorWorkarea.
Related to #1322 .
2019-03-05 16:10:59 +01:00
Felipe Ferreira da Silva
be295ccbea
Add glfwGetMonitorWorkarea
...
This function retrieves the work area rectangle of the specified
monitor.
Related to #920 .
Closes #989 .
2019-03-05 16:10:59 +01:00
Camilla Löwy
1155c83013
Rename raw input to raw mouse motion, cleanup
...
This renames 'raw input' to 'raw mouse motion' as there are other kinds
of raw input. The update path is restructured to avoid reinitializing
all of disabled cursor mode. Modification of shared state is moved out
into shared code. Raw mouse motion is disabled by default for
compatibility.
Related to #1401 .
2019-02-22 13:04:11 +01:00
Nathan Poirier
9e29f556fd
Add GLFW_RAW_INPUT and glfwRawInputSupported
...
This adds runtime per-window control of whether accelerated or raw mouse
motion is provided when the cursor is disabled.
Fixes #1400 .
Closes #1401 .
2019-02-22 13:04:11 +01:00
Emmanuel Gil Peyrot
bcd8f9aff2
Documentation work
...
Describe #1341 .
2019-02-15 19:02:33 +01:00
Camilla Löwy
d5ab3e919a
Cleanup
...
Replace client area with content area.
2019-01-25 12:46:46 +01:00
Camilla Löwy
55b1a16f90
Remove window requirement for all event functions
...
This lets an application wait for non-window events without needing to
create a window.
Fixes #1317 .
2019-01-15 19:28:17 +01:00
Camilla Löwy
3531c320af
Fix glfwSetGamma generating ramps of invalid sizes
...
This makes glfwSetGamma generate a gamma ramp of the same size as the
monitor's current ramp, which will avoid failure on non-256 entry
monitors on X11 and avoid ramp interpolation on macOS.
Closes #1387 .
Fixes #1388 .
2018-12-26 15:00:39 +01:00
Camilla Löwy
8e313d911b
Cleanup
...
GLFW_PLATFORM_ERROR should be listed last.
2018-12-26 14:44:14 +01:00
Sylvain Boilard
3b255af4c3
Documentation work
...
The error section of the reference documentation for
glfwWaitEventsTimeout was missing.
Closes #1326 .
2018-12-26 14:43:49 +01:00
Camilla Löwy
86e7bf4169
Documentation work
2018-12-25 22:11:23 +01:00
Camilla Löwy
bb2ca1da13
Remove trailing whitespace
2018-11-27 21:49:19 +01:00
Camilla Löwy
9bfdd218fb
Fix Markdown table heads
2018-11-11 18:49:47 +01:00
Camilla Löwy
041167895d
Documentation work
2018-11-05 19:04:27 +01:00
Emmanuel Gil Peyrot
64c034edfb
Documentation work
2018-10-24 14:03:08 +02:00
Camilla Löwy
089ea9af22
Add GLFW_SCALE_TO_MONITOR
...
This adds the GLFW_SCALE_TO_MONITOR window hint for automatically
resizing the content area of a window to the requested size times the
monitor content scale each time it is placed on a new monitor. This
only applies to windowed mode windows and includes the initial placement
at window creation.
This hint only has an effect on platforms where screen coordinates and
pixels always map 1:1 such as Windows and X11. Platforms like macOS
instead change the resolution of the framebuffer independently of the
window size.
Related to #676 .
Related to #1115 .
2018-09-03 23:12:39 +02:00
Coşku Baş
f4764f7288
Accidentally a word
...
Related to #1310 .
2018-08-09 19:03:51 +02:00
Camilla Löwy
e1495c013d
Fix missing API reference thread safety section
...
Fixes #1312 .
2018-08-09 13:57:10 +02:00
Doug Binks
0be4f3f75a
Add GLFW_FOCUS_ON_SHOW window hint and attribute
...
This adds a window hint and attribute for controlling whether
glfwShowWindow gives the specified window input focus in addition to
making it visible.
Fixes #1189 .
Closes #1275 .
2018-05-29 15:51:36 +02:00
Camilla Löwy
d222a40046
Documentation work
2018-04-10 17:53:25 +02:00
Camilla Löwy
34d20b0f03
Fix documentation
...
Fixes #1226 .
2018-03-03 22:24:26 +01:00
Emmanuel Gil Peyrot
5e5bc14468
Fix documentation about window decorations
2018-02-25 16:54:44 +01:00
Camilla Löwy
b020467192
Documentation work
2018-02-07 16:46:59 +01:00
Corentin Wallez
8a8eefa0d8
Fail Vulkan surface creation if window has context
...
OpenGL / OpenGL ES cannot share presentation on a window with Vulkan.
This adds an error to `glfwCreateWindowSurface` when it is called on a
window without the GLFW_CLIENT_API hint set to GLFW_NO_API. This
prevents undefined bahevior and hard to debug crashes.
Fixes #1194 .
Closes #1205 .
2018-01-30 19:25:17 +01:00
Emmanuel Gil Peyrot
a162004a90
Documentation work
2018-01-29 03:59:47 +01:00
Camilla Löwy
d6b3a60fbc
Documentation work
...
Added missing bits of documentation for GLFW_HOVERED.
2018-01-11 14:13:54 +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
7c2c7858c6
Add monitor and joystick user pointers
2017-12-19 15:08:28 +01:00