Ryan C. Gordon
24b47814f8
emscripten: Another attempt at optionally having the canvas use whole window.
...
Fixes #11949 .
2025-10-02 13:01:35 -04:00
Anonymous Maarten
e66f7efa2f
SDL_WINDOWPOS_* macros are to be used with SDL_[GS]etWindowPosition
2025-10-02 18:24:31 +02:00
SDL Wiki Bot
7487880e4c
Sync SDL3 wiki -> header
...
[ci skip]
2025-08-12 17:05:23 +00:00
SDL Wiki Bot
4b2a87a5d3
Sync SDL3 wiki -> header
...
[ci skip]
2025-08-12 16:53:08 +00:00
Simon McVittie
d83503f80e
Fix some typos detected by Debian's lintian QA tool
...
I assume the demoninator is a typo, rather than an indication that
someone has been playing too much Doom :-)
Signed-off-by: Simon McVittie <smcv@collabora.com >
2025-08-07 13:55:15 -07:00
SDL Wiki Bot
45cc80f02c
Sync SDL3 wiki -> header
...
[ci skip]
2025-07-11 18:20:01 +00:00
SDL Wiki Bot
2606b08036
Sync SDL3 wiki -> header
...
[ci skip]
2025-07-01 21:25:27 +00:00
SDL Wiki Bot
42c9fe119d
Sync SDL3 wiki -> header
...
[ci skip]
2025-06-16 00:36:13 +00:00
SDL Wiki Bot
c240ed976f
Sync SDL3 wiki -> header
...
[ci skip]
2025-06-05 16:02:05 +00:00
Sam Lantinga
27464ffb08
Clarify that icon and cursor alternate images are added with SDL_AddSurfaceAlternateImage()
2025-06-05 09:00:49 -07:00
SDL Wiki Bot
89a8cf2505
Sync SDL3 wiki -> header
...
[ci skip]
2025-05-07 05:54:39 +00:00
SDL Wiki Bot
fd5380ffc6
Sync SDL3 wiki -> header
...
[ci skip]
2025-04-29 16:04:31 +00:00
Frank Praznik
b871ac0d97
Add support for non-constrained and non-grabbing popups
...
By default, popups are automatically constrained to be completely within display bounds, so as not to cut off information and result in an unusable menu, or unreadable tooltip. In some cases, however, this is not wanted, so a property to toggle this behavior is added.
There are also cases where the client may not want a popup menu to implicitly grab the keyboard focus, as is the default behavior, so popup menus now respect the focusable flag/property, as well as being able to toggle focus grabbing via SDL_SetWindowFocusable().
2025-04-29 12:02:14 -04:00
SDL Wiki Bot
6a6917b0df
Sync SDL3 wiki -> header
...
[ci skip]
2025-04-22 17:25:51 +00:00
Maia
e70a49892b
Add missing type suffix to SDL_PROP_WINDOW_OPENVR_OVERLAY_ID
2025-04-22 10:25:02 -07:00
SDL Wiki Bot
2abfb92c5a
Sync SDL3 wiki -> header
...
[ci skip]
2025-04-08 12:11:16 +00:00
SDL Wiki Bot
93b06cffd8
Sync SDL3 wiki -> header
...
[ci skip]
2025-04-04 20:38:50 +00:00
Maia
c2c3a930b4
Add STRING suffix to SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_* string properties
2025-04-04 13:38:02 -07:00
SDL Wiki Bot
008690d016
Sync SDL3 wiki -> header
...
[ci skip]
2025-04-03 15:48:38 +00:00
Sam Lantinga
df32827407
Note that you might get a different size window than you expect
2025-04-03 08:47:23 -07:00
Sam Lantinga
ab34ea5a26
Fixed documentation for SDL_GL_*_SIZE
2025-04-02 22:32:11 -07:00
SDL Wiki Bot
5709466ddd
Sync SDL3 wiki -> header
...
[ci skip]
2025-04-02 15:34:18 +00:00
Sam Lantinga
b521400861
Note that the Emscripten window properties are strings
2025-04-02 08:33:16 -07:00
SDL Wiki Bot
12ef57edeb
Sync SDL3 wiki -> header
...
[ci skip]
2025-04-02 14:36:00 +00:00
Sam Lantinga
735b685816
Fixed wiki reformatting
2025-04-02 07:35:09 -07:00
SDL Wiki Bot
53d053279e
Sync SDL3 wiki -> header
...
[ci skip]
2025-04-02 14:20:46 +00:00
Temdog007
cbc26fe2c4
Add Emscripten window data to window properties
2025-04-02 07:19:52 -07:00
SDL Wiki Bot
f3d4e6fe50
Sync SDL3 wiki -> header
...
[ci skip]
2025-03-26 17:13:19 +00:00
Frank Praznik
8e6eaf12a4
wayland: Expose wl_output objects on video displays
...
Some protocols take a wl_output object to function, so expose them via a property on the video displays.
2025-03-26 13:12:23 -04:00
SDL Wiki Bot
1f917d5231
Sync SDL3 wiki -> header
...
[ci skip]
2025-03-26 15:55:25 +00:00
Petar Popovic
00f316737b
Progress bar comment changes
2025-03-26 08:54:30 -07:00
SDL Wiki Bot
a5633ad0fb
Sync SDL3 wiki -> header
...
[ci skip]
2025-03-25 15:04:30 +00:00
Rémy Tassoux
6cc00a31b6
WindowProgressState API getters and fixes ( #12629 )
2025-03-25 08:03:32 -07:00
SDL Wiki Bot
b8381b3a2e
Sync SDL3 wiki -> header
...
[ci skip]
2025-03-23 15:58:18 +00:00
Petar Popovic
fa0a86409c
Additions to progress bar comments
2025-03-23 08:57:22 -07:00
SDL Wiki Bot
8407a16255
Sync SDL3 wiki -> header
...
[ci skip]
2025-03-22 15:05:04 +00:00
Rémy Tassoux
7a10fcdccc
Add progress bar support for Windows ( #12530 )
2025-03-22 08:04:10 -07:00
SDL Wiki Bot
f15832c685
Sync SDL3 wiki -> header
...
[ci skip]
2025-03-14 16:40:38 +00:00
Temdog007
17b84dbcf3
emscripten: add window properties for canvas ID and keyboard element ( #12509 )
...
Move hints used by Emscripten to window properties. This change will be necessary if multiple windows for Emscripten will be supported in the future.
- Added Window Create Property SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_CANVAS_ID
- Added Window Create Property SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_KEYBOARD_ELEMENT
- Use hint SDL_HINT_EMSCRIPTEN_CANVAS_SELECTOR as override to SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_CANVAS_ID
- Use hint SDL_HINT_EMSCRIPTEN_KEYBOARD_ELEMENT as override to SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_KEYBOARD_ELEMENT
2025-03-14 09:39:46 -07:00
Ryan C. Gordon
7a5604cf0c
Sync SDL3 wiki -> headers.
2025-01-21 13:12:25 -05:00
SDL Wiki Bot
670a7d8126
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-21 16:11:20 +00:00
Frank Praznik
8a67896d9a
docs: Note the preferred function for getting the content scale of a window
...
SDL_GetWindowDisplayScale() should be preferred over SDL_GetDisplayForWindow() + SDL_GetDisplayContentScale() for querying the per-window content scale, as the former provides a more accurate and current value for individual windows, as the per-window value can differ from the base display scale value, particularly on high-DPI and multi-monitor desktops.
2025-01-21 11:07:11 -05:00
SDL Wiki Bot
9ed96f392d
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-17 19:46:20 +00:00
Sam Lantinga
ae8df1dcbd
Note that the primary monitor isn't always at 0,0
2025-01-17 11:52:33 -08:00
Ryan C. Gordon
56d7cc7a02
SDL_video.h: Added a note about platform quirks to SDL_DestroyWindow docs.
...
Fixes #10081 .
2025-01-04 03:48:10 -05:00
SDL Wiki Bot
32ab09ba21
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-02 19:44:57 +00:00
Frank Praznik
1461f893c3
video: Correct the window position property documentation
...
Windows are only relative to the parent if the "tooltip" or "menu" property is set.
2025-01-02 14:44:08 -05:00
Sam Lantinga
f2074d7af3
Updated copyright for 2025
2025-01-01 07:45:52 -08:00
Ryan C. Gordon
f0fad41f2c
include: Filled in all remaining missing documentation!
2024-12-22 01:58:13 -05:00
SDL Wiki Bot
19bdc01b8c
Sync SDL3 wiki -> header
...
[ci skip]
2024-12-17 15:46:19 +00:00