/dports/math/ploticus-nox11/pl240src/src/ |
H A D | x11.c | 53 static Display *x_disp; variable 121 display = x_disp; 196 x_disp, 245 XSetForeground( x_disp, x_gc, BlackPixel( x_disp, x_screen )); 291 x_disp, 827 XSetForeground( x_disp, x_gc, WhitePixel( x_disp, x_screen )); 828 XSetBackground( x_disp, x_gc, BlackPixel( x_disp, x_screen )); /* 950907 */ 831 XSetForeground( x_disp, x_gc, BlackPixel( x_disp, x_screen )); 991 XFlush( x_disp ); in PLGX_flush() 1015 XFlush( x_disp ); in PLGX_appear() [all …]
|
/dports/math/ploticus/pl240src/src/ |
H A D | x11.c | 53 static Display *x_disp; variable 121 display = x_disp; 196 x_disp, 245 XSetForeground( x_disp, x_gc, BlackPixel( x_disp, x_screen )); 291 x_disp, 827 XSetForeground( x_disp, x_gc, WhitePixel( x_disp, x_screen )); 828 XSetBackground( x_disp, x_gc, BlackPixel( x_disp, x_screen )); /* 950907 */ 831 XSetForeground( x_disp, x_gc, BlackPixel( x_disp, x_screen )); 991 XFlush( x_disp ); in PLGX_flush() 1015 XFlush( x_disp ); in PLGX_appear() [all …]
|
/dports/games/quakeforge/quakeforge-0.7.2/libs/video/targets/ |
H A D | context_x11.c | 85 Display *x_disp = NULL; variable 232 XNextEvent (x_disp, &x_event); in X11_ProcessEvent() 239 while (XPending (x_disp)) in X11_ProcessEvents() 263 if (!x_disp) { in X11_OpenDisplay() 264 x_disp = XOpenDisplay (NULL); in X11_OpenDisplay() 265 if (!x_disp) { in X11_OpenDisplay() 298 XCloseDisplay (x_disp); in X11_CloseDisplay() 299 x_disp = 0; in X11_CloseDisplay() 332 XFreeGC (x_disp, gc); in X11_CreateNullCursor() 563 XMapWindow (x_disp, x_win); in X11_CreateWindow() [all …]
|
H A D | in_x11.c | 96 ret = XF86DGADirectVideo (x_disp, DefaultScreen (x_disp), in dga_on() 111 ret = XF86DGADirectVideo (x_disp, DefaultScreen (x_disp), 0); in dga_off() 151 XFlush (x_disp); in in_paste_buffer_f() 603 XAutoRepeatOff (x_disp); in x11_keydest_callback() 605 XAutoRepeatOn (x_disp); in x11_keydest_callback() 678 event.xmotion.display = x_disp; in center_pointer() 748 if (!x_disp || !x_win) in IN_LL_Grab_Input() 776 XUngrabPointer (x_disp, CurrentTime); in IN_LL_Grab_Input() 794 if (x_disp) { in IN_LL_Shutdown() 795 XAutoRepeatOn (x_disp); in IN_LL_Shutdown() [all …]
|
H A D | vid_x11.c | 199 x_visinfo = qfglXChooseVisual (x_disp, x_screen, attrib); in glx_choose_visual() 209 XSync (x_disp, 0); in glx_create_context() 211 qfglXMakeCurrent (x_disp, x_win, ctx); in glx_create_context() 219 qfglXSwapBuffers (x_disp, x_win); in glx_end_rendering() 467 XShmDetach (x_disp, &x_shminfo[frm]); in ResetSharedFrameBuffers() 497 if (!XShmAttach (x_disp, &x_shminfo[frm])) in ResetSharedFrameBuffers() 499 XSync (x_disp, 0); in ResetSharedFrameBuffers() 609 if (XShmQueryExtension (x_disp)) { in x11_create_context() 659 XStoreColors (x_disp, x_cmap, colors, 256); in VID_SetPalette() 758 if (!XShmPutImage (x_disp, x_win, x_gc, in VID_Update() [all …]
|
/dports/games/tenebrae/tenebrae_0/ |
H A D | in_sun.c | 49 extern Display *x_disp; 87 XSelectInput( x_disp, x_win, x_std_event_mask ); in IN_CenterMouse() 104 XAutoRepeatOff(x_disp); in CheckMouseState() 106 XGrabPointer(x_disp, x_win, True, in CheckMouseState() 125 XUngrabPointer( x_disp, CurrentTime ); in CheckMouseState() 126 XUngrabKeyboard( x_disp, CurrentTime ); in CheckMouseState() 127 XAutoRepeatOn( x_disp ); in CheckMouseState() 152 if (!x_disp) return; in IN_Shutdown() 158 XUngrabPointer( x_disp, CurrentTime ); in IN_Shutdown() 159 XUngrabKeyboard( x_disp, CurrentTime ); in IN_Shutdown() [all …]
|
H A D | vid_sunx.c | 114 Display *x_disp = NULL; variable 486 XSync(x_disp, 0); in ResetSharedFrameBuffers() 595 x_disp = XOpenDisplay(0); in VID_Init() 596 if (!x_disp) in VID_Init() 702 tmpcmap = XCreateColormap(x_disp, XRootWindow(x_disp, in VID_Init() 750 XMapWindow(x_disp, x_win); in VID_Init() 852 XCloseDisplay(x_disp); in VID_Shutdown() 1000 XDefineCursor(x_disp, x_win, CreateNullCursor(x_disp, x_win)); in GetEvent() 1082 XSync(x_disp, False); in VID_Update() 1101 XSync(x_disp, False); in VID_Update() [all …]
|
H A D | vid_sunxil.c | 128 Display *x_disp = NULL; variable 277 XCloseDisplay(x_disp); in TragicDeath() 421 x_disp = XOpenDisplay(0); in VID_Init() 423 if (!x_disp) { in VID_Init() 447 XSynchronize(x_disp, True); in VID_Init() 549 tmpcmap = XCreateColormap(x_disp, XRootWindow(x_disp, in VID_Init() 587 XDefineCursor(x_disp, x_win, CreateNullCursor(x_disp, x_win)); in VID_Init() 598 XMapWindow(x_disp, x_win); in VID_Init() 606 XNextEvent(x_disp, &event); in VID_Init() 745 XCloseDisplay(x_disp); in VID_Shutdown() [all …]
|
H A D | vid_x.c | 75 static Display *x_disp; variable 262 XAutoRepeatOn(x_disp); in TragicDeath() 263 XCloseDisplay(x_disp); in TragicDeath() 431 XSync(x_disp, 0); in ResetSharedFrameBuffers() 467 if (!x_disp) in VID_Init() 486 XAutoRepeatOff(x_disp); in VID_Init() 572 tmpcmap = XCreateColormap(x_disp, XRootWindow(x_disp, in VID_Init() 611 XDefineCursor(x_disp, x_win, CreateNullCursor(x_disp, x_win)); in VID_Init() 714 XAutoRepeatOn(x_disp); in VID_Shutdown() 715 XCloseDisplay(x_disp); in VID_Shutdown() [all …]
|
/dports/games/quake2lnx/quake2-r0.16.2/src/irix/ |
H A D | glw_imp.c | 52 static Display *x_disp; variable 216 if (!x_disp) in GLimp_Shutdown() 220 XAutoRepeatOn(x_disp); in GLimp_Shutdown() 221 XCloseDisplay(x_disp); in GLimp_Shutdown() 222 x_disp = NULL; in GLimp_Shutdown() 317 if (!x_disp) in GLimp_InitGraphics() 328 XAutoRepeatOff(x_disp); in GLimp_InitGraphics() 359 x_visinfo = glXChooseVisual( x_disp, DefaultScreen( x_disp ), in GLimp_InitGraphics() 364 x_visinfo = glXChooseVisual( x_disp, DefaultScreen( x_disp ), in GLimp_InitGraphics() 430 XDefineCursor(x_disp, x_win, CreateNullCursor(x_disp, x_win)); in GLimp_InitGraphics() [all …]
|
/dports/games/quake2-source/quake2-r0.16.2/src/irix/ |
H A D | glw_imp.c | 52 static Display *x_disp; variable 216 if (!x_disp) in GLimp_Shutdown() 220 XAutoRepeatOn(x_disp); in GLimp_Shutdown() 221 XCloseDisplay(x_disp); in GLimp_Shutdown() 222 x_disp = NULL; in GLimp_Shutdown() 317 if (!x_disp) in GLimp_InitGraphics() 328 XAutoRepeatOff(x_disp); in GLimp_InitGraphics() 359 x_visinfo = glXChooseVisual( x_disp, DefaultScreen( x_disp ), in GLimp_InitGraphics() 364 x_visinfo = glXChooseVisual( x_disp, DefaultScreen( x_disp ), in GLimp_InitGraphics() 430 XDefineCursor(x_disp, x_win, CreateNullCursor(x_disp, x_win)); in GLimp_InitGraphics() [all …]
|
/dports/games/quake2lnx/quake2-r0.16.2/src/solaris/ |
H A D | rw_xil.c | 35 static Display *x_disp; variable 349 x_disp, in create_xil_window() 363 XCloseDisplay(x_disp); in TragicDeath() 621 XResizeWindow( x_disp, x_win, in GetEvent() 627 XResizeWindow( x_disp, x_win, in GetEvent() 694 if( !x_disp ) { in SWimp_Init() 791 tmpcmap = XCreateColormap( x_disp, XRootWindow( x_disp, in SWimp_InitGraphics() 826 XDefineCursor( x_disp, x_win, CreateNullCursor( x_disp, x_win ) ); in SWimp_InitGraphics() 840 icon = XCreateBitmapFromData( x_disp, DefaultRootWindow( x_disp ), in SWimp_InitGraphics() 1056 XSync( x_disp, False ); in SWimp_Shutdown() [all …]
|
H A D | rw_corona.c | 36 static Display *x_disp; variable 312 XCloseDisplay(x_disp); in TragicDeath() 570 XResizeWindow( x_disp, x_win, in GetEvent() 576 XResizeWindow( x_disp, x_win, in GetEvent() 640 if( !x_disp ) { in SWimp_Init() 707 XRootWindow( x_disp, DefaultScreen( x_disp ) ), in SWimp_InitGraphics() 721 XDefineCursor( x_disp, x_win, CreateNullCursor( x_disp, x_win ) ); in SWimp_InitGraphics() 735 icon = XCreateBitmapFromData( x_disp, DefaultRootWindow( x_disp ), in SWimp_InitGraphics() 746 XMapWindow( x_disp, x_win ); in SWimp_InitGraphics() 829 XSync( x_disp, False ); in SWimp_Shutdown() [all …]
|
/dports/games/quake2-source/quake2-r0.16.2/src/solaris/ |
H A D | rw_xil.c | 35 static Display *x_disp; variable 349 x_disp, in create_xil_window() 363 XCloseDisplay(x_disp); in TragicDeath() 621 XResizeWindow( x_disp, x_win, in GetEvent() 627 XResizeWindow( x_disp, x_win, in GetEvent() 694 if( !x_disp ) { in SWimp_Init() 791 tmpcmap = XCreateColormap( x_disp, XRootWindow( x_disp, in SWimp_InitGraphics() 826 XDefineCursor( x_disp, x_win, CreateNullCursor( x_disp, x_win ) ); in SWimp_InitGraphics() 840 icon = XCreateBitmapFromData( x_disp, DefaultRootWindow( x_disp ), in SWimp_InitGraphics() 1056 XSync( x_disp, False ); in SWimp_Shutdown() [all …]
|
H A D | rw_corona.c | 36 static Display *x_disp; variable 312 XCloseDisplay(x_disp); in TragicDeath() 570 XResizeWindow( x_disp, x_win, in GetEvent() 576 XResizeWindow( x_disp, x_win, in GetEvent() 640 if( !x_disp ) { in SWimp_Init() 707 XRootWindow( x_disp, DefaultScreen( x_disp ) ), in SWimp_InitGraphics() 721 XDefineCursor( x_disp, x_win, CreateNullCursor( x_disp, x_win ) ); in SWimp_InitGraphics() 735 icon = XCreateBitmapFromData( x_disp, DefaultRootWindow( x_disp ), in SWimp_InitGraphics() 746 XMapWindow( x_disp, x_win ); in SWimp_InitGraphics() 829 XSync( x_disp, False ); in SWimp_Shutdown() [all …]
|
/dports/games/r1q2/r1q2-8012_5/linux/ |
H A D | rw_x11.c | 40 static Display *x_disp; variable 421 XSync(x_disp, 0); in ResetSharedFrameBuffers() 433 XAutoRepeatOn(x_disp); in TragicDeath() 434 XCloseDisplay(x_disp); in TragicDeath() 665 if (!x_disp) in SWimp_Init() 778 tmpcmap = XCreateColormap(x_disp, XRootWindow(x_disp, in SWimp_InitGraphics() 814 XDefineCursor(x_disp, x_win, CreateNullCursor(x_disp, x_win)); in SWimp_InitGraphics() 919 XSync(x_disp, False); in SWimp_EndFrame() 928 XSync(x_disp, False); in SWimp_EndFrame() 1024 XAutoRepeatOn(x_disp); in SWimp_Shutdown() [all …]
|
/dports/games/yadex/yadex-1.7.0/src/ |
H A D | spot.h | 51 if (visible && (! visible_disp || x_disp != x || y_disp != y)) in draw() 59 x_disp = x; in draw() 70 draw_map_point (x_disp, y_disp); in undraw() 86 int x_disp; variable
|
/dports/graphics/milton/milton-1.9.1/third_party/SDL2-2.0.8/src/core/linux/ |
H A D | SDL_fcitx.c | 334 Display *x_disp = info.info.x11.display; in SDL_Fcitx_UpdateTextRect() local 338 … X11_XTranslateCoordinates(x_disp, x_win, RootWindow(x_disp, x_screen), 0, 0, &x, &y, &unused); in SDL_Fcitx_UpdateTextRect()
|
/dports/devel/sdl20/SDL2-2.0.18/src/core/linux/ |
H A D | SDL_fcitx.c | 393 Display *x_disp = info.info.x11.display; in SDL_Fcitx_UpdateTextRect() local 397 … X11_XTranslateCoordinates(x_disp, x_win, RootWindow(x_disp, x_screen), 0, 0, &x, &y, &unused); in SDL_Fcitx_UpdateTextRect()
|
/dports/x11/controllermap/SDL2-2.0.18/src/core/linux/ |
H A D | SDL_fcitx.c | 393 Display *x_disp = info.info.x11.display; in SDL_Fcitx_UpdateTextRect() local 397 … X11_XTranslateCoordinates(x_disp, x_win, RootWindow(x_disp, x_screen), 0, 0, &x, &y, &unused); in SDL_Fcitx_UpdateTextRect()
|
/dports/games/quakeforge/quakeforge-0.7.2/include/ |
H A D | context_x11.h | 48 extern Display *x_disp;
|
/dports/astro/py-astropy/astropy-5.0/astropy/visualization/wcsaxes/ |
H A D | frame.py | 93 x_disp, y_disp = self.pixel[:, 0], self.pixel[:, 1] 95 d = np.hstack([0., np.cumsum(np.sqrt(np.diff(x_disp) ** 2 + np.diff(y_disp) ** 2))]) 96 xcen = np.interp(d[-1] / 2., d, x_disp)
|
/dports/emulators/mess/mame-mame0226/3rdparty/SDL2/src/core/linux/ |
H A D | SDL_fcitx.c | 500 Display *x_disp = info.info.x11.display; in SDL_Fcitx_UpdateTextRect() local 504 … X11_XTranslateCoordinates(x_disp, x_win, RootWindow(x_disp, x_screen), 0, 0, &x, &y, &unused); in SDL_Fcitx_UpdateTextRect()
|
/dports/emulators/mame/mame-mame0226/3rdparty/SDL2/src/core/linux/ |
H A D | SDL_fcitx.c | 500 Display *x_disp = info.info.x11.display; in SDL_Fcitx_UpdateTextRect() local 504 … X11_XTranslateCoordinates(x_disp, x_win, RootWindow(x_disp, x_screen), 0, 0, &x, &y, &unused); in SDL_Fcitx_UpdateTextRect()
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/SDL/src/core/linux/ |
H A D | SDL_fcitx.c | 500 Display *x_disp = info.info.x11.display; in SDL_Fcitx_UpdateTextRect() local 504 … X11_XTranslateCoordinates(x_disp, x_win, RootWindow(x_disp, x_screen), 0, 0, &x, &y, &unused); in SDL_Fcitx_UpdateTextRect()
|