Searched refs:screen (Results 1 - 25 of 36) sorted by relevance

12

/solaris-x11-s12/open-src/app/cmap_compact/sun-src/
H A Dcmcinit.c40 Screen *screen,
45 register Colormap cmap = DefaultColormapOfScreen(screen);
55 ntotal = 1<<PlanesOfScreen(screen);
64 if (!XAllocColorCells(DisplayOfScreen(screen), cmap, 0, &mask, 0,
83 XFreeColors(DisplayOfScreen(screen), cmap, pixels+nalloc, ncolors, 0);
87 if (!XAllocColor(DisplayOfScreen(screen), cmap, c))
91 XFreeColors(DisplayOfScreen(screen), cmap, pixels, nalloc, 0);
98 { Visual *vis = DefaultVisualOfScreen(screen);
100 if (WhitePixelOfScreen(screen) == cmap_size-1 ||
101 WhitePixelOfScreen(screen)
39 cmc_alloc( Screen *screen, int ncolors, XColor *colors) argument
116 cmc_alloc_protected( Screen *screen, int ncolors, XColor *colors) argument
163 Screen *screen; local
[all...]
H A Dcmcsave.c75 Screen *screen,
79 register Colormap cmap = DefaultColormapOfScreen(screen);
90 totalpix = 1<<PlanesOfScreen(screen);
118 if(!XAllocColorCells(DisplayOfScreen(screen), cmap, 0, &masks, 0,
141 XQueryColor(DisplayOfScreen(screen), cmap, &color);
142 XSync(DisplayOfScreen(screen), 0); /* make sure any error is reported */
148 XStoreColor(DisplayOfScreen(screen), cmap, &color);
162 XSync(DisplayOfScreen(screen), 0);
178 XQueryColors(DisplayOfScreen(screen), cmap, *colors, *ncolors);
193 Screen *screen,
74 cmc_record( Screen *screen, int *ncolors, XColor **colors) argument
192 cmc_record_protected( Screen *screen, int *ncolors, XColor **colors) argument
234 Screen *screen = ScreenOfDisplay(dpy, scr_num); local
[all...]
/solaris-x11-s12/open-src/app/xlock/sun-src/
H A Dxlock.c24 * xlock.c - X11 client to lock a display and show a screen saver.
60 * 28-Oct-90: center prompt screen.
82 * added -screensaver (don't disable screen saver) for the paranoid.
123 * Added screen saver override.
176 int screen; /* current screen */ variable
181 static Window win[MAXSCREENS]; /* window used to cover screen */
186 static XColor bgcol[MAXSCREENS];/* background of text screen */
187 XColor ssblack[MAXSCREENS];/* black color for screen saver screen */
[all...]
H A Dhopalong.c66 int centery; /* center of the screen */
87 hopstruct *hp = &hops[screen];
116 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel);
117 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0,
119 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel);
130 hopstruct *hp = &hops[screen];
133 if (!mono && Scr[screen].npixels > 2) {
134 XSetForeground(dsp, Scr[screen]
[all...]
H A Dflame.c93 flamestruct *fs = &flames[screen];
108 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel);
109 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, fs->width, fs->height);
111 if (Scr[screen].npixels > 2) {
112 fs->pixcol = halfrandom(Scr[screen].npixels);
113 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[fs->pixcol]);
115 XSetForeground(dsp, Scr[screen].gc, sswhite[screen]
[all...]
H A Dimage.c86 imagestruct *ip = &ims[screen];
89 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel);
92 XFillRectangle(dsp, win, Scr[screen].gc,
100 if (Scr[screen].npixels == 2)
101 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel);
103 if (Scr[screen].npixels > 2)
104 XSetForeground(dsp, Scr[screen].gc,
105 Scr[screen]
[all...]
H A Dqix.c92 qixstruct *qp = &qixs[screen];
124 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel);
125 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, qp->width, qp->height);
140 qixstruct *qp = &qixs[screen];
152 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel);
153 XDrawLine(dsp, win, Scr[screen].gc,
156 if (!mono && Scr[screen].npixels > 2) {
157 XSetForeground(dsp, Scr[screen]
[all...]
H A Drotor.c114 flightstruct *fs = &flights[screen];
168 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel);
169 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, xgwa.width, xgwa.height);
175 register flightstruct *fs = &flights[screen];
231 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel);
240 XDrawLine(dsp, win, Scr[screen].gc, x1, y1, x2, y2);
242 if (!mono && Scr[screen].npixels > 2) {
243 XSetForeground(dsp, Scr[screen]
[all...]
H A Dswarm.c86 swarmstruct *sp = &swarms[screen];
99 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel);
100 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, sp->width, sp->height);
144 swarmstruct *sp = &swarms[screen];
229 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel);
230 XDrawLine(dsp, win, Scr[screen].gc,
232 XDrawSegments(dsp, win, Scr[screen].gc, sp->old_segs, (int) sp->beecount);
234 XSetForeground(dsp, Scr[screen]
[all...]
H A Dlife.c340 lifestruct *lp = &lifes[screen];
342 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel);
343 if (!mono && Scr[screen].npixels > 2) {
349 if (age < Scr[screen].npixels * 0.7)
352 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[age]);
356 XFillRectangle(dsp, win, Scr[screen].gc,
359 XPutImage(dsp, win, Scr[screen].gc, &logo,
372 lifestruct *lp = &lifes[screen];
[all...]
H A Dpyro.c83 #define XVELFACTOR 0.0025 /* Max horizontal velocity / screen width */
84 #define MINYVELFACTOR 0.016 /* Min vertical velocity / screen height */
86 #define GRAVFACTOR 0.0002 /* delta v / screen height */
154 pyrostruct *pp = &pyros[screen];
198 pp->scr = ScreenOfDisplay(dsp, screen);
201 pp->fgpixel = sswhite[screen].pixel;
202 pp->bgpixel = ssblack[screen].pixel;
203 if (!mono && Scr[screen].npixels > 3)
204 pp->rockpixel = Scr[screen].pixels[3]; /* Just the right shade of
228 pyrostruct *pp = &pyros[screen];
[all...]
/solaris-x11-s12/open-src/app/xcolor/sun-src/
H A DXCrDynCmap.c39 int screen,
56 planes = DisplayPlanes(dsp, screen);
57 if (!XMatchVisualInfo(dsp, screen, planes, PseudoColor, &vinfo))
58 if (!XMatchVisualInfo(dsp, screen, planes, GrayScale, &vinfo))
59 if (!XMatchVisualInfo(dsp, screen, planes, DirectColor, &vinfo))
64 *cmap = XCreateColormap(dsp, RootWindow(dsp, screen),
85 XQueryColor(dsp, DefaultColormap(dsp, screen), &colors[i]);
37 XCreateDynamicColormap( Display *dsp, int screen, Colormap *cmap, Visual **visual, XColor *colors, int count, u_char *red, u_char *green, u_char *blue) argument
H A DXCrHsbCmap.c37 int screen,
62 pixel = WhitePixel(dsp, screen);
66 pixel = BlackPixel(dsp, screen);
70 status = XCreateDynamicColormap(dsp, screen, cmap, visual, xcolors,
35 XCreateHSBColormap( Display *dsp, int screen, Colormap *cmap, int count, double h1, double s1, double b1, double h2, double s2, double b2, int bw, Visual **visual) argument
H A Dxcolor.h46 int screen,
57 int screen,
/solaris-x11-s12/open-src/app/xmag/
H A DMakefile30 MODULE_DESC = the xmag screen magnification utility
/solaris-x11-s12/open-src/font/screen-cyrillic/
H A DMakefile27 MODULE_NAME=font-screen-cyrillic
/solaris-x11-s12/open-src/app/cmap_alloc/sun-src/
H A Dcmap_alloc.c52 static void alloc_cmaps_for_screen(Display *display, int screen);
53 static void alloc_cmap_for_visual(Display *display, int screen,
70 int screen; local
84 for (screen = 0; screen < ScreenCount(display); screen++)
85 alloc_cmaps_for_screen(display, screen);
103 int screen)
111 (void)printf("Creating colormaps for screen #%d:\n", screen);
101 alloc_cmaps_for_screen( Display *display, int screen) argument
170 alloc_cmap_for_visual( Display *display, int screen, XVisualInfo *vinfo) argument
[all...]
/solaris-x11-s12/open-src/app/xrefresh/
H A DMakefile3 # xrefresh - utility to force redraw of an X screen
36 MODULE_DESC = the xrefresh X screen update utility
/solaris-x11-s12/open-src/app/xwd/
H A DMakefile3 # xwd - X window dump utility to take screen shots
47 MODULE_DESC = the xwd screen shot utility
/solaris-x11-s12/open-src/app/xmag_multivis/
H A DMakefile34 MODULE_DESC = the multiple visual version of xmag screen magnification utility
/solaris-x11-s12/open-src/app/gfx-utils/sun-src/fbconf_xorg/xf86/
H A DScreen.c900 XF86ConfScreenPtr screen = p->conf_screen_lst; local
907 if (!screen)
914 while (screen)
916 if (screen->scrn_obso_driver && !screen->scrn_identifier)
917 screen->scrn_identifier = screen->scrn_obso_driver;
922 for (mon_ptr = screen->scrn_monitor_lst;
932 screen->scrn_identifier);
937 p, screen
[all...]
/solaris-x11-s12/open-src/app/xmag_multivis/sun-src/
H A Dxmag_multivis.c77 int screen; /* screen being used */ variable
86 Window root; /* root window of screen */
305 screen = DefaultScreen (dpy);
306 cmap = DefaultColormap (dpy, screen);
307 visual = DefaultVisual(dpy,screen) ;
309 vinfo_template.screen = screen;
325 npixelvalues = DisplayCells (dpy, screen);
328 vinfo_template.screen
[all...]
/solaris-x11-s12/open-src/lib/libXext/sun-src/src/
H A DTransOvl.c90 int screen; member in struct:__anon147
146 * know the screen structure where the visual is to be found, so there
232 int screen,
247 obj.screen = scr = ScreenOfDisplay(dpy, screen);
255 req->screen = screen;
359 int screen,
383 scrextdata = find_screendata(dpy, screen, info);
387 * data on this screen ye
230 find_screendata( Display *dpy, int screen, XExtDisplayInfo *info ) argument
357 GetNumMBXBuffers( Display *dpy, int screen, Visual *candidateVis, XExtDisplayInfo *info) argument
434 CheckSharedPixels( Display *dpy, int screen, XSolarisOvlSelectType searchtype, Visual *candidateVis, Visual *partnerVis, XExtDisplayInfo *info) argument
535 CheckSharedColors( Display *dpy, int screen, Visual *candidateVis, Visual *partnerVis, XExtDisplayInfo *info) argument
1205 XSolarisOvlSelectPartner( Display *dpy, int screen, VisualID vid, XSolarisOvlSelectType vistype, int numCriteria, XSolarisOvlVisualCriteria *pCriteria, XVisualInfo *visinfoReturn, unsigned long *unmetCriteriaReturn ) argument
1317 XSolarisOvlSelectPair( Display *dpy, int screen, int numCriteria, XSolarisOvlPairCriteria *pCriteria, XVisualInfo *ovVisinfoReturn, XVisualInfo *unVisinfoReturn, unsigned long *unmetOvCriteriaReturn, unsigned long *unmetUnCriteriaReturn) argument
[all...]
/solaris-x11-s12/open-src/app/xlock/
H A DMakefile3 # xlock - manually activated screen lock program
32 MODULE_DESC = the xlock screen lock program
/solaris-x11-s12/open-src/app/xrandr/
H A DMakefile3 # xrandr - utility to configure screen sizes and layout via XRANDR extension
44 MODULE_DESC = the xrandr utility to configure screen sizes and layout

Completed in 301 milliseconds

12