Home
last modified time | relevance | path

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

/haiku/src/kits/interface/
H A DIcon.cpp405 int32 nOffset = 4 * x; in _MakeBitmaps() local
407 nBits[nOffset + 0] = fBits[fOffset + 0]; in _MakeBitmaps()
408 nBits[nOffset + 1] = fBits[fOffset + 1]; in _MakeBitmaps()
409 nBits[nOffset + 2] = fBits[fOffset + 2]; in _MakeBitmaps()
410 nBits[nOffset + 3] = 255; 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()
423 float dist = (nBits[nOffset + 0] - grey) * 0.4; in _MakeBitmaps()
[all …]
/haiku/src/kits/shared/
H A DIconButton.cpp714 int32 nOffset = 4 * x; in _MakeBitmaps() local
716 nBits[nOffset + 0] = fBits[fOffset + 0]; in _MakeBitmaps()
717 nBits[nOffset + 1] = fBits[fOffset + 1]; in _MakeBitmaps()
718 nBits[nOffset + 2] = fBits[fOffset + 2]; in _MakeBitmaps()
719 nBits[nOffset + 3] = 255; in _MakeBitmaps()
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()
730 float dist = (nBits[nOffset + 0] - grey) * 0.4; in _MakeBitmaps()
[all …]
/haiku/src/apps/icon-o-matic/generic/gui/
H A DIconButton.cpp629 int32 nOffset = 4 * x; in _MakeBitmaps() local
631 nBits[nOffset + 0] = fBits[fOffset + 0]; in _MakeBitmaps()
632 nBits[nOffset + 1] = fBits[fOffset + 1]; in _MakeBitmaps()
633 nBits[nOffset + 2] = fBits[fOffset + 2]; in _MakeBitmaps()
634 nBits[nOffset + 3] = 255; in _MakeBitmaps()
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()
642 float dist = (nBits[nOffset + 0] - grey) * 0.4; in _MakeBitmaps()
[all …]