/solaris-x11-s11/open-src/app/xcolor/sun-src/ |
H A D | XCrDynCmap.c | 39 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 D | XCrHsbCmap.c | 37 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 D | xcolor.c | 49 static int screen; variable 51 static Window win; /* window used to cover screen */ 71 XQueryColors(dsp, DefaultColormap(dsp, screen), color, 256); 284 screen = DefaultScreen(dsp); 295 stat = XCreateHSBColormap(dsp, screen, &cmap, half 342 DefaultDepth(dsp, screen), /* depth */ 367 0, 0, ICON_WIDTH, ICON_HEIGHT, 0, DefaultDepth(dsp, screen), 385 xgcv.foreground = BlackPixel(dsp, screen); 386 xgcv.background = WhitePixel(dsp, screen);
|
/solaris-x11-s11/open-src/app/cmap_compact/sun-src/ |
H A D | cmcinit.c | 40 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 D | cmcsave.c | 74 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/cmap_alloc/sun-src/ |
H A D | cmap_alloc.c | 68 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/gfx-utils/sun-src/fbconf_xorg/xf86/ |
H A D | Layout.c | 74 {SCREEN, "screen"}, 443 screen = xf86findScreen (str, p->conf_screen_lst); \ 444 if (!screen) \ 451 ptr = screen; \ 461 XF86ConfScreenPtr screen; local 471 screen = xf86findScreen (adj->adj_screen_str, p->conf_screen_lst); 472 if (!screen) 479 adj->adj_screen = screen;
|
H A D | Screen.c | 900 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 D | multivis.c | 83 int screen, 91 int screen, 99 /* Initialise screen info */ 101 mvScreen = screen; 119 * be within the bounds of the screen. 121 * is fully within the bounds of the screen. 477 * Assumes that a global mvVlist for this screen has already 81 mvInit( Display *dpy, int screen, XVisualInfo *vlist, int num_vis, void *callbackData, mvCallbackFunc callbackFunction) argument
|
H A D | xmag_multivis.c | 77 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-s11/open-src/lib/DPS/sun-src/libdpstk/ |
H A D | XDPSpreview.c | 69 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...] |
H A D | XDPSshare.c | 202 Screen *screen, 205 return XDPSSetContextParameters(context, screen, depth, None, 0, 239 static GC DisplayInfoSharedGC(DisplayInfo d, Screen *screen, int depth) argument 241 int s = XScreenNumberOfScreen(screen); 246 if (s >= ScreenCount(DisplayOfScreen(screen))) return NULL; 254 if (depth == DefaultDepthOfScreen(screen)) { 256 RootWindowOfScreen(screen), 0, &v); 259 RootWindowOfScreen(screen), 271 Screen *screen, 306 if (DisplayOfScreen(screen) ! 200 XDPSSetContextDepth( DPSContext context, Screen *screen, int depth) argument 269 XDPSSetContextParameters( DPSContext context, Screen *screen, int depth, Drawable drawable, int height, XDPSStandardColormap *rgbMap, XDPSStandardColormap *grayMap, unsigned int flags) argument 377 XDPSPushContextParameters( DPSContext context, Screen *screen, int depth, Drawable drawable, int height, XDPSStandardColormap *rgbMap, XDPSStandardColormap *grayMap, unsigned int flags, DPSPointer *pushCookieReturn) argument [all...] |
H A D | DPSScrollW.c | 154 static Boolean GiveFeedbackPixmap(Widget w, Pixmap p, int width, int height, int depth, Screen *screen); 156 static Boolean TakeFeedbackPixmap(Widget w, Pixmap *p, int *width, int *height, int *depth, Screen **screen); 3125 Screen **screen) 3134 *screen = NULL; 3141 *screen = dsw->core.screen; 3152 Screen **screen) 3158 depth, screen); 3433 Screen *screen) 3438 || screen ! 3121 TakeFeedbackPixmap( Widget w, Pixmap *p, int *width, int *height, int *depth, Screen **screen) argument 3148 DSWTakeFeedbackPixmap( Widget w, Pixmap *p, int *width, int *height, int *depth, Screen **screen) argument 3429 GiveFeedbackPixmap( Widget w, Pixmap p, int width, int height, int depth, Screen *screen) argument 3448 DSWGiveFeedbackPixmap( Widget w, Pixmap p, int width, int height, int depth, Screen *screen) argument [all...] |
/solaris-x11-s11/open-src/app/xlock/sun-src/ |
H A D | xlock.c | 24 * 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...] |
/solaris-x11-s11/open-src/app/dispswitch/sun-src/ |
H A D | dispswitch.c | 68 static int screen; variable 613 fprintf (stderr, "screen %d: revert\n", screen); 618 DisplayWidth (dpy, screen), 619 DisplayHeight (dpy, screen), 620 DisplayWidthMM (dpy, screen), 621 DisplayHeightMM (dpy, screen)); 632 if (fb_width == DisplayWidth (dpy, screen) && 633 fb_height == DisplayHeight (dpy, screen) && 634 fb_width_mm == DisplayWidthMM (dpy, screen) [all...] |
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/ |
H A D | dpsXcmu.c | 131 Screen *screen, 140 /* If there is a screen specified, use it; otherwise use the drawable */ 142 if (screen == NULL) { 145 screen = DefaultScreenOfDisplay(dpy); 156 screen = ScreenOfDisplay(dpy, i); 158 } else root = RootWindowOfScreen(screen); 162 visual = DefaultVisualOfScreen(screen); 163 grayRamp->colormap = DefaultColormapOfScreen(screen); 290 p = XCreatePixmap(dpy, RootWindow(dpy, vinfo->screen), 1, 1, 1); 438 gotCube = XGetRGBColormaps(dpy, RootWindow(dpy, vinfo->screen), cub 129 XDPSGetDefaultColorMaps( Display *dpy, Screen *screen, Drawable drawable, XStandardColormap *colorCube, XStandardColormap *grayRamp) argument [all...] |
/solaris-x11-s11/open-src/lib/libXext/sun-src/src/ |
H A D | TransOvl.c | 90 int screen; member in struct:__anon424 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...] |