Home
last modified time | relevance | path

Searched refs:SDL_Cursor (Results 1 – 20 of 20) sorted by relevance

/AliOS-Things-master/components/SDL2/src/video/alios/
A DSDL_AliOS_mouse.c35 static SDL_Cursor *AliOS_CreateDefaultCursor(void);
38 static int AliOS_ShowCursor(SDL_Cursor * cursor);
39 static void AliOS_FreeCursor(SDL_Cursor * cursor);
42 static SDL_Cursor *
49 static SDL_Cursor *
53 SDL_Cursor *cursor; in AliOS_CreateCursor()
56 cursor = SDL_malloc(sizeof(SDL_Cursor)); in AliOS_CreateCursor()
68 static SDL_Cursor *
76 AliOS_ShowCursor(SDL_Cursor * cursor) in AliOS_ShowCursor()
104 AliOS_FreeCursor(SDL_Cursor * cursor) in AliOS_FreeCursor()
[all …]
/AliOS-Things-master/components/SDL2/src/events/
A DSDL_mouse_c.h30 struct SDL_Cursor struct
32 struct SDL_Cursor *next; argument
46 SDL_Cursor *(*CreateCursor) (SDL_Surface * surface, int hot_x, int hot_y); argument
49 SDL_Cursor *(*CreateSystemCursor) (SDL_SystemCursor id);
52 int (*ShowCursor) (SDL_Cursor * cursor);
55 void (*MoveCursor) (SDL_Cursor * cursor);
58 void (*FreeCursor) (SDL_Cursor * cursor);
103 SDL_Cursor *cursors;
104 SDL_Cursor *def_cursor;
105 SDL_Cursor *cur_cursor;
[all …]
A DSDL_mouse.c656 SDL_Cursor *cursor, *next;
885 SDL_Cursor *
890 SDL_Cursor *cursor;
934 SDL_Cursor *
939 SDL_Cursor *cursor;
977 SDL_Cursor *
981 SDL_Cursor *cursor;
1010 SDL_Cursor *found;
1041 SDL_Cursor *
1052 SDL_Cursor *
[all …]
/AliOS-Things-master/components/SDL2/include/
A DSDL_mouse.h41 typedef struct SDL_Cursor SDL_Cursor; /**< Implementation dependent */ typedef
220 extern DECLSPEC SDL_Cursor *SDLCALL SDL_CreateCursor(const Uint8 * data,
230 extern DECLSPEC SDL_Cursor *SDLCALL SDL_CreateColorCursor(SDL_Surface *surface,
239 extern DECLSPEC SDL_Cursor *SDLCALL SDL_CreateSystemCursor(SDL_SystemCursor id);
244 extern DECLSPEC void SDLCALL SDL_SetCursor(SDL_Cursor * cursor);
249 extern DECLSPEC SDL_Cursor *SDLCALL SDL_GetCursor(void);
254 extern DECLSPEC SDL_Cursor *SDLCALL SDL_GetDefaultCursor(void);
263 extern DECLSPEC void SDLCALL SDL_FreeCursor(SDL_Cursor * cursor);
/AliOS-Things-master/components/SDL2/src/video/android/
A DSDL_androidmouse.c56 static SDL_Cursor *empty_cursor;
58 static SDL_Cursor *
61 SDL_Cursor *cursor; in Android_WrapCursor()
82 static SDL_Cursor *
88 static SDL_Cursor *
107 static SDL_Cursor *
114 Android_FreeCursor(SDL_Cursor * cursor) in Android_FreeCursor()
120 static SDL_Cursor *
144 Android_ShowCursor(SDL_Cursor *cursor) in Android_ShowCursor()
/AliOS-Things-master/components/SDL2/src/video/raspberry/
A DSDL_rpimouse.c46 static SDL_Cursor *RPI_CreateDefaultCursor(void);
48 static int RPI_ShowCursor(SDL_Cursor * cursor);
49 static void RPI_MoveCursor(SDL_Cursor * cursor);
50 static void RPI_FreeCursor(SDL_Cursor * cursor);
54 static SDL_Cursor *global_cursor;
56 static SDL_Cursor *
63 static SDL_Cursor *
67 SDL_Cursor *cursor; in RPI_CreateCursor()
113 RPI_ShowCursor(SDL_Cursor * cursor) in RPI_ShowCursor()
202 RPI_FreeCursor(SDL_Cursor * cursor) in RPI_FreeCursor()
[all …]
/AliOS-Things-master/components/SDL2/src/video/directfb/
A DSDL_DirectFB_mouse.c35 static SDL_Cursor *DirectFB_CreateDefaultCursor(void);
38 static int DirectFB_ShowCursor(SDL_Cursor * cursor);
39 static void DirectFB_FreeCursor(SDL_Cursor * cursor);
78 static SDL_Cursor *
86 SDL_Cursor *cursor; in DirectFB_CreateDefaultCursor()
131 static SDL_Cursor *
139 SDL_Cursor *cursor; in DirectFB_CreateCursor()
179 DirectFB_ShowCursor(SDL_Cursor * cursor) in DirectFB_ShowCursor()
220 DirectFB_FreeCursor(SDL_Cursor * cursor) in DirectFB_FreeCursor()
249 static void DirectFB_MoveCursor(SDL_Cursor * cursor);
[all …]
/AliOS-Things-master/components/SDL2/src/video/winrt/
A DSDL_winrtmouse.cpp52 static SDL_Cursor *
55 SDL_Cursor *cursor; in WINRT_CreateSystemCursor()
77 cursor = (SDL_Cursor *) SDL_calloc(1, sizeof(*cursor)); in WINRT_CreateSystemCursor()
94 static SDL_Cursor *
101 WINRT_FreeCursor(SDL_Cursor * cursor) in WINRT_FreeCursor()
112 WINRT_ShowCursor(SDL_Cursor * cursor) in WINRT_ShowCursor()
A DSDL_winrtgamebar.cpp134 SDL_Cursor *cursor = SDL_GetCursor();
/AliOS-Things-master/components/SDL2/src/video/emscripten/
A DSDL_emscriptenmouse.c36 static SDL_Cursor*
39 SDL_Cursor* cursor; in Emscripten_CreateCursorFromString()
42 cursor = SDL_calloc(1, sizeof(SDL_Cursor)); in Emscripten_CreateCursorFromString()
62 static SDL_Cursor*
68 static SDL_Cursor*
135 static SDL_Cursor*
186 Emscripten_FreeCursor(SDL_Cursor* cursor) in Emscripten_FreeCursor()
204 Emscripten_ShowCursor(SDL_Cursor* cursor) in Emscripten_ShowCursor()
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/
A DSDL_kmsdrmmouse.c33 static SDL_Cursor *KMSDRM_CreateDefaultCursor(void);
35 static int KMSDRM_ShowCursor(SDL_Cursor * cursor);
36 static void KMSDRM_MoveCursor(SDL_Cursor * cursor);
37 static void KMSDRM_FreeCursor(SDL_Cursor * cursor);
41 static SDL_Cursor *
84 static SDL_Cursor *
91 SDL_Cursor *cursor; in KMSDRM_CreateCursor()
171 cursor = (SDL_Cursor *) SDL_calloc(1, sizeof(*cursor)); in KMSDRM_CreateCursor()
301 KMSDRM_ShowCursor(SDL_Cursor * cursor) in KMSDRM_ShowCursor()
386 KMSDRM_FreeCursor(SDL_Cursor * cursor) in KMSDRM_FreeCursor()
[all …]
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsmouse.c72 static SDL_Cursor *
75 SDL_Cursor *cursor; in WIN_CreateDefaultCursor()
87 static SDL_Cursor *
93 SDL_Cursor *cursor; in WIN_CreateCursor()
160 static SDL_Cursor *
163 SDL_Cursor *cursor; in WIN_CreateSystemCursor()
200 WIN_FreeCursor(SDL_Cursor * cursor) in WIN_FreeCursor()
209 WIN_ShowCursor(SDL_Cursor * cursor) in WIN_ShowCursor()
/AliOS-Things-master/components/SDL2/src/video/wayland/
A DSDL_waylandmouse.c147 static SDL_Cursor *
150 SDL_Cursor *cursor; in Wayland_CreateCursor()
197 static SDL_Cursor *
200 SDL_Cursor *cursor; in CreateCursorFromWlCursor()
227 static SDL_Cursor *
238 static SDL_Cursor *
293 Wayland_FreeCursor(SDL_Cursor *cursor) in Wayland_FreeCursor()
318 Wayland_ShowCursor(SDL_Cursor *cursor) in Wayland_ShowCursor()
/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11mouse.c73 static SDL_Cursor *
76 SDL_Cursor *cursor; in X11_CreateDefaultCursor()
203 static SDL_Cursor *
206 SDL_Cursor *cursor; in X11_CreateCursor()
228 static SDL_Cursor *
231 SDL_Cursor *cursor; in X11_CreateSystemCursor()
270 X11_FreeCursor(SDL_Cursor * cursor) in X11_FreeCursor()
281 X11_ShowCursor(SDL_Cursor * cursor) in X11_ShowCursor()
/AliOS-Things-master/components/SDL2/test/
A Dtestcustomcursor.c70 static SDL_Cursor*
73 SDL_Cursor *cursor = NULL; in init_color_cursor()
100 static SDL_Cursor*
137 static SDL_Cursor *cursors[1+SDL_NUM_SYSTEM_CURSORS];
A Dtestautomation_mouse.c157 static SDL_Cursor *_initArrowCursor(const char *image[]) in _initArrowCursor()
159 SDL_Cursor *cursor; in _initArrowCursor()
201 SDL_Cursor *cursor; in mouse_createFreeCursor()
228 SDL_Cursor *cursor; in mouse_createFreeColorCursor()
313 SDL_Cursor *cursor; in mouse_setCursor()
346 SDL_Cursor *cursor; in mouse_getCursor()
A Dtestwm2.c40 SDL_Cursor *cursor = NULL;
/AliOS-Things-master/components/SDL2/src/video/haiku/
A DSDL_bvideo.cc136 static int HAIKU_ShowCursor(SDL_Cursor *cur) in HAIKU_ShowCursor()
159 mouse->cur_cursor = (SDL_Cursor*)0x1; in HAIKU_MouseInit()
160 mouse->def_cursor = (SDL_Cursor*)0x2; in HAIKU_MouseInit()
/AliOS-Things-master/components/SDL2/src/video/cocoa/
A DSDL_cocoamouse.m68 static SDL_Cursor *
73 SDL_Cursor *cursor = NULL;
88 static SDL_Cursor *
94 SDL_Cursor *cursor = NULL;
113 static SDL_Cursor *
118 SDL_Cursor *cursor = NULL;
173 Cocoa_FreeCursor(SDL_Cursor * cursor)
183 Cocoa_ShowCursor(SDL_Cursor * cursor)
/AliOS-Things-master/components/SDL2/src/dynapi/
A DSDL_dynapi_procs.h282 SDL_DYNAPI_PROC(SDL_Cursor*,SDL_CreateCursor,(const Uint8 *a, const Uint8 *b, int c, int d, int e, …
283 SDL_DYNAPI_PROC(SDL_Cursor*,SDL_CreateColorCursor,(SDL_Surface *a, int b, int c),(a,b,c),return)
284 SDL_DYNAPI_PROC(SDL_Cursor*,SDL_CreateSystemCursor,(SDL_SystemCursor a),(a),return)
285 SDL_DYNAPI_PROC(void,SDL_SetCursor,(SDL_Cursor *a),(a),)
286 SDL_DYNAPI_PROC(SDL_Cursor*,SDL_GetCursor,(void),(),return)
287 SDL_DYNAPI_PROC(SDL_Cursor*,SDL_GetDefaultCursor,(void),(),return)
288 SDL_DYNAPI_PROC(void,SDL_FreeCursor,(SDL_Cursor *a),(a),)

Completed in 39 milliseconds