Skip to content

Commit

Permalink
Sync SDL3 header -> wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
SDLWikiBot committed Apr 25, 2024
1 parent 849c3d5 commit d83819d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion SDL3/SDL_AudioFormat.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,18 @@ Defined in [<SDL3/SDL_audio.h>](https://github.com/libsdl-org/SDL/blob/main/incl

```c
typedef Uint16 SDL_AudioFormat;

#define SDL_AUDIO_U8 0x0008 /**< Unsigned 8-bit samples */
#define SDL_AUDIO_S8 0x8008 /**< Signed 8-bit samples */

#define SDL_AUDIO_S16LE 0x8010 /**< Signed 16-bit samples */
#define SDL_AUDIO_S16BE 0x9010 /**< As above, but big-endian byte order */

#define SDL_AUDIO_S32LE 0x8020 /**< 32-bit integer samples */
#define SDL_AUDIO_S32BE 0x9020 /**< As above, but big-endian byte order */

#define SDL_AUDIO_F32LE 0x8120 /**< 32-bit floating point samples */
#define SDL_AUDIO_F32BE 0x9120 /**< As above, but big-endian byte order */

```

## Remarks
Expand Down
2 changes: 1 addition & 1 deletion SDL3/SDL_Keycode.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Defined in [<SDL3/SDL_keycode.h>](https://github.com/libsdl-org/SDL/blob/main/in

```c
typedef Sint32 SDL_Keycode;

#define SDLK_SCANCODE_MASK (1<<30)
#define SDL_SCANCODE_TO_KEYCODE(X) (X | SDLK_SCANCODE_MASK)
#define SDLK_UNKNOWN 0
Expand Down Expand Up @@ -257,7 +258,6 @@ typedef Sint32 SDL_Keycode;
#define SDLK_SOFTRIGHT SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SOFTRIGHT)
#define SDLK_CALL SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CALL)
#define SDLK_ENDCALL SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_ENDCALL)

```
## Remarks
Expand Down
2 changes: 1 addition & 1 deletion SDL3/SDL_WindowFlags.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Defined in [<SDL3/SDL_video.h>](https://github.com/libsdl-org/SDL/blob/main/incl

```c
typedef Uint32 SDL_WindowFlags;

#define SDL_WINDOW_FULLSCREEN 0x00000001U /**< window is in fullscreen mode */
#define SDL_WINDOW_OPENGL 0x00000002U /**< window usable with OpenGL context */
#define SDL_WINDOW_OCCLUDED 0x00000004U /**< window is occluded */
Expand All @@ -34,7 +35,6 @@ typedef Uint32 SDL_WindowFlags;
#define SDL_WINDOW_METAL 0x20000000U /**< window usable for Metal view */
#define SDL_WINDOW_TRANSPARENT 0x40000000U /**< window with transparent buffer */
#define SDL_WINDOW_NOT_FOCUSABLE 0x80000000U /**< window should not be focusable */

```
## Remarks
Expand Down

0 comments on commit d83819d

Please sign in to comment.