Lines Matching refs:dragBitmap
251 BBitmap* dragBitmap = new BBitmap( dragRect, B_RGB32, true );
252 if ( dragBitmap && dragBitmap->IsValid() ) {
253 if ( BView *v = new BView( dragBitmap->Bounds(), "helper", B_FOLLOW_NONE, B_WILL_DRAW ) ) {
254 dragBitmap->AddChild( v );
255 dragBitmap->Lock();
273 uint8 *bits = (uint8 *)dragBitmap->Bits();
274 int32 height = (int32)dragBitmap->Bounds().Height() + 1;
275 int32 width = (int32)dragBitmap->Bounds().Width() + 1;
276 int32 bpr = dragBitmap->BytesPerRow();
296 dragBitmap->Unlock();
299 delete dragBitmap;
300 dragBitmap = NULL;
302 if (dragBitmap)
303 DragMessage( &msg, dragBitmap, B_OP_ALPHA, BPoint( 0.0, 0.0 ) );