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
Camilla Löwy
9da2285b14
Cocoa: Make frame autosave hint a string
2017-12-19 15:08:28 +01:00
Camilla Löwy
6158801aeb
Change glfwInitHintString to glfwWindowHintString
...
Fixes #1139 .
2017-12-19 15:08:27 +01:00
Emmanuel Gil Peyrot
c3cba58a71
Remove trailing whitespace
2017-12-14 15:36:55 +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
8094a1c99e
Documentation work
2017-11-27 15:53:59 +01:00
Camilla Löwy
bfe2d42af4
Documentation work
2017-11-27 02:11:11 +01:00
Emmanuel Gil Peyrot
65166858ff
Wayland: Add support for the idle-inhibit protocol
...
Closes #955 .
2017-11-20 22:27:37 +01:00
Emmanuel Gil Peyrot
9c513346ad
Documentation work
...
Gamma will never be supported on Wayland.
Closes #1134 .
2017-11-20 18:00:09 +01:00
Camilla Löwy
d73ab0bd58
Documentation work
...
The reference for glfwCreateWindow listed the wrong default icon for
Windows.
Fixes #1130 .
2017-11-16 10:08:38 +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
adebcc7111
Deprecate charmods callback
2017-11-14 23:30:00 +01:00
Camilla Löwy
49130ab8ec
Rename framebuffer transparency hint
...
This is a breaking change of an unreleased API.
2017-11-14 17:21:36 +01:00
Camilla Löwy
31cbb20ba2
Deprecate window parameter of clipboard functions
2017-11-10 02:52:16 +01:00
Camilla Löwy
f2756d0b3f
Documentation work
...
Related to #1065 .
2017-11-02 19:30:12 +01:00
Camilla Löwy
2867ca1e5b
Documentation work
...
Fixes #1104 .
2017-10-29 16:27:15 +01: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
1be81a1540
Documentation work
2017-10-22 16:30:19 +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
Bailey Cosier
93e66661d3
Cleanup
...
This is an extract of a commit, minimally edited to ensure it compiles.
Closes #1078 .
Related to #197 .
2017-09-27 21:33:03 +02:00
Wolfgang Draxinger
019609b6cd
Add GLFW_TRANSPARENT and X11 implementation
...
This is a squashed extract of several commits, minimally edited to
ensure it compiles.
Related to #197 .
Related to #715 .
2017-09-27 21:33:03 +02:00
Camilla Löwy
c23fca6343
Fix APIENTRY from windows.h being undefined
...
Some extension loader headers include windows.h. If they were included
before glfw3.h, glfw3native.h would leave APIENTRY undefined. This adds
the GLFW_APIENTRY_DEFINED macro to signal when GLFW "owns" APIENTRY and
may undefine it.
Fixes #1062 .
2017-08-21 16:01:32 +02:00
Kristian Nielsen
29a75ab09d
X11: Add native access to primary selection
...
This adds the native access functions glfwSetX11SelectionString and
glfwGetX11SelectionString under GLFW_EXPOSE_NATIVE_X11. They are
similar to glfwSetClipboardString and glfwGetClipboardString but operate
on the PRIMARY selection.
The primary selection is widely used in X11, and so seems important to
support. Primary selection is mostly an X11-specific thing, hence it's
exposed as an X11 native interface.
Fixes #894 .
Closes #1056 .
Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2017-08-13 18:52:24 +02:00
Camilla Löwy
5bc1c38159
Documentation work
...
[ci skip]
2017-08-09 12:20:51 +02:00
Camilla Löwy
5b7281bd41
Add glfwGetJoystickGUID
...
This function completes the first round of support for
SDL_GameControllerDB.
Fixes #900 .
2017-07-30 16:15:12 +02:00
Camilla Löwy
213dd2d0d6
Add glfwInitHintString
...
Adds string type init hints. Adds X11 specific init hints for WM_CLASS
components. Documentation work.
Fixes #893 .
2017-07-25 23:53:52 +02:00
Camilla Löwy
2d8d8f5917
Fix signedness in GLFWgamepadstate
...
The signedness did not match glfwGetJoystickButtons.
2017-07-17 23:16:55 +02:00
Camilla Löwy
8e899ccc29
Cocoa: Add support for MoltenVK dynamic library
...
Tested with MoltenVK 0.18.0.
Related to #870 .
2017-07-10 21:34:02 +02:00
Camilla Löwy
2e9aff759e
Fix @ref link
2017-07-09 14:46:39 +02:00
Camilla Löwy
953106e74d
Add support for SDL_GameControllerDB
...
This adds support for importing and applying mappings from the
SDL_GameControllerDB database.
Related to #900 .
2017-07-07 15:52:33 +02:00
Camilla Löwy
be51c201dd
Cleanup
...
Related to #1039 .
2017-07-03 14:32:23 +02:00
David Carlier
57f872054c
Fix GLAPIENTRY re-definition warning on OpenBSD
...
Closes #1039 .
2017-07-03 14:28:44 +02:00
Camilla Löwy
539a728063
Documentation work
...
[ci skip]
2017-06-30 12:45:29 +02:00
Camilla Löwy
d2952e4e92
Cleanup
...
Related to #1005 .
2017-06-15 20:01:44 +02:00
Camilla Löwy
14a3fe0ac0
Make glfwGetError also provide description
...
Related to #970 .
2017-06-08 16:08:36 +02:00
Camilla Löwy
beaeb0d4af
Add missing pixel format documentation
...
Fixes #1027 .
2017-06-07 20:07:24 +02:00
Camilla Löwy
fa0b5e1b85
Additional client API logic cleanup
2017-05-16 15:43:29 +02:00
Konstantin Käfer
244d6d7823
Allow OpenGL ES header inclusion on macOS
...
Related to #985 .
2017-05-16 15:42:51 +02:00
Camilla Löwy
baa9cd8968
Cleanup
...
Closes #988 .
2017-05-11 20:10:04 +02:00
Felipe Ferreira da Silva
412eb6a611
Add glfwRequestWindowAttention
...
Related to #988 .
2017-05-11 13:36:39 +02:00
Camilla Löwy
6350641f0a
Add glfwGetError
...
Related to #970 .
If you have opinions on the design or implementation of this function,
please come join us in #970 before it is frozen for release.
2017-05-03 18:30:11 +02:00
Camilla Löwy
16ddfafeaa
Allow object creation from callbacks
2017-05-03 15:10:36 +02:00
Camilla Löwy
9558b85f7b
Documentation work
...
Related to #981 .
2017-04-04 18:53:47 +02:00
Brandon Schaefer
c9003b5547
Mir: Get ready for Mir 1.0
...
Clean up CMake finding and check version. Change last remaining
deprecations.
Closes #979 .
2017-03-30 00:43:03 +02:00
Camilla Berglund
bff31f006e
Formatting
2017-03-16 16:22:00 +01:00
Camilla Löwy
798d7c6d68
Implement glfwGetJoystickHats
...
This moves the buttons-as-hats logic to shared code and adds the
GLFW_JOYSTICK_HAT_BUTTONS input mode as a way to disable this legacy
behavior.
Fixes #889 .
2017-03-06 03:23:29 +01:00
IntellectualKitty
368dec7ac7
Add glfwGetJoystickHats
...
This merges the public part of the glfwGetJoystickHats work by
@IntellectualKitty. The implementation needs replacing due to
refactoring in preparation for gamecontrollerdb support.
Closes #906 .
2017-03-05 23:20:07 +01:00