From a93ac8d95b4150f6a0c2396cd2911a4f35c1b9f0 Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Mon, 10 Feb 2025 20:15:22 +0000 Subject: [PATCH] Sync SDL3 header -> wiki --- SDL3/SDL_GetSurfaceProperties.md | 6 ++++++ SDL3/SDL_PROP_SURFACE_HOTSPOT_X_NUMBER.md | 7 +++++++ SDL3/SDL_PROP_SURFACE_HOTSPOT_Y_NUMBER.md | 7 +++++++ 3 files changed, 20 insertions(+) create mode 100644 SDL3/SDL_PROP_SURFACE_HOTSPOT_X_NUMBER.md create mode 100644 SDL3/SDL_PROP_SURFACE_HOTSPOT_Y_NUMBER.md diff --git a/SDL3/SDL_GetSurfaceProperties.md b/SDL3/SDL_GetSurfaceProperties.md index 92c36c4e1..6aaa0f8a1 100644 --- a/SDL3/SDL_GetSurfaceProperties.md +++ b/SDL3/SDL_GetSurfaceProperties.md @@ -44,6 +44,12 @@ The following properties are understood by SDL: HDR content, the form "*=N", where N is a floating point scale factor applied in linear space, and "none", which disables tone mapping. This defaults to "chrome". +- [`SDL_PROP_SURFACE_HOTSPOT_X_NUMBER`](SDL_PROP_SURFACE_HOTSPOT_X_NUMBER): + the hotspot pixel offset from the left edge of the image, if this surface + is being used as a cursor. +- [`SDL_PROP_SURFACE_HOTSPOT_Y_NUMBER`](SDL_PROP_SURFACE_HOTSPOT_Y_NUMBER): + the hotspot pixel offset from the top edge of the image, if this surface + is being used as a cursor. ## Version diff --git a/SDL3/SDL_PROP_SURFACE_HOTSPOT_X_NUMBER.md b/SDL3/SDL_PROP_SURFACE_HOTSPOT_X_NUMBER.md new file mode 100644 index 000000000..1b351d83c --- /dev/null +++ b/SDL3/SDL_PROP_SURFACE_HOTSPOT_X_NUMBER.md @@ -0,0 +1,7 @@ +# SDL_PROP_SURFACE_HOTSPOT_X_NUMBER + +Please refer to [SDL_GetSurfaceProperties](SDL_GetSurfaceProperties) for details. + +---- +[CategoryAPI](CategoryAPI), [CategoryAPIMacro](CategoryAPIMacro) + diff --git a/SDL3/SDL_PROP_SURFACE_HOTSPOT_Y_NUMBER.md b/SDL3/SDL_PROP_SURFACE_HOTSPOT_Y_NUMBER.md new file mode 100644 index 000000000..a1114cc49 --- /dev/null +++ b/SDL3/SDL_PROP_SURFACE_HOTSPOT_Y_NUMBER.md @@ -0,0 +1,7 @@ +# SDL_PROP_SURFACE_HOTSPOT_Y_NUMBER + +Please refer to [SDL_GetSurfaceProperties](SDL_GetSurfaceProperties) for details. + +---- +[CategoryAPI](CategoryAPI), [CategoryAPIMacro](CategoryAPIMacro) +