Lines Matching refs:dragBitmap
361 BBitmap* dragBitmap = new BBitmap(dragRect, B_RGB32, true); in InitiateDrag() local
362 if (dragBitmap->IsValid()) { in InitiateDrag()
363 BView* view = new BView(dragBitmap->Bounds(), "helper", B_FOLLOW_NONE, in InitiateDrag()
365 dragBitmap->AddChild(view); in InitiateDrag()
366 dragBitmap->Lock(); in InitiateDrag()
385 uint8* bits = (uint8*)dragBitmap->Bits(); in InitiateDrag()
386 int32 height = (int32)dragBitmap->Bounds().Height() + 1; in InitiateDrag()
387 int32 width = (int32)dragBitmap->Bounds().Width() + 1; in InitiateDrag()
388 int32 bpr = dragBitmap->BytesPerRow(); in InitiateDrag()
409 dragBitmap->Unlock(); in InitiateDrag()
411 delete dragBitmap; in InitiateDrag()
412 dragBitmap = NULL; in InitiateDrag()
415 if (dragBitmap != NULL) in InitiateDrag()
416 DragMessage(&message, dragBitmap, B_OP_ALPHA, BPoint(0.0, 0.0)); in InitiateDrag()