Searched refs:centre_x (Results 1 – 2 of 2) sorted by relevance
307 int centre_x = SDL_VideoSurface->w/2; in RISCOS_PollMouseHelper() local310 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()
55 int centre_x, centre_y; in ph_WarpedMotion() local60 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()