|
@@ -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
|
|
|
* 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 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 we expect of an SDL window on other platforms
|
|
|
- * might not work as expected, such as minimum window sizes and aspect
|
|
|
- * ratios. Default false.
|
|
|
+ * including 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 we expect of an SDL window on other platforms might
|
|
|
+ * not work as expected, such as minimum window sizes and aspect ratios.
|
|
|
+ * Default false.
|
|
|
* - `SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING`: override the
|
|
|
* binding element for keyboard inputs for this canvas. The variable can be
|
|
|
* 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
|
|
|
* will have
|
|
|
- * - `SDL_PROP_WINDOW_EMSCRIPTEN_FILL_DOCUMENT_BOOLEAN`: true if the
|
|
|
- * canvas is set to consume the entire browser window, bypassing some SDL
|
|
|
- * window functionality.
|
|
|
+ * - `SDL_PROP_WINDOW_EMSCRIPTEN_FILL_DOCUMENT_BOOLEAN`: true if the canvas is
|
|
|
+ * set to consume the entire browser window, bypassing some SDL window
|
|
|
+ * functionality.
|
|
|
* - `SDL_PROP_WINDOW_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING`: the keyboard
|
|
|
* element that associates keyboard events to this window
|
|
|
*
|