SDL_CursorFrameInfo(3type)

πŸ“¦
version 3.4.18 Β· 5 versions
, in fedora 43, fedora 44

πŸ’– SDL_CursorFrameInfo(3type) πŸ’–

okay so this is the SDL3 DATATYPES page for SDL_CursorFrameInfo, and it's literally just the animated cursor frame info, bestie. πŸ¦‹

✨ NAME ✨

SDL_CursorFrameInfo β€” Animated cursor frame info. That's it, that's the whole name section. πŸ‘‘

🌸 SYNOPSIS 🌸

Here's the include and the struct, exactly as written:

#include <SDL3/SDL_mouse.h>

typedef struct SDL_CursorFrameInfo
{
    SDL_Surface *surface; /**< The surface data for this frame */
    Uint32 duration;      /**< The frame duration in milliseconds (a duration of 0 is infinite) */
} SDL_CursorFrameInfo;

So the struct is giving two members: surface is an SDL_Surface * β€” the surface data for this frame β€” and duration is a Uint32 β€” the frame duration in milliseconds, where a duration of 0 is infinite. no cap. πŸ’…

⭐ AVAILABILITY ⭐

This struct is available since SDL 3.4.0. periodt. πŸ’–


mwah πŸ’‹ this page came from Simple Directmedia Layer, version SDL 3.4.18; the footer didn't hand us a date, so no date is being invented here, bestie. bye 🫢

πŸ“¦ where this page comes from