Searched refs:fg (Results 1 - 16 of 16) sorted by relevance

/ast/src/lib/libtk/unix/
H A DtkUnixCursor.c169 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 Dcomdlg.tcl143 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 Dpalette.tcl44 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 Dtkfbox.tcl654 $data(typeMenuLab) config -fg [$data(typeMenuBtn) cget -fg]
658 $data(typeMenuLab) config -fg \
/ast/src/lib/libtk/generic/
H A DtkCursor.c50 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 DtkImgBmap.c60 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 DtkCanvLine.c38 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 DtkMenu.c71 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 DtkTest.c152 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 DtkInt.h674 int xHot, int yHot, XColor fg, XColor bg));
H A DtkImgPhoto.c2544 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 Dtk.h1161 Tk_Uid fg, Tk_Uid bg));
/ast/src/cmd/html/
H A Dmm2bb.sh69 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 Dmm2twiki.sh68 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 Dmm2html.sh145 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 Dfloor.tcl49 fg$active $w $colors(offices)

Completed in 79 milliseconds