Searched refs:color (Results 1 - 18 of 18) sorted by relevance

/ast/src/cmd/std/
H A Dls-color.sh20 : color ls
H A DMakefile7 :: PROMO.mm README RELEASE ls-color.sh ls-dir.sh
/ast/src/lib/libtk/library/demos/
H A Dclrpick.tcl3 # This demonstration script prompts the user to select a color.
23 button $w.back -text "Set background color ..." \
26 button $w.fore -text "Set foreground color ..." \
35 set color [tk_chooseColor -title "Choose a $name color" -parent $w \
37 if [string compare $color ""] {
38 setColor_helper $w $options $color
43 proc setColor_helper {w options color} {
46 $w config $option $color
50 setColor_helper $child $options $color
[all...]
H A Dfloor.tcl109 # fill - Fill color to use for the floor's background.
234 # fill - Fill color to use for the floor's background.
289 # fill - Fill color to use for the floor's background.
328 # color - Color to use for drawing foreground information.
330 proc fg1 {w color} {
335 $w create text 358 209 -text 101 -fill $color -anchor c -tags {floor1 label}
339 $w create text 323 223 -text {Pub Lift1} -fill $color -anchor c -tags {floor1 label}
343 $w create text 323 188 -text {Priv Lift1} -fill $color -anchor c -tags {floor1 label}
347 $w create text 21.5 363 -text 110 -fill $color -anchor c -tags {floor1 label}
351 $w create text 67 363 -text 109 -fill $color
[all...]
H A Dctext.tcl56 proc mkTextConfig {w x y option value color} {
58 -outline black -fill $color -width 1]
65 set color LightSkyBlue1
66 mkTextConfig $c $x $y -anchor se $color
67 mkTextConfig $c [expr $x+30] [expr $y] -anchor s $color
68 mkTextConfig $c [expr $x+60] [expr $y] -anchor sw $color
69 mkTextConfig $c [expr $x] [expr $y+30] -anchor e $color
70 mkTextConfig $c [expr $x+30] [expr $y+30] -anchor center $color
71 mkTextConfig $c [expr $x+60] [expr $y+30] -anchor w $color
72 mkTextConfig $c [expr $x] [expr $y+60] -anchor ne $color
[all...]
H A Dradio.tcl22 -command "showVars $w.dialog size color"
35 foreach color {Red Green Blue Yellow Orange Purple} {
36 set lower [string tolower $color]
37 radiobutton $w.right.$lower -text $color -variable color \
H A Dtcolor6 # This script implements a simple color editor, where you can
7 # create colors using either the RGB, HSB, or CYM color spaces
8 # and apply the color to existing applications.
19 # red, green, blue - Current color intensities in decimal
21 # color - A string giving the current color value
25 # updating the scales to load a new color,so
32 # automatically whenever the color changes.
33 # name - Name for new color, typed into entry.
39 set color #ffff0000000
[all...]
H A Dtwind.tcl69 $t insert end "can be used to change the background color of the "
70 $t insert end "text widget (\"Default\" restores the color to "
87 foreach color {AntiqueWhite3 Bisque1 Bisque2 Bisque3 Bisque4
91 button $t.color$i -text $color -cursor top_left_arrow -command \
92 "$t configure -bg $color"
93 $t window create end -window $t.color$i -padx 3 -pady 2
H A Ditems.tcl278 proc butPress {w color} {
279 set i [$w create text 25c 18.1c -text "Ouch!!" -fill $color -anchor n]
/ast/src/lib/libtk/library/
H A Dclrpick.tcl4 # standard color selection dialog.
17 # (2): Implement HSV color selection.
22 # Create a color dialog and let the user choose a color. This function
24 # function when a native color selector widget does not exist
40 # This is the actual number of lines that are drawn in each color strip.
46 # BARS_WIDTH is the number of pixels wide the color bar portion of the
56 # selection rectangle at the bottom of the color bar. No restrictions.
121 # IntensityIncr is the difference in color intensity between a colorbar
153 # Set the initial color, specifie
[all...]
H A Dpalette.tcl3 # This file contains procedures that change the color palette used
15 # Changes the default color scheme for a Tk application by setting
17 # color options for existing widgets that have the default value.
20 # The arguments consist of either a single color name, which
21 # will be used as the new background color (all other colors will
38 error "must specify a background color"
64 # normal background. To do this, round each color component
120 # which contains color information. Each element
157 # Given a color name, computes a new color valu
[all...]
/ast/src/lib/libtk/generic/
H A DtkColor.c4 * This file maintains a database of color values for the Tk
6 * map color names to pixel values.
20 * A two-level data structure is used to manage the color database.
21 * The top level consists of one entry for each color name that is
33 * each color that this module has allocated from the X display
41 XColor color; /* Information about this color. */ member in struct:TkColor
45 GC gc; /* Simple gc with this color as foreground
46 * color and all other fields defaulted.
48 Screen *screen; /* Screen where this color i
162 XColor color; local
[all...]
H A DtkCanvText.c69 XColor *color; /* Color for text. */ member in struct:TextItem
97 "black", Tk_Offset(TextItem, color), 0},
242 textPtr->color = NULL;
370 if ((textPtr->color != NULL) && (textPtr->fontPtr != NULL)) {
371 gcValues.foreground = textPtr->color->pixel;
468 if (textPtr->color != NULL) {
469 Tk_FreeColor(textPtr->color);
814 * displays, where both are drawn in the same color.
840 * color.
1519 if (textPtr->color
[all...]
H A DtkImgPhoto.c5 * stored in full color (24 bits per pixel) and displayed using
66 * color to use, and
93 * color table. */
101 * using this color table. */
119 * COLOR_WINDOW: 1 means a full 3-D color cube has been
168 * COLOR_IMAGE: 1 means that the image has different color
547 XColor color;
766 Tcl_AppendResult(interp, "all elements of color list must",
775 listArgv[x], &color)) {
776 Tcl_AppendResult(interp, "can't parse color \"",
544 XColor color; local
[all...]
/ast/src/cmd/ksh93/tests/
H A Dnameref.sh65 nameref color=$1
66 func2 color
71 nameref color=$1
72 set -s -- ${!color[@]}
76 typeset -A color
77 color[apple]=red
78 color[grape]=purple
79 color[banana]=yellow
80 if [[ $(func1 color) != 'apple banana grape' ]]
/ast/src/cmd/html/
H A Dmm2bb.sh821 else beg="$beg[color=red][size=$size_big]"
822 end="[/size][/color]$end"
998 else beg="$beg[size=$size_big][color=blue]"
999 end="[/color][/size]$end"
1199 else putop "[color=blue]$fg[/color]"
1221 else putop "[color=blue]Figure $figure: $*[/color]"
1371 else pm="[color=blue]${pm}[/color]"
[all...]
H A Dmm2twiki.sh907 ?*) beg="$beg[size=$size_big][color=blue]"
908 end="[/color][/size]$end"
1087 then putop "[color=blue]$fg[/color]"
1103 .FG) putop "[color=blue]Figure $figure: $*[/color]"
1226 ?*) pm="[color=blue]${pm}[/color]"
H A Dmm2html.sh1089 color: #FFD87D;
1090 background-color: teal;
1215 color=*|face=*)
1537 color=*|face=*)
2561 print "<BR><H1><FONT color=red>$2</FONT></H1><BR>"
2576 <H1><FONT color=red> $1 </FONT></H1>
2592 print "<BR><H1><FONT color=red>$1</FONT></H1>"
2783 <TD bgcolor=teal><A href='#' onclick='FAQ_mark(\"show\")'><FONT color=\"#FFD87D\">show all answers</FONT></A></TD>
2784 <TD bgcolor=teal><A href='#' onclick='FAQ_mark(\"hide\")'><FONT color=\"#FFD87D\">hide all answers</FONT></A></TD>
3022 <BR><H1><FONT color
[all...]

Completed in 67 milliseconds