Sync SDL3 wiki -> header

[ci skip]
This commit is contained in:
SDL Wiki Bot
2025-10-02 17:02:50 +00:00
parent 24b47814f8
commit ed6b6bb7fc
2 changed files with 11 additions and 11 deletions

View File

@@ -760,9 +760,9 @@ extern "C" {
* generated as the browser window is resized, as that will adjust the canvas * generated as the browser window is resized, as that will adjust the canvas
* size as well. The canvas will cover anything else on the page, including * size as well. The canvas will cover anything else on the page, including
* any controls provided by Emscripten in its generated HTML file. Often times * any controls provided by Emscripten in its generated HTML file. Often times
* this is desirable for a browser-based game, but it means several things that * this is desirable for a browser-based game, but it means several things
* we expect of an SDL window on other platforms might not work as expected, * that we expect of an SDL window on other platforms might not work as
* such as minimum window sizes and aspect ratios. * expected, such as minimum window sizes and aspect ratios.
* *
* This hint overrides SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_FILL_DOCUMENT_BOOLEAN * This hint overrides SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_FILL_DOCUMENT_BOOLEAN
* properties when creating an SDL window. * properties when creating an SDL window.

View File

@@ -1357,11 +1357,11 @@ extern SDL_DECLSPEC SDL_Window * SDLCALL SDL_CreatePopupWindow(SDL_Window *paren
* the canvas element fill the entire document. Resize events will be * the canvas element fill the entire document. Resize events will be
* generated as the browser window is resized, as that will adjust the * generated as the browser window is resized, as that will adjust the
* canvas size as well. The canvas will cover anything else on the page, * canvas size as well. The canvas will cover anything else on the page,
* including any controls provided by Emscripten in its generated HTML * including any controls provided by Emscripten in its generated HTML file.
* file. Often times this is desirable for a browser-based game, but it * Often times this is desirable for a browser-based game, but it means
* means several things that we expect of an SDL window on other platforms * several things that we expect of an SDL window on other platforms might
* might not work as expected, such as minimum window sizes and aspect * not work as expected, such as minimum window sizes and aspect ratios.
* ratios. Default false. * Default false.
* - `SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING`: override the * - `SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING`: override the
* binding element for keyboard inputs for this canvas. The variable can be * binding element for keyboard inputs for this canvas. The variable can be
* one of: * one of:
@@ -1605,9 +1605,9 @@ extern SDL_DECLSPEC SDL_Window * SDLCALL SDL_GetWindowParent(SDL_Window *window)
* *
* - `SDL_PROP_WINDOW_EMSCRIPTEN_CANVAS_ID_STRING`: the id the canvas element * - `SDL_PROP_WINDOW_EMSCRIPTEN_CANVAS_ID_STRING`: the id the canvas element
* will have * will have
* - `SDL_PROP_WINDOW_EMSCRIPTEN_FILL_DOCUMENT_BOOLEAN`: true if the * - `SDL_PROP_WINDOW_EMSCRIPTEN_FILL_DOCUMENT_BOOLEAN`: true if the canvas is
* canvas is set to consume the entire browser window, bypassing some SDL * set to consume the entire browser window, bypassing some SDL window
* window functionality. * functionality.
* - `SDL_PROP_WINDOW_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING`: the keyboard * - `SDL_PROP_WINDOW_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING`: the keyboard
* element that associates keyboard events to this window * element that associates keyboard events to this window
* *