/dports/deskutils/py-khal/khal-0.10.4/khal/ |
H A D | terminal.py | 70 if colorstring: 72 if colorstring in COLORS: 77 if COLORS[colorstring].light: 85 if COLORS[colorstring].light: 89 elif colorstring.isdigit(): 92 color += '38;5;' + colorstring 94 color += '48;5;' + colorstring 97 if len(colorstring) == 4: 104 r = int(colorstring[1:3], 16) 105 g = int(colorstring[3:5], 16) [all …]
|
/dports/games/xnethack/xNetHack-xnh6.1/outdated/sys/wince/ |
H A D | mhcolor.c | 42 const char *colorstring; member 85 char *colorstring; member 189 if (colorstring == NULL) in mswin_color_from_string() 191 if (*colorstring == '#') { in mswin_color_from_string() 192 if (strlen(++colorstring) != 6) in mswin_color_from_string() 215 while (*ctv_ptr->colorstring in mswin_color_from_string() 216 && _stricmp(ctv_ptr->colorstring, colorstring)) in mswin_color_from_string() 218 if (*ctv_ptr->colorstring) { in mswin_color_from_string() 221 while (*ctbv_ptr->colorstring in mswin_color_from_string() 222 && _stricmp(ctbv_ptr->colorstring, colorstring)) in mswin_color_from_string() [all …]
|
/dports/cad/ngspice_rework/ngspice-35/src/frontend/wdisp/ |
H A D | wincolor.c | 26 char buf[BSIZE_SP], colorstring[BSIZE_SP]; in wincolor_init_hash() local 38 if (!cp_getvar(buf, CP_STRING, colorstring, sizeof(colorstring))) in wincolor_init_hash() 39 (void) strcpy(colorstring, stdcolornames[i]); in wincolor_init_hash() 104 char buf[BSIZE_SP], colorstring[BSIZE_SP]; in wincolor_init() local 115 if (!cp_getvar(buf, CP_STRING, colorstring, sizeof(colorstring))) { in wincolor_init() 135 (void)strcpy(colorstring, "black"); in wincolor_init() 139 else if (ciprefix("rgb", colorstring)){ in wincolor_init() 161 char buf[BSIZE_SP], colorstring[BSIZE_SP]; in wincolor_redo() local 170 if (!cp_getvar(buf, CP_STRING, colorstring, sizeof(colorstring))) { in wincolor_redo() 190 (void)strcpy(colorstring, "black"); in wincolor_redo() [all …]
|
/dports/games/nethack36-nox11/NetHack-NetHack-3.6.6_Released/sys/wince/ |
H A D | mhcolor.c | 42 const char *colorstring; member 85 char *colorstring; member 189 if (colorstring == NULL) in mswin_color_from_string() 191 if (*colorstring == '#') { in mswin_color_from_string() 192 if (strlen(++colorstring) != 6) in mswin_color_from_string() 215 while (*ctv_ptr->colorstring in mswin_color_from_string() 216 && _stricmp(ctv_ptr->colorstring, colorstring)) in mswin_color_from_string() 218 if (*ctv_ptr->colorstring) { in mswin_color_from_string() 221 while (*ctbv_ptr->colorstring in mswin_color_from_string() 222 && _stricmp(ctbv_ptr->colorstring, colorstring)) in mswin_color_from_string() [all …]
|
/dports/games/nethack36/NetHack-NetHack-3.6.6_Released/sys/wince/ |
H A D | mhcolor.c | 42 const char *colorstring; member 85 char *colorstring; member 189 if (colorstring == NULL) in mswin_color_from_string() 191 if (*colorstring == '#') { in mswin_color_from_string() 192 if (strlen(++colorstring) != 6) in mswin_color_from_string() 215 while (*ctv_ptr->colorstring in mswin_color_from_string() 216 && _stricmp(ctv_ptr->colorstring, colorstring)) in mswin_color_from_string() 218 if (*ctv_ptr->colorstring) { in mswin_color_from_string() 221 while (*ctbv_ptr->colorstring in mswin_color_from_string() 222 && _stricmp(ctbv_ptr->colorstring, colorstring)) in mswin_color_from_string() [all …]
|
/dports/games/nethack34-nox11/nethack-3.4.3/sys/wince/ |
H A D | mhcolor.c | 42 const char *colorstring; member 86 char *colorstring; member 184 if (colorstring == NULL) return; in mswin_color_from_string() 185 if (*colorstring == '#') { in mswin_color_from_string() 186 if (strlen(++colorstring) != 6) return; in mswin_color_from_string() 188 red_value = index(hexadecimals, tolower(*colorstring++)) - hexadecimals; in mswin_color_from_string() 190 red_value += index(hexadecimals, tolower(*colorstring++)) - hexadecimals; in mswin_color_from_string() 202 while (*ctv_ptr->colorstring && _stricmp(ctv_ptr->colorstring, colorstring)) in mswin_color_from_string() 204 if (*ctv_ptr->colorstring) { in mswin_color_from_string() 207 while (*ctbv_ptr->colorstring && _stricmp(ctbv_ptr->colorstring, colorstring)) in mswin_color_from_string() [all …]
|
/dports/games/nethack34/nethack-3.4.3/sys/wince/ |
H A D | mhcolor.c | 42 const char *colorstring; member 86 char *colorstring; member 184 if (colorstring == NULL) return; in mswin_color_from_string() 185 if (*colorstring == '#') { in mswin_color_from_string() 186 if (strlen(++colorstring) != 6) return; in mswin_color_from_string() 188 red_value = index(hexadecimals, tolower(*colorstring++)) - hexadecimals; in mswin_color_from_string() 190 red_value += index(hexadecimals, tolower(*colorstring++)) - hexadecimals; in mswin_color_from_string() 202 while (*ctv_ptr->colorstring && _stricmp(ctv_ptr->colorstring, colorstring)) in mswin_color_from_string() 204 if (*ctv_ptr->colorstring) { in mswin_color_from_string() 207 while (*ctbv_ptr->colorstring && _stricmp(ctbv_ptr->colorstring, colorstring)) in mswin_color_from_string() [all …]
|
/dports/games/vultures-eye/vulture-2.3.67/nethack/sys/wince/ |
H A D | mhcolor.c | 42 const char *colorstring; member 86 char *colorstring; member 184 if (colorstring == NULL) return; in mswin_color_from_string() 185 if (*colorstring == '#') { in mswin_color_from_string() 186 if (strlen(++colorstring) != 6) return; in mswin_color_from_string() 188 red_value = index(hexadecimals, tolower(*colorstring++)) - hexadecimals; in mswin_color_from_string() 190 red_value += index(hexadecimals, tolower(*colorstring++)) - hexadecimals; in mswin_color_from_string() 202 while (*ctv_ptr->colorstring && _stricmp(ctv_ptr->colorstring, colorstring)) in mswin_color_from_string() 204 if (*ctv_ptr->colorstring) { in mswin_color_from_string() 207 while (*ctbv_ptr->colorstring && _stricmp(ctbv_ptr->colorstring, colorstring)) in mswin_color_from_string() [all …]
|
/dports/games/vultures-eye/vulture-2.3.67/slashem/sys/wince/ |
H A D | mhcolor.c | 42 const char *colorstring; member 86 char *colorstring; member 184 if (colorstring == NULL) return; in mswin_color_from_string() 185 if (*colorstring == '#') { in mswin_color_from_string() 186 if (strlen(++colorstring) != 6) return; in mswin_color_from_string() 188 red_value = index(hexadecimals, tolower(*colorstring++)) - hexadecimals; in mswin_color_from_string() 190 red_value += index(hexadecimals, tolower(*colorstring++)) - hexadecimals; in mswin_color_from_string() 202 while (*ctv_ptr->colorstring && _stricmp(ctv_ptr->colorstring, colorstring)) in mswin_color_from_string() 204 if (*ctv_ptr->colorstring) { in mswin_color_from_string() 207 while (*ctbv_ptr->colorstring && _stricmp(ctbv_ptr->colorstring, colorstring)) in mswin_color_from_string() [all …]
|
/dports/games/vultures-eye/vulture-2.3.67/unnethack/sys/wince/ |
H A D | mhcolor.c | 42 const char *colorstring; member 86 char *colorstring; member 184 if (colorstring == NULL) return; in mswin_color_from_string() 185 if (*colorstring == '#') { in mswin_color_from_string() 186 if (strlen(++colorstring) != 6) return; in mswin_color_from_string() 188 red_value = index(hexadecimals, tolower(*colorstring++)) - hexadecimals; in mswin_color_from_string() 190 red_value += index(hexadecimals, tolower(*colorstring++)) - hexadecimals; in mswin_color_from_string() 202 while (*ctv_ptr->colorstring && _stricmp(ctv_ptr->colorstring, colorstring)) in mswin_color_from_string() 204 if (*ctv_ptr->colorstring) { in mswin_color_from_string() 207 while (*ctbv_ptr->colorstring && _stricmp(ctbv_ptr->colorstring, colorstring)) in mswin_color_from_string() [all …]
|
/dports/games/unnethack/unnethack-5.1.0-20131208/sys/unsupported/wince/ |
H A D | mhcolor.c | 42 const char *colorstring; member 86 char *colorstring; member 184 if (colorstring == NULL) return; in mswin_color_from_string() 185 if (*colorstring == '#') { in mswin_color_from_string() 186 if (strlen(++colorstring) != 6) return; in mswin_color_from_string() 188 red_value = index(hexadecimals, tolower(*colorstring++)) - hexadecimals; in mswin_color_from_string() 190 red_value += index(hexadecimals, tolower(*colorstring++)) - hexadecimals; in mswin_color_from_string() 202 while (*ctv_ptr->colorstring && _stricmp(ctv_ptr->colorstring, colorstring)) in mswin_color_from_string() 204 if (*ctv_ptr->colorstring) { in mswin_color_from_string() 207 while (*ctbv_ptr->colorstring && _stricmp(ctbv_ptr->colorstring, colorstring)) in mswin_color_from_string() [all …]
|
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/mitchellh/colorstring/ |
H A D | README.md | 1 # colorstring [![Build Status](https://travis-ci.org/mitchellh/colorstring.svg)](https://travis-ci.… 3 colorstring is a [Go](http://www.golang.org) library for outputting colored 8 "hello world" in two colors. The API of colorstring allows for easily disabling 16 $ go get github.com/mitchellh/colorstring 21 For usage and examples see the [Godoc](http://godoc.org/github.com/mitchellh/colorstring). 26 colorstring.Println("[blue]Hello [red]World!")
|
/dports/net/croc/croc-9.5.0/vendor/github.com/mitchellh/colorstring/ |
H A D | README.md | 1 # colorstring [![Build Status](https://travis-ci.org/mitchellh/colorstring.svg)](https://travis-ci.… 3 colorstring is a [Go](http://www.golang.org) library for outputting colored 8 "hello world" in two colors. The API of colorstring allows for easily disabling 16 $ go get github.com/mitchellh/colorstring 21 For usage and examples see the [Godoc](http://godoc.org/github.com/mitchellh/colorstring). 26 colorstring.Println("[blue]Hello [red]World!")
|
/dports/security/go-cve-dictionary/go-cve-dictionary-0.5.5/vendor/github.com/k0kubun/colorstring/ |
H A D | README.md | 1 # colorstring [![Build Status](https://travis-ci.org/mitchellh/colorstring.svg)](https://travis-ci.… 3 colorstring is a [Go](http://www.golang.org) library for outputting colored 8 "hello world" in two colors. The API of colorstring allows for easily disabling 16 $ go get github.com/mitchellh/colorstring 21 For usage and examples see the [Godoc](http://godoc.org/github.com/mitchellh/colorstring). 26 fmt.Println(colorstring.Color("[blue]Hello [red]World!"))
|
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/nomad/vendor/github.com/mitchellh/colorstring/ |
H A D | README.md | 1 # colorstring [![Build Status](https://travis-ci.org/mitchellh/colorstring.svg)](https://travis-ci.… 3 colorstring is a [Go](http://www.golang.org) library for outputting colored 8 "hello world" in two colors. The API of colorstring allows for easily disabling 16 $ go get github.com/mitchellh/colorstring 21 For usage and examples see the [Godoc](http://godoc.org/github.com/mitchellh/colorstring). 26 colorstring.Println("[blue]Hello [red]World!")
|
/dports/sysutils/nomad/nomad-1.1.0/vendor/github.com/mitchellh/colorstring/ |
H A D | README.md | 1 # colorstring [![Build Status](https://travis-ci.org/mitchellh/colorstring.svg)](https://travis-ci.… 3 colorstring is a [Go](http://www.golang.org) library for outputting colored 8 "hello world" in two colors. The API of colorstring allows for easily disabling 16 $ go get github.com/mitchellh/colorstring 21 For usage and examples see the [Godoc](http://godoc.org/github.com/mitchellh/colorstring). 26 colorstring.Println("[blue]Hello [red]World!")
|
/dports/sysutils/terraform-provider-gridscale/terraform-provider-gridscale-1.6.2/vendor/github.com/mitchellh/colorstring/ |
H A D | README.md | 1 # colorstring [![Build Status](https://travis-ci.org/mitchellh/colorstring.svg)](https://travis-ci.… 3 colorstring is a [Go](http://www.golang.org) library for outputting colored 8 "hello world" in two colors. The API of colorstring allows for easily disabling 16 $ go get github.com/mitchellh/colorstring 21 For usage and examples see the [Godoc](http://godoc.org/github.com/mitchellh/colorstring). 26 colorstring.Println("[blue]Hello [red]World!")
|
/dports/sysutils/terraform/terraform-1.0.11/vendor/github.com/mitchellh/colorstring/ |
H A D | README.md | 1 # colorstring [![Build Status](https://travis-ci.org/mitchellh/colorstring.svg)](https://travis-ci.… 3 colorstring is a [Go](http://www.golang.org) library for outputting colored 8 "hello world" in two colors. The API of colorstring allows for easily disabling 16 $ go get github.com/mitchellh/colorstring 21 For usage and examples see the [Godoc](http://godoc.org/github.com/mitchellh/colorstring). 26 colorstring.Println("[blue]Hello [red]World!")
|
/dports/editors/e93/e93/e93lib/modules/ |
H A D | colorme.tcl | 9 set colorstring [getcolors $window] 10 set fg [lindex $colorstring 0] 11 set bg [lindex $colorstring 1] 44 set colorstring [getcolors $window] 45 set fg [lindex $colorstring 0] 46 set bg [lindex $colorstring 1]
|
/dports/cad/ngspice_rework/ngspice-35/src/frontend/ |
H A D | postsc.c | 503 char colorN[30] = "", colorstring[30] = ""; in PS_SelectColor() local 510 if (cp_getvar(colorN, CP_STRING, colorstring, sizeof(colorstring))) { in PS_SelectColor() 511 for (i = 0; colorstring[i]; i++) in PS_SelectColor() 512 if (colorstring[i] == '/' || colorstring[i] == ':') in PS_SelectColor() 513 colorstring[i] = ' '; in PS_SelectColor() 515 sscanf(colorstring, "%s %s %s %s", rgb, &(s_red[2]), &(s_green[2]), &(s_blue[2])); in PS_SelectColor() 523 sprintf(colorstring, "%1.3f %1.3f %1.3f", in PS_SelectColor() 525 strcpy(pscolor, colorstring); in PS_SelectColor() 531 sprintf(colorstring, "%1.3f %1.3f %1.3f", colors[colorid].red/255.0, in PS_SelectColor() 533 strcpy(pscolor, colorstring); in PS_SelectColor()
|
/dports/biology/seqan-apps/seqan-seqan-v2.4.0/util/bin/ |
H A D | profile2pdf.py | 37 def htmlColorToRgb(colorstring): argument 38 colorstring = colorstring.strip() 39 if colorstring[0] == '#': colorstring = colorstring[1:] 40 if len(colorstring) != 6: 41 raise ValueError, "input #%s is not in #RRGGBB format" % colorstring 42 r, g, b = colorstring[:2], colorstring[2:4], colorstring[4:]
|
/dports/sysutils/terraform/terraform-1.0.11/internal/backend/remote/ |
H A D | colorize.go | 28 cliColor *colorstring.Colorize 46 return &Colorize{cliColor: &colorstring.Colorize{ 47 Colors: colorstring.DefaultColors,
|
/dports/graphics/opendx/dx-4.4.4/src/exec/dxmods/ |
H A D | ambientlight.c | 44 char *colorstring; in m_AmbientLight() local 51 if (!DXExtractString(in[0], &colorstring)) { in m_AmbientLight() 55 if (!DXColorNameToRGB(colorstring, &c)) in m_AmbientLight()
|
/dports/deskutils/tasksh/tasksh-1.2.0/src/libshared/src/ |
H A D | Color.cpp | 38 const char *colorstring[] = { variable 446 result += colorstring[(_value & _COLOR_FG)]; in _colorize() 453 result += colorstring[((_value & _COLOR_BG) >> 8)]; in _colorize() 487 result += colorstring[(29 + (_value & _COLOR_FG))]; in _colorize() 493 result += colorstring[((_value & _COLOR_BRIGHT ? 99 : 39) + ((_value & _COLOR_BG) >> 8))]; in _colorize() 555 result += colorstring[(_value & _COLOR_FG)]; in code() 562 result += colorstring[((_value & _COLOR_BG) >> 8)]; in code() 594 result += colorstring[(29 + (_value & _COLOR_FG))]; in code() 600 result += colorstring[((_value & _COLOR_BRIGHT ? 99 : 39) + ((_value & _COLOR_BG) >> 8))]; in code()
|
/dports/deskutils/timewarrior/timewarrior-1.4.3/src/libshared/src/ |
H A D | Color.cpp | 38 const char *colorstring[] = { variable 446 result += colorstring[(_value & _COLOR_FG)]; in _colorize() 453 result += colorstring[((_value & _COLOR_BG) >> 8)]; in _colorize() 487 result += colorstring[(29 + (_value & _COLOR_FG))]; in _colorize() 493 result += colorstring[((_value & _COLOR_BRIGHT ? 99 : 39) + ((_value & _COLOR_BG) >> 8))]; in _colorize() 555 result += colorstring[(_value & _COLOR_FG)]; in code() 562 result += colorstring[((_value & _COLOR_BG) >> 8)]; in code() 594 result += colorstring[(29 + (_value & _COLOR_FG))]; in code() 600 result += colorstring[((_value & _COLOR_BRIGHT ? 99 : 39) + ((_value & _COLOR_BG) >> 8))]; in code()
|