Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.15/src/video/riscos/
DSDL_riscosevents.c307 int centre_x = SDL_VideoSurface->w/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()
313 last_x = topLeftX + (centre_x << this->hidden->xeig); in RISCOS_PollMouseHelper()
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
DSDL_ph_events.c55 int centre_x, centre_y; in ph_WarpedMotion() local
60 centre_x = SDL_VideoSurface->w / 2; in ph_WarpedMotion()
63 dx = rect->ul.x - centre_x; in ph_WarpedMotion()
70 PhMoveCursorAbs(PhInputGroup(NULL), abs_x + centre_x, abs_y + centre_y); in ph_WarpedMotion()