Searched defs:color (Results 1 - 3 of 3) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkColor.c4 * This file maintains a database of color values for the Tk
6 * map color names to pixel values.
20 * A two-level data structure is used to manage the color database.
21 * The top level consists of one entry for each color name that is
33 * each color that this module has allocated from the X display
41 XColor color; /* Information about this color. */ member in struct:TkColor
45 GC gc; /* Simple gc with this color as foreground
46 * color and all other fields defaulted.
48 Screen *screen; /* Screen where this color i
162 XColor color; local
[all...]
H A DtkCanvText.c69 XColor *color; /* Color for text. */ member in struct:TextItem
97 "black", Tk_Offset(TextItem, color), 0},
242 textPtr->color = NULL;
370 if ((textPtr->color != NULL) && (textPtr->fontPtr != NULL)) {
371 gcValues.foreground = textPtr->color->pixel;
468 if (textPtr->color != NULL) {
469 Tk_FreeColor(textPtr->color);
814 * displays, where both are drawn in the same color.
840 * color.
1519 if (textPtr->color
[all...]
H A DtkImgPhoto.c5 * stored in full color (24 bits per pixel) and displayed using
66 * color to use, and
93 * color table. */
101 * using this color table. */
119 * COLOR_WINDOW: 1 means a full 3-D color cube has been
168 * COLOR_IMAGE: 1 means that the image has different color
547 XColor color;
766 Tcl_AppendResult(interp, "all elements of color list must",
775 listArgv[x], &color)) {
776 Tcl_AppendResult(interp, "can't parse color \"",
544 XColor color; local
[all...]

Completed in 20 milliseconds