Home
last modified time | relevance | path

Searched refs:all_colors (Results 1 – 25 of 82) sorted by relevance

1234

/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dcolor.h13 #define all_colors get_all_colors() macro
15 #define c_black all_colors.get(def_c_black)
16 #define c_white all_colors.get(def_c_white)
19 #define c_red all_colors.get(def_c_red)
20 #define c_green all_colors.get(def_c_green)
21 #define c_blue all_colors.get(def_c_blue)
22 #define c_cyan all_colors.get(def_c_cyan)
29 #define c_pink all_colors.get(def_c_pink)
36 #define h_red all_colors.get(def_h_red)
38 #define h_blue all_colors.get(def_h_blue)
[all …]
H A Dcolor.cpp477 all_colors.load_default(); in init_colors()
478 all_colors.load_custom(); in init_colors()
494 const nc_color color = all_colors.get_invert( c ); in invert_color()
500 const nc_color color = all_colors.get_highlight( c, HL_BLUE ); in hilite()
506 const nc_color color = all_colors.get_highlight( c, HL_RED ); in red_background()
512 const nc_color color = all_colors.get_highlight( c, HL_WHITE ); in white_background()
518 const nc_color color = all_colors.get_highlight( c, HL_GREEN ); in green_background()
524 const nc_color color = all_colors.get_highlight( c, HL_YELLOW ); in yellow_background()
536 const nc_color color = all_colors.get_highlight( c, HL_CYAN ); in cyan_background()
588 std::string sColor = all_colors.get_name( color ); in string_from_color()
[all …]
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dcolor.h13 #define all_colors get_all_colors() macro
15 #define c_black all_colors.get(def_c_black)
16 #define c_white all_colors.get(def_c_white)
19 #define c_red all_colors.get(def_c_red)
20 #define c_green all_colors.get(def_c_green)
21 #define c_blue all_colors.get(def_c_blue)
22 #define c_cyan all_colors.get(def_c_cyan)
29 #define c_pink all_colors.get(def_c_pink)
36 #define h_red all_colors.get(def_h_red)
38 #define h_blue all_colors.get(def_h_blue)
[all …]
H A Dcolor.cpp477 all_colors.load_default(); in init_colors()
478 all_colors.load_custom(); in init_colors()
494 const nc_color color = all_colors.get_invert( c ); in invert_color()
500 const nc_color color = all_colors.get_highlight( c, HL_BLUE ); in hilite()
506 const nc_color color = all_colors.get_highlight( c, HL_RED ); in red_background()
512 const nc_color color = all_colors.get_highlight( c, HL_WHITE ); in white_background()
518 const nc_color color = all_colors.get_highlight( c, HL_GREEN ); in green_background()
524 const nc_color color = all_colors.get_highlight( c, HL_YELLOW ); in yellow_background()
536 const nc_color color = all_colors.get_highlight( c, HL_CYAN ); in cyan_background()
588 std::string sColor = all_colors.get_name( color ); in string_from_color()
[all …]
/dports/x11/mlterm/mlterm-3.9.1/contrib/scrollbar/extra/
H A Dexsb_common.h14 XColor *all_colors; in get_closest_xcolor_pseudo() local
22 all_colors = malloc(ncells * sizeof(XColor)); in get_closest_xcolor_pseudo()
26 all_colors[i].pixel = i; in get_closest_xcolor_pseudo()
28 XQueryColors(display, cmap, all_colors, ncells); in get_closest_xcolor_pseudo()
32 diff_r = (color->red - all_colors[i].red) >> 8; in get_closest_xcolor_pseudo()
33 diff_g = (color->green - all_colors[i].green) >> 8; in get_closest_xcolor_pseudo()
34 diff_b = (color->blue - all_colors[i].blue) >> 8; in get_closest_xcolor_pseudo()
45 closest_color->red = all_colors[closest_index].red; in get_closest_xcolor_pseudo()
46 closest_color->green = all_colors[closest_index].green; in get_closest_xcolor_pseudo()
47 closest_color->blue = all_colors[closest_index].blue; in get_closest_xcolor_pseudo()
[all …]
/dports/x11/mlterm/mlterm-3.9.1/uitoolkit/xlib/
H A Dui_color.c26 XColor *all_colors; /* colors exist in the shared color map */ in alloc_closest_xcolor_pseudo() local
41 if ((all_colors = malloc(ncells * sizeof(XColor))) == NULL) { in alloc_closest_xcolor_pseudo()
51 all_colors[i].pixel = i; in alloc_closest_xcolor_pseudo()
53 XQueryColors(disp->display, disp->colormap, all_colors, ncells); in alloc_closest_xcolor_pseudo()
61 diff_r = red - (all_colors[i].red >> 8); in alloc_closest_xcolor_pseudo()
62 diff_g = green - (all_colors[i].green >> 8); in alloc_closest_xcolor_pseudo()
63 diff_b = blue - (all_colors[i].blue >> 8); in alloc_closest_xcolor_pseudo()
83 closest_color.red = all_colors[closest_index].red; in alloc_closest_xcolor_pseudo()
84 closest_color.green = all_colors[closest_index].green; in alloc_closest_xcolor_pseudo()
85 closest_color.blue = all_colors[closest_index].blue; in alloc_closest_xcolor_pseudo()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/python/Click/examples/colors/
H A Dcolors.py4 all_colors = 'black', 'red', 'green', 'yellow', 'blue', 'magenta', \ variable
18 for color in all_colors:
20 for color in all_colors:
23 for color in all_colors:
/dports/devel/py-click/click-8.0.3/examples/colors/
H A Dcolors.py4 all_colors = ( variable
31 for color in all_colors:
33 for color in all_colors:
35 for color in all_colors:
/dports/devel/py-click6/click-6.7/examples/colors/
H A Dcolors.py4 all_colors = 'black', 'red', 'green', 'yellow', 'blue', 'magenta', \ variable
16 for color in all_colors:
18 for color in all_colors:
21 for color in all_colors:
/dports/x11/xscreensaver/xscreensaver-5.44/utils/
H A Dalpha.c120 XColor *all_colors = (XColor *) calloc (total_colors, sizeof (XColor)); in initialize_transparency_colormap() local
124 permute_colors (colors, all_colors, nplanes, plane_masks, additive_p); in initialize_transparency_colormap()
127 all_colors [total_colors - 1].pixel = in initialize_transparency_colormap()
129 XQueryColor (dpy, cmap, &all_colors [total_colors - 1]); in initialize_transparency_colormap()
130 all_colors [total_colors - 1].pixel = base_pixel; in initialize_transparency_colormap()
133 all_colors[i].flags = DoRed|DoGreen|DoBlue; in initialize_transparency_colormap()
134 XStoreColors (dpy, cmap, all_colors, total_colors); in initialize_transparency_colormap()
135 XFree ((XPointer) all_colors); in initialize_transparency_colormap()
/dports/devel/py-click7/click-7.1.2/examples/colors/
H A Dcolors.py4 all_colors = ( variable
32 for color in all_colors:
34 for color in all_colors:
38 for color in all_colors:
/dports/sysutils/wmcpuload/wmcpuload-1.1.1/libdockapp/
H A Ddockapp.c335 XColor *all_colors; in get_closest_color_pixel() local
353 all_colors[i].pixel = i; in get_closest_color_pixel()
356 all_colors, ncells) ; in get_closest_color_pixel()
360 diff_r = (red - all_colors[i].red) >> 8 ; in get_closest_color_pixel()
361 diff_g = (green - all_colors[i].green) >> 8 ; in get_closest_color_pixel()
362 diff_r = (blue - all_colors[i].blue) >> 8 ; in get_closest_color_pixel()
376 free(all_colors); in get_closest_color_pixel()
380 closest_color.red = all_colors[closest_index].red; in get_closest_color_pixel()
381 closest_color.green = all_colors[closest_index].green; in get_closest_color_pixel()
382 closest_color.blue = all_colors[closest_index].blue; in get_closest_color_pixel()
[all …]
/dports/math/py-or-tools/or-tools-9.2/examples/python/
H A Dbalance_group_sat.py72 all_colors = range(num_colors)
86 for c in all_colors:
131 for c in all_colors:
143 for c in all_colors:
156 sum(color_in_group[(c, g)] for c in all_colors) <= max_color)
H A Dsteel_mill_slab_sat.py301 all_colors = range(num_colors)
316 [o for o in all_orders if colors[o] == c + 1] for c in all_colors
334 model.NewBoolVar('color_%i_in_slab_%i' % (c + 1, s)) for c in all_colors
349 for c in all_colors:
371 for c in all_colors:
489 all_colors = range(num_colors)
541 [o for o in all_orders if colors[o] == c + 1] for c in all_colors
543 for c in all_colors:
/dports/graphics/py-plotly/plotly-4.14.3/plotly/figure_factory/
H A D_ternary_contour.py332 all_colors, argument
369 all_colors = [colors[index]] + all_colors
372 used_colors = [color for color in colors if color in all_colors]
382 return all_contours, all_values, all_areas, all_colors, discrete_cm
445 all_contours, all_values, all_areas, all_colors = _extract_contours(
453 all_contours, all_values, all_areas, all_colors, discrete_cm = _add_outer_contour(
457 all_colors,
494 _col = all_colors[index] if coloring == "lines" else linecolor
503 fillcolor=all_colors[index],
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/testunits/ressources/o3prm/
H A Daggregates.o3prm14 boolean all_colors = and( [ has_red, has_blue, has_green, has_yellow ] );
32 boolean happy dependson all_colors, any_colors, yolo {
37 boolean happy2 dependson all_colors, any_colors, yolo2 {
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/testunits/ressources/o3prmr/aggregates/
H A Daggregates.o3prm14 boolean all_colors = and( [ has_red, has_blue, has_green, has_yellow ] );
33 boolean happy dependson all_colors, any_colors, yolo {
38 boolean happy2 dependson all_colors, any_colors, yolo2 {
/dports/print/py-reportlab/reportlab-3.5.68/demos/colors/
H A Dcolortest.py67 all_colors = list(reportlab.lib.colors.getAllNamedColors().items())
68 all_colors.sort() # alpha order by name
72 for (name, color) in all_colors:
/dports/devel/py-Faker/Faker-0.8.15/faker/providers/color/
H A D__init__.py11 all_colors = OrderedDict(( variable in Provider
161 return self.random_element(self.all_colors.keys())
/dports/devel/py-yaspin/yaspin-2.1.0/examples/
H A Dcolors.py13 def all_colors(): function
59 all_colors()
/dports/math/cgal/CGAL-5.3/include/CGAL/Surface_mesh/IO/
H A D3MF.h65 std::vector<std::vector<CGAL::IO::Color> > all_colors; in read_3MF() local
67 const bool success = CGAL::IO::read_3MF(filename, all_points, all_triangles, all_colors, names); in read_3MF()
84 std::vector<CGAL::IO::Color> colors = all_colors[i]; in read_3MF()
/dports/editors/py-babi/babi-0.0.24/babi/hl/
H A Dsyntax.py137 all_colors = {c for c in (default_fg, default_bg) if c is not None}
142 all_colors.add(rule.style.fg)
144 all_colors.add(rule.style.bg)
147 for color in sorted(all_colors):
/dports/devel/ncurses/ncurses-6.3/test/
H A Dpicsmap.c126 static RGB_DATA *all_colors; variable
642 &all_colors[cp].red, in init_palette()
643 &all_colors[cp].green, in init_palette()
644 &all_colors[cp].blue); in init_palette()
668 all_colors[c].red = ScaledColor(red); in init_palette()
670 all_colors[c].blue = ScaledColor(blue); in init_palette()
686 if (all_colors == 0) { in init_palette()
688 if (all_colors == 0) { in init_palette()
713 if (all_colors != 0) { in map_color()
714 #define Diff2(n,m) ((m) - all_colors[n].m) * ((m) - all_colors[n].m) in map_color()
[all …]
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/wrappers/pyAgrum/testunits/resources/o3prm/
H A Daggregates.o3prm14 boolean all_colors = and( [ has_red, has_blue, has_green, has_yellow ] );
26 boolean happy dependson all_colors, any_colors, yolo {
/dports/math/cgal/CGAL-5.3/include/CGAL/IO/
H A D3MF.h50 ColorRanges& all_colors, in read_3MF() argument
236 all_colors.push_back(colors); in read_3MF()
355 all_colors.push_back(colors); in read_3MF()
419 ColorRanges& all_colors, in read_3MF() argument
427 … PointRange, TriangleRange, ColorRange>(fname, all_points, all_triangles, all_colors, names, in read_3MF()

1234