Simple DirectMedia Layer https://libsdl.org
Find a file
Simon McVittie b986bc8be9 emscripten, wayland, x11: Share the table of CSS cursor names
As suggested in #8939.

This results in some minor changes for emscripten and x11. Both
previously mapped SIZEALL to "move", but "move" is not guaranteed to be
a four-pointed arrow: according to the CSS spec, it's actually intended
to be a drag-and-drop cursor, analogous to "alias" and "copy".
Map it to "all-scroll" instead, as in Wayland: while this is *also* not
semantically guaranteed to be a four-pointed arrow, it is at least
*suggested* to make it a four-pointed arrow.

Also, emscripten was previously using two-pointed arrows for resizing
(BOTTOMLEFT mapped to "nesw-resize", and so on). This commit changes
it to use the more specific "sw-resize" and so on, which might be
single-directional.

Signed-off-by: Simon McVittie <smcv@collabora.com>
2024-02-16 07:52:43 -05:00
.github ci: bump actions version tag 2024-01-26 02:33:20 +01:00
android-project Removed SDL_HINT_ACCELEROMETER_AS_JOYSTICK 2024-02-12 09:54:33 -08:00
build-scripts Renamed SDL_HINT_PS2_DYNAMIC_VSYNC SDL_HINT_RENDER_PS2_DYNAMIC_VSYNC 2024-02-12 09:54:33 -08:00
cmake Don't try to use SDL platform macros in configure-time checks 2024-01-24 14:12:50 +03:00
docs android: Remove blocking permission request code. Async only in SDL3! 2024-02-13 12:06:51 -05:00
include Sync SDL3 wiki -> header 2024-02-13 17:07:23 +00:00
mingw/pkg-support/cmake build: don't add SDL3 subfolder to include path for external projects 2022-11-27 14:33:13 -08:00
src emscripten, wayland, x11: Share the table of CSS cursor names 2024-02-16 07:52:43 -05:00
test Fixed HDR video content being too bright on Apple platforms 2024-02-15 16:39:13 -08:00
VisualC Re-added a simplified version of SDL_SetWindowShape() 2024-02-09 16:04:46 -08:00
VisualC-GDK Re-added a simplified version of SDL_SetWindowShape() 2024-02-09 16:04:46 -08:00
VisualC-WinRT Allow optimizing memcpy and memset where possible 2024-01-21 06:55:29 -08:00
wayland-protocols wayland: Use the preferred order of displays exposed by KDE 2024-01-27 02:10:49 -05:00
Xcode Added SDL_cocoashape* to Xcode project 2024-02-12 11:17:54 -08:00
.clang-format Commented out syntax that causes Visual Studio 2019 to complain on every edit 2022-12-02 00:43:01 -08:00
.clang-tidy Fix size of memcpy in SDL_AudioDeviceFormatChangedAlreadyLocked 2023-08-05 14:14:45 -04:00
.editorconfig Fixed formatting for Haiku cc files 2023-01-25 03:03:41 -08:00
.gitignore Make Xbox GDK code public (and fix some GDK code rot) (#8844) 2024-01-14 20:31:41 -08:00
.wikiheaders-options sdlwiki: SDL3 advises users to include through 'SDL3/SDL.h' 2023-03-21 02:19:19 +01:00
Android.mk Always provide an implementation for all SDL3 symbols 2023-10-12 14:00:47 +02:00
BUGS.txt Cleaned up a few more Bugzilla mentions. 2021-02-12 14:46:49 -05:00
CMakeLists.txt Don't use the system iconv on Apple mobile platforms 2024-02-01 15:53:27 -08:00
CREDITS.md docs: Moved CREDITS and INSTALL to markdown format. 2023-11-29 12:31:27 -05:00
INSTALL.md docs: Moved CREDITS and INSTALL to markdown format. 2023-11-29 12:31:27 -05:00
LICENSE.txt Updated copyright for 2024 2024-01-01 13:15:26 -08:00
README-SDL.txt More HTTPS changes in the documentation. 2017-02-16 16:52:03 -05:00
README.md docs: Convert everything to Unix-style endlines. 2023-11-29 11:29:57 -05:00
WhatsNew.txt Added the environment variable SDL_LOGGING to control default log output 2024-01-27 19:30:22 -08:00

Simple DirectMedia Layer (SDL) Version 3.0

https://www.libsdl.org/

Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.

More extensive documentation is available in the docs directory, starting with README.md. If you are migrating to SDL 3.0 from SDL 2.0, the changes are extensively documented in README-migration.md.

Enjoy!

Sam Lantinga (slouken@libsdl.org)