Add animated cursor support
Adds support for animated cursors on Cocoa, Wayland, Win32, and X11. testcursor can take a semicolon separated list of filenames and load an animated cursor from them.
This commit is contained in:
@@ -1266,6 +1266,7 @@ SDL3_0.0.0 {
|
||||
SDL_SavePNG;
|
||||
SDL_GetSystemPageSize;
|
||||
SDL_GetPenDeviceType;
|
||||
SDL_CreateAnimatedCursor;
|
||||
# extra symbols go here (don't modify this line)
|
||||
local: *;
|
||||
};
|
||||
|
||||
@@ -1292,3 +1292,4 @@
|
||||
#define SDL_SavePNG SDL_SavePNG_REAL
|
||||
#define SDL_GetSystemPageSize SDL_GetSystemPageSize_REAL
|
||||
#define SDL_GetPenDeviceType SDL_GetPenDeviceType_REAL
|
||||
#define SDL_CreateAnimatedCursor SDL_CreateAnimatedCursor_REAL
|
||||
|
||||
@@ -1300,3 +1300,4 @@ SDL_DYNAPI_PROC(bool,SDL_SavePNG_IO,(SDL_Surface *a,SDL_IOStream *b,bool c),(a,b
|
||||
SDL_DYNAPI_PROC(bool,SDL_SavePNG,(SDL_Surface *a,const char *b),(a,b),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_GetSystemPageSize,(void),(),return)
|
||||
SDL_DYNAPI_PROC(SDL_PenDeviceType,SDL_GetPenDeviceType,(SDL_PenID a),(a),return)
|
||||
SDL_DYNAPI_PROC(SDL_Cursor*,SDL_CreateAnimatedCursor,(SDL_CursorFrameInfo *a,int b,int c,int d),(a,b,c,d),return)
|
||||
|
||||
Reference in New Issue
Block a user