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
3418172617
Update comments
2025-05-29 23:01:48 -03:00
8c99a508c6
REVIEWED: WindowSizeCallback(), GLFW
...
It is called on window minification and setting internal width/height to 0, that can break things
2025-05-14 23:49:24 +02:00
10478ff756
Revert GLFW_SCALE_FRAMEBUFFER to pre GLFW 4.3 behavior
2025-04-25 14:32:02 -04:00
fdb92b373b
Warning to direct users to appropriate function
2025-04-15 21:08:35 -04:00
80fcca4155
Update rcore_desktop_glfw.c
2025-04-14 12:37:06 +02:00
af16f7823a
Improve description of RestoreWindow
...
Restore window currently says it sets the window state to:
"not minimized/maximized"
However, if a window is maximized and then minimized, it's typical that
it would restore back to being maximized, which is what seems to happen
from my testing. I've reworded the description to better reflect
this behavior.
2025-03-28 10:39:22 -06:00
266fba1111
Minor tweaks
2025-03-21 17:07:55 +01:00
d56ab670c3
spaces not tabs
2025-03-14 08:18:26 -07:00
99a9ecfaac
[rcore] Support window flags with initialization issues
...
This may not be the correct approach, however this appears to work. The idea is that before modifying `CORE.Window.flags` when first creating the window we keep a copy of the flags in order to call `SetWindowState` after initialization has completed, which should behave as if `MaximizeWindow` or `MinimizeWindow`, or conceptually any other flag modifying function were called after `InitWindow`.
This pull request only performs this for the windows platform, modify as needed in the switch statement at the end for others.
2025-03-12 14:56:02 -07:00
4bed3741c1
Unscale the window size on resize if we are doing automatic HighDPI scaling.
2025-03-12 14:16:50 -07:00
9ba0cdbe6d
Fix GetCurrentMonitor comments. ( #4812 )
2025-03-07 19:21:08 +00:00
a20d9dedf3
[desktop_glfw] fix InitPlatform crash caused by glfwCreateWindow... ( #4804 )
...
...returning NULL. This was causing a crash few lines later.
Refs: https://github.com/raysan5/raylib/issues/4801#issuecomment-2691201072
Partially-fixes: https://github.com/raysan5/raylib/issues/4801
2025-03-01 23:42:07 +01:00
77df0ab1e8
[rcore_desktop_glfw.c] fix: make sure that GLFW uses RL_*alloc macros ( #4777 )
...
Raylib allows for providing custom allocators via macros.
GLFW supports this too, but via function pointers.
Make sure that GLFW uses those Raylib macros, by wrapping them in
function calls and setting them up inside of InitPlatform().
This is possible because of glfwInitAllocator() and GLFWallocator.
Fixes: https://github.com/raysan5/raylib/issues/4776
Relates-to: https://github.com/raysan5/raylib/issues/4751
2025-02-18 22:53:18 +01:00
e85ae86f70
[platforms/glfw] fix: allow GetGamepadButtonPressed() to return GAMEPAD_BUTTON_LEFT_TRIGGER_2 / GAME_PAD_BUTTON_RIGHT_TRIGGER_2 if they are pressed ( #4742 )
2025-02-01 10:50:25 +01:00
74256943a4
REVIEWED: MAX_GAMEPAD_NAME_LENGTH #4695
2025-01-18 19:39:50 +01:00
ad035edfac
Fix camera initial position ( #4657 )
2025-01-05 12:30:43 +01:00