/ast/src/lib/libtk/unix/ |
H A D | tkUnixCursor.c | 169 XColor fg, bg; 176 * arg, it is cursor name (use black and white for fg and bg). 177 * If two args, they are name and fg color (ignore mask). If 178 * three args, they are name, fg, bg. Some of the code below 196 fg.red = fg.green = fg.blue = 0; 200 &fg) == 0) { 227 &fg, &bg); 231 XColor fg, b 168 XColor fg, bg; local 230 XColor fg, bg; local [all...] |
/ast/src/lib/libtk/library/ |
H A D | comdlg.tcl | 143 if ![info exists tkPriv(fg,$t)] { 144 set tkPriv(fg,$t) 1 159 if ![info exists tkPriv(fg,$t)] { 174 if ![info exists tkPriv(fg,$t)] { 189 unset tkPriv(fg,$t)
|
H A D | palette.tcl | 44 set fg [winfo rgb . $new(foreground)] 55 [expr (3*[lindex $bg 0] + [lindex $fg 0])/1024] \ 56 [expr (3*[lindex $bg 1] + [lindex $fg 1])/1024] \ 57 [expr (3*[lindex $bg 2] + [lindex $fg 2])/1024]]
|
H A D | tkfbox.tcl | 654 $data(typeMenuLab) config -fg [$data(typeMenuBtn) cget -fg] 658 $data(typeMenuLab) config -fg \
|
/ast/src/lib/libtk/generic/ |
H A D | tkCursor.c | 50 Tk_Uid fg, bg; /* Colors for cursor. */ member in struct:__anon394 180 xHot, yHot, fg, bg) 187 Tk_Uid fg; /* Foreground color for cursor. */ 207 dataKey.fg = fg; 222 if (XParseColor(dataKey.display, Tk_Colormap(tkwin), fg, &fgColor) == 0) { 223 Tcl_AppendResult(interp, "invalid color name \"", fg, "\"",
|
H A D | tkImgBmap.c | 60 XColor *fg; /* Foreground color for displaying image. */ member in struct:BitmapInstance 369 if (instancePtr->fg != NULL) { 370 Tk_FreeColor(instancePtr->fg); 372 instancePtr->fg = colorPtr; 399 gcValues.foreground = instancePtr->fg->pixel; 815 instancePtr->fg = NULL; 935 if (instancePtr->fg != NULL) { 936 Tk_FreeColor(instancePtr->fg);
|
H A D | tkCanvLine.c | 38 XColor *fg; /* Foreground color for line. */ member in struct:LineItem 135 "black", Tk_Offset(LineItem, fg), TK_CONFIG_NULL_OK}, 248 linePtr->fg = None; 442 if (linePtr->fg == NULL) { 445 gcValues.foreground = linePtr->fg->pixel; 558 if (linePtr->fg != NULL) { 559 Tk_FreeColor(linePtr->fg); 1489 if (linePtr->fg == NULL) { 1554 if (Tk_CanvasPsColor(interp, canvas, linePtr->fg) != TCL_OK) {
|
H A D | tkMenu.c | 71 XColor *fg; /* Foreground color to use for entry. NULL member in struct:MenuEntry 190 DEF_MENU_ENTRY_FG, Tk_Offset(MenuEntry, fg), 272 XColor *fg; /* Foreground color for entries. */ member in struct:Menu 375 {TK_CONFIG_SYNONYM, "-fg", "foreground", (char *) NULL, 380 DEF_MENU_FG, Tk_Offset(Menu, fg), 0}, 527 menuPtr->fg = NULL; 1180 gcValues.foreground = menuPtr->fg->pixel; 1396 || (mePtr->fg != NULL) || (mePtr->activeBorder != NULL) 1398 gcValues.foreground = (mePtr->fg != NULL) ? mePtr->fg [all...] |
H A D | tkTest.c | 152 XColor *fg; /* Foreground color for drawing in image. */ member in struct:TImageInstance 939 instPtr->fg = Tk_GetColor(timPtr->interp, tkwin, "#ff0000"); 940 gcValues.foreground = instPtr->fg->pixel; 1028 Tk_FreeColor(instPtr->fg);
|
H A D | tkInt.h | 674 int xHot, int yHot, XColor fg, XColor bg));
|
H A D | tkImgPhoto.c | 2544 double fr, fg, fb, igam; 2785 fg = (double) colors[g].green / 65535.0; 2789 fg = pow(fg, colorPtr->id.gamma); 2793 colorPtr->colorQuant[1][i] = (int)(fg * 255.99); 2526 double fr, fg, fb, igam; local
|
H A D | tk.h | 1161 Tk_Uid fg, Tk_Uid bg));
|
/ast/src/cmd/html/ |
H A D | mm2bb.sh | 69 typeset cond dirs files fg frame label list prev text title type 1196 if [[ $fg ]] 1198 then putop "\\blue{$fg}" 1199 else putop "[color=blue]$fg[/color]" 1213 2) fg="Figure $1: $2" ;; 1214 *) fg= ;;
|
H A D | mm2twiki.sh | 68 typeset cond dirs files fg frame label list prev text title type 1086 if [[ $fg ]] 1087 then putop "[color=blue]$fg[/color]" 1097 2) fg="Figure $1: $2" ;; 1098 *) fg= ;;
|
H A D | mm2html.sh | 145 typeset cond dirs files fg frame label level prev text trailer 1750 if [[ $fg ]] 1751 then print -r -- "<H4 align=center>$fg</H4>" 1765 2) fg="Figure $1: $2" ;; 1766 *) fg= ;;
|
/ast/src/lib/libtk/library/demos/ |
H A D | floor.tcl | 49 fg$active $w $colors(offices)
|