Searched defs:colormap (Results 1 - 6 of 6) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkVisual.c45 * colormap allocated for a display by Tk_GetColormap.
49 Colormap colormap; /* X's identifier for the colormap. */ member in struct:TkColormap
50 Visual *visual; /* Visual for which colormap was
52 int refCount; /* How many uses of the colormap are still
55 int shareable; /* 0 means this colormap was allocated by
58 * for itself. 1 means that the colormap
80 * suitable colormap for use with the visual in tkwin, and it
81 * returns that colormap in *colormapPtr unless an error occurs.
84 * A new colormap ma
374 Colormap colormap; local
[all...]
H A DtkColor.c50 Colormap colormap; /* Colormap from which this entry was member in struct:TkColor
52 Visual *visual; /* Visual associated with colormap. */
68 Colormap colormap; /* Colormap from which color will be member in struct:__anon391
70 Display *display; /* Display for colormap. */
81 Colormap colormap; /* Colormap from which color will be member in struct:__anon392
83 Display *display; /* Display for colormap. */
90 * If a colormap fills up, attempts to allocate new colors from that
91 * colormap will fail. When that happens, we'll just choose the
92 * closest color from those that are available in the colormap.
94 * colormap t
102 Colormap colormap; /* X's token for the colormap. */ member in struct:TkStressedCmap
552 Colormap colormap = Tk_Colormap(tkwin); local
[all...]
H A DtkFrame.c48 char *colormapName; /* Textual description of colormap for window,
49 * from -colormap option. Malloc-ed, may be
51 Colormap colormap; /* If not None, identifies a colormap member in struct:__anon399
117 {TK_CONFIG_STRING, "-colormap", "colormap", "Colormap",
247 Colormap colormap;
258 * "-class", "-screen", "-visual", and "-colormap" options. These
264 colormap = None;
276 && (strncmp(arg, "-colormap", strle
245 Colormap colormap; local
[all...]
H A Dtk3d.c31 Colormap colormap; /* Colormap out of which pixels are member in struct:__anon378
47 * <= 64 colors or where colormap has filled
69 Colormap colormap; /* Colormap used for allocating border member in struct:__anon379
144 key.colormap = Tk_Colormap(tkwin);
161 borderPtr->colormap = key.colormap;
1241 stressed = TkCmapStressed(tkwin, borderPtr->colormap);
1308 * This isn't a monochrome display, but the colormap either
H A DtkWindow.c80 CopyFromParent, /* colormap */
164 static char *colormap; variable
169 {"-colormap", TK_ARGV_STRING, (char *) NULL, (char *) &colormap,
545 winPtr->atts.colormap = parentPtr->atts.colormap;
547 winPtr->atts.colormap = DefaultColormap(dispPtr->display, screenNum);
1316 * If this window has a different colormap than its parent, add
1321 (winPtr->atts.colormap != winPtr->parentPtr->atts.colormap)) {
[all...]
H A DtkImgPhoto.c70 * colormap in which they were allocated. Sets of pixel values
72 * possible, that is, if the display, colormap, palette and gamma
78 Display *display; /* Qualifies the colormap resource ID */
79 Colormap colormap; /* Colormap that the windows are using. */ member in struct:__anon405
86 * For a particular (display, colormap, palette, gamma) combination,
180 * same colormap.
186 Colormap colormap; /* The image may only be used in windows with member in struct:PhotoInstance
187 * this particular colormap. */
331 * Hash table used to hash from (display, colormap, palette, gamma)
1484 || (instancePtr->colormap !
1594 Colormap colormap; local
[all...]

Completed in 42 milliseconds