Home
last modified time | relevance | path

Searched refs:quickResBitmap (Results 1 – 2 of 2) sorted by relevance

/haiku/src/kits/shared/
H A DIconButton.cpp437 BBitmap* quickResBitmap = new(std::nothrow) BBitmap(BRect(0.0, 0.0, in SetIcon() local
439 status = quickResBitmap ? quickResBitmap->InitCheck() : B_ERROR; in SetIcon()
444 memcpy(quickResBitmap->Bits(), bitsFromQuickRes, in SetIcon()
445 quickResBitmap->BitsLength()); in SetIcon()
450 quickResBitmap->Bounds(), B_RGB32, true); in SetIcon()
459 helper->DrawBitmap(quickResBitmap, BPoint(0.0, 0.0)); in SetIcon()
473 uint8* bits = (uint8*)quickResBitmap->Bits(); in SetIcon()
474 uint32 bpr = quickResBitmap->BytesPerRow(); in SetIcon()
489 status = _MakeBitmaps(quickResBitmap); in SetIcon()
495 delete quickResBitmap; in SetIcon()
/haiku/src/apps/icon-o-matic/generic/gui/
H A DIconButton.cpp406 …BBitmap* quickResBitmap = new(nothrow) BBitmap(BRect(0.0, 0.0, width - 1.0, height - 1.0), format); in SetIcon() local
407 status = quickResBitmap ? quickResBitmap->InitCheck() : B_ERROR; in SetIcon()
411 memcpy(quickResBitmap->Bits(), bitsFromQuickRes, quickResBitmap->BitsLength()); in SetIcon()
414 BBitmap* bitmap = new(nothrow) BBitmap(quickResBitmap->Bounds(), B_RGB32, true); in SetIcon()
423 helper->DrawBitmap(quickResBitmap, BPoint(0.0, 0.0)); in SetIcon()
435 uint8* bits = (uint8*)quickResBitmap->Bits(); in SetIcon()
436 uint32 bpr = quickResBitmap->BytesPerRow(); in SetIcon()
450 status = _MakeBitmaps(quickResBitmap); in SetIcon()
454 delete quickResBitmap; in SetIcon()