SDL Wiki
[ front page | index | search | recent changes | git repo | offline html ]

SDL_CursorFrameInfo

Animated cursor frame info.

Header File

Defined in <SDL3/SDL_mouse.h>

Syntax

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;

Version

This struct is available since SDL 3.4.0.


CategoryAPI, CategoryAPIStruct, CategoryMouse


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.