Searched refs:rgb (Results 1 - 4 of 4) sorted by relevance

/ast/src/lib/libtk/library/
H A Dpalette.tcl43 set bg [winfo rgb . $new(background)]
44 set fg [winfo rgb . $new(foreground)]
136 set defaultcolor [winfo rgb . [lindex $value 3]]
138 set defaultcolor [winfo rgb . $defaultcolor]
140 set chosencolor [winfo rgb . [lindex $value 4]]
167 set l [winfo rgb . $color]
H A Dclrpick.tcl157 set rgb [winfo rgb . $data(selection)]
159 set data(red,intensity) [expr [lindex $rgb 0]/0x100]
160 set data(green,intensity) [expr [lindex $rgb 1]/0x100]
161 set data(blue,intensity) [expr [lindex $rgb 2]/0x100]
195 if [catch {winfo rgb . $data(-initialcolor)} err] {
620 if [catch {set color [winfo rgb . $text]} ] {
/ast/src/lib/libtk/library/demos/
H A Dtcolor17 # editing. Must be "rgb", "cmy", or "hsb".
51 -value rgb -underline 0 -command {changeColorSpace rgb}
79 # Create the listbox that holds all of the color names in rgb.txt,
80 # if an rgb.txt file can be found.
84 foreach i {/usr/local/lib/X11/rgb.txt /usr/lib/X11/rgb.txt
85 /X11/R5/lib/X11/rgb.txt /X11/R4/lib/rgb/rgb
[all...]
/ast/src/lib/libtk/generic/
H A DtkImgGIF.c352 unsigned char rgb[3];
355 if (! ReadOK(fd, rgb, sizeof(rgb)))
358 buffer[CM_RED][i] = rgb[0] ;
359 buffer[CM_GREEN][i] = rgb[1] ;
360 buffer[CM_BLUE][i] = rgb[2] ;
349 unsigned char rgb[3]; local

Completed in 13 milliseconds