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 .
ago%!(EXTRA string=7 years)
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 .
ago%!(EXTRA string=7 years)
Camilla Löwy
58cc4b2c5c
Move full screen cursor centering to shared code
ago%!(EXTRA string=7 years)
Camilla Löwy
c29e4455bb
Move more context logic out of glfwCreateWindow
ago%!(EXTRA string=7 years)
Camilla Löwy
bb3ab87a18
Remove unmaintained internal Doxygen docs
...
The useful bits have been transformed to function definition comments.
The style guide stub has been added to the regular docs build.
ago%!(EXTRA string=8 years)
Camilla Löwy
ee9dffcd66
Add GLFW_HOVERED for polling cursor hover state
...
This window attribute corresponds to the cursor enter/leave callback.
Fixes #1166 .
ago%!(EXTRA string=8 years)
Camilla Löwy
370eac3c48
Add glfwSetWindowContentScaleCallback
...
Related to #677 .
Related to #1115 .
ago%!(EXTRA string=8 years)
Camilla Löwy
1034b6e0db
Move context management out of glfwCreateWindow
...
Related to #25 .
ago%!(EXTRA string=8 years)
Camilla Löwy
9da2285b14
Cocoa: Make frame autosave hint a string
ago%!(EXTRA string=8 years)
Camilla Löwy
6158801aeb
Change glfwInitHintString to glfwWindowHintString
...
Fixes #1139 .
ago%!(EXTRA string=8 years)
Camilla Löwy
11e47f08b1
Add glfwGetWindowOpacity and glfwSetWindowOpacity
...
This adds support for setting the opacity of the whole window, including
any decorations.
Fixes #1089 .
ago%!(EXTRA string=8 years)
Camilla Löwy
49130ab8ec
Rename framebuffer transparency hint
...
This is a breaking change of an unreleased API.
ago%!(EXTRA string=8 years)
Camilla Löwy
a1154247fa
Fix default value of GLFW_CENTER_CURSOR
...
Regression introduced by 72ac5badb0
.
Fixes #1105 .
ago%!(EXTRA string=8 years)
Camilla Löwy
bf09dba95b
Cleanup
ago%!(EXTRA string=8 years)
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 .
ago%!(EXTRA string=8 years)
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 .
ago%!(EXTRA string=8 years)
Bailey Cosier
93e66661d3
Cleanup
...
This is an extract of a commit, minimally edited to ensure it compiles.
Closes #1078 .
Related to #197 .
ago%!(EXTRA string=8 years)
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 .
ago%!(EXTRA string=8 years)
Camilla Löwy
b97039f3f5
Cleanup
ago%!(EXTRA string=8 years)
Camilla Löwy
d5de48ab53
Report invalid constants in the appropriate base
...
If the expected constants are defined in hexadecimal in the header then
the error string should also use hexadecimal.
Idea by IntellectualKitty.
Related to #970 .
ago%!(EXTRA string=8 years)
Camilla Löwy
14a3fe0ac0
Make glfwGetError also provide description
...
Related to #970 .
ago%!(EXTRA string=8 years)
Felipe Ferreira da Silva
412eb6a611
Add glfwRequestWindowAttention
...
Related to #988 .
ago%!(EXTRA string=8 years)
Camilla Löwy
aaf2800c9c
Add internal TLS support
...
Related to #970 .
ago%!(EXTRA string=8 years)
Camilla Löwy
6d9a58bfef
Add glfwInitHint
...
This allows setting hints that control how the library is initialized,
transforming more compile-time options into run-time ones.
ago%!(EXTRA string=8 years)
Camilla Löwy
3817b4e1c5
Add more assertions
ago%!(EXTRA string=8 years)
Camilla Löwy
2ba461e348
Formatting
ago%!(EXTRA string=8 years)
Camilla Löwy
77a8f103d8
Add GLFW_COCOA_GRAPHICS_SWICTHING
...
This provides control over whether the context should participate in
macOS Automatic Graphics Switching.
Closes #377 .
Closes #935 .
ago%!(EXTRA string=8 years)
Camilla Löwy
5a74b5008d
Cleanup
...
Related to #842 .
ago%!(EXTRA string=9 years)
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 .
ago%!(EXTRA string=9 years)
Camilla Löwy
f3e20ca437
Pass scancode with synthetic key release events
ago%!(EXTRA string=9 years)
Camilla Löwy
a2867ff6ea
Cleanup
ago%!(EXTRA string=9 years)
Camilla Löwy
9689f7b925
Remove superfluous comments
ago%!(EXTRA string=9 years)
Camilla Löwy
4661315192
Add GLFW_COCOA_FRAME_AUTOSAVE
...
Fixes #195 .
ago%!(EXTRA string=9 years)
Camilla Löwy
58ceab5f1e
Add GLFW_COCOA_RETINA_FRAMEBUFFER
...
Look, a can of worms! I wonder what's inside.
This adds the first platform specific window hint, transforming
a compile-time option to a run-time per-window one.
ago%!(EXTRA string=9 years)
Camilla Löwy
744cee6ec9
Cleanup
ago%!(EXTRA string=9 years)
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 .
ago%!(EXTRA string=9 years)
Camilla Löwy
f4d0c83181
Paperwork done
ago%!(EXTRA string=9 years)
Camilla Berglund
c156b50e4c
Add glfwSetWindowMaximizeCallback
...
Fixes #778 .
ago%!(EXTRA string=9 years)
Camilla Berglund
9cd0c101f0
Fix glfwMaximizeWindow not checking window mode
ago%!(EXTRA string=9 years)
Camilla Berglund
53fafad915
Start 3.3
ago%!(EXTRA string=9 years)
Camilla Berglund
613868b893
Add missing assertion
ago%!(EXTRA string=9 years)
Camilla Berglund
a991c01731
Fail sharing if either window is context-less
ago%!(EXTRA string=9 years)
Camilla Berglund
757eea2779
Update email address
ago%!(EXTRA string=9 years)
Camilla Berglund
6a8e169001
Update copyright notice year
ago%!(EXTRA string=9 years)
Camilla Berglund
2d2756cbad
Simplify cursor window logic
ago%!(EXTRA string=9 years)
Camilla Berglund
bda031f4ac
Cleanup
ago%!(EXTRA string=9 years)
Camilla Berglund
797ee8d8e3
Move all cursor positioning to platform code
...
Due to Wayland, shared code cannot rely on cursor positioning being
supported by the underlying platform.
This implicitly fixes #617 as it moves cursor centering into
_glfwPlatformSetCursorMode, thus separating it from the stale value of
_glfw.cursorWindow.
Fixes #617 .
ago%!(EXTRA string=9 years)
Camilla Berglund
0e846883bf
Clarify cursor position variable names
ago%!(EXTRA string=9 years)
Camilla Berglund
54cb23d234
Fix value checks failing on GLFW_DONT_CARE
ago%!(EXTRA string=9 years)
Camilla Berglund
57f4ba7b37
Add basic argument checks for glfwSetWindowMonitor
ago%!(EXTRA string=9 years)