Searched defs:visual (Results 1 - 9 of 9) sorted by relevance

/solaris-x11-s11/open-src/app/xcolor/sun-src/
H A DXCrDynCmap.c41 Visual **visual, /* return */
63 *visual = vinfo.visual;
65 *visual, AllocNone);
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.c47 Visual **visual)
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.c50 static Visual *visual; variable
134 roffset = ffs(visual->red_mask)-1;
135 goffset = ffs(visual->green_mask)-1;
136 boffset = ffs(visual->blue_mask)-1;
180 if (visual->class == TrueColor || visual->class == DirectColor)
285 visual = DefaultVisualOfScreen(DefaultScreenOfDisplay(dsp));
286 cmap_size = visual->map_entries;
298 1.0, 1.0, 1.0, !nobw, &visual);
344 visual, /* visua
[all...]
/solaris-x11-s11/open-src/lib/libXmu/sun-src/src/
H A DVisGamma.c248 ** Updates the current prop element pointer to point beyond the current visual.
314 XSolarisGetVisualGamma (Display *dpy, int screen_number, Visual *visual, argument
427 if (visual->visualid != visualID) {
435 /* Found the visual */
445 ** not on the visual masks but on the visual bits_per_rgb. Thus, we
471 *gamma = exponentOfPowerFunc((1<<visual->bits_per_rgb)-1, maxcolor, (int)nelem, ph, pf);
/solaris-x11-s11/open-src/app/xmag_multivis/sun-src/
H A Dxmag_multivis.c80 Visual *visual; /* This is to fix the bug for TrueColor */ variable
96 int def_vis_is_ok = 0; /* is def visual 24bit TrueColor */
307 visual = DefaultVisual(dpy,screen) ;
308 vinfo_template.visualid = XVisualIDFromVisual(visual) ;
319 /* The default visual is TrueColor, 24 bit... */
605 FinalImage = XCreateImage(dpy, vis.visual, vis.depth, ZPixmap, 0,
613 InputOutput, def_vis->visual, valuemask, &attr);
616 /* The default visual is not 24 bit True Color,
617 Create a colormap for this visual */
618 Colormap c = XCreateColormap(dpy, root, vis.visual, AllocNon
[all...]
/solaris-x11-s11/open-src/xserver/xorg/sun-src/tsol/
H A Dtsolutils.c367 xVisualType *visual; local
386 visual = (xVisualType *) ((char *) depth +
388 depth = (xDepth *) ((char *) visual +
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/
H A DdpsXcmu.c137 Visual *visual; local
162 visual = DefaultVisualOfScreen(screen);
166 (void) XDPSCreateStandardColormaps(dpy, root, visual,
173 Visual *visual,
190 if (dpy == NULL || (drawable == None && visual == NULL)) return 0;
192 if (visual == NULL) {
195 visual = attr.visual;
203 vtemp.visualid = XVisualIDFromVisual(visual);
226 /* Can't do a color cube in a gray visual! */
170 XDPSCreateStandardColormaps( Display *dpy, Drawable drawable, Visual *visual, int reds, int greens, int blues, int grays, XStandardColormap *colorCube, XStandardColormap *grayRamp, Bool retain) argument
[all...]
/solaris-x11-s11/open-src/lib/libXext/sun-src/src/
H A DTransOvl.c146 * know the screen structure where the visual is to be found, so there
148 * performs a more direct scan for the visual.
320 obj.visual = vis;
378 * Cannot store data for this visual, assume the worst case.
418 * No data was returned from MBX for this visual,
502 * visual, so fill in a default value. Only mark
514 * visual, so fill in a default value. Only mark
601 * visual, so fill in a default value. Only mark
613 * visual, so fill in a default value. Only mark
786 visinfoReturn->visual
849 XSolarisOvlCreateWindow( Display *dpy, Window parent, int x, int y, unsigned int width, unsigned int height, unsigned int border_width, int depth, unsigned int class, Visual *visual, unsigned long valuemask, XSetWindowAttributes *attr ) argument
[all...]
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/
H A DColorSB.c2758 Visual **visual)
2767 *visual = viproto.visual = xwa.visual;
2768 viproto.visualid = XVisualIDFromVisual(xwa.visual);
3083 Visual *visual)
3103 XDPSCreateStandardColormaps(XtDisplay(csb), XtWindow(csb), visual, local
3172 SetBaseGState(newcsb, xwa.visual);
2756 GetVisualInfo( ColorSelectionBoxWidget csb, Visual **visual) argument
3081 SetBaseGState( ColorSelectionBoxWidget csb, Visual *visual) argument

Completed in 1510 milliseconds