/dports/x11-wm/fvwm2/fvwm-2.6.9/libs/ |
H A D | ColorUtils.c | 271 XColor *colorp; in GetShadow() local 277 colorp->pixel = PictureGetNextColor(colorp->pixel, 1); in GetShadow() 279 return colorp->pixel; in GetShadow() 290 XColor *colorp; in GetHilite() local 296 colorp->pixel = PictureGetNextColor(colorp->pixel, -1); in GetHilite() 298 return colorp->pixel; in GetHilite() 345 XColor *colorp; in GetForeShadow() local 351 colorp->pixel = PictureGetNextColor(colorp->pixel, 1); in GetForeShadow() 353 return colorp->pixel; in GetForeShadow() 379 XColor *colorp; in GetTintedPixel() local [all …]
|
/dports/x11-wm/fvwm3/fvwm3-1.0.4/libs/ |
H A D | ColorUtils.c | 271 XColor *colorp; in GetShadow() local 277 colorp->pixel = PictureGetNextColor(colorp->pixel, 1); in GetShadow() 279 return colorp->pixel; in GetShadow() 290 XColor *colorp; in GetHilite() local 296 colorp->pixel = PictureGetNextColor(colorp->pixel, -1); in GetHilite() 298 return colorp->pixel; in GetHilite() 345 XColor *colorp; in GetForeShadow() local 351 colorp->pixel = PictureGetNextColor(colorp->pixel, 1); in GetForeShadow() 353 return colorp->pixel; in GetForeShadow() 379 XColor *colorp; in GetTintedPixel() local [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/telemetry/telemetry/internal/image_processing/ |
H A D | image_util_numpy_impl.py | 147 colorp = color + tolerance 151 w = np.where(((b >= colorm[0]) & (b <= colorp[0]) & 152 (g >= colorm[1]) & (g <= colorp[1]) & 153 (r >= colorm[2]) & (r <= colorp[2]))) 188 colorp = np.array(color) + tolerance 189 in_range = ((filtered[:, 0] < colorm[0]) | (filtered[:, 0] > colorp[0]) | 190 (filtered[:, 1] < colorm[1]) | (filtered[:, 1] > colorp[1]) | 191 (filtered[:, 2] < colorm[2]) | (filtered[:, 2] > colorp[2]))
|
/dports/emulators/tilem/tilem-2.0/gui/ |
H A D | config.c | 183 GdkColor *colorp; in tilem_config_get() local 237 colorp = va_arg(ap, GdkColor *); in tilem_config_get() 239 if (p == NULL || !gdk_color_parse(p, colorp)) { in tilem_config_get() 241 gdk_color_parse(defvalue, colorp); in tilem_config_get() 244 colorp->red = 0; in tilem_config_get() 245 colorp->green = 0; in tilem_config_get() 246 colorp->blue = 0; in tilem_config_get()
|
/dports/devel/libruin/libruin-0.2.0/src/handlers/ |
H A D | focus.c | 56 SCM colorp = scm_from_locale_string ("color"); variable 59 SCM color = ruin_scm_api_css_get_style (target, colorp); 67 ruin_scm_api_css_set_style_x (target, colorp, color);
|
/dports/graphics/p5-Imager/Imager-1.012/ICO/ |
H A D | msicon.c | 1207 ico_color_t *colorp; in write_palette() local 1223 colorp = image->palette; in write_palette() 1225 *outp++ = colorp->b; in write_palette() 1226 *outp++ = colorp->g; in write_palette() 1227 *outp++ = colorp->r; in write_palette() 1229 ++colorp; in write_palette() 1305 *writep++ = colorp->b; in write_32_bit() 1306 *writep++ = colorp->g; in write_32_bit() 1307 *writep++ = colorp->r; in write_32_bit() 1308 *writep++ = colorp->a; in write_32_bit() [all …]
|
/dports/net/c3270/suite3270-4.0/Common/ |
H A D | model.c | 60 char *colorp = "9"; in canonical_model_x() local 72 (colorp = strchr("89", res[3])) == NULL || in canonical_model_x() 83 *is_color = (*colorp == '9'); in canonical_model_x() 85 return xs_buffer("327%c-%c%s", *colorp, *digitp, extended? "-E": ""); in canonical_model_x()
|
/dports/x11/x3270/suite3270-4.0/Common/ |
H A D | model.c | 60 char *colorp = "9"; in canonical_model_x() local 72 (colorp = strchr("89", res[3])) == NULL || in canonical_model_x() 83 *is_color = (*colorp == '9'); in canonical_model_x() 85 return xs_buffer("327%c-%c%s", *colorp, *digitp, extended? "-E": ""); in canonical_model_x()
|
/dports/x11-themes/sawfish-themes/sawfish-themes-0.13/Empire/ |
H A D | theme.jl | 202 (if (colorp Empire:active-decor-color) 205 (if (colorp (nth 3 gtkrc-background)) 210 (if (colorp Empire:active-bgrd-color) 213 (if (colorp (nth 3 gtkrc-background)) 218 (if (colorp Empire:inactive-decor-color) 221 (if (colorp (nth 3 gtkrc-background)) 226 (if (colorp Empire:inactive-bgrd-color) 229 (if (colorp (nth 3 gtkrc-background)) 243 (if (colorp (nth 3 gtkrc-background)) 246 (if (colorp Empire:active-decor-color) [all …]
|
/dports/misc/deco/deco39/ |
H A D | scr.c | 159 static char *colorbuf, *colorp; variable 899 register char *p = colorp; in makecolor() 903 while (*colorp++); in makecolor() 907 strcpy (colorp, "\33[1m"); in makecolor() 908 while (*colorp++); in makecolor() 910 strcpy (colorp, "\33[0m"); in makecolor() 911 while (*colorp++); in makecolor() 915 while (*colorp++); in makecolor() 917 while (*colorp++); in makecolor() 971 if (colorp) in VSetPalette() [all …]
|
/dports/sysutils/most/most-5.1.0/src/ |
H A D | line.c | 131 int most_parse_color_escape (unsigned char **begp, unsigned char *end, int *colorp) in most_parse_color_escape() argument 144 if (colorp != NULL) *colorp = -1; in most_parse_color_escape() 177 if (colorp != NULL) in most_parse_color_escape() 183 *colorp = xx; in most_parse_color_escape()
|
H A D | line.h | 30 extern int most_parse_color_escape (unsigned char **begp, unsigned char *end, int *colorp);
|
/dports/news/tin/tin-2.4.5/src/ |
H A D | init.c | 571 int *colorp; member 609 *(our_colors[n].colorp) = DFT_INIT; in preinit_colors() 620 if (*(our_colors[n].colorp) == DFT_INIT in postinit_colors() 621 || *(our_colors[n].colorp) >= last_color) { in postinit_colors() 624 *(our_colors[n].colorp) = default_fcol; in postinit_colors() 628 *(our_colors[n].colorp) = default_bcol; in postinit_colors() 632 *(our_colors[n].colorp) = our_colors[n].color_dft; in postinit_colors() 636 TRACE(("postinit_colors [%d] = %d", n, *(our_colors[n].colorp))); in postinit_colors()
|
/dports/chinese/tin/tin-2.4.5/src/ |
H A D | init.c | 571 int *colorp; member 609 *(our_colors[n].colorp) = DFT_INIT; in preinit_colors() 620 if (*(our_colors[n].colorp) == DFT_INIT in postinit_colors() 621 || *(our_colors[n].colorp) >= last_color) { in postinit_colors() 624 *(our_colors[n].colorp) = default_fcol; in postinit_colors() 628 *(our_colors[n].colorp) = default_bcol; in postinit_colors() 632 *(our_colors[n].colorp) = our_colors[n].color_dft; in postinit_colors() 636 TRACE(("postinit_colors [%d] = %d", n, *(our_colors[n].colorp))); in postinit_colors()
|
/dports/games/cgoban/cgoban-1.9.14/wmslib/src/but/ |
H A D | but.h | 132 bool colorp; /* TRUE if color, FALSE if b/w. */ member 214 if (env->colorp) \ 222 if (env->colorp) \ 230 if (env->colorp) \ 238 if (env->colorp) \ 350 #define butEnv_isColor(env) ((env)->colorp)
|
/dports/graphics/netpbm/netpbm-10.91.01/lib/ |
H A D | libpamcolor.c | 399 pixel colorp; in pnm_colorname() local 403 PPM_ASSIGN(colorp, color[0], color[0], color[0]); in pnm_colorname() 405 PPM_ASSIGN(colorp, in pnm_colorname() 410 colorname = ppm_colorname(&colorp, pamP->maxval, hexok); in pnm_colorname()
|
/dports/x11/xlockmore/xlockmore-5.67/modes/ |
H A D | bouboule.c | 239 int colorp; /* Pointer to color of the starfield */ member 607 sp->colorp = NRAND(MI_NPIXELS(mi)); in init_bouboule() 610 sp->color = MI_PIXEL(mi, sp->colorp); in init_bouboule() 876 if (++sp->colorp >= MI_NPIXELS(mi)) in draw_bouboule() 877 sp->colorp = 0; in draw_bouboule() 878 sp->color = MI_PIXEL(mi, sp->colorp); in draw_bouboule()
|
/dports/x11/xscreensaver/xscreensaver-5.44/hacks/ |
H A D | bouboule.c | 227 int colorp; /* Pointer to color of the starfield */ member 515 sp->colorp = NRAND(MI_NPIXELS(mi)); in init_bouboule() 518 sp->color = MI_PIXEL(mi, sp->colorp); in init_bouboule() 799 if (++sp->colorp >= MI_NPIXELS(mi)) in draw_bouboule() 800 sp->colorp = 0; in draw_bouboule() 801 sp->color = MI_PIXEL(mi, sp->colorp); in draw_bouboule()
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/meshlabplugins/filter_color_projection/ |
H A D | floatbuffer.h | 36 class colorp
|
/dports/x11/xfce4-screensaver/xfce4-screensaver-4.16.0/src/ |
H A D | xfce-bg.c | 196 GdkRGBA *colorp) { in color_from_rgba_array() argument 200 gdk_rgba_parse (colorp, "#152233"); in color_from_rgba_array() 213 colorp->red = r; in color_from_rgba_array() 214 colorp->green = g; in color_from_rgba_array() 215 colorp->blue = b; in color_from_rgba_array() 216 colorp->alpha = a; in color_from_rgba_array() 225 gdk_rgba_parse (colorp, "#152233"); in color_from_color_array() 238 colorp->red = (gdouble) rc / 65535; in color_from_color_array() 239 colorp->green = (gdouble) gc / 65535; in color_from_color_array() 240 colorp->blue = (gdouble) bc / 65535; in color_from_color_array() [all …]
|
/dports/games/tads/tads-3.0.8/tads2/ |
H A D | osgen3.c | 2323 for ( ; len != 0 ; --len, ++txtp, ++colorp) in osgen_gridwin_clear_ptr() 2329 colorp->fg = OSGEN_COLOR_TEXT; in osgen_gridwin_clear_ptr() 2330 colorp->bg = OSGEN_COLOR_TRANSPARENT; in osgen_gridwin_clear_ptr() 2426 osgen_charcolor_t *colorp; in osgen_scrdisp_grid() local 2442 colorp = win->grid_color + ofs; in osgen_scrdisp_grid() 2445 fg = colorp->fg; in osgen_scrdisp_grid() 2446 bg = colorp->bg; in osgen_scrdisp_grid() 2464 || colorp->fg != fg || colorp->bg != bg) in osgen_scrdisp_grid() 2477 if (colorp->fg != fg || colorp->bg != bg) in osgen_scrdisp_grid() 2480 fg = colorp->fg; in osgen_scrdisp_grid() [all …]
|
/dports/net/wireshark-lite/wireshark-3.6.1/epan/ |
H A D | prefs.c | 212 color_t *colorp; member 1794 preference->varp.colorp = color; in prefs_register_color_preference() 1821 if ((pref->varp.colorp->red != value.red) || in prefs_set_color_value() 1822 (pref->varp.colorp->green != value.green) || in prefs_set_color_value() 1823 (pref->varp.colorp->blue != value.blue)) { in prefs_set_color_value() 1825 *pref->varp.colorp = value; in prefs_set_color_value() 1846 return pref->varp.colorp; in prefs_get_color_value() 2052 pref->stashed_val.color = *pref->varp.colorp; in pref_stash() 2192 *pref->varp.colorp = pref->stashed_val.color; in pref_unstash() 4285 *pref->varp.colorp = pref->default_val.color; in reset_pref() [all …]
|
/dports/net/wireshark/wireshark-3.6.1/epan/ |
H A D | prefs.c | 212 color_t *colorp; member 1794 preference->varp.colorp = color; in prefs_register_color_preference() 1821 if ((pref->varp.colorp->red != value.red) || in prefs_set_color_value() 1822 (pref->varp.colorp->green != value.green) || in prefs_set_color_value() 1823 (pref->varp.colorp->blue != value.blue)) { in prefs_set_color_value() 1825 *pref->varp.colorp = value; in prefs_set_color_value() 1846 return pref->varp.colorp; in prefs_get_color_value() 2052 pref->stashed_val.color = *pref->varp.colorp; in pref_stash() 2192 *pref->varp.colorp = pref->stashed_val.color; in pref_unstash() 4285 *pref->varp.colorp = pref->default_val.color; in reset_pref() [all …]
|
/dports/net/tshark-lite/wireshark-3.6.1/epan/ |
H A D | prefs.c | 212 color_t *colorp; member 1794 preference->varp.colorp = color; in prefs_register_color_preference() 1821 if ((pref->varp.colorp->red != value.red) || in prefs_set_color_value() 1822 (pref->varp.colorp->green != value.green) || in prefs_set_color_value() 1823 (pref->varp.colorp->blue != value.blue)) { in prefs_set_color_value() 1825 *pref->varp.colorp = value; in prefs_set_color_value() 1846 return pref->varp.colorp; in prefs_get_color_value() 2052 pref->stashed_val.color = *pref->varp.colorp; in pref_stash() 2192 *pref->varp.colorp = pref->stashed_val.color; in pref_unstash() 4285 *pref->varp.colorp = pref->default_val.color; in reset_pref() [all …]
|
/dports/net/tshark/wireshark-3.6.1/epan/ |
H A D | prefs.c | 212 color_t *colorp; member 1794 preference->varp.colorp = color; in prefs_register_color_preference() 1821 if ((pref->varp.colorp->red != value.red) || in prefs_set_color_value() 1822 (pref->varp.colorp->green != value.green) || in prefs_set_color_value() 1823 (pref->varp.colorp->blue != value.blue)) { in prefs_set_color_value() 1825 *pref->varp.colorp = value; in prefs_set_color_value() 1846 return pref->varp.colorp; in prefs_get_color_value() 2052 pref->stashed_val.color = *pref->varp.colorp; in pref_stash() 2192 *pref->varp.colorp = pref->stashed_val.color; in pref_unstash() 4285 *pref->varp.colorp = pref->default_val.color; in reset_pref() [all …]
|