Searched refs:colors (Results 1 - 25 of 124) sorted by last modified time

12345

/haiku/src/preferences/appearance/
H A DAPRView.cpp53 fAutoSelectCheckBox = new BCheckBox(B_TRANSLATE("Automatically pick secondary colors"),
261 APRView::_UpdatePreviews(const BMessage& colors) argument
269 color = colors.GetColor(ui_color_name(item->ColorWhich()),
279 APRView::_SetUIColors(const BMessage& colors) argument
281 set_ui_colors(&colors);
282 fCurrentColors = colors;
312 // Protect against accidentally overwriting colors.
H A DAPRView.h55 void _UpdatePreviews(const BMessage& colors);
60 void _SetUIColors(const BMessage& colors);
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/
H A Dif_iwm.c8434 int colors[IWM_MAX_BINDINGS] = { -1, -1, -1, -1, }; local
8444 colors[id] = in->in_phyctxt->color;
8468 if (colors[i] < 0)
8472 htole32(IWM_FW_CMD_ID_AND_COLOR(i, colors[i]));
/haiku/headers/os/interface/
H A DInterfaceDefs.h484 void set_ui_colors(const BMessage* colors);
H A DTextView.h203 void SetColorSpace(color_space colors);
/haiku/src/servers/app/drawing/interface/local/
H A DAccelerantHWInterface.cpp1718 uint8 colors[3 * 256]; local
1723 colors[j++] = palette[i].red;
1724 colors[j++] = palette[i].green;
1725 colors[j++] = palette[i].blue;
1728 setIndexedColors(256, 0, colors, 0);
1740 uint8 colors[3 * 256];
1747 colors[j++] = (i & 0xf) * 17;
1748 colors[j++] = (i & 0xf) * 17;
1749 colors[j++] = (i & 0xf) * 17;
1752 setIndexedColors(256, 0, colors,
[all...]
/haiku/src/kits/interface/
H A DTextView.cpp2532 BTextView::SetColorSpace(color_space colors) argument
2534 if (colors != fColorSpace && fOffscreen) {
2535 fColorSpace = colors;
/haiku/src/tests/kits/game/chart/
H A DChartWindow.cpp150 /* the 7 colors for stars. */
365 int32 colors[3]; local
400 fCurrentSettings.colors[i] = false;
401 fCurrentSettings.colors[1] = true;
402 fCurrentSettings.colors[2] = true;
403 fCurrentSettings.colors[3] = true;
436 colors[0] = 1;
437 colors[1] = 2;
438 colors[2] = 3;
439 SetStarColors(colors,
[all...]
/haiku/src/libs/icon/style/
H A DGradientTransformable.cpp406 Gradient::MakeGradient(uint32* colors, int32 count) const argument
419 // current index into "colors" array
427 uint8* c = (uint8*)&colors[0];
469 uint8* c = (uint8*)&colors[index];
509 uint8* c = (uint8*)&colors[index];
/haiku/src/libs/icon/
H A DIconRenderer.cpp208 const agg::rgba8* colors = style->GammaCorrectedColors(fGammaTable); local
213 _GenerateGradient(span, x, y, len, function, -64, 64, colors,
219 _GenerateGradient(span, x, y, len, function, 0, 64, colors,
225 _GenerateGradient(span, x, y, len, function, 0, 64, colors,
231 _GenerateGradient(span, x, y, len, function, 0, 64, colors,
237 _GenerateGradient(span, x, y, len, function, 0, 64, colors,
243 _GenerateGradient(span, x, y, len, function, 0, 64, colors,
/haiku/src/add-ons/translators/psd/
H A DPSDLoader.cpp274 bitsHeader.colors = B_GRAY1;
277 bitsHeader.colors = B_RGBA32;
/haiku/src/apps/terminal/
H A DTermParse.cpp1412 // Reverse Video (inverses colors for the complete screen
1576 static rgb_color colors[kTermColorCount]; local
1583 case 4: // set colors (0 - 255)
1584 case 104: // reset colors (0 - 255)
1588 // colors can be in "idx1:name1;...;idxN:nameN;" sequence too!
1599 if (gXColorsTable.LookUpColor(p, &colors[count]) == B_OK)
1609 fBuffer->SetColors(indexes, colors, count);
1615 // set dynamic colors (10 - 19)
1628 if (gXColorsTable.LookUpColor(p, &colors[count]) != B_OK) {
1629 // dyna-colors ar
[all...]
H A DTerminalBuffer.h36 void SetColors(uint8* indexes, rgb_color* colors,
H A DTerminalBuffer.cpp201 TerminalBuffer::SetColors(uint8* indexes, rgb_color* colors, argument
211 colors, sizeof(rgb_color), true, count);
215 message.AddData("color", B_RGB_COLOR_TYPE, &colors[i],
/haiku/src/add-ons/translators/gif/
H A DGIFTranslator.cpp169 header.colors = (color_space)B_BENDIAN_TO_HOST_INT32(header.colors);
173 *out = new(std::nothrow) BBitmap(header.bounds, header.colors);
/haiku/src/servers/app/drawing/Painter/
H A DPainter.cpp1577 // by the AGG renderer and use the colors from the PatternHandler
1585 // has to be called so that all internal colors in the renderes
1994 uint32* colors, int32 arrayOffset, int32 arraySize) const
2001 // current index into "colors" array
2010 uint8* c = (uint8*)&colors[0];
2037 uint8* c = (uint8*)&colors[startIndex];
2059 uint8* c = (uint8*)&colors[startIndex];
1993 _MakeGradient(const BGradient& gradient, int32 colorCount, uint32* colors, int32 arrayOffset, int32 arraySize) const argument
H A DPainter.h314 int32 colorCount, uint32* colors,
/haiku/src/kits/shared/
H A DBarberPole.cpp151 // Default colors, chosen from system color scheme
275 // Example with 3 colors and a visible area of 2*fStripeWidth (which means
335 BarberPole::SetColors(const rgb_color* colors, uint32 numColors) argument
340 colorsCopy[i] = colors[i];
/haiku/headers/private/shared/
H A DBarberPole.h17 /*! Spinning barber pole progress indicator. Number and colors of the
18 color stripes are configurable. By default, it will be 2 colors,
42 void SetColors(const rgb_color* colors,
/haiku/src/kits/translation/
H A DBitmapStream.cpp41 fHeader.colors = fBitmap->ColorSpace();
142 || fBitmap->ColorSpace() != fHeader.colors
153 0, fHeader.colors, fHeader.rowBytes);
/haiku/src/add-ons/translators/shared/
H A DBaseTranslator.cpp283 if (header.colors != B_RGB32 &&
284 header.colors != B_RGB32_BIG &&
285 header.colors != B_RGBA32 &&
286 header.colors != B_RGBA32_BIG &&
287 header.colors != B_RGB24 &&
288 header.colors != B_RGB24_BIG &&
289 header.colors != B_RGB16 &&
290 header.colors != B_RGB16_BIG &&
291 header.colors != B_RGB15 &&
292 header.colors !
[all...]
/haiku/src/servers/app/
H A DDesktopSettings.cpp82 memcpy((void*)fShared.colors, BPrivate::kDefaultColors,
306 // colors
312 if (settings.FindInt32(colorName, (int32*)&fShared.colors[i]) != B_OK) {
314 fShared.colors[i] = B_TRANSPARENT_COLOR;
461 settings.AddInt32(colorName, (const int32&)fShared.colors[i]);
675 *changed = fShared.colors[index] != color;
677 fShared.colors[index] = color;
688 DesktopSettingsPrivate::SetUIColors(const BMessage& colors, bool* changed) argument
690 int32 count = colors.CountNames(B_RGB_32_BIT_TYPE);
701 while (colors
1064 SetUIColors(const BMessage& colors, bool* changed) argument
[all...]
H A DDesktopSettingsPrivate.h80 void SetUIColors(const BMessage& colors,
83 // size to colors' size
/haiku/src/add-ons/translators/tiff/
H A DTIFFTranslator.cpp714 switch (bitsHeader.colors) {
728 ret = write_tif_stream(tif, inSource, bitsHeader.colors,
764 ret = write_tif_stream(tif, inSource, bitsHeader.colors,
776 ret = write_tif_stream(tif, inSource, bitsHeader.colors,
855 bitsHeader.colors = B_RGBA32;
/haiku/src/add-ons/translators/ppm/
H A DPPMTranslator.cpp400 hdr.colors = (color_space) B_HOST_TO_BENDIAN_INT32(out_space);
789 hdr.colors = (color_space) B_BENDIAN_TO_HOST_INT32(hdr.colors);
794 if (hdr.colors & 0xffff0000) { /* according to <GraphicsDefs.h> this is a
806 *space = hdr.colors;

Completed in 202 milliseconds

12345