diff options
| author | Sebastien de Graffenried <seb.degraff@gmail.com> | 2025-08-31 16:24:25 +0200 |
|---|---|---|
| committer | Sebastien de Graffenried <seb.degraff@gmail.com> | 2025-08-31 16:35:26 +0200 |
| commit | 55898a9b0909375674618f4dbafd9eb0cb4cdcd4 (patch) | |
| tree | 43de5d97f0f59d3c3e4638dd9cf6ed43e6f8c872 | |
| parent | 0b1b8d92137a1987879085f9560fd3278527e646 (diff) | |
sokol_app: updated documentation for web fullscreen support
| -rw-r--r-- | sokol_app.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sokol_app.h b/sokol_app.h index 5921e0fe..386dbd7e 100644 --- a/sokol_app.h +++ b/sokol_app.h @@ -133,7 +133,7 @@ IME | TODO | TODO? | TODO | ??? | TODO | ??? key repeat flag | YES | YES | YES | --- | --- | YES windowed | YES | YES | YES | --- | --- | YES - fullscreen | YES | YES | YES | YES | YES | --- + fullscreen | YES | YES | YES | YES | YES | YES(3) mouse hide | YES | YES | YES | --- | --- | YES mouse lock | YES | YES | YES | --- | --- | YES set cursor type | YES | YES | YES | --- | --- | YES @@ -147,6 +147,7 @@ (1) macOS has no regular window icons, instead the dock icon is changed (2) supported with EGL only (not GLX) + (3) fullscreen in the browser not supported on iphones STEP BY STEP ============ @@ -864,6 +865,10 @@ To check if the application window is currently in fullscreen mode, call sapp_is_fullscreen(). + On the web, sapp_desc.fullscreen will have no effect, and the application + will always start in non-fullscreen mode. Call sapp_toggle_fullscreen() to + switch to fullscreen programatically, if the user allows it. + WINDOW ICON SUPPORT =================== Some sokol_app.h backends allow to change the window icon programmatically: |