Searched refs:xmotion (Results 1 - 13 of 13) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/
H A DSDL_amigaevents.c61 deltax = xevent->xmotion.x - mouse_last.x;
62 deltay = xevent->xmotion.y - mouse_last.y;
66 mouse_last.x = xevent->xmotion.x;
67 mouse_last.y = xevent->xmotion.y;
70 if ( (xevent->xmotion.x < MOUSE_FUDGE_FACTOR) ||
71 (xevent->xmotion.x > (w-MOUSE_FUDGE_FACTOR)) ||
72 (xevent->xmotion.y < MOUSE_FUDGE_FACTOR) ||
73 (xevent->xmotion.y > (h-MOUSE_FUDGE_FACTOR)) ) {
76 deltax = xevent->xmotion.x - mouse_last.x;
77 deltay = xevent->xmotion
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/x11/
H A DSDL_x11events.c335 deltax = xevent->xmotion.x - mouse_last.x;
336 deltay = xevent->xmotion.y - mouse_last.y;
340 mouse_last.x = xevent->xmotion.x;
341 mouse_last.y = xevent->xmotion.y;
344 if ( (xevent->xmotion.x < MOUSE_FUDGE_FACTOR) ||
345 (xevent->xmotion.x > (w-MOUSE_FUDGE_FACTOR)) ||
346 (xevent->xmotion.y < MOUSE_FUDGE_FACTOR) ||
347 (xevent->xmotion.y > (h-MOUSE_FUDGE_FACTOR)) ) {
350 deltax = xevent->xmotion.x - mouse_last.x;
351 deltay = xevent->xmotion
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/dga/
H A DSDL_dgaevents.c58 xevent.xmotion.dx, xevent.xmotion.dy);
/external/webkit/WebCore/plugins/gtk/
H A DPluginViewGtk.cpp401 XMotionEvent& xmotion = xEvent->xmotion; local
402 xmotion.type = MotionNotify;
403 xmotion.root = getRootWindow(parentFrame);
404 xmotion.subwindow = 0;
405 xmotion.time = event->timeStamp();
406 xmotion.x = postZoomPos.x();
407 xmotion.y = postZoomPos.y();
408 xmotion.x_root = event->screenX();
409 xmotion
[all...]
/external/webkit/WebCore/plugins/qt/
H A DPluginViewQt.cpp356 XMotionEvent& xmotion = xEvent->xmotion; local
357 xmotion.type = MotionNotify;
358 xmotion.root = QX11Info::appRootWindow();
359 xmotion.subwindow = 0;
360 xmotion.time = event->timeStamp();
361 xmotion.x = postZoomPos.x();
362 xmotion.y = postZoomPos.y();
363 xmotion.x_root = event->screenX();
364 xmotion
[all...]
/external/quake/quake/src/QW/client/
H A Dgl_vidlinux_x11.c341 mouse_x += x_event.xmotion.x_root;
342 mouse_y += x_event.xmotion.y_root;
344 mouse_x += (float) ((int)x_event.xmotion.x - (int)(scr_width/2));
345 mouse_y += (float) ((int)x_event.xmotion.y - (int)(scr_height/2));
352 mouse_x = (float) (x_event.xmotion.x-p_mouse_x);
353 mouse_y = (float) (x_event.xmotion.y-p_mouse_y);
354 p_mouse_x=x_event.xmotion.x;
355 p_mouse_y=x_event.xmotion.y;
H A Dgl_vidlinuxglx.c291 mouse_x = event.xmotion.x_root;
292 mouse_y = event.xmotion.y_root;
297 mouse_x = (float) ((int)event.xmotion.x - (int)(vid.width/2));
298 mouse_y = (float) ((int)event.xmotion.y - (int)(vid.height/2));
H A Dvid_x.c806 mouse_x = (float) ((int)x_event.xmotion.x - (int)(vid.width/2));
807 mouse_y = (float) ((int)x_event.xmotion.y - (int)(vid.height/2));
809 // x_event.xmotion.x, x_event.xmotion.y, mouse_x, mouse_y);
823 mouse_x = (float) (x_event.xmotion.x-p_mouse_x);
824 mouse_y = (float) (x_event.xmotion.y-p_mouse_y);
825 p_mouse_x=x_event.xmotion.x;
826 p_mouse_y=x_event.xmotion.y;
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/extensions/
H A Dxf86dga.h137 SDL_NAME(XDGAMotionEvent) xmotion; member in union:__anon3600
/external/quake/quake/src/WinQuake/
H A Dgl_vidlinuxglx.cpp356 mx += (event.xmotion.x + win_x) * 2;
357 my += (event.xmotion.y + win_y) * 2;
361 mx += ((int)event.xmotion.x - mwx) * 2;
362 my += ((int)event.xmotion.y - mwy) * 2;
363 mwx = event.xmotion.x;
364 mwy = event.xmotion.y;
H A Dvid_sunx.cpp951 mouse_x = (float) ((int)x_event.xmotion.x - (int)(vid.width/2));
952 mouse_y = (float) ((int)x_event.xmotion.y - (int)(vid.height/2));
954 // x_event.xmotion.x, x_event.xmotion.y, mouse_x, mouse_y);
961 mouse_x = (float) (x_event.xmotion.x-p_mouse_x);
962 mouse_y = (float) (x_event.xmotion.y-p_mouse_y);
963 p_mouse_x=x_event.xmotion.x;
964 p_mouse_y=x_event.xmotion.y;
H A Dvid_sunxil.cpp844 mouse_x = (float) ((int)x_event.xmotion.x - (int)(vid.width/2));
845 mouse_y = (float) ((int)x_event.xmotion.y - (int)(vid.height/2));
847 // x_event.xmotion.x, x_event.xmotion.y, mouse_x, mouse_y);
855 mouse_x = (float) (x_event.xmotion.x-p_mouse_x);
856 mouse_y = (float) (x_event.xmotion.y-p_mouse_y);
857 p_mouse_x=x_event.xmotion.x;
858 p_mouse_y=x_event.xmotion.y;
H A Dvid_x.cpp881 mouse_x = (float) ((int)x_event.xmotion.x - (int)(vid.width/2));
882 mouse_y = (float) ((int)x_event.xmotion.y - (int)(vid.height/2));
884 // x_event.xmotion.x, x_event.xmotion.y, mouse_x, mouse_y);
898 mouse_x = (float) (x_event.xmotion.x-p_mouse_x);
899 mouse_y = (float) (x_event.xmotion.y-p_mouse_y);
900 p_mouse_x=x_event.xmotion.x;
901 p_mouse_y=x_event.xmotion.y;

Completed in 107 milliseconds