Home
last modified time | relevance | path

Searched refs:centre_y (Results 1 – 2 of 2) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/riscos/
DSDL_riscosevents.c308 int centre_y = SDL_VideoSurface->h/2; in RISCOS_PollMouseHelper() local
310 if (centre_x != x || centre_y != y) in RISCOS_PollMouseHelper()
312 if (SDL_VideoSurface) SDL_PrivateMouseMotion(0,1,x - centre_x, y - centre_y); in RISCOS_PollMouseHelper()
314 last_y = topLeftY - (centre_y << this->hidden->yeig); in RISCOS_PollMouseHelper()
/external/qemu/distrib/sdl-1.2.12/src/video/photon/
DSDL_ph_events.c55 int centre_x, centre_y; in ph_WarpedMotion() local
61 centre_y = SDL_VideoSurface->h / 2; in ph_WarpedMotion()
64 dy = rect->ul.y - centre_y; in ph_WarpedMotion()
70 PhMoveCursorAbs(PhInputGroup(NULL), abs_x + centre_x, abs_y + centre_y); in ph_WarpedMotion()