raylib/src/platforms
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dave Green 0c06a08e07
[rcore][desktop_glfw] Keeping CORE.Window.position properly in sync with glfw window position (#4190)
* WindowPosCallback added.

CORE.Window.position is now properly kept in sync with the glfw window position.

* Update rcore_desktop_glfw.c

Comments updated.

* Setting CORE.Window.position correctly in InitPlatform() as well.

This also fixes not centering the window correctly when the high dpi flag was enabled.

* Fixes centering the window in the SetWindowMonitor() function.

Here the render size has to be used again in case the high dpi flag is enabled.

* Update Window Position

Update Window Position right away in ToggleFullscreen() & ToggleBorderlessWindowed() functions
2024-08-24 20:33:21 +02:00
..
rcore_android.c Replace deprecated Android function ALooper_pollAll with ALooper_pollOnce (#4275) 2024-08-23 22:32:20 +02:00
rcore_desktop_glfw.c [rcore][desktop_glfw] Keeping CORE.Window.position properly in sync with glfw window position (#4190) 2024-08-24 20:33:21 +02:00
rcore_desktop_rgfw.c (rcore_desktop_rgfw.c) fix errors when compiling with mingw (#4282) 2024-08-24 18:43:46 +02:00
rcore_desktop_sdl.c Adding GetKeyName(int key) (WIP) (#4161) 2024-07-16 14:00:00 +02:00
rcore_drm.c Adding GetKeyName(int key) (WIP) (#4161) 2024-07-16 14:00:00 +02:00
rcore_template.c Adding GetKeyName(int key) (WIP) (#4161) 2024-07-16 14:00:00 +02:00
rcore_web.c Fix warnings (#4251) 2024-08-17 01:07:23 +02:00