/haiku/src/apps/aboutsystem/ |
H A D | AboutSystem.cpp | 929 textColor.blue = textColor.green = textColor.red = viewColor.IsLight() ? 0 : 255;
|
/haiku/src/preferences/appearance/ |
H A D | APRView.cpp | 386 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 D | HSL.cpp | 15 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 D | HaikuControlLook.cpp | 1211 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 D | GraphicsDefs.cpp | 48 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 D | OutlineListView.cpp | 944 if (base.red + base.green + base.blue <= 128 * 3) {
|
H A D | ListView.cpp | 1910 if (textColor.red + textColor.green + textColor.blue > 128 * 3)
|
H A D | TextView.cpp | 103 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 D | PowerStatusView.cpp | 223 unfilledColor.red = 256 - unfilledColor.red;
|
/haiku/src/add-ons/control_look/FlatControlLook/ |
H A D | FlatControlLook.cpp | 829 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 D | BeControlLook.cpp | 459 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 D | Utilities.cpp | 1518 color.red, color.green, color.blue, color.alpha);
|
H A D | PoseView.h | 1061 if (color.red > 150) 1071 color.red = 255; 1075 color.red = 0;
|
H A D | PoseView.cpp | 216 return make_color(255 - color.red, 255 - color.green, 255 - color.blue);
|
H A D | TrackerSettings.cpp | 45 #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 D | ping6.c | 2324 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 D | ColorConversion.h | 39 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 D | GraphicsDefs.h | 43 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 D | AccelerantHWInterface.cpp | 1701 return (uint32)((color.alpha << 24) | (color.red << 16) 1723 colors[j++] = palette[i].red;
|
/haiku/src/apps/icon-o-matic/gui/ |
H A D | StyleListView.cpp | 96 if (lowColor.red + lowColor.green + lowColor.blue < 128 * 3) { 305 color.red = 0;
|
H A D | PathListView.cpp | 90 if (lowColor.red + lowColor.green + lowColor.blue < 128 * 3) {
|
H A D | GradientControl.cpp | 106 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 D | ListViews.cpp | 93 if (textColor.red + textColor.green + textColor.blue > 128 * 3)
|
/haiku/src/preferences/network/ |
H A D | InterfaceListItem.cpp | 111 if (textColor.red + textColor.green + textColor.blue > 128 * 3)
|
/haiku/src/servers/app/ |
H A D | ServerWindow.cpp | 1761 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,
|