Home
last modified time | relevance | path

Searched refs:cBits (Results 1 – 3 of 3) sorted by relevance

/haiku/src/kits/interface/
H A DIcon.cpp391 uint8* cBits = clickedBitmap != NULL ? (uint8*)clickedBitmap->Bits() : NULL; in _MakeBitmaps() local
413 if (cBits != NULL) { in _MakeBitmaps()
414 cBits[nOffset + 0] = uint8((float)nBits[nOffset + 0] * 0.8); in _MakeBitmaps()
415 cBits[nOffset + 1] = uint8((float)nBits[nOffset + 1] * 0.8); in _MakeBitmaps()
416 cBits[nOffset + 2] = uint8((float)nBits[nOffset + 2] * 0.8); in _MakeBitmaps()
417 cBits[nOffset + 3] = 255; in _MakeBitmaps()
446 if (cBits != NULL) in _MakeBitmaps()
447 cBits += nbpr; in _MakeBitmaps()
467 if (cBits != NULL) { in _MakeBitmaps()
468 cBits[nOffset + 3] = uint8((float)nBits[nOffset + 3] * 0.8); in _MakeBitmaps()
[all …]
/haiku/src/kits/shared/
H A DIconButton.cpp702 uint8* cBits = (uint8*)fClickedBitmap->Bits(); in _MakeBitmaps() local
721 cBits[nOffset + 0] = (uint8)((float)nBits[nOffset + 0] in _MakeBitmaps()
723 cBits[nOffset + 1] = (uint8)((float)nBits[nOffset + 1] in _MakeBitmaps()
725 cBits[nOffset + 2] = (uint8)((float)nBits[nOffset + 2] in _MakeBitmaps()
727 cBits[nOffset + 3] = 255; in _MakeBitmaps()
749 cBits += nbpr; in _MakeBitmaps()
765 cBits[nOffset + 0] = (uint8)(nBits[nOffset + 0] * 0.8); in _MakeBitmaps()
766 cBits[nOffset + 1] = (uint8)(nBits[nOffset + 1] * 0.8); in _MakeBitmaps()
767 cBits[nOffset + 2] = (uint8)(nBits[nOffset + 2] * 0.8); in _MakeBitmaps()
768 cBits[nOffset + 3] = fBits[fOffset + 3]; in _MakeBitmaps()
[all …]
/haiku/src/apps/icon-o-matic/generic/gui/
H A DIconButton.cpp617 uint8* cBits = (uint8*)fClickedBitmap->Bits(); in _MakeBitmaps() local
636 cBits[nOffset + 0] = (uint8)((float)nBits[nOffset + 0] * 0.8); in _MakeBitmaps()
637 cBits[nOffset + 1] = (uint8)((float)nBits[nOffset + 1] * 0.8); in _MakeBitmaps()
638 cBits[nOffset + 2] = (uint8)((float)nBits[nOffset + 2] * 0.8); in _MakeBitmaps()
639 cBits[nOffset + 3] = 255; in _MakeBitmaps()
661 cBits += nbpr; in _MakeBitmaps()
677 cBits[nOffset + 0] = (uint8)(nBits[nOffset + 0] * 0.8); in _MakeBitmaps()
678 cBits[nOffset + 1] = (uint8)(nBits[nOffset + 1] * 0.8); in _MakeBitmaps()
679 cBits[nOffset + 2] = (uint8)(nBits[nOffset + 2] * 0.8); in _MakeBitmaps()
680 cBits[nOffset + 3] = fBits[fOffset + 3]; in _MakeBitmaps()
[all …]