/macosx-10.9.5/tcl-102/tk84/tk/xlib/ |
H A D | xcolors.c | 798 static int FindColor _ANSI_ARGS_((const char *name, XColor *colorPtr)); 820 FindColor(name, colorPtr) 822 XColor *colorPtr; 858 colorPtr->red = ((xColors[i].red << 8) | xColors[i].red); 859 colorPtr->green = ((xColors[i].green << 8) | xColors[i].green); 860 colorPtr->blue = ((xColors[i].blue << 8) | xColors[i].blue); 882 XParseColor(display, map, spec, colorPtr) 886 XColor *colorPtr; 901 colorPtr->red = (((unsigned short) red) << (4 * (4 - i))) 903 colorPtr [all...] |
/macosx-10.9.5/tcl-102/tk/tk/xlib/ |
H A D | xcolors.c | 28 static int FindColor(const char *name, XColor *colorPtr); 820 XColor *colorPtr) 856 colorPtr->red = ((xColors[i].red << 8) | xColors[i].red); 857 colorPtr->green = ((xColors[i].green << 8) | xColors[i].green); 858 colorPtr->blue = ((xColors[i].blue << 8) | xColors[i].blue); 884 XColor *colorPtr) 899 colorPtr->red = (((unsigned short) red) << (4 * (4 - i))) 901 colorPtr->green = (((unsigned short) green) << (4 * (4 - i))) 903 colorPtr->blue = (((unsigned short) blue) << (4 * (4 - i))) 906 if (!FindColor(spec, colorPtr)) { 816 FindColor( const char *name, XColor *colorPtr) argument 877 XParseColor( Display *display, Colormap map, const char *spec, XColor *colorPtr) argument [all...] |
/macosx-10.9.5/tcl-102/tk84/tk/unix/ |
H A D | tkUnixColor.c | 32 * at *colorPtr. */ 33 XColor *colorPtr; /* Pointer to malloc'ed array of all member in struct:TkStressedCmap 204 * to those specified in colorPtr, and also specifies a pixel 215 TkpGetColorByValue(tkwin, colorPtr) 217 XColor *colorPtr; /* Red, green, and blue fields indicate 224 tkColPtr->color.red = colorPtr->red; 225 tkColPtr->color.green = colorPtr->green; 226 tkColPtr->color.blue = colorPtr->blue; 270 XColor *colorPtr; 292 stressPtr->colorPtr 266 XColor *colorPtr; local [all...] |
/macosx-10.9.5/tcl-102/tk/tk/unix/ |
H A D | tkUnixColor.c | 32 * *colorPtr. */ 33 XColor *colorPtr; /* Pointer to malloc'ed array of all colors member in struct:TkStressedCmap 201 * specified in colorPtr, and also specifies a pixel value to use to draw 214 XColor *colorPtr) /* Red, green, and blue fields indicate 221 tkColPtr->color.red = colorPtr->red; 222 tkColPtr->color.green = colorPtr->green; 223 tkColPtr->color.blue = colorPtr->blue; 266 XColor *colorPtr; 290 stressPtr->colorPtr = (XColor *) ckalloc((unsigned) 293 stressPtr->colorPtr[ 209 TkpGetColorByValue( Tk_Window tkwin, XColor *colorPtr) argument 262 XColor *colorPtr; local [all...] |
/macosx-10.9.5/tcl-102/tk84/tk/win/ |
H A D | tkWinColor.c | 82 XColor *colorPtr, int *indexPtr)); 104 FindSystemColor(name, colorPtr, indexPtr) 106 XColor *colorPtr; /* Where to store results. */ 157 colorPtr->pixel = GetSysColor(sysColors[i].index); 162 colorPtr->red = GetRValue(colorPtr->pixel) * 257; 163 colorPtr->green = GetGValue(colorPtr->pixel) * 257; 164 colorPtr->blue = GetBValue(colorPtr [all...] |
/macosx-10.9.5/tcl-102/tk84/tk/generic/ |
H A D | tkColor.c | 280 * to those specified in colorPtr, and also specifies a pixel 293 Tk_GetColorByValue(tkwin, colorPtr) 295 XColor *colorPtr; /* Red, green, and blue fields indicate 314 valueKey.red = colorPtr->red; 315 valueKey.green = colorPtr->green; 316 valueKey.blue = colorPtr->blue; 332 tkColPtr = TkpGetColorByValue(tkwin, colorPtr); 357 * If colorPtr was created by Tk_GetColor, then the return 371 Tk_NameOfColor(colorPtr) 372 XColor *colorPtr; /* Colo [all...] |
H A D | tkImgPhoto.c | 431 static void FreeColorTable _ANSI_ARGS_((ColorTable *colorPtr, 433 static void AllocateColors _ANSI_ARGS_((ColorTable *colorPtr)); 2872 ColorTable *colorPtr; 2886 colorPtr = instancePtr->colorTablePtr; 2887 if (colorPtr != NULL) { 2888 colorPtr->liveRefCount -= 1; 3455 ColorTable *colorPtr; 3480 colorPtr = (ColorTable *) Tcl_GetHashValue(entry); 3487 colorPtr = (ColorTable *) ckalloc(sizeof(ColorTable)); 3499 memset((VOID *) &colorPtr 2860 ColorTable *colorPtr; local 3436 ColorTable *colorPtr; local 3856 ColorTable *colorPtr; local 3907 ColorTable *colorPtr; local 5067 ColorTable *colorPtr; local [all...] |
H A D | tkColor.h | 84 XColor *colorPtr));
|
H A D | tkImgBmap.c | 358 XColor *colorPtr; 370 colorPtr = Tk_GetColor(masterPtr->interp, instancePtr->tkwin, 372 if (colorPtr == NULL) { 376 colorPtr = NULL; 381 instancePtr->bg = colorPtr; 383 colorPtr = Tk_GetColor(masterPtr->interp, instancePtr->tkwin, 385 if (colorPtr == NULL) { 391 instancePtr->fg = colorPtr; 355 XColor *colorPtr; local
|
/macosx-10.9.5/tcl-102/tk/tk/win/ |
H A D | tkWinColor.c | 79 static int FindSystemColor(const char *name, XColor *colorPtr, 104 XColor *colorPtr, /* Where to store results. */ 155 colorPtr->pixel = GetSysColor(sysColors[i].index); 162 colorPtr->red = GetRValue(colorPtr->pixel) * 257; 163 colorPtr->green = GetGValue(colorPtr->pixel) * 257; 164 colorPtr->blue = GetBValue(colorPtr->pixel) * 257; 165 colorPtr 101 FindSystemColor( const char *name, XColor *colorPtr, int *indexPtr) argument 240 TkpGetColorByValue( Tk_Window tkwin, XColor *colorPtr) argument 305 TkWinIndexOfColor( XColor *colorPtr) argument [all...] |
/macosx-10.9.5/tcl-102/tk/tk/generic/ |
H A D | tkColor.h | 80 MODULE_SCOPE TkColor * TkpGetColorByValue(Tk_Window tkwin, XColor *colorPtr);
|
H A D | tkImgPhoto.c | 425 static void FreeColorTable(ColorTable *colorPtr, int force); 426 static void AllocateColors(ColorTable *colorPtr); 2870 ColorTable *colorPtr; 2884 colorPtr = instancePtr->colorTablePtr; 2885 if (colorPtr != NULL) { 2886 colorPtr->liveRefCount -= 1; 3443 ColorTable *colorPtr; 3468 colorPtr = (ColorTable *) Tcl_GetHashValue(entry); 3474 colorPtr = (ColorTable *) ckalloc(sizeof(ColorTable)); 3485 memset(&colorPtr 2858 ColorTable *colorPtr; local 3424 ColorTable *colorPtr; local 3515 FreeColorTable( ColorTable *colorPtr, int force) argument 3557 AllocateColors( ColorTable *colorPtr) argument 3842 ColorTable *colorPtr = (ColorTable *) clientData; local 3892 ColorTable *colorPtr; local 5061 ColorTable *colorPtr = instancePtr->colorTablePtr; local [all...] |
H A D | tkColor.c | 275 * specified in colorPtr, and also specifies a pixel value to use to draw 290 XColor *colorPtr) /* Red, green, and blue fields indicate 311 valueKey.red = colorPtr->red; 312 valueKey.green = colorPtr->green; 313 valueKey.blue = colorPtr->blue; 329 tkColPtr = TkpGetColorByValue(tkwin, colorPtr); 353 * If colorPtr was created by Tk_GetColor, then the return value is the 367 XColor *colorPtr) /* Color whose name is desired. */ 369 register TkColor *tkColPtr = (TkColor *) colorPtr; 377 sprintf(tsdPtr->rgbString, "#%04x%04x%04x", colorPtr 285 Tk_GetColorByValue( Tk_Window tkwin, XColor *colorPtr) argument 362 Tk_NameOfColor( XColor *colorPtr) argument 400 Tk_GCForColor( XColor *colorPtr, Drawable drawable) argument 445 Tk_FreeColor( XColor *colorPtr) argument [all...] |
H A D | tkImgBmap.c | 346 XColor *colorPtr; 358 colorPtr = Tk_GetColor(masterPtr->interp, instancePtr->tkwin, 360 if (colorPtr == NULL) { 364 colorPtr = NULL; 369 instancePtr->bg = colorPtr; 371 colorPtr = Tk_GetColor(masterPtr->interp, instancePtr->tkwin, 373 if (colorPtr == NULL) { 379 instancePtr->fg = colorPtr; 343 XColor *colorPtr; local
|
H A D | tkCmds.c | 1634 XColor *colorPtr; 1647 colorPtr = Tk_GetColor(interp, tkwin, string); 1648 if (colorPtr == NULL) { 1651 sprintf(buf, "%d %d %d", colorPtr->red, colorPtr->green, 1652 colorPtr->blue); 1653 Tk_FreeColor(colorPtr); 1622 XColor *colorPtr; local
|
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/pixmap/ |
H A D | pixmapInt.h | 72 XColor *colorPtr; member in struct:ColorStruct 125 XImage *mask, int x, int y, XColor *colorPtr,
|
H A D | pixmapWin.c | 124 TkimgXpmSetPixel(instancePtr, image, mask, x, y, colorPtr, isTranspPtr) 130 XColor * colorPtr; 139 if (colorPtr != NULL) { 140 gcValues.foreground = colorPtr->pixel; 151 if (colorPtr != NULL) {
|
H A D | pixmapUnix.c | 134 TkimgXpmSetPixel(instancePtr, image, mask, x, y, colorPtr, isTranspPtr) 140 XColor * colorPtr; 143 if (colorPtr != NULL) { 144 XPutPixel(image, x, y, colorPtr->pixel);
|
H A D | pixmap.c | 694 colors[i].colorPtr = NULL; 773 colors[i].colorPtr = Tk_GetColor(interp, 775 if (colors[i].colorPtr == NULL) { 776 colors[i].colorPtr = Tk_GetColor(interp, 781 colors[i].colorPtr = Tk_GetColor(interp, 802 colors[k].colorPtr, &isTransp); 814 colors[k].colorPtr, &isTransp); 865 if (instancePtr->colors[i].colorPtr != NULL) { 866 Tk_FreeColor(instancePtr->colors[i].colorPtr); 1126 if (instancePtr->colors[i].colorPtr ! [all...] |
/macosx-10.9.5/tcl-102/tcl_ext/tktreectrl/tktreectrl/generic/ |
H A D | tkTreeDrag.c | 84 XColor *colorPtr; local 106 colorPtr = Tk_GetColor(tree->interp, tree->tkwin, "pink"); 107 Tree_XImage2Photo(tree->interp, photoH, ximage, colorPtr->pixel, alpha); 122 XColor *colorPtr; local 142 colorPtr = Tk_GetColor(tree->interp, tree->tkwin, "pink"); 143 gc = Tk_GCForColor(colorPtr, Tk_WindowId(tree->tkwin)); 147 trans = colorPtr->pixel; 149 colorPtr = Tk_GetColor(tree->interp, tree->tkwin, "gray50"); 150 gc = Tk_GCForColor(colorPtr, Tk_WindowId(tree->tkwin)); 219 XColor *colorPtr; local 256 XColor *colorPtr; local [all...] |
H A D | tkTreeMarquee.c | 313 XColor *colorPtr; 325 colorPtr = Tk_GetColor(tree->interp, tree->tkwin, "gray50"); 326 gc = Tk_GCForColor(colorPtr, Tk_WindowId(tree->tkwin));
|
/macosx-10.9.5/tcl-102/tk/tk/generic/ttk/ |
H A D | ttkCache.c | 207 XColor *colorPtr) 215 colorPtr->red, colorPtr->green, colorPtr->blue); 204 Ttk_RegisterNamedColor( Ttk_ResourceCache cache, const char *colorName, XColor *colorPtr) argument
|
/macosx-10.9.5/tcl-102/tk/tk/macosx/ |
H A D | tkMacOSXColor.c | 643 * to those specified in colorPtr, and also specifies a pixel 656 XColor *colorPtr) /* Red, green, and blue fields indicate 661 tkColPtr->color.red = colorPtr->red; 662 tkColPtr->color.green = colorPtr->green; 663 tkColPtr->color.blue = colorPtr->blue; 690 XColor *colorPtr) /* XColor struct to modify. */ 693 colorPtr->pixel = TkpGetPixel(colorPtr); 645 TkpGetColorByValue( Tk_Window tkwin, XColor *colorPtr) argument 677 XAllocColor( Display *display, Colormap map, XColor *colorPtr) argument
|
/macosx-10.9.5/tcl-102/tk84/tk/macosx/ |
H A D | tkMacOSXColor.c | 625 * to those specified in colorPtr, and also specifies a pixel 638 XColor *colorPtr) /* Red, green, and blue fields indicate 643 tkColPtr->color.red = colorPtr->red; 644 tkColPtr->color.green = colorPtr->green; 645 tkColPtr->color.blue = colorPtr->blue; 704 XColor *colorPtr) /* XColor struct to modify. */ 707 colorPtr->pixel = TkpGetPixel(colorPtr); 630 TkpGetColorByValue( Tk_Window tkwin, XColor *colorPtr) argument 693 XAllocColor( Display *display, Colormap map, XColor *colorPtr) argument
|
/macosx-10.9.5/tcl-102/tcl_ext/tktable/tktable/generic/ |
H A D | tkTablePs.c | 385 Table *tablePtr, XColor *colorPtr)); 1004 Tk_TablePsColor(interp, tablePtr, colorPtr) 1008 XColor *colorPtr; /* Information about color. */ 1025 Tk_NameOfColor(colorPtr), 0); 1045 tmp = colorPtr->red; 1047 tmp = colorPtr->green; 1049 tmp = colorPtr->blue;
|