a334a54eac
Update rcore_desktop_glfw.c
2025-12-28 20:09:15 +01:00
890ca8d687
REVIEWED: GetWindowPosition(), return internal value
2025-12-28 20:04:44 +01:00
8a75439c25
REVIEWED: Fullscreen modes on Linux (X11 over XWayland)
...
It does not work as expected... :(
2025-12-28 19:51:04 +01:00
4176c518c7
Update rcore_desktop_glfw.c
2025-12-28 18:40:44 +01:00
c0c8ee9dc8
Update rcore_desktop_glfw.c
2025-12-28 18:15:47 +01:00
2cf8983e18
WARNING: REDESIGNED: Fullscreen modes, use current display resolution
...
Considering multi-monitor and multi-ppi configurations
Fullscreen-exclusive scales to available display resolution, ignoring content scaling
Windowed-borderless scales to available logical resolution considering HighDPI **if requested**
2025-12-28 16:11:42 +01:00
da1a76604f
REMOVED: CORE.Window.fullscreen, using available flag instead
2025-12-28 16:05:42 +01:00
64bd27bd08
Update rcore_desktop_glfw.c
2025-12-26 20:49:03 +01:00
aee6734cff
fix: set correct default axes for gamepads that are not connected (inside rcore_desktop_glfw.c) ( #5444 )
...
* fix: set correct default axes for gamepads that are not connected
`glfwGetGamepadState` will set all gamepad state variables to 0.0 if required gamepad is not connected, but `RecordAutomationEvent()` inside rcore.c expects trigger axes to be -1.0f when gamepad is not connected. Since SDL and RGFW return -1.0f in such case, this change is aligning it with them
* updated comment in rcore_desktop_glfw.c
2025-12-26 20:46:09 +01:00
20dd4641c8
REVIEWED: Potential security concerns while copying unbounded text data between strings
...
Note that issue has been reported by CodeQL static analysis system
2025-12-24 19:35:06 +01:00
aa2884bd78
Update rcore_desktop_glfw.c
2025-12-22 22:50:38 +01:00
f27f2d097f
REVIEWED: HighDPI support on macOS (when requested by app)
...
Tested on two monitors with different DPI configuration, for HigDPI enabled and not, including window resizing (with framebuffer resizing if required). Verified mouse coordinates follow the requested screen size.
2025-12-22 22:48:08 +01:00
8516750975
Remove internal function
2025-12-22 20:29:57 +01:00
4b760091da
REVIEWED: Window scaling with HighDPI on macOS #5059
2025-12-17 21:23:25 +01:00
6d562e5e87
REVIEWED: HiggDPI content scaling on changing monitors with different DPI #5335 #5356
...
Note that high-dpi awareness must be enabled by users and `CORE.Window.render` reports the scaled framebuffer size, while `CORE.Window.screen` reports the logical size.
`ToggleBorderlessWindow()` has also been reviewed to be consistent with scaling, if monitor physical display size is reported as 1920x1080 but there is a content scale of 1.5, then the borderless fullscreen window will be 1280x720, with the 1920x1080 framebuffer
2025-12-17 19:20:18 +01:00
5025009860
REVIEWED: Make sure all variables are initialized on definition, prioritize one line per variable definitions
2025-12-14 19:45:28 +01:00
c96669e123
REVIEWED: Webpage reference comments starting with REF:, more consistent with TODO: and NOTE: comments
2025-12-13 13:03:41 +01:00
78a81bf407
Fix ToggleBorderlessFullscreen() Not Hiding Taskbar ( #5383 )
...
* Use glfwSetWindowMonitor instead of Pos and Size GLFW functions
* Fix window not resetting properly when toggling out of fullscreen, formatting
2025-12-02 22:55:22 +01:00
18e1ec504f
Updated example
2025-11-29 18:20:06 +01:00
bd36610f91
Some formatting
2025-11-24 15:37:28 +01:00
e1b9857b14
Some TODOs and format reviews
2025-11-23 21:40:39 +01:00
be9a24e68c
Fix controller not available right after win init ( #5358 )
...
- Fix IsGamepadAvailable() returns false for an available controller immediately after window initialization
2025-11-18 16:17:58 +01:00
12ce106661
[rcore][glfw] fix IsWindowFocused() inverted logic ( #5333 )
2025-11-04 18:17:37 +01:00
cc83b2bd8e
fix: cursor lock/unlock inconsistent behaviour on glfw, rgfw, sl ( #5323 )
2025-11-02 19:46:57 +01:00
3cf3b309c6
REVIEWED: Flags set/clear #5169
2025-11-02 19:40:45 +01:00
5fbf67a630
[rcore] Use FLAG_* macros where possible ( #5169 )
...
* use FLAG_* macros where possible
* rename `FLAG_CHECK()` to `FLAG_IS_SET()`
* remove unnecessary equality checks
* fix issues
---------
Co-authored-by: Ray <raysan5@gmail.com >
2025-11-02 19:24:47 +01:00
ec06f9be37
Removed trailing spaces
2025-10-21 13:51:03 +02:00
18e4d1d44f
Reviewed formating
2025-10-15 19:20:11 +02:00
adfe2c1704
C++ compiler support v2 ( #5252 )
...
* Get C++ compilers working
* Fix Formatting
2025-10-15 19:11:44 +02:00
de50402dd5
Check if video mode is valid and rename to match with other methods ( #5235 )
2025-10-05 22:26:25 +02:00
dc1632c17a
REVIEWED: Platform code formatting and organization
2025-09-18 15:28:03 +02:00
fbdf5e4fd2
fix(rcore): correctly scale content on macOS ( #5186 )
...
Currently, scaling doesn't work correctly on macOS (see #5185 ). This commit
works around this issue by disabling SCALE_FRAMEBUFFER on macOS when
`FLAG_WINDOW_HIGHDPI` is unset.
2025-09-16 19:37:05 +02:00
ed8f1a22d1
Remove trailing spaces
2025-09-14 18:07:58 +02:00
b8420d4821
REXM: Update examples
2025-09-13 10:46:14 +02:00
5a54fc12a2
REVIEWED: Prioritize calloc() calls than malloc() on some cases
2025-09-10 21:03:06 +02:00
f0e49787cd
minor tweak
2025-08-29 21:32:21 +02:00
81615a91a6
Merge pull request #5111 from didas72/master
...
Adds more filters for conditional build of GetWindowHandle with GLFW
2025-08-14 21:13:27 +02:00
3ef5ee878c
Adjusted formatting to comply with contribution guidelines
2025-08-14 19:58:22 +01:00
a9970484f3
Remove trailing spaces
2025-08-14 20:37:18 +02:00
eae1296b08
Fixed bad macro logic
2025-08-14 18:56:31 +01:00
59c979a59d
Added suggestions by planetis-m
2025-08-14 18:46:45 +01:00
93f86fa074
fixes #5110
...
Adds more filters for conditional build of GetWindowHandle with glfw
2025-08-14 14:30:29 +01:00
76284f1a16
Corrected typo
2025-08-13 08:13:18 +02:00
dd19b8d2c2
REVIEWED: Requested window flags application after window initialization
2025-08-12 11:44:20 +02:00
195b968b86
Merge pull request #4837 from Andersama/support_all_window_flags_at_initialization
...
[rcore] Support window flags with initialization issues
2025-08-12 11:38:22 +02:00
95e4494cfe
ADDED: cursorLocked variable and review required code #4940 #4955
2025-08-12 11:33:58 +02:00
570082deba
WARNING: **NEW** raylib code CONVENTION: Comments do not end with '.'
2025-08-07 18:23:20 +02:00
eb7f8912f8
Minor format tweaks
2025-07-26 12:50:29 +02:00
36364192d5
Fixes GetWindowHandle returning a bad handle under Linux X11
2025-07-19 22:29:08 +01:00
59bcf680aa
Code gardening...
2025-06-07 20:14:24 +02:00