Home
last modified time | relevance | path

Searched refs:tmpcolr (Results 1 – 4 of 4) sorted by relevance

/dports/x11-toolkits/xmhtml/XmHTML-1.1.10/lib/common/
H A DreadXPM.c127 XColor tmpcolr; in doXpm() local
192 GETP(tmpcolr) = bg_pixel; in doXpm()
193 tka->QueryColor(tka->dpy, cmap, &tmpcolr); in doXpm()
199 (void)tka->ParseColor(tka->dpy, cmap, col_name, &tmpcolr); in doXpm()
202 GETR(img_data->cmap[i]) = GETR(tmpcolr); in doXpm()
203 GETG(img_data->cmap[i]) = GETG(tmpcolr); in doXpm()
204 GETB(img_data->cmap[i]) = GETB(tmpcolr); in doXpm()
205 is_gray &= (GETR(tmpcolr) == GETG(tmpcolr)) && in doXpm()
206 (GETG(tmpcolr) == GETB(tmpcolr)); in doXpm()
/dports/science/afni/afni-AFNI_21.3.16/src/XmHTML/lib/common/
H A DreadXPM.c122 XColor tmpcolr; in doXpm() local
187 GETP(tmpcolr) = bg_pixel; in doXpm()
188 tka->QueryColor(tka->dpy, cmap, &tmpcolr); in doXpm()
194 (void)tka->ParseColor(tka->dpy, cmap, col_name, &tmpcolr); in doXpm()
197 GETR(img_data->cmap[i]) = GETR(tmpcolr); in doXpm()
198 GETG(img_data->cmap[i]) = GETG(tmpcolr); in doXpm()
199 GETB(img_data->cmap[i]) = GETB(tmpcolr); in doXpm()
200 is_gray &= (GETR(tmpcolr) == GETG(tmpcolr)) && in doXpm()
201 (GETG(tmpcolr) == GETB(tmpcolr)); in doXpm()
/dports/x11/xmotd/xmotd-1.17.3b/libhtmlw/
H A DHTMLimages.c678 XColor tmpcolr; local
712 tmpcolr.red = img_info->reds[i];
713 tmpcolr.green = img_info->greens[i];
714 tmpcolr.blue = img_info->blues[i];
715 tmpcolr.flags = DoRed|DoGreen|DoBlue;
722 Mapping[i] = ((tmpcolr.red>>5)*11 +
723 (tmpcolr.green>>5)*16 +
724 (tmpcolr.blue>>5)*5) / (65504/64);
730 &tmpcolr);
731 Mapping[i] = tmpcolr.pixel;
/dports/x11/xfishtank/xfishtank2.0/
H A Dread.c96 XColor tmpcolr; local
164 line, &tmpcolr);
165 colrs[i].red = tmpcolr.red;
166 colrs[i].green = tmpcolr.green;
167 colrs[i].blue = tmpcolr.blue;