Searched refs:pixel (Results 1 - 24 of 24) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkColor.c6 * map color names to pixel values.
23 * pixel value that is still in use. The distinction between
24 * levels is necessary because the same pixel may have several
27 * allocating colors, and the pixel hash table is used when freeing
138 * given by "name", and also specifies a pixel value to use to
186 * The name isn't currently known. Map from the name to a pixel
254 * locate a pixel value to use to draw that color in a given
260 * to those specified in colorPtr, and also specifies a pixel
306 * The name isn't currently known. Find a pixel value for this
416 gcValues.foreground = tkColPtr->color.pixel;
[all...]
H A Dtk3d.c29 int depth; /* Number of bits per pixel of drawables where
183 gcValues.foreground = borderPtr->bgColorPtr->pixel;
628 Tk_SetWindowBackground(tkwin, borderPtr->bgColorPtr->pixel);
1266 gcValues.foreground = borderPtr->darkColorPtr->pixel;
1294 gcValues.foreground = borderPtr->lightColorPtr->pixel;
1314 gcValues.foreground = borderPtr->bgColorPtr->pixel;
1338 if (borderPtr->bgColorPtr->pixel
H A DtkMenubutton.c104 * pixel (positive means to right). */
613 gcValues.foreground = mbPtr->normalFg->pixel;
614 gcValues.background = Tk_3DBorderColor(mbPtr->normalBorder)->pixel;
631 gcValues.foreground = mbPtr->activeFg->pixel;
632 gcValues.background = Tk_3DBorderColor(mbPtr->activeBorder)->pixel;
641 gcValues.background = Tk_3DBorderColor(mbPtr->normalBorder)->pixel;
643 gcValues.foreground = mbPtr->disabledFg->pixel;
1231 int x, y; /* Upper left pixel (within image)
H A DtkMenu.c64 int y; /* Y-coordinate of topmost pixel in entry. */
1180 gcValues.foreground = menuPtr->fg->pixel;
1181 gcValues.background = Tk_3DBorderColor(menuPtr->border)->pixel;
1190 gcValues.foreground = menuPtr->disabledFg->pixel;
1212 gcValues.foreground = menuPtr->activeFg->pixel;
1213 gcValues.background = Tk_3DBorderColor(menuPtr->activeBorder)->pixel;
1221 gcValues.foreground = menuPtr->indicatorFg->pixel;
1398 gcValues.foreground = (mePtr->fg != NULL) ? mePtr->fg->pixel
1399 : menuPtr->fg->pixel;
1402 ->pixel;
[all...]
H A DtkImgPhoto.c5 * stored in full color (24 bits per pixel) and displayed using
48 * An unsigned 32-bit integral type, used for pixel values.
53 typedef unsigned int pixel; typedef
70 * colormap in which they were allocated. Sets of pixel values
73 * values match. A hash table is used to locate these sets of pixel
88 * pixel values and other information:
103 pixel redValues[256]; /* Maps 8-bit values of red intensity
104 * to a pixel value or index in pixelMap. */
105 pixel greenValues[256]; /* Ditto for green intensity */
106 pixel blueValue
[all...]
H A DtkButton.c912 gcValues.foreground = butPtr->normalFg->pixel;
913 gcValues.background = Tk_3DBorderColor(butPtr->normalBorder)->pixel;
932 gcValues.foreground = butPtr->activeFg->pixel;
933 gcValues.background = Tk_3DBorderColor(butPtr->activeBorder)->pixel;
944 gcValues.background = Tk_3DBorderColor(butPtr->normalBorder)->pixel;
946 gcValues.foreground = butPtr->disabledFg->pixel;
1365 Tk_3DBorderColor(butPtr->selectBorder)->pixel);
1374 Tk_3DBorderColor(butPtr->normalBorder)->pixel);
1597 * display can be offset by 1 pixel in either direction for the raised
1827 int x, y; /* Upper left pixel (withi
[all...]
H A DtkWindow.c289 * Force the window to use a the border pixel instead of border
1591 Tk_SetWindowBackground(tkwin, pixel)
1593 unsigned long pixel; /* Pixel value to use for
1598 winPtr->atts.background_pixel = pixel;
1601 XSetWindowBackground(winPtr->display, winPtr->window, pixel);
1628 Tk_SetWindowBorder(tkwin, pixel)
1630 unsigned long pixel; /* Pixel value to use for
1635 winPtr->atts.border_pixel = pixel;
1638 XSetWindowBorder(winPtr->display, winPtr->window, pixel);
H A DtkCanvText.c35 * (in integer pixel units, but in canvas
37 int x1, y1; /* Upper-left pixel that is part of text
39 * pixel units). */
40 int x2, y2; /* Lower-left pixel that is part of text
42 * pixel units). */
371 gcValues.foreground = textPtr->color->pixel;
380 gcValues.foreground = textInfoPtr->selFgColorPtr->pixel;
393 if (Tk_3DBorderColor(textInfoPtr->insertBorder)->pixel
394 == selBgColorPtr->pixel) {
395 if (selBgColorPtr->pixel
[all...]
H A DtkCanvBmap.c283 gcValues.foreground = bmapPtr->fgColor->pixel;
286 gcValues.background = bmapPtr->bgColor->pixel;
H A DtkCanvPoly.c363 gcValues.foreground = polyPtr->outlineColor->pixel;
378 gcValues.foreground = polyPtr->fillColor->pixel;
492 * which can stick out beyond the polygon. Add one extra pixel of
H A DtkSquare.c335 Tk_3DBorderColor(squarePtr->bgBorder)->pixel);
H A DtkImgBmap.c399 gcValues.foreground = instancePtr->fg->pixel;
403 gcValues.background = instancePtr->bg->pixel;
H A DtkRectOval.c336 gcValues.foreground = rectOvalPtr->outlineColor->pixel;
350 gcValues.foreground = rectOvalPtr->fillColor->pixel;
526 * Make sure that the bbox is at least one pixel large, since some
H A DtkMessage.c471 gcValues.foreground = msgPtr->fgColorPtr->pixel;
H A DtkCanvArc.c400 gcValues.foreground = arcPtr->outlineColor->pixel;
419 gcValues.foreground = arcPtr->fillColor->pixel;
594 * being drawn) and add one extra pixel just for safety.
H A Dtk.h582 * pixel drawn in item. Item area
813 unsigned char *pixelPtr; /* Pointer to the first pixel. */
821 * and blue components of the pixel and the
822 * pixel as a whole. */
1295 unsigned long pixel));
1299 unsigned long pixel));
H A DtkEntry.c926 gcValues.foreground = entryPtr->fgColorPtr->pixel;
936 gcValues.foreground = entryPtr->selFgColorPtr->pixel;
1041 * Compute x-coordinate of the pixel just after last visible
H A DtkListbox.c976 gcValues.foreground = listPtr->fgColorPtr->pixel;
986 gcValues.foreground = listPtr->selFgColorPtr->pixel;
H A DtkScale.c795 gcValues.foreground = scalePtr->troughColorPtr->pixel;
810 gcValues.foreground = scalePtr->textColorPtr->pixel;
1655 * Given a pixel within a scale window, return the scale
1656 * reading corresponding to that pixel.
1720 * An integer value giving the pixel location corresponding
H A DtkScrollbar.c86 int sliderLast; /* Coordinate of pixel just after bottom
751 gcValues.foreground = scrollPtr->troughColorPtr->pixel;
H A DtkTest.c940 gcValues.foreground = instPtr->fg->pixel;
H A DtkCanvLine.c445 gcValues.foreground = linePtr->fg->pixel;
674 * Add one more pixel of fudge factor just to be safe (e.g.
H A DtkTextDisp.c104 * be drawn (topmost pixel of rectangular
190 int topOfEof; /* Top-most pixel (lowest y-value) that has
629 gcValues.foreground = Tk_3DBorderColor(styleValues.border)->pixel;
641 gcValues.foreground = styleValues.fgColor->pixel;
2812 * pixel of drawing space in it.
3010 * up "distance" pixels above the pixel just below an imaginary
3029 * from the pixel just below the lowest
4247 * (b) at least one pixel of the character is visible, we haven't
4266 * to fit if there is at least one pixel of space left on the
4531 int y; /* Topmost pixel i
[all...]
H A DtkCanvas.c1488 gcValues.foreground = Tk_3DBorderColor(canvasPtr->bgBorder)->pixel;
1669 * pixel too far to the right). To handle this problem,

Completed in 2694 milliseconds