Lines Matching refs:dragBitmap
836 BBitmap* dragBitmap = new BBitmap(dragRect, B_RGBA32, true); in InitiateDrag() local
837 if (dragBitmap && dragBitmap->IsValid()) { in InitiateDrag()
838 if (BView* view = new BView(dragBitmap->Bounds(), "helper", in InitiateDrag()
840 dragBitmap->AddChild(view); in InitiateDrag()
841 dragBitmap->Lock(); in InitiateDrag()
862 uint8* bits = (uint8*)dragBitmap->Bits(); in InitiateDrag()
863 int32 height = (int32)dragBitmap->Bounds().Height() + 1; in InitiateDrag()
864 int32 width = (int32)dragBitmap->Bounds().Width() + 1; in InitiateDrag()
865 int32 bpr = dragBitmap->BytesPerRow(); in InitiateDrag()
885 dragBitmap->Unlock(); in InitiateDrag()
888 delete dragBitmap; in InitiateDrag()
889 dragBitmap = NULL; in InitiateDrag()
892 if (dragBitmap) in InitiateDrag()
893 DragMessage(&msg, dragBitmap, B_OP_ALPHA, B_ORIGIN); in InitiateDrag()