Searched refs:colorPtr (Results 1 - 8 of 8) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkColor.c104 * at *colorPtr. */
105 XColor *colorPtr; /* Pointer to malloc'ed array of all member in struct:TkStressedCmap
260 * to those specified in colorPtr, and also specifies a pixel
273 Tk_GetColorByValue(tkwin, colorPtr)
275 XColor *colorPtr; /* Red, green, and blue fields indicate
293 valueKey.red = colorPtr->red;
294 valueKey.green = colorPtr->green;
295 valueKey.blue = colorPtr->blue;
341 * If colorPtr was created by Tk_GetColor, then the return
355 Tk_NameOfColor(colorPtr)
550 XColor *colorPtr; local
[all...]
H A DtkImgPhoto.c370 static void FreeColorTable _ANSI_ARGS_((ColorTable *colorPtr));
371 static void AllocateColors _ANSI_ARGS_((ColorTable *colorPtr));
1862 ColorTable *colorPtr;
1876 colorPtr = instancePtr->colorTablePtr;
1877 if (colorPtr != NULL) {
1878 colorPtr->liveRefCount -= 1;
2408 ColorTable *colorPtr;
2433 colorPtr = (ColorTable *) Tcl_GetHashValue(entry);
2440 colorPtr = (ColorTable *) ckalloc(sizeof(ColorTable));
2452 memset((VOID *) &colorPtr
1853 ColorTable *colorPtr; local
2392 ColorTable *colorPtr; local
2805 ColorTable *colorPtr; local
2856 ColorTable *colorPtr; local
3613 ColorTable *colorPtr; local
[all...]
H A DtkImgGIF.c466 XColor *colorPtr;
467 colorPtr = Tk_GetColor(interp, Tk_MainWindow(interp),
469 if (colorPtr) {
470 cmap[CM_RED][transparent] = colorPtr->red >> 8;
471 cmap[CM_GREEN][transparent] = colorPtr->green >> 8;
472 cmap[CM_BLUE][transparent] = colorPtr->blue >> 8;
473 Tk_FreeColor(colorPtr);
463 XColor *colorPtr; local
H A DtkImgBmap.c340 XColor *colorPtr;
351 colorPtr = Tk_GetColor(masterPtr->interp, instancePtr->tkwin,
353 if (colorPtr == NULL) {
357 colorPtr = NULL;
362 instancePtr->bg = colorPtr;
364 colorPtr = Tk_GetColor(masterPtr->interp, instancePtr->tkwin,
366 if (colorPtr == NULL) {
372 instancePtr->fg = colorPtr;
337 XColor *colorPtr; local
H A DtkCmds.c1136 XColor *colorPtr;
1147 colorPtr = Tk_GetColor(interp, window, argv[3]);
1148 if (colorPtr == NULL) {
1151 sprintf(interp->result, "%d %d %d", colorPtr->red, colorPtr->green,
1152 colorPtr->blue);
1153 Tk_FreeColor(colorPtr);
1124 XColor *colorPtr; local
H A DtkCanvPs.c564 Tk_CanvasPsColor(interp, canvas, colorPtr)
568 XColor *colorPtr; /* Information about color. */
590 Tk_NameOfColor(colorPtr), 0);
610 tmp = colorPtr->red;
612 tmp = colorPtr->green;
614 tmp = colorPtr->blue;
H A DtkConfig.c795 XColor *colorPtr = *((XColor **) ptr);
796 if (colorPtr != NULL) {
797 result = Tk_NameOfColor(colorPtr);
789 XColor *colorPtr = *((XColor **) ptr); local
H A Dtk.h995 Tk_Canvas canvas, XColor *colorPtr));
1114 EXTERN void Tk_FreeColor _ANSI_ARGS_((XColor *colorPtr));
1128 EXTERN GC Tk_GCForColor _ANSI_ARGS_((XColor *colorPtr,
1153 XColor *colorPtr));
1235 EXTERN char * Tk_NameOfColor _ANSI_ARGS_((XColor *colorPtr));

Completed in 57 milliseconds