Home
last modified time | relevance | path

Searched refs:icolors (Results 1 – 19 of 19) sorted by relevance

/dports/graphics/grx/grx249/test/
H A Dcolorops.c25 GrFBoxColors bcolors,ocolors,icolors; in TESTFUNC() local
54 icolors.fbx_intcolor = GrAllocColor(30,30,30); in TESTFUNC()
55 icolors.fbx_bottomcolor = GrAllocColor(0,180,150); in TESTFUNC()
56 icolors.fbx_rightcolor = GrAllocColor(0,180,150); in TESTFUNC()
57 icolors.fbx_leftcolor = GrAllocColor(0,90,60); in TESTFUNC()
58 icolors.fbx_topcolor = GrAllocColor(0,90,60); in TESTFUNC()
72 GrFramedBox(ww/4-1,wh/4-1,ww/4+ww+1,wh/4+wh+1,wdt,&icolors); in TESTFUNC()
87 GrFramedBox(ww/4-1,wh/4-1,ww/4+ww+1,wh/4+wh+1,wdt,&icolors); in TESTFUNC()
99 GrFramedBox(ww/4-1,wh/4-1,ww/4+ww+1,wh/4+wh+1,wdt,&icolors); in TESTFUNC()
111 GrFramedBox(ww/4-1,wh/4-1,ww/4+ww+1,wh/4+wh+1,wdt,&icolors); in TESTFUNC()
H A Dblittest.c101 GrFBoxColors bcolors,ocolors,icolors; in TESTFUNC() local
136 icolors.fbx_intcolor = bg = GrAllocColor(30,30,30); in TESTFUNC()
137 icolors.fbx_bottomcolor = GrAllocColor(0,180,150); in TESTFUNC()
138 icolors.fbx_rightcolor = GrAllocColor(0,180,150); in TESTFUNC()
139 icolors.fbx_leftcolor = GrAllocColor(0,90,60); in TESTFUNC()
140 icolors.fbx_topcolor = GrAllocColor(0,90,60); in TESTFUNC()
153 GrFramedBox(ww/4-1,wh/4-1,ww/4+ww+1,wh/4+wh+1,wdt,&icolors); in TESTFUNC()
188 GrFramedBox(ww/4-1,wh/4-1,ww/4+ww+1,wh/4+wh+1,wdt,&icolors); in TESTFUNC()
225 GrFramedBox(ww/4-1,wh/4-1,ww/4+ww+1,wh/4+wh+1,wdt,&icolors); in TESTFUNC()
285 GrFramedBox(ww/4-1,wh/4-1,ww/4+ww+1,wh/4+wh+1,wdt,&icolors); in TESTFUNC()
/dports/x11/fbdesk/fbdesk-1.4.1/src/FbTk/
H A DImageControl.cc523 XColor icolors[256]; in createColorTable() local
527 icolors[i].pixel = i; in createColorTable()
529 XQueryColors(disp, m_colormap, icolors, incolors); in createColorTable()
547 m_colors[i].red = icolors[close].red; in createColorTable()
548 m_colors[i].green = icolors[close].green; in createColorTable()
549 m_colors[i].blue = icolors[close].blue; in createColorTable()
613 XColor icolors[256]; in createColorTable() local
618 icolors[i].pixel = i; in createColorTable()
620 XQueryColors(disp, m_colormap, icolors, incolors); in createColorTable()
638 m_colors[i].red = icolors[close].red; in createColorTable()
[all …]
/dports/x11-wm/openbox/openbox-3.6/obrender/
H A Dinstance.c124 XColor icolors[256]; in RrPseudoColorSetup() local
170 icolors[i].pixel = i; in RrPseudoColorSetup()
171 XQueryColors(inst->display, inst->colormap, icolors, incolors); in RrPseudoColorSetup()
179 r = (inst->pseudo_colors[i].red - icolors[ii].red) & 0xff; in RrPseudoColorSetup()
180 g = (inst->pseudo_colors[i].green - icolors[ii].green) & 0xff; in RrPseudoColorSetup()
181 b = (inst->pseudo_colors[i].blue - icolors[ii].blue) & 0xff; in RrPseudoColorSetup()
191 inst->pseudo_colors[i].red = icolors[close].red; in RrPseudoColorSetup()
192 inst->pseudo_colors[i].green = icolors[close].green; in RrPseudoColorSetup()
193 inst->pseudo_colors[i].blue = icolors[close].blue; in RrPseudoColorSetup()
194 inst->pseudo_colors[i].pixel = icolors[close].pixel; in RrPseudoColorSetup()
/dports/sysutils/syslinux/syslinux-6.03/utils/
H A Dppmtolss16265 @icolors = sort by_intensity @colors;
280 while ( scalar(@icolors) ) {
284 $rgb = shift @icolors;
291 while ( scalar(@icolors) ) {
292 $rgb = shift @icolors;
301 undef @icolors;
/dports/graphics/grads/grads-1.9b4/src/
H A Dgsgui.c166 static int icolors=-1; /* index of last entry in function table */ variable
443 icolors = 5; in LoadUserColor()
447 icolors++; in LoadUserColor()
448 if(icolors>NCOLORS-1) { in LoadUserColor()
449 icolors--; in LoadUserColor()
456 icolors--; in LoadUserColor()
460 strncpy(UserColors[icolors].name, name, LCOLORS); in LoadUserColor()
461 UserColors[icolors].color = color; in LoadUserColor()
463 return icolors; in LoadUserColor()
481 for(i=0;i<=icolors;i++) { in GetColorIndex()
/dports/x11-wm/fluxbox/fluxbox-1.3.7/src/FbTk/
H A DImageControl.cc104 std::vector<XColor> icolors(nr_icolors); in allocateUnallocatedColors() local
108 icolors[i].pixel = i; in allocateUnallocatedColors()
111 XQueryColors(dpy, cmap, &icolors[0], nr_icolors); in allocateUnallocatedColors()
130 int r = (colors[i].red - icolors[i].red) >> 8; in allocateUnallocatedColors()
131 int g = (colors[i].green - icolors[i].green) >> 8; in allocateUnallocatedColors()
132 int b = (colors[i].blue - icolors[i].blue) >> 8; in allocateUnallocatedColors()
141 colors[i].red = icolors[close].red; in allocateUnallocatedColors()
142 colors[i].green = icolors[close].green; in allocateUnallocatedColors()
143 colors[i].blue = icolors[close].blue; in allocateUnallocatedColors()
/dports/science/PETSc/petsc-3.14.1/src/mat/tests/
H A Dex240.c20 const ISColoringValue *icolors; in main() local
34 ierr = ISColoringGetColors(iscoloring,&n,&nc,&icolors);CHKERRQ(ierr); in main()
42 for (i=0; i<n; i++) colors[map[i]]= icolors[i]; in main()
/dports/x11-wm/fluxter/fluxter-0.2.0/
H A DImage.cc1955 XColor icolors[256]; in BImageControl() local
1959 icolors[i].pixel = i; in BImageControl()
1970 r = (colors[i].red - icolors[i].red) >> 8; in BImageControl()
1980 colors[i].red = icolors[close].red; in BImageControl()
1981 colors[i].green = icolors[close].green; in BImageControl()
1982 colors[i].blue = icolors[close].blue; in BImageControl()
2057 XColor icolors[256]; in BImageControl() local
2062 icolors[i].pixel = i; in BImageControl()
2083 colors[i].red = icolors[close].red; in BImageControl()
2084 colors[i].green = icolors[close].green; in BImageControl()
[all …]
/dports/x11/bbappconf/bbappconf-0.0.2/
H A DImage.cc1939 XColor icolors[256]; in BImageControl() local
1943 icolors[i].pixel = i; in BImageControl()
1954 r = (colors[i].red - icolors[i].red) >> 8; in BImageControl()
1964 colors[i].red = icolors[close].red; in BImageControl()
1965 colors[i].green = icolors[close].green; in BImageControl()
1966 colors[i].blue = icolors[close].blue; in BImageControl()
2041 XColor icolors[256]; in BImageControl() local
2046 icolors[i].pixel = i; in BImageControl()
2067 colors[i].red = icolors[close].red; in BImageControl()
2068 colors[i].green = icolors[close].green; in BImageControl()
[all …]
/dports/x11-clocks/bbdate/bbdate-0.2.4/
H A DImage.cc957 XColor icolors[256]; in BImageControl() local
961 icolors[i].pixel = i; in BImageControl()
963 XQueryColors(display, root_colormap, icolors, incolors); in BImageControl()
971 r = (colors[i].red - icolors[i].red) >> 8; in BImageControl()
972 g = (colors[i].green - icolors[i].green) >> 8; in BImageControl()
973 b = (colors[i].blue - icolors[i].blue) >> 8; in BImageControl()
981 colors[i].red = icolors[close].red; in BImageControl()
982 colors[i].green = icolors[close].green; in BImageControl()
983 colors[i].blue = icolors[close].blue; in BImageControl()
/dports/devel/py-pysdl2/PySDL2-0.9.9/sdl2/test/
H A Dsdl2ext_draw_test.py127 icolors = (0x00000000,
146 for color in icolors:
/dports/x11-wm/jewel/jewel-0.12.41/goodies/setrootimage/
H A Dimage.cc1532 XColor icolors[256]; in BImageControl() local
1536 icolors[i].pixel = i; in BImageControl()
1538 XQueryColors(display, root_colormap, icolors, incolors); in BImageControl()
1546 r = (colors[i].red - icolors[i].red) >> 8; in BImageControl()
1547 g = (colors[i].green - icolors[i].green) >> 8; in BImageControl()
1548 b = (colors[i].blue - icolors[i].blue) >> 8; in BImageControl()
1556 colors[i].red = icolors[close].red; in BImageControl()
1557 colors[i].green = icolors[close].green; in BImageControl()
1558 colors[i].blue = icolors[close].blue; in BImageControl()
/dports/x11-wm/jewel/jewel-0.12.41/goodies/appbar/
H A Dimage.cc1532 XColor icolors[256]; in BImageControl() local
1536 icolors[i].pixel = i; in BImageControl()
1538 XQueryColors(display, root_colormap, icolors, incolors); in BImageControl()
1546 r = (colors[i].red - icolors[i].red) >> 8; in BImageControl()
1547 g = (colors[i].green - icolors[i].green) >> 8; in BImageControl()
1548 b = (colors[i].blue - icolors[i].blue) >> 8; in BImageControl()
1556 colors[i].red = icolors[close].red; in BImageControl()
1557 colors[i].green = icolors[close].green; in BImageControl()
1558 colors[i].blue = icolors[close].blue; in BImageControl()
/dports/misc/nnn/nnn-4.3/src/
H A Dnnn.c2164 uchar_t icolors[COLOR_256] = {0}; in initcurses() local
2180 if (icons_ext[i].color && !icolors[icons_ext[i].color]) { in initcurses()
2182 icolors[icons_ext[i].color] = 1; in initcurses()
/dports/multimedia/zart/gmic-2.8.1/src/
H A Dgmic_stdlib.gmic23600 if narg($replace_color)" && "{points,w} icolors=$colors_replaced else icolors=$colors fi
23601 +z[$icolors] $nx0,$ny0,$nx1,$ny1
/dports/graphics/gmic-qt/gmic-qt-v.2.9.8/gmic/src/
H A Dgmic_stdlib.gmic28451 if narg($replace_color)" && "{points,w} icolors=$colors_replaced else icolors=$colors fi
28452 +z[$icolors] $nx0,$ny0,$nx1,$ny1
/dports/graphics/gmic/gmic-3.0.0/src/
H A Dgmic_stdlib.gmic29915 if narg($replace_color)" && "{points,w} icolors=$colors_replaced else icolors=$colors fi
29916 +z[$icolors] $nx0,$ny0,$nx1,$ny1
/dports/graphics/photoflow/PhotoFlow-8472024f/src/vips/gmic/gmic/src/
H A Dgmic_def.gmic15190 -if {narg($replace_color)" && "{points,w}} icolors=$colors_replaced -else icolors=$colors -endif
15191 --z[$icolors] $nx0,$ny0,$nx1,$ny1