/external/quake/quake/src/WinQuake/ |
D | in_sun.cpp | 53 extern Window x_win, x_root_win; 84 XSelectInput( x_disp, x_win, x_std_event_mask & ~PointerMotionMask ); in IN_CenterMouse() 87 XSelectInput( x_disp, x_win, x_std_event_mask ); in IN_CenterMouse() 105 XGrabKeyboard(x_disp, x_win, True, GrabModeAsync, GrabModeAsync, CurrentTime); in CheckMouseState() 106 XGrabPointer(x_disp, x_win, True, in CheckMouseState()
|
D | vid_sunxil.cpp | 132 Window x_win, x_root_win; variable 242 if(XGetWindowAttributes(x_disp, x_win, & wattr) == 0) in CheckPixelMultiply() 254 XConfigureWindow(x_disp, x_win, CWWidth | CWHeight, &chg); in CheckPixelMultiply() 557 x_win = XCreateWindow( x_disp, in VID_Init() 577 x_cmap = XCreateColormap(x_disp, x_win, x_vis, AllocAll); in VID_Init() 579 XSetWindowColormap(x_disp, x_win, x_cmap); in VID_Init() 584 VID_SetWindowTitle( x_win, "Quake" ); in VID_Init() 587 XDefineCursor(x_disp, x_win, CreateNullCursor(x_disp, x_win)); in VID_Init() 594 x_gc = XCreateGC(x_disp, x_win, valuemask, &xgcvalues ); in VID_Init() 598 XMapWindow(x_disp, x_win); in VID_Init() [all …]
|
D | vid_sunx.cpp | 118 Window x_win, x_root_win; variable 710 x_win = XCreateWindow( x_disp, in VID_Init() 732 x_cmap = XCreateColormap(x_disp, x_win, x_vis, AllocAll); in VID_Init() 734 XSetWindowColormap(x_disp, x_win, x_cmap); in VID_Init() 739 VID_SetWindowTitle( x_win, "Quake" ); in VID_Init() 746 x_gc = XCreateGC(x_disp, x_win, valuemask, &xgcvalues ); in VID_Init() 750 XMapWindow(x_disp, x_win); in VID_Init() 850 XUndefineCursor(x_disp, x_win); in VID_Shutdown() 957 XSelectInput(x_disp,x_win, STD_EVENT_MASK & ~PointerMotionMask); in GetEvent() 958 XWarpPointer(x_disp,None,x_win,0,0,0,0, (vid.width/2),(vid.height/2)); in GetEvent() [all …]
|
D | vid_x.cpp | 77 static Window x_win; variable 582 x_win = XCreateWindow( x_disp, in VID_Init() 592 XStoreName( x_disp,x_win,"xquake"); in VID_Init() 604 x_cmap = XCreateColormap(x_disp, x_win, x_vis, AllocAll); in VID_Init() 606 XSetWindowColormap(x_disp, x_win, x_cmap); in VID_Init() 611 XDefineCursor(x_disp, x_win, CreateNullCursor(x_disp, x_win)); in VID_Init() 618 x_gc = XCreateGC(x_disp, x_win, valuemask, &xgcvalues ); in VID_Init() 622 XMapWindow(x_disp, x_win); in VID_Init() 887 XSelectInput(x_disp,x_win,StructureNotifyMask|KeyPressMask in GetEvent() 891 XWarpPointer(x_disp,None,x_win,0,0,0,0, in GetEvent() [all …]
|
/external/quake/quake/src/QW/client/ |
D | vid_x.c | 83 static Window x_win; variable 505 x_win = XCreateWindow( x_disp, in VID_Init() 515 XStoreName( x_disp,x_win,"xquake"); in VID_Init() 529 x_cmap = XCreateColormap(x_disp, x_win, x_vis, AllocAll); in VID_Init() 531 XSetWindowColormap(x_disp, x_win, x_cmap); in VID_Init() 537 XDefineCursor(x_disp, x_win, CreateNullCursor(x_disp, x_win)); in VID_Init() 544 x_gc = XCreateGC(x_disp, x_win, valuemask, &xgcvalues ); in VID_Init() 548 XMapWindow(x_disp, x_win); in VID_Init() 812 XSelectInput(x_disp,x_win,StructureNotifyMask|KeyPressMask in GetEvent() 816 XWarpPointer(x_disp,None,x_win,0,0,0,0, in GetEvent() [all …]
|