SDL Wiki Bot
678cfd23c0
Sync SDL3 wiki -> header
2024-05-13 21:30:12 +00:00
SDL Wiki Bot
7d6453ea33
Sync SDL3 wiki -> header
2024-05-13 21:24:33 +00:00
Ryan C. Gordon
766de7deff
SDL_audio.h: Whoops, one more documentation typo!
2024-05-13 17:24:08 -04:00
Ryan C. Gordon
7bc4bb9f96
SDL_audio.h: Fixed a documentation typo.
2024-05-13 17:23:21 -04:00
Petar Popovic
94cbaaabbf
Renaming SDLK_QUOTE and SDLK_BACKQUOTE
...
Renaming SDLK_QUOTE to SDLK_APOSTROPHE.
Renaming SDLK_BACKQUOTE to SDLK_GRAVE.
This makes them similar to their scancode names.
2024-05-13 11:11:11 -07:00
SDL Wiki Bot
06d6f2cb25
Sync SDL3 wiki -> header
2024-05-13 16:09:32 +00:00
Sam Lantinga
fc62dfc6e2
Added properties for the swap chain in the direct3d11 and direct3d12 renderers
...
Fixes https://github.com/libsdl-org/SDL/issues/9775
2024-05-13 09:06:57 -07:00
SDL Wiki Bot
486af58797
Sync SDL3 wiki -> header
2024-05-13 14:14:30 +00:00
Thomas J Faughnan Jr
ad166be1c5
Add SDL_HINT_AUDIO_DEVICE_APP_ICON_NAME
2024-05-13 10:13:01 -04:00
SDL Wiki Bot
8bd0433966
Sync SDL3 wiki -> header
2024-05-13 07:19:15 +00:00
Sam Lantinga
026edbeab0
Use the correct type for the modifier in SDL_Keysym
...
This shrinks the structure by 32-bits because we've removed implicit padding between the fields
2024-05-10 17:36:10 -07:00
Sam Lantinga
c95c415a0b
Fixed warning C4244: '=': conversion from 'SDL_Keymod' to 'Uint16', possible loss of data
2024-05-10 16:43:09 -07:00
SDL Wiki Bot
cd45e0a1ed
Sync SDL3 wiki -> header
2024-05-10 14:30:13 +00:00
SDL Wiki Bot
7857d34d2c
Sync SDL3 wiki -> header
2024-05-10 01:26:32 +00:00
Sam Lantinga
06a5d4d24f
Documented the return value of SDL_GetDateTimeLocalePreferences()
2024-05-09 18:25:22 -07:00
Sam Lantinga
c1ba31118b
Added ball, touchpad, and sensor support for virtual joysticks
...
Fixes https://github.com/libsdl-org/SDL/issues/9542
2024-05-09 18:25:22 -07:00
Ryan C. Gordon
d231edd2ad
SDL_dialog.h: Added missing \param
lines to callback documentation.
2024-05-09 19:57:36 -04:00
SDL Wiki Bot
5f86f64f06
Sync SDL3 wiki -> header
2024-05-09 23:33:11 +00:00
Sam Lantinga
bcbf09acde
Renamed SDL_AttachVirtualJoystickEx() to SDL_AttachVirtualJoystick()
...
The shorthand version of this function didn't allow specifying a controller name, which seems pretty important. It seems like anyone actually implementing a virtual joystick is going to want to use some of the extended functionality.
2024-05-09 14:05:58 -07:00
Sam Lantinga
598b4e0a1f
Removed the limit on the number of supported renderer texture formats
...
Fixes https://github.com/libsdl-org/SDL/issues/9056
2024-05-09 13:30:07 -07:00
Ozkan Sezer
890ceb4ac4
SDL_stdinc.h: add fallback cases for SDL_SINT64_C and SDL_UINT64_C
...
These are needed when INT64_C and UINT64_C macros are either not
available (not likely), or guarded by __STDC_LIMIT_MACROS in C++
compilations (which is the case in many old SDKs.)
2024-05-09 20:55:56 +03:00
Ryan C. Gordon
9245084c06
SDL_video.h: Added a \sa
from SDL_GLContext to SDL_GL_CreateContext.
2024-05-09 13:51:26 -04:00
Sam Lantinga
54fb629da5
SDL_WindowFlags is now 64-bit
...
Fixes https://github.com/libsdl-org/SDL/issues/7321
2024-05-09 10:39:54 -07:00
Susko3
895586c928
Use 1u
literal for flags/masks calculation
...
Changes `1 <<` and `1<<` to use `1u`.
2024-05-09 10:29:48 -07:00
Sam Lantinga
1944c009e9
SDL_Keycode is now Uint32
2024-05-09 10:00:46 -07:00
SDL Wiki Bot
d3e28f3ab8
Sync SDL3 wiki -> header
2024-05-09 16:18:35 +00:00
Sam Lantinga
33e7238268
Clarified the meaning of the cursor hotspot (thanks @nbriggs!)
...
Fixes https://github.com/libsdl-org/sdlwiki/issues/380
2024-05-09 09:16:46 -07:00
Sam Lantinga
3947356282
Removed obsolete documentation
2024-05-09 09:01:27 -07:00
SDL Wiki Bot
793622ff1c
Sync SDL3 wiki -> header
2024-05-08 21:48:12 +00:00
SDL Wiki Bot
a5e49cc4e8
Sync SDL3 wiki -> header
2024-05-08 19:36:35 +00:00
Frank Praznik
1f43c88220
time: Use a function instead of properties to retrieve the system date and time locale info
...
This allows applications to re-query the values if the system locale is changed during runtime, and better matches the other locale functions. A note is included in the documentation mentioning that this can be slow, as it has to call into OS functions.
Also allows for the removal of the init/quit time functions, as they are no longer needed.
2024-05-08 15:35:04 -04:00
SDL Wiki Bot
7abc589438
Sync SDL3 wiki -> header
2024-05-08 16:56:38 +00:00
Frank Praznik
7d47d16526
kmsdrm: Report the panel orientation hint property
...
Queries the "panel orientation" property on the connector and reports it in degrees of clockwise rotation via the 'SDL.display.KMSDRM.panel_orientation' display property.
This is provided by the kernel as a hint to userspace applications, and the application itself is ultimately responsible for any required coordinate transformations needed to conform to the requested orientation.
2024-05-08 12:55:19 -04:00
SDL Wiki Bot
8af26cf463
Sync SDL3 wiki -> header
2024-05-08 07:53:33 +00:00
Ryan C. Gordon
e14ba41689
Some minor documentation tweaks.
2024-05-08 03:52:31 -04:00
Sam Lantinga
04be04c338
Removed mostly unused SDL_errorcode
2024-05-07 15:45:06 -07:00
Sam Lantinga
afe7c7a644
Changed SDL_ClearError() to always return 0.
...
This will provide a quick and easy way of clearing the error when a function succeeds, if we want to do that in a more widespread way.
For now we guarantee that SDL_Init() will never have an error set when it returns successfully.
Fixes https://github.com/libsdl-org/SDL/issues/8421
2024-05-07 15:45:06 -07:00
Sam Lantinga
748490677c
Use SDL_RendererFlags in the API (thanks @Sackzement!)
2024-05-07 13:41:12 -07:00
SDL Wiki Bot
4928d0e479
Sync SDL3 wiki -> header
2024-05-07 19:25:31 +00:00
Sam Lantinga
aecb62e30d
Improved API consistency for flag data types
...
Flag data types are always unsigned and have the valid values following the typedef.
2024-05-07 12:24:37 -07:00
Sam Lantinga
53a45a4437
Fixed inconsistent hint names (thanks @Sackzement!)
...
Fixes https://github.com/libsdl-org/SDL/issues/9643
2024-05-07 08:47:25 -07:00
SDL Wiki Bot
ea1904eda1
Sync SDL3 wiki -> header
2024-05-06 16:09:31 +00:00
Petar Popovic
45ac1a09d9
System dependent 64 bit integer suffixes
...
Added macros SDL_SINT64_C() and SDL_UINT64_C().
Integer suffixes of SDL_MAX_SINT64, SDL_MIN_SINT64, SDL_MAX_UINT64
and SDL_MIN_UINT64 are now system dependent.
2024-05-06 09:08:49 -07:00
SDL Wiki Bot
d7d3028765
Sync SDL3 wiki -> header
2024-05-06 16:06:32 +00:00
Miku AuahDark
33ae7e38d6
Android: Allow SDL_IOFromFile to open content:// URI. ( #9696 )
2024-05-06 09:05:49 -07:00
Ryan C. Gordon
5dc207b3b6
include: Fix a preformatted piece of documentation that isn't C code.
2024-05-05 01:22:46 -04:00
SDL Wiki Bot
7856c8fb8f
Sync SDL3 wiki -> header
2024-05-03 19:40:33 +00:00
Ryan C. Gordon
cf0b5db9e1
SDL_system.h: Improve window message hook documentation.
2024-05-03 15:37:11 -04:00
Ryan C. Gordon
a04abd78d3
SDL_filesystem.h: Add a \sa
from SDL_GetUserFolder to SDL_Folder.
...
Reference https://github.com/libsdl-org/sdlwiki/issues/522
2024-05-03 15:24:06 -04:00
SDL Wiki Bot
27b931a8a0
Sync SDL3 wiki -> header
2024-05-03 18:11:35 +00:00