HomeSort by: relevance | last modified time | path
    Searched refs:xcolor (Results 1 - 7 of 7) sorted by relevancy

  /xsrc/external/mit/mesa-demos/dist/src/xdemos/
xdemo.c 33 XColor xcolor; local
90 xcolor.red = 0x0;
91 xcolor.green = 0x0;
92 xcolor.blue = 0x0;
93 xcolor.flags = DoRed | DoGreen | DoBlue;
94 if (!XAllocColor( dpy, cmap, &xcolor )) {
98 Black = xcolor.pixel;
100 xcolor.red = 0xffff;
101 xcolor.green = 0x0
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/hw/dmx/examples/
dmxwininfo.c 193 XColor xcolor;
250 xcolor.red = 0x0;
251 xcolor.green = 0x0;
252 xcolor.blue = 0x0;
253 xcolor.flags = DoRed | DoGreen | DoBlue;
254 if (!XAllocColor( dpy, cmap, &xcolor )) {
258 Black = xcolor.pixel;
260 xcolor.red = 0xffff;
261 xcolor.green = 0x0
    [all...]
  /xsrc/external/mit/libXft/dist/src/
xftcolor.c 32 XColor screen, exact;
99 XColor xcolor; local
101 xcolor.red = color->red;
102 xcolor.green = color->green;
103 xcolor.blue = color->blue;
104 if (!XAllocColor (dpy, cmap, &xcolor))
106 result->pixel = xcolor.pixel;
  /xsrc/external/mit/libXpm/dist/src/
scan.c 396 XColor *xcolors = NULL, *xcolor; local
422 if (ncolors >= UINT_MAX / sizeof(XColor) || cpp >= UINT_MAX - 1)
424 xcolors = (XColor *) XpmMalloc(sizeof(XColor) * ncolors);
428 for (i = 0, i2 = mask, color = colors, xcolor = xcolors;
429 i < ncolors; i++, i2++, color++, xcolor++, pixels++) {
440 xcolor->pixel = *pixels;
463 for (i = 0, color = colors, xcolor = xcolors; i < ncolors;
464 i++, color++, xcolor++)
    [all...]
create.c 51 char *colorname, XColor *xcolor, void *closure));
56 Visual *visual, XColor *col,
59 XpmAttributes *attributes, XColor *cols, int ncols,
68 XpmAttributes *attributes, XColor *cols, int ncols,
170 XColor *xcolor,
175 if (!XParseColor(display, colormap, colorname, xcolor))
177 status = XAllocColor(display, colormap, xcolor);
192 XColor *col
387 XColor xcolor; local
    [all...]
  /xsrc/external/mit/xterm/dist/
graphics.c 872 XColor xcolor; local
876 xcolor.pixel = 0UL;
877 xcolor.red = ScaleForXColor(reg->r);
878 xcolor.green = ScaleForXColor(reg->g);
879 xcolor.blue = ScaleForXColor(reg->b);
880 xcolor.flags = DoRed | DoGreen | DoBlue;
882 if (!allocateBestRGB(xw, &xcolor)) {
883 TRACE(("unable to allocate xcolor\n"));
887 *pix = xcolor.pixel
    [all...]
  /xsrc/external/mit/libXaw/dist/src/
DisplayList.c 1735 XColor xcolor; local
1739 params[0], &xcolor, &xcolor))
1740 retval = (void *)xcolor.pixel;

Completed in 13 milliseconds