Searched refs:blue (Results 1 - 19 of 19) sorted by relevance

/ast/src/lib/libtk/library/demos/
H A Dtcolor19 # red, green, blue - Current color intensities in decimal
38 set blue 0
150 global red green blue colorSpace color updating autoUpdate
157 set blue [format %.0f [expr [.scale3 get]*65.535]]
162 set blue [format %.0f [expr {65535 - [.scale3 get]*65.535}]]
169 set blue [lindex $list 2]
172 set color [format "#%04x%04x%04x" $red $green $blue]
179 # current red, green, and blue intensities. It's invoked after
184 global red green blue colorSpace updating
189 .scale3 set [format %.0f [expr $blue/65.53
[all...]
H A Ditems.tcl55 set blue DeepSkyBlue3
60 set blue black
69 $c create line 1c 1c 3c 1c 1c 4c 3c 4c -width 2m -fill $blue \
84 -fill $blue -tags item
108 -fill $blue -tags item
115 -fill $blue -tags item
122 $c create text 25.5c 11c -anchor w -font $font1 -fill $blue \
133 -outline $blue -start -135 -extent 270 -tags item \
138 -fill $blue -outline {} -start 45 -extent 270 -tags item
H A Dmenu.tcl115 foreach i {red orange yellow green blue} {
H A Dwidget76 -foreground blue -underline 1
/ast/src/lib/libtk/library/
H A Dpalette.tcl170 set blue [expr [lindex $l 2]/256]
179 set blue [expr ($blue*$percent)/100]
180 if {$blue > 255} {
181 set blue 255
183 format #%02x%02x%02x $red $green $blue
H A Dclrpick.tcl37 set data(lines,blue,start) 0
38 set data(lines,blue,last) -1
161 set data(blue,intensity) [expr [lindex $rgb 2]/0x100]
308 bind $w <Alt-b> "focus $data(blue,entry)"
326 set data(blue,intensity) [lindex $color 2]
331 foreach color { red green blue } {
429 $data(blue,intensity)]
434 $data(blue,intensity)]
485 $data(green,intensity) $data(blue,intensity)]
493 $data(blue,intensit
[all...]
H A Dconsole.tcl51 .console tag configure stdin -foreground blue
/ast/src/lib/libtk/generic/
H A DtkColor.c80 int red, green, blue; /* Values for desired color. */ member in struct:__anon392
137 * indicates the red, blue, and green intensities for the color
253 * Given a desired set of red-green-blue intensities for a color,
259 * indicates the closest red, blue, and green intensities available
275 XColor *colorPtr; /* Red, green, and blue fields indicate
295 valueKey.blue = colorPtr->blue;
313 tkColPtr->color.blue = valueKey.blue;
367 colorPtr->blue);
[all...]
H A Dtk3d.c1264 darkColor.blue = (60 * (int) borderPtr->bgColorPtr->blue)/100;
1287 tmp1 = (14 * (int) borderPtr->bgColorPtr->blue)/10;
1291 tmp2 = (MAX_INTENSITY + (int) borderPtr->bgColorPtr->blue)/2;
1292 lightColor.blue = (tmp1 > tmp2) ? tmp1 : tmp2;
H A DtkCanvPs.c573 double red, green, blue;
614 tmp = colorPtr->blue;
615 blue = ((double) (tmp >> 8))/255.0;
617 red, green, blue);
571 double red, green, blue; local
H A DtkImgGIF.c472 cmap[CM_BLUE][transparent] = colorPtr->blue >> 8;
H A DtkImgPhoto.c106 pixel blueValues[256]; /* Ditto for blue intensity */
112 * red, 1 for green, 2 for blue. */
782 *pixelPtr++ = color.blue >> 8;
1616 /* #red, #green, #blue */
2590 * Direct/True Color: allocate shades of red, green, blue
2605 colors[i].blue = CFRAC(i, nBlue - 1);
2609 colors[i].blue = CGFRAC(i, nBlue - 1, igam);
2633 colors[i].blue = CFRAC(b, nBlue - 1);
2637 colors[i].blue = CGFRAC(b, nBlue - 1, igam);
2654 colors[i].red = colors[i].green = colors[i].blue
[all...]
H A DtkCmds.c1152 colorPtr->blue);
/ast/src/cmd/ksh93/tests/
H A Denum.sh30 enum Color_t=(red green blue orange yellow)
H A Darith.sh599 enum color_t=(red green blue yellow)
600 color_t shirt pants=blue
601 (( pants == blue )) || err_exit 'pants should be blue'
H A Dcubetype.sh38 colors=([wall]=blue [floor]=red)
126 [[ $c == $'(\n\ttypeset -l -E x=8\n\ttypeset -l -E y=5\n\tcomvar=(\n\t\ttop=8\n\t\tbottom=9\n\t)\n\ttypeset -S -l -i count=1\n\ttypeset -a items=(\n\t\tfoo\n\t\tbar\n\t)\n\ttypeset -A colors=(\n\t\t[floor]=red\n\t\t[wall]=blue\n\t)\n\tname=cube1\n\ttypeset -L 6 status=INIT\n\ttypeset -l -E z=1\n)' ]] || err_exit '$c not correct'
/ast/src/lib/libtk/unix/
H A DtkUnixCursor.c196 fg.red = fg.green = fg.blue = 0;
197 bg.red = bg.green = bg.blue = 65535;
206 bg.red = bg.green = bg.blue = 0;
/ast/src/cmd/html/
H A Dmm2bb.sh996 then beg="$beg\\1{\\blue{"
998 else beg="$beg[size=$size_big][color=blue]"
1198 then putop "\\blue{$fg}"
1199 else putop "[color=blue]$fg[/color]"
1220 then putop "\\blue{Figure $figure: $*}"
1221 else putop "[color=blue]Figure $figure: $*[/color]"
1370 then pm="\\blue{${pm}}"
1371 else pm="[color=blue]${pm}[/color]"
H A Dmm2twiki.sh907 ?*) beg="$beg[size=$size_big][color=blue]"
1087 then putop "[color=blue]$fg[/color]"
1103 .FG) putop "[color=blue]Figure $figure: $*[/color]"
1226 ?*) pm="[color=blue]${pm}[/color]"

Completed in 76 milliseconds