Home
last modified time | relevance | path

Searched refs:_dpy (Results 1 – 25 of 63) sorted by relevance

123

/dports/games/CaribbeanStud/CS/
H A DSeat.cpp79 _dpy = d; in Initialize()
98 _whitegc = XCreateGC(_dpy, RootWindow(_dpy, _screen), gcflags, &gcv); in Initialize()
105 _blackgc = XCreateGC(_dpy, RootWindow(_dpy, _screen), gcflags, &gcv); in Initialize()
107 logomap = XCreatePixmap(_dpy, RootWindow(_dpy, _screen), CARD_MAP_WIDTH, in Initialize()
116 logogc = XCreateGC(_dpy, RootWindow(_dpy, _screen), gcflags, &gcv); in Initialize()
119 XFreeGC(_dpy, logogc); in Initialize()
125 _backgc = XCreateGC(_dpy, RootWindow(_dpy, _screen), gcflags, &gcv); in Initialize()
140 XAllocColor(_dpy, cmap, &color); in Initialize()
153 _redgc = XCreateGC(_dpy, RootWindow(_dpy, _screen), gcflags, &gcv); in Initialize()
275 RootWindow(_dpy, _screen), in MakeCardMaps()
[all …]
H A DSeat.h87 Display * _dpy; variable
167 XDrawString(_dpy, w, _redgc, x, y, msg, strlen(msg)); in ShowMessage()
/dports/x11-wm/pekwm/pekwm-release-0.2.0/src/
H A DX11.cc349 if (_dpy) { in init()
353 _dpy = dpy; in init()
476 _dpy = 0; in destruct()
558 if (_dpy) { in warpPointer()
566 if (_dpy) { in moveWindow()
574 if (_dpy) { in resizeWindow()
583 if (_dpy) { in moveResizeWindow()
621 if (_dpy) { in flush()
629 if (_dpy) { in pending()
668 if (_dpy) { in allowEvents()
[all …]
H A DX11.hh282 static Display* getDpy(void) { return _dpy; } in getDpy()
516 static Display *_dpy; member in X11
/dports/devel/clxclient/clxclient-3.9.2/source/
H A Dxdisplay.cc34 _dpy = XOpenDisplay (name); in X_display()
35 if (! _dpy) return; in X_display()
37 _dsn = DefaultScreen (_dpy); in X_display()
38 _dcm = DefaultColormap (_dpy, _dsn); in X_display()
39 _dgc = DefaultGC (_dpy, _dsn); in X_display()
40 _dvi = DefaultVisual (_dpy, _dsn); in X_display()
41 _xim = XOpenIM (_dpy, 0, 0, 0); in X_display()
59 if (!_dpy) return; in ~X_display()
66 XCloseDisplay (_dpy); in ~X_display()
133 XftColorFree (_dpy, _dvi, _dcm, C); in free_xftcolor()
[all …]
H A Dxwindow.cc90 _wind = DefaultRootWindow (disp->_dpy); in X_window()
99 _wind = XCreateSimpleWindow (_disp->_dpy, pwin->_wind, in X_window()
119 XDestroyWindow (_disp->_dpy, _wind); in ~X_window()
137 return XResizeWindow (_disp->_dpy, _wind, xs, ys); in x_resize()
143 return XMoveWindow (_disp->_dpy, _wind, xp, yp); in x_move()
180 return XSelectInput (_disp->_dpy, _wind, _ebits); in x_add_events()
187 return XSelectInput (_disp->_dpy, _wind, _ebits); in x_rem_events()
193 return XStoreName (_disp->_dpy, _wind, title); in x_set_title()
199 return XSetWindowBackground (_disp->_dpy, _wind, color); in x_set_background()
207 XSetClassHint (_disp->_dpy, _wind, &(hints->_ch)); in x_apply()
[all …]
H A Dxdraw.cc27 _dpy (dpy), _drw (drw), _gct (gct), in X_draw()
64 XftTextExtentsUtf8 (_dpy, _xft_font, (const FcChar8 *) str, len, &G); in drawstring()
77 XDrawString (_dpy, _drw, _gct, _xx - dx, _yy, str, len); in drawstring()
85 XDrawPoints (_dpy, _drw, _gct, P, n, CoordModeOrigin); in drawpoints()
93 m = (XMaxRequestSize (_dpy) - 3) / 2; in drawlines()
98 XDrawLines (_dpy, _drw, _gct, P, k, CoordModeOrigin); in drawlines()
107 XDrawSegments (_dpy, _drw, _gct, S, n); in drawsegments()
119 XSetClipRectangles (_dpy, _gct, 0, 0, &R, 1, Unsorted); in setclip()
129 XChangeGC (_dpy, _gct, GCGraphicsExposures | GCFunction, &G); in movepix()
130 XCopyArea (_dpy, _drw, _drw, _gct, dx, dy, xs, ys, 0, 0); in movepix()
[all …]
H A Dclxclient.h49 unsigned long blackpixel (void) const { return BlackPixel (_dpy, _dsn); } in blackpixel()
50 unsigned long whitepixel (void) const { return WhitePixel (_dpy, _dsn); } in whitepixel()
52 Display *dpy (void) const { return _dpy; } in dpy()
60 int depth (void) const { return DefaultDepth (_dpy, _dsn); } in depth()
87 Display *_dpy; variable
145 Display *dpy (void) const { return _disp->_dpy; } in dpy()
156 int x_map (void) const { return XMapWindow (_disp->_dpy, _wind); } in x_map()
329 void setfunc (int f) { XSetFunction (_dpy, _gct, f); } in setfunc()
345 void noclip (void) { XSetClipMask (_dpy, _gct, None); } in noclip()
350 void clearwin (void) { XClearWindow (_dpy, _drw); } in clearwin()
[all …]
/dports/misc/usd/USD-21.11/pxr/imaging/glf/
H A DtestGLContext.cpp45 return _dpy == rhs._dpy && _context == rhs._context; in operator ==()
54 Display * _dpy; member in Glf_TestGLContextPrivate
69 : _dpy(NULL), _context(NULL) in Glf_TestGLContextPrivate()
75 _dpy = XOpenDisplay(0); in Glf_TestGLContextPrivate()
78 GLXFBConfig * fbConfigs = glXChooseFBConfig( _dpy, in Glf_TestGLContextPrivate()
79 DefaultScreen(_dpy), attribs, &n ); in Glf_TestGLContextPrivate()
83 _context = glXCreateNewContext( _dpy, in Glf_TestGLContextPrivate()
92 swa.colormap = XCreateColormap(_dpy, RootWindow(_dpy, vi->screen), in Glf_TestGLContextPrivate()
97 Window xwin = XCreateWindow( _dpy, RootWindow(_dpy, vi->screen), in Glf_TestGLContextPrivate()
101 _win = glXCreateWindow( _dpy, fbConfigs[0], xwin, NULL ); in Glf_TestGLContextPrivate()
[all …]
/dports/misc/usd/USD-21.11/pxr/imaging/garch/
H A DglPlatformDebugContext.cpp71 Display *_dpy; member in GarchGLPlatformDebugContextPrivate
78 : _dpy(NULL) in GarchGLPlatformDebugContextPrivate()
133 _dpy = shareDisplay; in GarchGLPlatformDebugContextPrivate()
138 if (_dpy && _ctx) { in ~GarchGLPlatformDebugContextPrivate()
139 glXDestroyContext(_dpy, _ctx); in ~GarchGLPlatformDebugContextPrivate()
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/sciplot/
H A DXCC.c569 XCC XCCMonoCreate(_dpy, _visual, _colormap) in XCCMonoCreate()
570 Display *_dpy; in XCCMonoCreate()
584 xcc->dpy = _dpy;
593 xcc->visualInfo = XGetVisualInfo(_dpy, VisualIDMask, &visInfo, &n);
606 Display *_dpy; in XCCCreate()
625 xcc->dpy = _dpy;
627 xcc->colormap = DefaultColormap(_dpy, DefaultScreen(_dpy));
634 xcc->visualInfo = XGetVisualInfo(_dpy, VisualIDMask, &visInfo, &n);
645 if (_usePrivateColormap || (xcc->visual != DefaultVisual(_dpy, DefaultScreen(_dpy))))
647 xcc->colormap = XCreateColormap(_dpy, RootWindow(_dpy, DefaultScreen(_dpy)),
[all …]
H A DXCC.h42 extern XCC XCCCreate(Display *_dpy, Visual *_visual, int _usePrivateColormap,
44 extern XCC XCCMonoCreate(Display *_dpy, Visual *_visual, Colormap _colormap);
/dports/java/jxgrabkey/jxgrabkey-0.3.2/JXGrabKey/C++/src/
H A DJXGrabKey.h32 void getOffendingModifiers(Display* _dpy);
33 static int *xErrorHandler(Display *_dpy, XErrorEvent *_event);
H A DJXGrabKey.cpp378 void getOffendingModifiers(Display* _dpy) { in getOffendingModifiers() argument
387 nlock = XKeysymToKeycode(_dpy, XK_Num_Lock); in getOffendingModifiers()
388 slock = XKeysymToKeycode(_dpy, XK_Scroll_Lock); in getOffendingModifiers()
390 modmap = XGetModifierMapping(_dpy); in getOffendingModifiers()
428 static int *xErrorHandler(Display *_dpy, XErrorEvent *_event) { in xErrorHandler() argument
/dports/x11-toolkits/xmhtml/XmHTML-1.1.10/lib/Motif/
H A DXCC.c664 XCCMonoCreate(Display *_dpy, Visual *_visual, Colormap _colormap) in XCCMonoCreate() argument
675 xcc->dpy = _dpy; in XCCMonoCreate()
684 xcc->visualInfo = XGetVisualInfo(_dpy, VisualIDMask, &visInfo, &n); in XCCMonoCreate()
699 Display *_dpy = XtDisplay(w); in XCCCreate() local
706 xcc->dpy = _dpy; in XCCCreate()
731 ((xcc->visual != DefaultVisual(_dpy, DefaultScreen(_dpy))) && in XCCCreate()
732 _colormap == DefaultColormap(_dpy, DefaultScreen(_dpy)))) in XCCCreate()
735 xcc->colormap = XCreateColormap(_dpy, in XCCCreate()
736 RootWindow(_dpy, DefaultScreen(_dpy)), xcc->visual, in XCCCreate()
739 (xcc->colormap != DefaultColormap(_dpy, in XCCCreate()
[all …]
/dports/science/afni/afni-AFNI_21.3.16/src/XmHTML/lib/Motif/
H A DXCC.c668 XCCMonoCreate(Display *_dpy, Visual *_visual, Colormap _colormap) in XCCMonoCreate() argument
679 xcc->dpy = _dpy; in XCCMonoCreate()
688 xcc->visualInfo = XGetVisualInfo(_dpy, VisualIDMask, &visInfo, &n); in XCCMonoCreate()
703 Display *_dpy = XtDisplay(w); in XCCCreate() local
710 xcc->dpy = _dpy; in XCCCreate()
735 ((xcc->visual != DefaultVisual(_dpy, DefaultScreen(_dpy))) && in XCCCreate()
736 _colormap == DefaultColormap(_dpy, DefaultScreen(_dpy)))) in XCCCreate()
739 xcc->colormap = XCreateColormap(_dpy, in XCCCreate()
740 RootWindow(_dpy, DefaultScreen(_dpy)), xcc->visual, in XCCCreate()
743 (xcc->colormap != DefaultColormap(_dpy, in XCCCreate()
[all …]
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/cfg/
H A DRenderSurface.cpp219 _dpy = dpy;
227 return _dpy;
236 return _dpy;
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/cfg/
H A DRenderSurface.cpp219 _dpy = dpy;
227 return _dpy;
236 return _dpy;
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/UICommon/
H A DX11Utils.h33 XRRConfiguration(Display* _dpy, Window _win);
H A DX11Utils.cpp68 XRRConfiguration::XRRConfiguration(Display* _dpy, Window _win) in XRRConfiguration() argument
69 : dpy(_dpy), win(_win), screenResources(nullptr), outputInfo(nullptr), crtcInfo(nullptr), in XRRConfiguration()
/dports/games/xblast/xblast-2.10.4/
H A Dx11c_init.c314 IoErrorHandler (Display * _dpy) in IoErrorHandler() argument
318 Dbg_Out ("connection to display %s lost.\n" "shutting down xblast.\n", DisplayString (_dpy)); in IoErrorHandler()
/dports/x11-wm/blackbox/blackbox-0.70.1/lib/
H A DImage.cc97 const Display &_dpy; member in bt::XColorTable
256 : _dpy(dpy), _screen(screen), in XColorTable()
260 const ScreenInfo &screeninfo = _dpy.screenInfo(_screen); in XColorTable()
310 if (XAllocColor(_dpy.XDisplay(), colormap, &xcolor)) in XColorTable()
383 if (XAllocColor(_dpy.XDisplay(), colormap, &xcolor)) in XColorTable()
449 XQueryColors(_dpy.XDisplay(), colormap, queried, q_colors); in XColorTable()
456 && queried[x].pixel != BlackPixel(_dpy.XDisplay(), _screen)) { in XColorTable()
517 if (XAllocColor(_dpy.XDisplay(), colormap, &xcolor)) { in XColorTable()
521 ? BlackPixel(_dpy.XDisplay(), _screen) in XColorTable()
522 : WhitePixel(_dpy.XDisplay(), _screen); in XColorTable()
[all …]
/dports/x11-toolkits/xmhtml/XmHTML-1.1.10/include/XmHTML/
H A DXCC.h115 extern XCC XCCMonoCreate(Display *_dpy, Visual *_visual, Colormap _colormap);
/dports/science/afni/afni-AFNI_21.3.16/src/XmHTML/include/XmHTML/
H A DXCC.h118 extern XCC XCCMonoCreate(Display *_dpy, Visual *_visual, Colormap _colormap);
/dports/games/xpilot/xpilot-4.5.5/src/common/NT/
H A DwinX.h580 #define DefaultScreen(_dpy) (0) argument
584 #define ConnectionNumber(_dpy) (0) argument

123