Searched refs:green (Results 1 - 15 of 15) sorted by relevance
/ast/src/cmd/ksh93/tests/ |
H A D | enum.sh | 30 enum Color_t=(red green blue orange yellow) 39 x[2]=green 40 [[ ${x[2]} == green ]] || err_exit '${x[2]} should be green' 50 z[green]=xyz 51 [[ ${z[green]} == xyz ]] || err_exit '${z[green]} should be xyz' 54 [[ ${!z[@]} == 'green orange' ]] || err_exit '${!z[@]} == "green orange"' 69 arr[green] [all...] |
H A D | arith.sh | 599 enum color_t=(red green blue yellow) 603 (( shirt != green )) || err_exit 'shirt should not be green'
|
H A D | cubetype.sh | 69 b.colors[wall]=green
|
/ast/src/lib/libtk/library/demos/ |
H A D | tcolor | 19 # red, green, blue - Current color intensities in decimal 37 set green 0 150 global red green blue colorSpace color updating autoUpdate 156 set green [format %.0f [expr [.scale2 get]*65.535]] 161 set green [format %.0f [expr {65535 - [.scale2 get]*65.535}]] 168 set green [lindex $list 1] 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 188 .scale2 set [format %.0f [expr $green/65.53 [all...] |
H A D | items.tcl | 58 set green SeaGreen3 63 set green black 94 24c 4.0c 22.5c 3.25c 21c 4.0c 21.75c 2.5c -fill $green \ 105 $c create rectangle 0.5c 13.5c 4.5c 15.5c -fill $green -tags item 112 $c create oval 10.5c 13.5c 14.5c 15.5c -fill $green -tags item 130 $c create arc 0.5c 17c 7c 20c -fill $green -outline black \
|
H A D | menu.tcl | 115 foreach i {red orange yellow green blue} {
|
/ast/src/lib/libtk/library/ |
H A D | palette.tcl | 169 set green [expr [lindex $l 1]/256] 175 set green [expr ($green*$percent)/100] 176 if {$green > 255} { 177 set green 255 183 format #%02x%02x%02x $red $green $blue
|
H A D | clrpick.tcl | 35 set data(lines,green,start) 0 36 set data(lines,green,last) -1 160 set data(green,intensity) [expr [lindex $rgb 1]/0x100] 307 bind $w <Alt-g> "focus $data(green,entry)" 325 set data(green,intensity) [lindex $color 1] 331 foreach color { red green blue } { 428 $data(green,intensity) \ 430 } elseif { $c == "green" } { 438 $data(green,intensity) \ 485 $data(green,intensit [all...] |
/ast/src/lib/libtk/generic/ |
H A D | tkColor.c | 80 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 294 valueKey.green = colorPtr->green; 312 tkColPtr->color.green = valueKey.green; 366 sprintf(string, "#%04x%04x%04x", colorPtr->red, colorPtr->green, [all...] |
H A D | tk3d.c | 1263 darkColor.green = (60 * (int) borderPtr->bgColorPtr->green)/100; 1281 tmp1 = (14 * (int) borderPtr->bgColorPtr->green)/10; 1285 tmp2 = (MAX_INTENSITY + (int) borderPtr->bgColorPtr->green)/2; 1286 lightColor.green = (tmp1 > tmp2) ? tmp1 : tmp2;
|
H A D | tkCanvPs.c | 573 double red, green, blue; 612 tmp = colorPtr->green; 613 green = ((double) (tmp >> 8))/255.0; 617 red, green, blue); 571 double red, green, blue; local
|
H A D | tkImgGIF.c | 471 cmap[CM_GREEN][transparent] = colorPtr->green >> 8;
|
H A D | tkImgPhoto.c | 105 pixel greenValues[256]; /* Ditto for green intensity */ 112 * red, 1 for green, 2 for blue. */ 781 *pixelPtr++ = color.green >> 8; 1616 /* #red, #green, #blue */ 2590 * Direct/True Color: allocate shades of red, green, blue 2604 colors[i].green = CFRAC(i, nGreen - 1); 2608 colors[i].green = CGFRAC(i, nGreen - 1, igam); 2632 colors[i].green = CFRAC(g, nGreen - 1); 2636 colors[i].green = CGFRAC(g, nGreen - 1, igam); 2654 colors[i].red = colors[i].green [all...] |
H A D | tkCmds.c | 1151 sprintf(interp->result, "%d %d %d", colorPtr->red, colorPtr->green,
|
/ast/src/lib/libtk/unix/ |
H A D | tkUnixCursor.c | 196 fg.red = fg.green = fg.blue = 0; 197 bg.red = bg.green = bg.blue = 65535; 206 bg.red = bg.green = bg.blue = 0;
|
Completed in 2028 milliseconds