Camilla Löwy
488008e0a2
Add cursor mode GLFW_CURSOR_CAPTURED
...
This adds a cursor mode that provides a visible cursor confined to the
content area of the window.
Fixes #58
ago%!(EXTRA string=3 years)
Camilla Löwy
62074f3dea
Update glad2 and switch to header-only version
...
This updates to a newer version of glad2 and switches to the header-only
variant.
This also (finally) switches to the newer glad2 loader signature that
allows us to pass in glfwGetInstanceProcAddress directly.
ago%!(EXTRA string=4 years)
Camilla Löwy
7dbdd2e6a5
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 .
ago%!(EXTRA string=5 years)
Camilla Löwy
537ea4ccf1
Explicitly disable inclusion for test and examples
...
Thank you, Travis CI, for reminding me that one cannot disable a header
with inclusion guards if it doesn't exist.
ago%!(EXTRA string=6 years)
Camilla Löwy
d0b7f539e2
Add full screen toggling to cursor test
ago%!(EXTRA string=6 years)
Camilla Löwy
62d296992e
Add min/max corner placement to cursor test
...
Related to #1461 .
ago%!(EXTRA string=6 years)
Camilla Löwy
5f4e66b21a
Add cursor position rountrip key to cursor test
...
Related to #1461 .
ago%!(EXTRA string=6 years)
Camilla Löwy
f03614277d
Update cursor test tracking when enabling cursor
...
Related to #1461 .
ago%!(EXTRA string=6 years)
Camilla Löwy
45a62adf82
Fix cursor test tracking mode drawing
...
Related to #1461 .
ago%!(EXTRA string=6 years)
Camilla Löwy
718609275d
Add custom cursor to cursor test tracking mode
...
Related to #1461 .
ago%!(EXTRA string=6 years)
Camilla Löwy
d7e30b1c74
Replace glad and the Vulkan SDK with glad2
...
This removes all dependencies from the GLFW test programs on the Vulkan
SDK.
It also removes support for linking the GLFW shared library (dynamic
library, DLL) against the Vulkan loader static library.
ago%!(EXTRA string=6 years)
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 .
ago%!(EXTRA string=6 years)
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 .
ago%!(EXTRA string=6 years)
A. Tombs
1b17a5293c
Add version directives to GLSL shaders
...
Although not technically required, I believe it is best practice for
shaders to specify which version of the GLSL spec they conform to.
Closes #864 .
ago%!(EXTRA string=9 years)
Camilla Löwy
f4d0c83181
Paperwork done
ago%!(EXTRA string=9 years)
Camilla Berglund
c4a8930909
Cleanup
ago%!(EXTRA string=9 years)
Camilla Berglund
f7584bf14c
Convert cursor test to GL2
ago%!(EXTRA string=9 years)
Camilla Berglund
757eea2779
Update email address
ago%!(EXTRA string=9 years)
Camilla Berglund
4adbeced25
Make cursor test wait by default
ago%!(EXTRA string=9 years)
Camilla Berglund
3b2e96e0b1
Improve cursor test animation
...
Only set cursor when it's time for a new frame. Use
glfwWaitEventsTimeout when waiting for events during animation.
ago%!(EXTRA string=9 years)
Camilla Berglund
1b1ef31228
Make tests and examples use glad
ago%!(EXTRA string=10 years)
Camilla Berglund
0eccf75f65
Replace GL booleans with public macros
ago%!(EXTRA string=10 years)
Camilla Berglund
362751e4ef
Fix cursor test event mode message
ago%!(EXTRA string=10 years)
Camilla Berglund
d2113dc9f5
Remove ad-hoc M_PIs and enable VC++ macro
...
Fixes #564 .
ago%!(EXTRA string=10 years)
Camilla Berglund
3d62ff0e07
Fix implicit truncation to float in cursor test
...
Fixes #565 .
ago%!(EXTRA string=10 years)
Camilla Berglund
33c7c28dde
Replaced the various cursor tests with a sane one.
ago%!(EXTRA string=10 years)
Camilla Berglund
46888206be
Removed unused GLU dependency.
ago%!(EXTRA string=10 years)
Camilla Berglund
8fa9cc0de3
Added GLFWimage struct.
ago%!(EXTRA string=11 years)
Camilla Berglund
608de57358
Cleanup.
ago%!(EXTRA string=11 years)
urraka
40c04a7565
Added support for custom system cursors.
...
This adds 3 functions to the GLFW API: glfwCreateCursor,
glfwDestroyCursor and glfwSetCursor.
ago%!(EXTRA string=11 years)