/AliOS-Things-master/components/SDL2/src/video/alios/ |
A D | SDL_AliOS_mouse.c | 37 int hot_x, int hot_y); 50 AliOS_CreateCursor(SDL_Surface * surface, int hot_x, int hot_y) in AliOS_CreateCursor() argument 59 curdata->hotx = hot_x; in AliOS_CreateCursor() 69 AliOS_CreateSystemCursor(SDL_Surface * surface, int hot_x, int hot_y) in AliOS_CreateSystemCursor() argument
|
/AliOS-Things-master/components/SDL2/src/video/emscripten/ |
A D | SDL_emscriptenmouse.c | 69 Emscripten_CreateCursor(SDL_Surface* surface, int hot_x, int hot_y) in Emscripten_CreateCursor() argument 83 var hot_x = $2; in Emscripten_CreateCursor() 120 var url = hot_x === 0 && hot_y === 0 in Emscripten_CreateCursor() 122 : "url(" + canvas.toDataURL() + ") " + hot_x + " " + hot_y + ", auto"; in Emscripten_CreateCursor() 128 }, surface->w, surface->h, hot_x, hot_y, conv_surf->pixels); in Emscripten_CreateCursor()
|
/AliOS-Things-master/components/SDL2/src/video/raspberry/ |
A D | SDL_rpimouse.c | 47 static SDL_Cursor *RPI_CreateCursor(SDL_Surface * surface, int hot_x, int hot_y); 64 RPI_CreateCursor(SDL_Surface * surface, int hot_x, int hot_y) in RPI_CreateCursor() argument 87 curdata->hot_x = hot_x; in RPI_CreateCursor() 172 …vc_dispmanx_rect_set(&dst_rect, mouse->x - curdata->hot_x, mouse->y - curdata->hot_y, curdata->w, … in RPI_ShowCursor() 274 dst_rect.x = x - curdata->hot_x; in RPI_WarpMouseGlobal() 330 dst_rect.x = x - curdata->hot_x; in RPI_WarpMouseGlobalGraphicOnly()
|
A D | SDL_rpimouse.h | 32 int hot_x, hot_y; member
|
/AliOS-Things-master/components/SDL2/src/video/wayland/ |
A D | SDL_waylandmouse.c | 50 int hot_x, hot_y; member 148 Wayland_CreateCursor(SDL_Surface *surface, int hot_x, int hot_y) in Wayland_CreateCursor() argument 186 data->hot_x = hot_x; in Wayland_CreateCursor() 215 data->hot_x = wlcursor->images[0]->hotspot_x; in CreateCursorFromWlCursor() 334 data->hot_x, in Wayland_ShowCursor()
|
/AliOS-Things-master/components/SDL2/src/video/x11/ |
A D | SDL_x11mouse.c | 91 X11_CreateXCursorCursor(SDL_Surface * surface, int hot_x, int hot_y) in X11_CreateXCursorCursor() argument 102 image->xhot = hot_x; in X11_CreateXCursorCursor() 119 X11_CreatePixmapCursor(SDL_Surface * surface, int hot_x, int hot_y) in X11_CreatePixmapCursor() argument 196 &fg, &bg, hot_x, hot_y); in X11_CreatePixmapCursor() 204 X11_CreateCursor(SDL_Surface * surface, int hot_x, int hot_y) in X11_CreateCursor() argument 214 x11_cursor = X11_CreateXCursorCursor(surface, hot_x, hot_y); in X11_CreateCursor() 218 x11_cursor = X11_CreatePixmapCursor(surface, hot_x, hot_y); in X11_CreateCursor()
|
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/ |
A D | SDL_kmsdrmmouse.c | 34 static SDL_Cursor *KMSDRM_CreateCursor(SDL_Surface * surface, int hot_x, int hot_y); 85 KMSDRM_CreateCursor(SDL_Surface * surface, int hot_x, int hot_y) in KMSDRM_CreateCursor() argument 205 curdata->hot_x = hot_x; in KMSDRM_CreateCursor() 367 if (curdata->hot_x == 0 && curdata->hot_y == 0) { in KMSDRM_ShowCursor() 372 curdata->w, curdata->h, curdata->hot_x, curdata->hot_y); in KMSDRM_ShowCursor()
|
A D | SDL_kmsdrmmouse.h | 36 int hot_x, hot_y; member
|
A D | SDL_kmsdrmsym.h | 57 int32_t hot_x, int32_t hot_y))
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testcustomcursor.c | 106 int hot_x, hot_y; in init_system_cursor() local 131 sscanf(image[4+row], "%d,%d", &hot_x, &hot_y); in init_system_cursor() 132 return SDL_CreateCursor(data, mask, 32, 32, hot_x, hot_y); in init_system_cursor()
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_mouse.h | 222 int w, int h, int hot_x, 231 int hot_x,
|
/AliOS-Things-master/components/SDL2/src/video/android/ |
A D | SDL_androidmouse.c | 89 Android_CreateCursor(SDL_Surface * surface, int hot_x, int hot_y) in Android_CreateCursor() argument 98 custom_cursor = Android_JNI_CreateCustomCursor(converted, hot_x, hot_y); in Android_CreateCursor()
|
/AliOS-Things-master/components/SDL2/src/video/directfb/ |
A D | SDL_DirectFB_mouse.c | 37 int hot_x, int hot_y); 132 DirectFB_CreateCursor(SDL_Surface * surface, int hot_x, int hot_y) in DirectFB_CreateCursor() argument 159 curdata->hotx = hot_x; in DirectFB_CreateCursor()
|
/AliOS-Things-master/components/SDL2/src/events/ |
A D | SDL_mouse.c | 887 int w, int h, int hot_x, int hot_y) argument 927 cursor = SDL_CreateColorCursor(surface, hot_x, hot_y); 935 SDL_CreateColorCursor(SDL_Surface *surface, int hot_x, int hot_y) argument 952 if ((hot_x < 0) || (hot_y < 0) || 953 (hot_x >= surface->w) || (hot_y >= surface->h)) { 966 cursor = mouse->CreateCursor(surface, hot_x, hot_y);
|
A D | SDL_mouse_c.h | 46 SDL_Cursor *(*CreateCursor) (SDL_Surface * surface, int hot_x, int hot_y);
|
/AliOS-Things-master/components/SDL2/src/video/windows/ |
A D | SDL_windowsmouse.c | 88 WIN_CreateCursor(SDL_Surface * surface, int hot_x, int hot_y) in WIN_CreateCursor() argument 128 ii.xHotspot = (DWORD)hot_x; in WIN_CreateCursor()
|
/AliOS-Things-master/components/SDL2/src/core/android/ |
A D | SDL_android.h | 121 int Android_JNI_CreateCustomCursor(SDL_Surface *surface, int hot_x, int hot_y);
|
A D | SDL_android.c | 2806 int Android_JNI_CreateCustomCursor(SDL_Surface *surface, int hot_x, int hot_y) in Android_JNI_CreateCustomCursor() argument 2814 …ntMethod(env, mActivityClass, midCreateCustomCursor, pixels, surface->w, surface->h, hot_x, hot_y); in Android_JNI_CreateCustomCursor()
|
/AliOS-Things-master/components/SDL2/src/video/cocoa/ |
A D | SDL_cocoamouse.m | 89 Cocoa_CreateCursor(SDL_Surface * surface, int hot_x, int hot_y) 98 nscursor = [[NSCursor alloc] initWithImage: nsimage hotSpot: NSMakePoint(hot_x, hot_y)];
|