Searched refs:green (Results 1 - 25 of 237) 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))
389 keyboardNav.green = keyboardNav.blue = 0;
/haiku/src/kits/shared/
H A DHSL.cpp16 float g = rgb.green / 255.0f;
54 result.red = result.green = result.blue = uint8(lightness * 255);
60 result.green = uint8(hue_to_rgb(p, q, hue) * 255);
/haiku/src/kits/interface/
H A DHaikuControlLook.cpp1212 fillColor.green = uint8(fillColor.green * 0.4 + base.green * 0.6);
2048 if (base.red + base.green + base.blue <= 128 * 3) {
2227 color.green = (uint8)(((int32)low.green + color.green + 1) / 2);
3702 edgeLightColor.green = uint8(edgeLightColor.green * brightness);
3732 edgeShadowColor.green
[all...]
H A DGraphicsDefs.cpp48 0.299f * red * red + 0.587f * green * green + 0.114 * blue * blue));
58 color1.green = (uint8)(((int16(color2.green) - int16(color1.green))
59 * amount) / 255 + color1.green);
78 color1.green = (uint8)(((int16(color2.green) - int16(color1.green))
79 * alphaMix) / 255 + color1.green);
[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.cpp104 uint8 green; member in struct:flattened_text_run
2939 array->styles[i].green = runArray->runs[i].color.green;
2995 runArray->runs[i].color.green = array->styles[i].green;
/haiku/src/apps/powerstatus/
H A DPowerStatusView.cpp224 unfilledColor.green = 256 - unfilledColor.green;
/haiku/src/add-ons/control_look/FlatControlLook/
H A DFlatControlLook.cpp830 fillColor.green = uint8(fillColor.green * 0.4 + base.green * 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++;
2218 color.green = (uint8)(((int32)low.green + color.green + 1) / 2);
2301 invertedIfClicked.green = 255 - invertedIfClicked.green;
2527 lighten1.red++; lighten1.green++; lighten1.blue++; // 232 = 231 + 1
2561 borderBevelLight.green = (borderBevelLight.green
[all...]
/haiku/src/kits/tracker/
H A DUtilities.cpp1518 color.red, color.green, color.blue, color.alpha);
H A DPoseView.h1064 if (color.green > 150)
1072 color.green = 255;
1076 color.green = 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))
108 color.green = static_cast<uchar>((value >> 8L) & 0xff);
117 return color.alpha << 24L | color.red << 16L | color.green << 8L
/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.h44 uint8 green; member in struct:rgb_color
54 green = g;
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.cpp1702 | (color.green << 8) | color.blue);
1724 colors[j++] = palette[i].green;
/haiku/src/apps/icon-o-matic/gui/
H A DStyleListView.cpp96 if (lowColor.red + lowColor.green + lowColor.blue < 128 * 3) {
306 color.green = 0;
H A DPathListView.cpp90 if (lowColor.red + lowColor.green + lowColor.blue < 128 * 3) {
H A DGradientControl.cpp107 color.green = bits[1];
402 c.green = (uint8)(((uint32)bg.green + (uint32)c.green) / 2);
533 p[1] = (uint8)(((uint32)bg.green + (uint32)p[1]) / 2);
567 kAlphaLow.green,
572 kAlphaHigh.green,
579 kAlphaHigh.green,
584 kAlphaLow.green,
/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 DView.cpp392 case 0: color.green = rand() % 256; break;
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 423 milliseconds

12345678910