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

123

/solaris-x11-s11/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
164 Screen *screen; local
[all...]
H A Dcmcsave.c74 cmc_record (screen, ncolors, colors)
75 Screen *screen;
80 register Colormap cmap = DefaultColormapOfScreen(screen);
91 totalpix = 1<<PlanesOfScreen(screen);
119 if(!XAllocColorCells(DisplayOfScreen(screen), cmap, 0, &masks, 0,
142 XQueryColor(DisplayOfScreen(screen), cmap, &color);
143 XSync(DisplayOfScreen(screen), 0); /* make sure any error is reported */
149 XStoreColor(DisplayOfScreen(screen), cmap, &color);
163 XSync(DisplayOfScreen(screen), 0);
179 XQueryColors(DisplayOfScreen(screen), cma
237 Screen *screen = ScreenOfDisplay(dpy, scr_num); local
[all...]
/solaris-x11-s11/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.
172 int screen; /* current screen */ variable
177 static Window win[MAXSCREENS]; /* window used to cover screen */
182 static XColor bgcol[MAXSCREENS];/* background of text screen */
183 XColor ssblack[MAXSCREENS];/* black color for screen saver screen */
[all...]
H A Dhopalong.c66 int centery; /* center of the screen */
91 hopstruct *hp = &hops[screen];
114 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel);
115 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0,
117 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel);
129 hopstruct *hp = &hops[screen];
132 if (!mono && Scr[screen].npixels > 2) {
133 XSetForeground(dsp, Scr[screen]
[all...]
H A Dflame.c98 flamestruct *fs = &flames[screen];
110 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel);
111 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, fs->width, fs->height);
113 if (Scr[screen].npixels > 2) {
114 fs->pixcol = halfrandom(Scr[screen].npixels);
115 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[fs->pixcol]);
117 XSetForeground(dsp, Scr[screen].gc, sswhite[screen]
[all...]
H A Dimage.c90 imagestruct *ip = &ims[screen];
93 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel);
96 XFillRectangle(dsp, win, Scr[screen].gc,
104 if (Scr[screen].npixels == 2)
105 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel);
107 if (Scr[screen].npixels > 2)
108 XSetForeground(dsp, Scr[screen].gc,
109 Scr[screen]
[all...]
H A Dqix.c96 qixstruct *qp = &qixs[screen];
125 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel);
126 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, qp->width, qp->height);
142 qixstruct *qp = &qixs[screen];
154 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel);
155 XDrawLine(dsp, win, Scr[screen].gc,
158 if (!mono && Scr[screen].npixels > 2) {
159 XSetForeground(dsp, Scr[screen]
[all...]
H A Drotor.c118 flightstruct *fs = &flights[screen];
174 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel);
175 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, xgwa.width, xgwa.height);
182 register flightstruct *fs = &flights[screen];
238 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel);
247 XDrawLine(dsp, win, Scr[screen].gc, x1, y1, x2, y2);
249 if (!mono && Scr[screen].npixels > 2) {
250 XSetForeground(dsp, Scr[screen]
[all...]
H A Dswarm.c90 swarmstruct *sp = &swarms[screen];
101 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel);
102 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, sp->width, sp->height);
141 swarmstruct *sp = &swarms[screen];
226 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel);
227 XDrawLine(dsp, win, Scr[screen].gc,
229 XDrawSegments(dsp, win, Scr[screen].gc, sp->old_segs, sp->beecount);
231 XSetForeground(dsp, Scr[screen]
[all...]
H A Dlife.c350 lifestruct *lp = &lifes[screen];
352 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel);
353 if (!mono && Scr[screen].npixels > 2) {
359 if (age < Scr[screen].npixels * 0.7)
362 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[age]);
366 XFillRectangle(dsp, win, Scr[screen].gc,
369 XPutImage(dsp, win, Scr[screen].gc, &logo,
380 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 */
158 pyrostruct *pp = &pyros[screen];
191 pp->scr = ScreenOfDisplay(dsp, screen);
194 pp->fgpixel = sswhite[screen].pixel;
195 pp->bgpixel = ssblack[screen].pixel;
196 if (!mono && Scr[screen].npixels > 3)
197 pp->rockpixel = Scr[screen].pixels[3]; /* Just the right shade of
223 pyrostruct *pp = &pyros[screen];
[all...]
/solaris-x11-s11/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-s11/open-src/app/xmag/
H A DMakefile30 MODULE_DESC = the xmag screen magnification utility
/solaris-x11-s11/open-src/font/screen-cyrillic/
H A DMakefile27 MODULE_NAME=font-screen-cyrillic
/solaris-x11-s11/open-src/lib/DPS/sun-src/include/DPS/
H A DdpsXpreview.h120 /* XDPSCreatePixmapForEPSF creates a pixmap for use on the specified screen.
130 Screen *screen,
139 screen. Note that if the server lies about the resolution of the screen
142 extern double XDPSPixelsPerPoint(Screen *screen);
181 Screen *screen,
207 Screen *screen);
/solaris-x11-s11/open-src/app/cmap_alloc/sun-src/
H A Dcmap_alloc.c68 int screen; local
82 for (screen = 0; screen < ScreenCount(display); screen++)
83 alloc_cmaps_for_screen(display, screen);
99 alloc_cmaps_for_screen(display, screen)
101 int screen;
109 (void)printf("Creating colormaps for screen #%d:\n", screen);
112 if (!XGetRGBColormaps(display, RootWindow(display, screen),
[all...]
/solaris-x11-s11/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-s11/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-s11/open-src/app/xlock/
H A DMakefile3 # xlock - manually activated screen lock program
32 MODULE_DESC = the xlock screen lock program
/solaris-x11-s11/open-src/app/xmag_multivis/
H A DMakefile34 MODULE_DESC = the multiple visual version of xmag screen magnification utility
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/
H A DXDPSpreview.c69 Screen *screen,
173 Screen *screen,
185 if (screen == NULL || depth <= 0 ||
191 context = XDPSGetSharedContext(DisplayOfScreen(screen));
204 p = XCreatePixmap(DisplayOfScreen(screen), RootWindowOfScreen(screen),
305 double XDPSPixelsPerPoint(Screen *screen) argument
307 return (float) WidthOfScreen(screen) * mmPerPoint /
308 (float) WidthMMOfScreen(screen);
423 Screen *screen)
171 XDPSCreatePixmapForEPSF( DPSContext context, Screen *screen, FILE *epsf, int depth, double pixelsPerPoint, Pixmap *pixmap, XRectangle *pixelSize, XRectangle *bbox) argument
421 XDPSCheckImagingResults( DPSContext context, Screen *screen) argument
453 XDPSImageFileIntoDrawable( DPSContext context, Screen *screen, Drawable dest, FILE *file, int drawableHeight, int drawableDepth, XRectangle *bbox, int xOffset, int yOffset, double pixelsPerPoint, Bool clear, Bool createMask, Bool waitForCompletion, Bool *doneFlag) argument
594 FillPixmapWithGray( Screen *screen, Drawable dest, XRectangle *bbox, int xOffset, int yOffset, double pixelsPerPoint, Bool createMask) argument
[all...]
/solaris-x11-s11/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-s11/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...]

Completed in 39 milliseconds

123