/haiku/src/add-ons/decorators/BeDecorator/ |
H A D | BeDecorator.cpp | 284 _colors[0].red = std::max(0, base.red - 72); 289 _colors[1].red = std::min(255, base.red + 64); 294 _colors[2].red = std::max(0, base.red - 8); 299 _colors[3].red = std::max(0, base.red - 88); 304 _colors[4].red = std::max(0, base.red [all...] |
/haiku/src/apps/cortex/TipManager/ |
H A D | TipView.cpp | 147 uint8 red, 153 uint8 red, 157 outColor->red = red; 151 _make_color( rgb_color* outColor, uint8 red, uint8 green, uint8 blue, uint8 alpha) argument
|
/haiku/src/apps/soundrecorder/ |
H A D | DrawingTidbits.h | 33 result.red = r;
|
/haiku/src/servers/app/drawing/Painter/drawing_modes/ |
H A D | DrawingModeEraseSUBPIX.h | 35 BLEND_ERASE_SUBPIX(p, color.red, color.green, color.blue,
|
H A D | DrawingModeOverSUBPIX.h | 35 BLEND_OVER_SUBPIX(p, color.red, color.green, color.blue,
|
H A D | DrawingModeSelectSUBPIX.h | 38 BLEND_SELECT_SUBPIX(p, color.red, color.green, color.blue,
|
H A D | AggCompOpAdapter.h | 32 color.red, color.green, color.blue, color.alpha, cover); 46 color.red, color.green, color.blue, color.alpha, cover); 63 color.red, color.green, color.blue, color.alpha, *covers); 92 color.red, color.green, color.blue, color.alpha, *covers);
|
/haiku/src/add-ons/screen_savers/gravity/ |
H A D | Particle.h | 40 float red; member in class:Particle
|
/haiku/src/add-ons/screen_savers/butterfly/ |
H A D | Butterfly.cpp | 130 result.red = 255; 133 result.red = x; 142 result.red = x; 145 result.red = 255;
|
/haiku/src/preferences/appearance/ |
H A D | ColorWhichListView.cpp | 58 hexStr.SetToFormat("#%.2X%.2X%.2X", color.red, color.green, color.blue); 83 view->SetHighColor(std::min(255, (int)(1.2 * color.red + 40)), 91 view->SetHighColor((int32)(0.8 * color.red), 99 view->SetHighColor(color.red, color.green, color.blue);
|
/haiku/src/apps/terminal/ |
H A D | ColorListView.cpp | 58 hexStr.SetToFormat("#%.2X%.2X%.2X", color.red, color.green, color.blue); 83 view->SetHighColor(std::min(255, (int)(1.2 * color.red + 40)), 91 view->SetHighColor((int32)(0.8 * color.red), 99 view->SetHighColor(color.red, color.green, color.blue);
|
H A D | TerminalLine.h | 50 inline void SetDirectForeground(uint8 red, uint8 green, uint8 blue) argument 52 foreground = 0x80000000 | (red << 16) | (green << 8) | blue; 57 inline void SetDirectBackground(uint8 red, uint8 green, uint8 blue) argument 59 background = 0x80000000 | (red << 16) | (green << 8) | blue; 64 inline void SetDirectUnderline(uint8 red, uint8 green, uint8 blue) argument 66 underline = 0x80000000 | (red << 16) | (green << 8) | blue;
|
H A D | TermApp.cpp | 386 for (uint red = 0; red < 256; red += (red == 0) ? 95 : 40) 389 (*color++).set_to(red, green, blue);
|
/haiku/src/tests/kits/interface/ |
H A D | SetDiskModeTest.cpp | 55 const rgb_color red = { 240, 0, 0, 0 }; local 56 view->SetHighColor(red);
|
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/ |
H A D | AlphaSlider.cpp | 308 color.red = (uint8)(((uint32)bg.red + color.red) / 2); 315 p[2] = color.red; 341 kAlphaLow.red); 346 kAlphaHigh.red); 353 kAlphaHigh.red); 358 kAlphaLow.red);
|
/haiku/src/apps/icon-o-matic/gui/ |
H A D | IconView.cpp | 52 fRenderer->SetBackground(agg::rgba8(lc.red, lc.green, lc.blue, 255)); 115 agg::rgba8(color.red, color.green, color.blue, 255));
|
/haiku/src/add-ons/translators/gif/ |
H A D | SavePalette.cpp | 174 red(r), 182 uint8 red; member in struct:ColorItem 209 pal[i].red = pal[i].green = pal[i].blue = i; 245 ci->red = max_c(ci->red, r); 373 pal[i].red = topcolors[i]->red; 391 SavePalette::IndexForColor(uint8 red, uint8 green, uint8 blue, uint8 alpha) argument 400 index = (308 * red + 600 * green + 116 * blue) / 1024; 412 int rd = (int)red 479 SetTransparentColor(uint8 red, uint8 green, uint8 blue) argument [all...] |
/haiku/src/add-ons/accelerants/skeleton/engine/ |
H A D | bes.c | 674 ow->red.value, ow->green.value, ow->blue.value, ow->alpha.value)); 676 ow->red.mask, ow->green.mask, ow->blue.mask, ow->alpha.mask)); 752 ((ow->red.value & ow->red.mask) << 10) | 760 ((ow->red.value & ow->red.mask) << 11) 770 ((ow->red.value & ow->red.mask) << 16) | 820 ((ow->red.value & ow->red [all...] |
/haiku/src/add-ons/accelerants/nvidia/engine/ |
H A D | nv_bes.c | 677 ow->red.value, ow->green.value, ow->blue.value, ow->alpha.value)); 679 ow->red.mask, ow->green.mask, ow->blue.mask, ow->alpha.mask)); 757 ((ow->red.value & ow->red.mask) << 10) | 765 ((ow->red.value & ow->red.mask) << 11) 775 ((ow->red.value & ow->red.mask) << 16) | 828 ((ow->red.value & ow->red [all...] |
/haiku/src/kits/interface/ |
H A D | ColorConversion.cpp | 33 \param red Value of the red component. 41 brightness_for(uint8 red, uint8 green, uint8 blue) argument 43 // brightness = 0.301 * red + 0.586 * green + 0.113 * blue 45 // brightness = (308 * red + 600 * green + 116 * blue) / 1024 46 return uint8((308 * red + 600 * green + 116 * blue) / 1024); 152 uint8 red = (color & 0x7c00) >> 7; local 155 red |= red >> 5; 163 unsigned distance = color_distance(red, gree 236 IndexForRGB15(uint8 red, uint8 green, uint8 blue) const argument 269 IndexForRGB16(uint8 red, uint8 green, uint8 blue) const argument 304 IndexForRGB24(uint8 red, uint8 green, uint8 blue) const argument 431 RGBA32ColorForIndex(uint8 index, uint8 &red, uint8 &green, uint8 &blue, uint8 &alpha) const argument [all...] |
/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};
|
H A D | Screen.h | 40 uint8 IndexForColor(uint8 red, uint8 green, 108 return IndexForColor(color.red, color.green, color.blue, color.alpha);
|
/haiku/src/apps/pulse/ |
H A D | DeskbarPulseView.cpp | 54 active_color.red = (prefs->deskbar_active_color & 0xff000000) >> 24; 58 idle_color.red = (prefs->deskbar_idle_color & 0xff000000) >> 24; 62 frame_color.red = (prefs->deskbar_frame_color & 0xff000000) >> 24;
|
/haiku/src/tests/system/network/multicast/ |
H A D | multicat.c | 148 int red = read(0, buffer, sizeof(buffer) - 1); local 149 buffer[red] = 0; 151 if (sendto(sock, buffer, red + 1, 0, (struct sockaddr *) &saddr, 154 if (send(sock, buffer, red + 1, 0) < 0) 164 int red = recvfrom(sock, buffer, sizeof(buffer), 0, local 166 buffer[red] = 0;
|
/haiku/headers/libs/print/libprint/ |
H A D | Halftone.h | 15 uchar red; member in struct:__anon110 22 uchar red; member in struct:__anon111
|