/haiku/src/preferences/locale/ |
H A D | LanguageListView.cpp | 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() [all …]
|
/haiku/src/kits/tracker/ |
H A D | DraggableContainerIcon.cpp | 129 BBitmap* dragBitmap = new BBitmap(rect, B_RGBA32, true); in MouseMoved() local 131 dragBitmap->Lock(); in MouseMoved() 132 BView* view = new BView(dragBitmap->Bounds(), "", B_FOLLOW_NONE, 0); in MouseMoved() 133 dragBitmap->AddChild(view); in MouseMoved() 171 dragBitmap->Unlock(); in MouseMoved() 192 DragMessage(&message, dragBitmap, B_OP_ALPHA, in MouseMoved()
|
H A D | Utilities.cpp | 643 BBitmap* dragBitmap = new BBitmap(rect, B_RGBA32, true); in MouseDown() local 644 dragBitmap->Lock(); in MouseDown() 645 BView* view = new BView(dragBitmap->Bounds(), "", B_FOLLOW_NONE, 0); in MouseDown() 646 dragBitmap->AddChild(view); in MouseDown() 662 dragBitmap->Unlock(); in MouseDown() 663 DragMessage(&fMessage, dragBitmap, B_OP_ALPHA, point, fTarget.Target(0)); in MouseDown()
|
H A D | PoseView.cpp | 7588 BBitmap* dragBitmap = NULL; in DragSelectedPoses() local 7593 dragBitmap = MakeDragBitmap(dragRect, clickPoint, index, offset); in DragSelectedPoses() 7597 dragBitmap = MakeDragBitmap(dragRect, clickPoint, index, offset); in DragSelectedPoses() 7599 if (dragBitmap != NULL) { in DragSelectedPoses() 7600 DragMessage(&message, dragBitmap, B_OP_ALPHA, offset); in DragSelectedPoses()
|
/haiku/src/apps/mediaplayer/playlist/ |
H A D | ListViews.cpp | 251 BBitmap* dragBitmap = new BBitmap( dragRect, B_RGB32, true ); in InitiateDrag() local 252 if ( dragBitmap && dragBitmap->IsValid() ) { in InitiateDrag() 253 if ( BView *v = new BView( dragBitmap->Bounds(), "helper", B_FOLLOW_NONE, B_WILL_DRAW ) ) { in InitiateDrag() 254 dragBitmap->AddChild( v ); in InitiateDrag() 255 dragBitmap->Lock(); in InitiateDrag() 273 uint8 *bits = (uint8 *)dragBitmap->Bits(); in InitiateDrag() 274 int32 height = (int32)dragBitmap->Bounds().Height() + 1; in InitiateDrag() 275 int32 width = (int32)dragBitmap->Bounds().Width() + 1; in InitiateDrag() 276 int32 bpr = dragBitmap->BytesPerRow(); in InitiateDrag() 296 dragBitmap->Unlock(); in InitiateDrag() [all …]
|
/haiku/src/apps/icon-o-matic/generic/gui/ |
H A D | ListViews.cpp | 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() [all …]
|
/haiku/src/apps/cortex/DormantNodeView/ |
H A D | DormantNodeListItem.cpp | 224 BBitmap *dragBitmap = new BBitmap(m_frame.OffsetToCopy(BPoint(0.0, 0.0)), B_RGBA32, true); in getDragBitmap() local 225 dragBitmap->Lock(); { in getDragBitmap() 226 BView *dragView = new BView(dragBitmap->Bounds(), "", B_FOLLOW_NONE, 0); in getDragBitmap() 227 dragBitmap->AddChild(dragView); in getDragBitmap() 252 dragBitmap->Unlock(); in getDragBitmap() 253 return dragBitmap; in getDragBitmap()
|
/haiku/src/tests/servers/app/playground/ |
H A D | ObjectView.cpp | 330 BBitmap* dragBitmap = new BBitmap(BRect(0, 0, 40, 40), B_RGBA32, in MouseMoved() local 332 if (dragBitmap->Lock()) { in MouseMoved() 333 BView* helper = new BView(dragBitmap->Bounds(), in MouseMoved() 335 dragBitmap->AddChild(helper); in MouseMoved() 354 DragMessage(&newDragMessage, dragBitmap, B_OP_ALPHA, B_ORIGIN, in MouseMoved()
|
/haiku/src/kits/tracker/infowindow/ |
H A D | HeaderView.cpp | 413 BBitmap* dragBitmap = new BBitmap(rect, B_RGBA32, true); in MouseMoved() local 414 dragBitmap->Lock(); in MouseMoved() 415 BView* view = new BView(dragBitmap->Bounds(), "", in MouseMoved() 417 dragBitmap->AddChild(view); in MouseMoved() 456 dragBitmap->Unlock(); in MouseMoved() 470 DragMessage(&dragMessage, dragBitmap, B_OP_ALPHA, in MouseMoved()
|
/haiku/src/preferences/filetypes/ |
H A D | IconView.cpp | 923 BBitmap *dragBitmap = new BBitmap(fIconBitmap->Bounds(), B_RGBA32, true); in MouseMoved() local 924 dragBitmap->Lock(); in MouseMoved() 926 = new BView(dragBitmap->Bounds(), B_EMPTY_STRING, B_FOLLOW_NONE, 0); in MouseMoved() 927 dragBitmap->AddChild(view); in MouseMoved() 930 view->FillRect(dragBitmap->Bounds()); in MouseMoved() 937 dragBitmap->Unlock(); in MouseMoved() 939 DragMessage(&message, dragBitmap, B_OP_ALPHA, in MouseMoved()
|
/haiku/src/kits/interface/ |
H A D | TextView.cpp | 4893 BBitmap* dragBitmap = NULL; in _InitiateDrag() local 4897 GetDragParameters(&dragMessage, &dragBitmap, &bitmapPoint, &dragHandler); in _InitiateDrag() 4900 if (dragBitmap != NULL) in _InitiateDrag() 4901 DragMessage(&dragMessage, dragBitmap, bitmapPoint, dragHandler); in _InitiateDrag()
|