Searched refs:centre_y (Results 1 – 2 of 2) sorted by relevance
308 int centre_y = SDL_VideoSurface->h/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()314 last_y = topLeftY - (centre_y << this->hidden->yeig); in RISCOS_PollMouseHelper()
55 int centre_x, centre_y; in ph_WarpedMotion() local61 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()