Home
last modified time | relevance | path

Searched refs:hot_y (Results 1 – 19 of 19) sorted by relevance

/AliOS-Things-master/components/SDL2/src/video/alios/
A DSDL_AliOS_mouse.c37 int hot_x, int hot_y);
50 AliOS_CreateCursor(SDL_Surface * surface, int hot_x, int hot_y) in AliOS_CreateCursor() argument
60 curdata->hoty = hot_y; 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 DSDL_emscriptenmouse.c69 Emscripten_CreateCursor(SDL_Surface* surface, int hot_x, int hot_y) in Emscripten_CreateCursor() argument
84 var hot_y = $3; 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 DSDL_rpimouse.c47 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
88 curdata->hot_y = hot_y; 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()
275 dst_rect.y = y - curdata->hot_y; in RPI_WarpMouseGlobal()
331 dst_rect.y = y - curdata->hot_y; in RPI_WarpMouseGlobalGraphicOnly()
A DSDL_rpimouse.h32 int hot_x, hot_y; member
/AliOS-Things-master/components/SDL2/src/video/wayland/
A DSDL_waylandmouse.c50 int hot_x, hot_y; member
148 Wayland_CreateCursor(SDL_Surface *surface, int hot_x, int hot_y) in Wayland_CreateCursor() argument
187 data->hot_y = hot_y; in Wayland_CreateCursor()
216 data->hot_y = wlcursor->images[0]->hotspot_y; in CreateCursorFromWlCursor()
335 data->hot_y); in Wayland_ShowCursor()
/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11mouse.c91 X11_CreateXCursorCursor(SDL_Surface * surface, int hot_x, int hot_y) in X11_CreateXCursorCursor() argument
103 image->yhot = hot_y; 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 DSDL_kmsdrmmouse.c34 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
206 curdata->hot_y = hot_y; 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 DSDL_kmsdrmmouse.h36 int hot_x, hot_y; member
A DSDL_kmsdrmsym.h57 int32_t hot_x, int32_t hot_y))
/AliOS-Things-master/components/SDL2/test/
A Dtestcustomcursor.c106 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 DSDL_mouse.h223 int hot_y);
232 int hot_y);
/AliOS-Things-master/components/SDL2/src/video/android/
A DSDL_androidmouse.c89 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 DSDL_DirectFB_mouse.c37 int hot_x, int hot_y);
132 DirectFB_CreateCursor(SDL_Surface * surface, int hot_x, int hot_y) in DirectFB_CreateCursor() argument
160 curdata->hoty = hot_y; in DirectFB_CreateCursor()
/AliOS-Things-master/components/SDL2/src/events/
A DSDL_mouse.c887 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 DSDL_mouse_c.h46 SDL_Cursor *(*CreateCursor) (SDL_Surface * surface, int hot_x, int hot_y);
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsmouse.c88 WIN_CreateCursor(SDL_Surface * surface, int hot_x, int hot_y) in WIN_CreateCursor() argument
129 ii.yHotspot = (DWORD)hot_y; in WIN_CreateCursor()
/AliOS-Things-master/components/SDL2/src/core/android/
A DSDL_android.h121 int Android_JNI_CreateCustomCursor(SDL_Surface *surface, int hot_x, int hot_y);
A DSDL_android.c2806 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 DSDL_cocoamouse.m89 Cocoa_CreateCursor(SDL_Surface * surface, int hot_x, int hot_y)
98 nscursor = [[NSCursor alloc] initWithImage: nsimage hotSpot: NSMakePoint(hot_x, hot_y)];

Completed in 25 milliseconds