Searched refs:red (Results 1 - 25 of 247) sorted by last modified time

12345678910

/haiku/src/apps/aboutsystem/
H A DAboutSystem.cpp929 textColor.blue = textColor.green = textColor.red = viewColor.IsLight() ? 0 : 255;
/haiku/src/preferences/appearance/
H A DAPRView.cpp386 if (keyboardNav.blue >= max_c(keyboardNav.red, keyboardNav.green))
387 keyboardNav.red = keyboardNav.green = 0;
388 else if (keyboardNav.red >= max_c(keyboardNav.green, keyboardNav.blue))
391 keyboardNav.red = keyboardNav.blue = 0;
/haiku/src/kits/shared/
H A DHSL.cpp15 float r = rgb.red / 255.0f;
54 result.red = result.green = result.blue = uint8(lightness * 255);
59 result.red = uint8(hue_to_rgb(p, q, hue + 1./3) * 255);
/haiku/src/kits/interface/
H A DHaikuControlLook.cpp1211 fillColor.red = uint8(fillColor.red * 0.4 + base.red * 0.6);
2048 if (base.red + base.green + base.blue <= 128 * 3) {
2226 color.red = (uint8)(((int32)low.red + color.red + 1) / 2);
3701 edgeLightColor.red = uint8(edgeLightColor.red * brightness);
3731 edgeShadowColor.red
[all...]
H A DGraphicsDefs.cpp48 0.299f * red * red + 0.587f * green * green + 0.114 * blue * blue));
56 color1.red = (uint8)(((int16(color2.red) - int16(color1.red)) * amount)
57 / 255 + color1.red);
76 color1.red = (uint8)(((int16(color2.red) - int16(color1.red)) * alphaMix)
77 / 255 + color1.red );
[all...]
H A DOutlineListView.cpp944 if (base.red + base.green + base.blue <= 128 * 3) {
H A DListView.cpp1910 if (textColor.red + textColor.green + textColor.blue > 128 * 3)
H A DTextView.cpp103 uint8 red; member in struct:flattened_text_run
2938 array->styles[i].red = runArray->runs[i].color.red;
2994 runArray->runs[i].color.red = array->styles[i].red;
4484 // Highlight in red the selected part
/haiku/src/apps/powerstatus/
H A DPowerStatusView.cpp223 unfilledColor.red = 256 - unfilledColor.red;
/haiku/src/add-ons/control_look/FlatControlLook/
H A DFlatControlLook.cpp829 fillColor.red = uint8(fillColor.red * 0.4 + base.red * 0.6);
1617 if (textcolor.red + textcolor.green + textcolor.blue >= 128 * 3)
/haiku/src/add-ons/control_look/BeControlLook/
H A DBeControlLook.cpp459 lighten2.red++; lighten2.green++; lighten2.blue++;
596 lighten2.red++; lighten2.green++; lighten2.blue++;
2217 color.red = (uint8)(((int32)low.red + color.red + 1) / 2);
2300 invertedIfClicked.red = 255 - invertedIfClicked.red;
2527 lighten1.red++; lighten1.green++; lighten1.blue++; // 232 = 231 + 1
2560 borderBevelLight.red = (borderBevelLight.red
[all...]
/haiku/src/kits/tracker/
H A DUtilities.cpp1518 color.red, color.green, color.blue, color.alpha);
H A DPoseView.h1061 if (color.red > 150)
1071 color.red = 255;
1075 color.red = 0;
H A DPoseView.cpp216 return make_color(255 - color.red, 255 - color.green, 255 - color.blue);
H A DTrackerSettings.cpp45 #define RGBTOHEX(c) ((c.alpha << 24) | (c.red << 16) | (c.green << 8) | (c.blue))
107 color.red = static_cast<uchar>((value >> 16L) & 0xff);
117 return color.alpha << 24L | color.red << 16L | color.green << 8L
/haiku/src/bin/network/ping/
H A Dping6.c2324 struct nd_redirect *red; local
2427 red = (struct nd_redirect *)icp;
2429 if (!inet_ntop(AF_INET6, &red->nd_rd_dst, ntop_buf,
2433 if (!inet_ntop(AF_INET6, &red->nd_rd_target, ntop_buf,
/haiku/headers/private/interface/
H A DColorConversion.h39 inline uint8 IndexForRGB15(uint8 red, uint8 green, uint8 blue) const;
41 inline uint8 IndexForRGB16(uint8 red, uint8 green, uint8 blue) const;
43 inline uint8 IndexForRGB24(uint8 red, uint8 green, uint8 blue) const;
51 inline void RGBA32ColorForIndex(uint8 index, uint8 &red, uint8 &green,
/haiku/headers/os/interface/
H A DGraphicsDefs.h43 uint8 red; member in struct:rgb_color
53 red = r;
99 return set_to(other.red, other.green, other.blue, other.alpha);
107 make_color(uint8 red, uint8 green, uint8 blue, uint8 alpha = 255) argument
109 rgb_color color = {red, green, blue, alpha};
/haiku/src/servers/app/drawing/interface/local/
H A DAccelerantHWInterface.cpp1701 return (uint32)((color.alpha << 24) | (color.red << 16)
1723 colors[j++] = palette[i].red;
/haiku/src/apps/icon-o-matic/gui/
H A DStyleListView.cpp96 if (lowColor.red + lowColor.green + lowColor.blue < 128 * 3) {
305 color.red = 0;
H A DPathListView.cpp90 if (lowColor.red + lowColor.green + lowColor.blue < 128 * 3) {
H A DGradientControl.cpp106 color.red = bits[0];
401 c.red = (uint8)(((uint32)bg.red + (uint32)c.red) / 2);
534 p[2] = (uint8)(((uint32)bg.red + (uint32)p0) / 2);
568 kAlphaLow.red);
573 kAlphaHigh.red);
580 kAlphaHigh.red);
585 kAlphaLow.red);
/haiku/src/apps/icon-o-matic/generic/gui/
H A DListViews.cpp93 if (textColor.red + textColor.green + textColor.blue > 128 * 3)
/haiku/src/preferences/network/
H A DInterfaceListItem.cpp111 if (textColor.red + textColor.green + textColor.blue > 128 * 3)
/haiku/src/servers/app/
H A DServerWindow.cpp1761 fCurrentView->Name(), color.red, color.green, color.blue,
1773 Title(), fCurrentView->Name(), color.red, color.green,
1789 Title(), fCurrentView->Name(), color.red, color.green,
1861 color.red, color.green, color.blue, color.alpha));
1879 color.red, color.green, color.blue, color.alpha));
1897 color.red, color.green, color.blue, color.alpha));
1912 Title(), fCurrentView->Name(), color.red, color.green,
1928 Title(), fCurrentView->Name(), color.red, color.green,
1941 Title(), fCurrentView->Name(), color.red, color.green,

Completed in 560 milliseconds

12345678910