Colleague Riley
6bf40eee4f
Update to RGFW 1.5 ( #4688 )
* add PLATFORM_WEB_RGFW
* fix some bugs
* fix web_rgfw gamepad
* send fake screensize
* fix gamepad bugs (linux) | add L3 + R3 (gamepad)
* fix?
* update RGFW (again)
* update raylib (merge)
* fix xinput stuff
* delete makefile added by mistake
* update RGFW
* update RGFW (rename joystick to gamepad to avoid misunderstandings
* update RGFW (fix X11 bug)
* update RGFW
* use RL_MALLOC for RGFW
* update RGFW (fixes xdnd bug)
* fix some formating
* Update RGFW
* update RGFW
* undo change
* undo change
* undo change
* undo change
* have .scroll be 0 by default
* update RGFW
* update RGFW
* update RGFW
* fix year
* fix wasm key event bug
9 months ago
Eike Decker
5c1cce28a7
Using Module provided canvas id for event binding ( #4690 )
This change is replacing the hardcoded "#canvas" element references in
rcore_web to allow using canvas elements that use different names
(which is necessary when using multiple canvas elements on one page).
Also adding a cursor hiding example to mouse example.
9 months ago
Maicon Santana
fc29bc27fd
Fix Touch pointCount reduction ( #4661 )
10 months ago
Asdqwe
ad035edfac
Fix camera initial position ( #4657 )
10 months ago
veins1
97fa3a73e8
Fix: Alt-Tab not working in borderless fullscreen ( #3865 ) ( #4655 )
10 months ago
Ray
fa0eada61a
Update year to 2025
10 months ago
Asdqwe
5b822585e5
[rcore] [GLFW] [SDL2] Updates `CORE.Window.eventWaiting` and `FLAG_WINDOW_ALWAYS_RUN` handling ( #4642 )
* Add implementation for CORE.Window.eventWaiting on PLATFORM_DESKTOP_SDL
* Optimize GetFrameTime() reset
* Optimize FLAG_WINDOW_ALWAYS_RUN and GetFrameTime() reset for PLATFORM_DESKTOP_GLFW
10 months ago
Mario Nachbaur
7ecc47d12e
Fix `IsWindowFocused()` on web. ( #4640 )
10 months ago
Asdqwe
4758867815
[rcore] [SDL2] Add implementation for `FLAG_WINDOW_ALWAYS_RUN` ( #4598 )
* Enable FLAG_WINDOW_ALWAYS_RUN by default on PLATFORM_DESKTOP_GLFW
* Revert enabling FLAG_WINDOW_ALWAYS_RUN by default on PLATFORM_DESKTOP_GLFW
* Add implementation for FLAG_WINDOW_ALWAYS_RUN on PLATFORM_DESKTOP_SDL
* Add reset for GetFrameTime()
10 months ago
Colleague Riley
c333e80497
Update RGFW ( #4637 )
* add PLATFORM_WEB_RGFW
* fix some bugs
* fix web_rgfw gamepad
* send fake screensize
* fix gamepad bugs (linux) | add L3 + R3 (gamepad)
* fix?
* update RGFW (again)
* update raylib (merge)
* fix xinput stuff
* delete makefile added by mistake
* update RGFW
* update RGFW (rename joystick to gamepad to avoid misunderstandings
* update RGFW (fix X11 bug)
* update RGFW
* use RL_MALLOC for RGFW
* update RGFW (fixes xdnd bug)
* fix some formating
* Update RGFW
* update RGFW
* undo change
* undo change
* undo change
* undo change
* have .scroll be 0 by default
10 months ago
veins1
e5d8de7c63
Fix: Setting flags disables fullscreen #4618 ( #4619 )
10 months ago
Fancy2209
26e12d6b35
Fix Typo in rcore_desktop_sdl.c ( #4621 )
10 months ago
Ray
03ff864087
Formating tweaks
10 months ago
Asdqwe
99cb4cbc36
Fix SetGamepadVibration() TRACELOG message ( #4615 )
10 months ago
Colleague Riley
58004723d8
[rcore][RGFW] Add new backend option: `PLATFORM_WEB_RGFW` and update RGFW ( #4480 )
* add PLATFORM_WEB_RGFW
* fix some bugs
* fix web_rgfw gamepad
* send fake screensize
* fix gamepad bugs (linux) | add L3 + R3 (gamepad)
* fix?
* update RGFW (again)
* update raylib (merge)
* fix xinput stuff
* delete makefile added by mistake
* update RGFW
* update RGFW (rename joystick to gamepad to avoid misunderstandings
* update RGFW (fix X11 bug)
* update RGFW
* use RL_MALLOC for RGFW
* update RGFW (fixes xdnd bug)
* fix some formating
10 months ago
Asdqwe
cdaff163cb
Fix show, hide, focus and unfocus window/flags states for SDL2 ( #4610 )
10 months ago
JupiterRider
714cd5ef5c
add SetGamepadVibration to rgfw and template ( #4612 )
10 months ago
Asdqwe
bdfbd6e8cc
Fix maximizing, minimizing and restoring windows for SDL2 ( #4607 )
10 months ago
Ray
6b220f2798
Review formating
10 months ago
Jeffery Myers
6141489b00
Fixes casting warnings with RGFW platform. ( #4534 )
11 months ago
Asdqwe
a53a8958f2
Add implementation to GetWindowScaleDPI() for PLATFORM_WEB ( #4526 )
11 months ago
Ray
26548c1062
Remove trail-spaces
11 months ago
Ray
9e4f513a43
Reviewed formating
11 months ago
Ray
c78757a959
REVIEWED: `GetClipboardImage()`, make symbol available on all platforms
11 months ago
Ray
928535a828
Commented code issuing warnings on w64devkit (GCC)
Tested with w64devkit/MSVC and all seem to work as expected
11 months ago
Asdqwe
700e2c5e5d
Fix touch count reset ( #4488 )
11 months ago
Jeffery Myers
fb69b39d54
Fix a typecast warning in glfw clipboard access ( #4479 )
11 months ago
Everton Jr.
00396e3436
[rcore] Clipboard Image Support ( #4459 )
* [rcore] add 'GetClipboardImage' for windows
* [rcore] GetClipboardImage removed some unneeded defines
* [rcore] PLATFORM_SDL: create a compatility layer for SDL3
* external: add win32_clipboard.h header only lib
* [rcore] using win32_clipboard on platforms rlfw and rgfw
* [rcore] fix warnings in SDL3 compatibility layer
* Makefile: Allow specifying SDL_LIBRARIES to link, this helps with SDL3
* Makefile: examples makefile now compile others/rlgl_standalone only when TARGET_PLATFORM is PLATFORM_DESKTOP_GFLW
* Makefile: examples makefile now compile others/rlgl_standalone only when TARGET_PLATFORM is PLATFORM_DESKTOP_GFLW
* [rcore]: PLATFORM_SDL: improve clipboard data retrieval
* external: remove unused function from win32_clipboard.h
* Makefile: allow for extra flags necessary when compiling for SDL3
* [rcore]: fix string typo
* [rcore]: Properly handle NULL dpi passing. As is allowed in SDL2
* external: fix arch finding on win32_clipboard.h to allow compilation on msvc cmake CI
* [rcore]: PLATFORM_SDL: Treat monitor as an ID in SDL3 as opposed to an index as in SDL2
* [rcore]: typo
1 year ago
Asdqwe
b8c0842b2e
Fix SetWindowSize() for PLATFORM_WEB ( #4452 )
1 year ago
Arche Washi
3bad05aa7b
fix the issue with GetScreenWidth/GetScreenHeight that was identified on other platforms ( #4451 )
1 year ago
Ray
10c8e4e435
Update rcore_desktop_glfw.c
1 year ago
Jeffery Myers
743e557e1e
Fix inconsistent dll linkage warning on windows ( #4447 )
1 year ago
Colleague Riley
7fe5f7126b
Fix MSVC errors for PLATFORM_DESKTOP_RGFW ( #4441 )
* (rcore_desktop_rgfw.c) fix errors when compiling with mingw
* define WideCharToMultiByte
* update RGFW
* move stdcall def to windows only
* fix raw cursor input
* Fix warnings, update RGFW, fix msvc errors (make sure windows macro _WIN32 is correct)
1 year ago
Asdqwe
4cd243f0a3
Simplify EmscriptenResizeCallback() ( #4415 )
1 year ago
Asdqwe
f8f6aa0907
[rcore] Adds implementation to `SetGamepadVibration()` on `PLATFORM_WEB` and updates it on `PLATFORM_DESKTOP_SDL` to handle duration ( #4410 )
* Updates SetGamepadVibration()
* Handle MAX_GAMEPAD_VIBRATION_TIME
* Revert low/high parameters back to left/rightMotor
* Fix missin semicolon
* Convert duration to seconds
* Add SetGamepadVibration() implementation to PLATFORM_WEB
1 year ago
Ray
f141c75cde
Removed trailing spaces
1 year ago
Asdqwe
9d0b1f0171
Adds SetWindowOpacity() implementation for PLATFORM_WEB ( #4403 )
1 year ago
Asdqwe
cb21fe88d3
Fix MaximizeWindow() for PLATFORM_WEB ( #4404 )
1 year ago
Asdqwe
4290a0d9f2
[rcore] [web] Updates `SetWindowState()` and `ClearWindowState()` to handle `FLAG_WINDOW_MAXIMIZED` for `PLATFORM_WEB` ( #4402 )
* Updates SetWindowState() and ClearWindowState() to handle FLAG_WINDOW_MAXIMIZED for PLATFORM_WEB
* Update MaximizeWindow() and RestoreWindow() to set/unset the FLAG_WINDOW_MAXIMIZED
1 year ago
Asdqwe
3dbbe60376
Adds MaximizeWindow() and RestoreWindow() implementation for PLATFORM_WEB ( #4397 )
1 year ago
Asdqwe
a2e31c4e1b
Fix #4388 ( #4392 )
1 year ago
Ray
3fb1ba25ac
Removed tabs and triple line-breaks
1 year ago
Colleague Riley
44e37c5f97
Update RGFW ( #4372 )
* (rcore_desktop_rgfw.c) fix errors when compiling with mingw
* define WideCharToMultiByte
* update RGFW
* move stdcall def to windows only
* fix raw cursor input
1 year ago
Ray
f9e709915a
Fix #4355
1 year ago
Asdqwe
d9c10ed264
Fixes GetClipboardText() memory leak for PLATFORM_DESKTOP_SDL ( #4354 )
1 year ago
Menno van der Graaf
55e83468c9
Fix isGpuReady flag on android ( #4340 )
1 year ago
Ray
e5d0cc978a
Some minor tweaks
1 year ago
Michał Jaskólski
42022c3531
fix: In certain cases the connector status is reported UNKNOWN, should be conisdered as CONNECTED ( #4305 )
Co-authored-by: Michal Jaskolski <michal.jaskolski@hexagon.com>
1 year ago
hanaxars
5f49ec3d64
Fix missing equal sign ( #4294 )
I just noticed there is a missing equal sign. This PR fixes this.
1 year ago
Hesham Abourgheba
8ea5db3ec4
fix(rcore/android): Allow main() to return it its caller on configuration changes. ( #4288 )
1 year ago