Ray
8516750975
Remove internal function
2025-12-22 20:29:57 +01:00
Ray
4b760091da
REVIEWED: Window scaling with HighDPI on macOS #5059
2025-12-17 21:23:25 +01:00
Ray
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
Ray
5025009860
REVIEWED: Make sure all variables are initialized on definition, prioritize one line per variable definitions
2025-12-14 19:45:28 +01:00
Ray
c96669e123
REVIEWED: Webpage reference comments starting with REF:, more consistent with TODO: and NOTE: comments
2025-12-13 13:03:41 +01:00
Aly
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
Ray
18e1ec504f
Updated example
2025-11-29 18:20:06 +01:00
Ray
bd36610f91
Some formatting
2025-11-24 15:37:28 +01:00
Ray
e1b9857b14
Some TODOs and format reviews
2025-11-23 21:40:39 +01:00
Serhii Zasenko
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
JohnnyCena123
12ce106661
[rcore][glfw] fix IsWindowFocused() inverted logic ( #5333 )
2025-11-04 18:17:37 +01:00
Tiago Ferreira
cc83b2bd8e
fix: cursor lock/unlock inconsistent behaviour on glfw, rgfw, sl ( #5323 )
2025-11-02 19:46:57 +01:00
Ray
3cf3b309c6
REVIEWED: Flags set/clear #5169
2025-11-02 19:40:45 +01:00
JohnnyCena123
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
Ray
ec06f9be37
Removed trailing spaces
2025-10-21 13:51:03 +02:00
Ray
18e4d1d44f
Reviewed formating
2025-10-15 19:20:11 +02:00
Saksham Goyal
adfe2c1704
C++ compiler support v2 ( #5252 )
...
* Get C++ compilers working
* Fix Formatting
2025-10-15 19:11:44 +02:00
Maicon Santana
de50402dd5
Check if video mode is valid and rename to match with other methods ( #5235 )
2025-10-05 22:26:25 +02:00
Ray
dc1632c17a
REVIEWED: Platform code formatting and organization
2025-09-18 15:28:03 +02:00
Max Coplan
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
Ray
ed8f1a22d1
Remove trailing spaces
2025-09-14 18:07:58 +02:00
Ray
b8420d4821
REXM: Update examples
2025-09-13 10:46:14 +02:00
Ray
5a54fc12a2
REVIEWED: Prioritize calloc() calls than malloc() on some cases
2025-09-10 21:03:06 +02:00
Ray
f0e49787cd
minor tweak
2025-08-29 21:32:21 +02:00
Ray
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
Diogo Diniz
3ef5ee878c
Adjusted formatting to comply with contribution guidelines
2025-08-14 19:58:22 +01:00
Ray
a9970484f3
Remove trailing spaces
2025-08-14 20:37:18 +02:00
Diogo Diniz
eae1296b08
Fixed bad macro logic
2025-08-14 18:56:31 +01:00
Diogo Diniz
59c979a59d
Added suggestions by planetis-m
2025-08-14 18:46:45 +01:00
Didas72
93f86fa074
fixes #5110
...
Adds more filters for conditional build of GetWindowHandle with glfw
2025-08-14 14:30:29 +01:00
Ray
76284f1a16
Corrected typo
2025-08-13 08:13:18 +02:00
Ray
dd19b8d2c2
REVIEWED: Requested window flags application after window initialization
2025-08-12 11:44:20 +02:00
Ray
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
Ray
95e4494cfe
ADDED: cursorLocked variable and review required code #4940 #4955
2025-08-12 11:33:58 +02:00
Ray
570082deba
WARNING: **NEW** raylib code CONVENTION: Comments do not end with '.'
2025-08-07 18:23:20 +02:00
Ray
eb7f8912f8
Minor format tweaks
2025-07-26 12:50:29 +02:00
Didas72
36364192d5
Fixes GetWindowHandle returning a bad handle under Linux X11
2025-07-19 22:29:08 +01:00
Ray
59bcf680aa
Code gardening...
2025-06-07 20:14:24 +02:00
M374LX
3418172617
Update comments
2025-05-29 23:01:48 -03:00
Ray
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
Gavin Rohrer
10478ff756
Revert GLFW_SCALE_FRAMEBUFFER to pre GLFW 4.3 behavior
2025-04-25 14:32:02 -04:00
AndrewHamel111
fdb92b373b
Warning to direct users to appropriate function
2025-04-15 21:08:35 -04:00
Ray
80fcca4155
Update rcore_desktop_glfw.c
2025-04-14 12:37:06 +02:00
Jonathan Marler
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
Ray
266fba1111
Minor tweaks
2025-03-21 17:07:55 +01:00
Jeffery Myers
d56ab670c3
spaces not tabs
2025-03-14 08:18:26 -07:00
Alex Anderson
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
Jeffery Myers
4bed3741c1
Unscale the window size on resize if we are doing automatic HighDPI scaling.
2025-03-12 14:16:50 -07:00
Kaluub
9ba0cdbe6d
Fix GetCurrentMonitor comments. ( #4812 )
2025-03-07 19:21:08 +00:00
sleeptightAnsiC
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