Home
last modified time | relevance | path

Searched refs:abs_y (Results 1 – 3 of 3) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/photon/
DSDL_ph_mouse.c172 short abs_x, abs_y; in ph_WarpWMCursor() local
175 PtGetAbsPosition( window, &abs_x, &abs_y ); in ph_WarpWMCursor()
176 PhMoveCursorAbs( PhInputGroup(NULL), x + abs_x, y + abs_y ); in ph_WarpWMCursor()
199 short abs_y; in ph_UpdateMouse() local
205 PtGetAbsPosition(window, &abs_x, &abs_y); in ph_UpdateMouse()
208 ((phcursor.pos.y >= abs_y) && (phcursor.pos.y <= abs_y + this->screen->h))) in ph_UpdateMouse()
211 SDL_PrivateMouseMotion(0, 0, phcursor.pos.x-abs_x, phcursor.pos.y-abs_y); in ph_UpdateMouse()
DSDL_ph_wm.c77 short abs_x, abs_y; in ph_GrabInputNoLock() local
87 PtGetAbsPosition(window, &abs_x, &abs_y); in ph_GrabInputNoLock()
88 … PhMoveCursorAbs(PhInputGroup(NULL), abs_x + SDL_VideoSurface->w/2, abs_y + SDL_VideoSurface->h/2); in ph_GrabInputNoLock()
DSDL_ph_events.c57 short abs_x, abs_y; in ph_WarpedMotion() local
69 PtGetAbsPosition( window, &abs_x, &abs_y ); in ph_WarpedMotion()
70 PhMoveCursorAbs(PhInputGroup(NULL), abs_x + centre_x, abs_y + centre_y); in ph_WarpedMotion()