/haiku/src/servers/app/ |
H A D | ServerApp.cpp | 391 /*! \brief Acquires a reference of the desired bitmap, if available. 392 \param token ID token of the bitmap to find 393 \return The bitmap having that ID or NULL if not found 403 ServerBitmap* bitmap = _FindBitmap(token); local 404 if (bitmap == NULL) 407 bitmap->AcquireReference(); 409 return bitmap; 580 ServerBitmap* bitmap = iterator->second; local 583 bitmap->Token(), bitmap 748 BReference<ServerBitmap> bitmap; local 802 ServerBitmap* bitmap = _FindBitmap(token); local 859 BReference<ServerBitmap> bitmap; local 3734 ServerBitmap* bitmap = GetBitmap(bitmapToken); local 3788 _AddBitmap(ServerBitmap* bitmap) argument 3804 _DeleteBitmap(ServerBitmap* bitmap) argument [all...] |
H A D | BitmapManager.cpp | 44 //! The one and only bitmap manager for the server, created by the AppServer 78 \param bounds Size of the bitmap 79 \param space Color space of the bitmap 108 ServerBitmap* bitmap = new(std::nothrow) ServerBitmap(bounds, space, flags, local 110 if (bitmap == NULL) { 120 Overlay* overlay = new(std::nothrow) Overlay(hwInterface, bitmap, 129 clientData = (overlay_client_data*)bitmap->fClientMemory.Allocate( 136 bitmap->fMemory = &bitmap->fClientMemory; 137 bitmap 225 BitmapRemoved(ServerBitmap* bitmap) argument 251 ServerBitmap* bitmap = (ServerBitmap*)fOverlays.ItemAt(i); local 262 ServerBitmap* bitmap = (ServerBitmap*)fOverlays.ItemAt(i); local 280 ServerBitmap* bitmap = (ServerBitmap*)fOverlays.ItemAt(i); local 291 ServerBitmap* bitmap = (ServerBitmap*)fOverlays.ItemAt(i); local [all...] |
H A D | View.h | 149 void SetViewBitmap(ServerBitmap* bitmap,
|
H A D | View.cpp | 493 View::SetViewBitmap(ServerBitmap* bitmap, IntRect sourceRect, argument 499 if (bitmap != NULL) { 501 Overlay* newOverlay = bitmap->Overlay(); 509 fViewBitmap.SetTo(bitmap, false); 733 // view bitmap 1077 // draw view bitmap
|
H A D | ServerWindow.cpp | 2041 BReference<ServerBitmap> bitmap(fServerApp->GetBitmap(bitmapToken), true); 2042 if (bitmapToken == -1 || bitmap != NULL) { 2046 fCurrentView->SetViewBitmap(bitmap, srcRect, dstRect, 2055 if (bitmap == NULL || bitmap->Overlay() == NULL 2061 if (bitmap != NULL && bitmap->Overlay() != NULL) { 2062 bitmap->Overlay()->SetFlags(options); 2063 colorKey = bitmap->Overlay()->Color(); 2071 // Attach color key for the overlay bitmap [all...] |
/haiku/src/apps/codycam/ |
H A D | VideoConsumer.cpp | 691 VideoConsumer::LocalSave(char* filename, BBitmap* bitmap) argument 701 BBitmapStream input(bitmap); 713 input.DetachBitmap(&bitmap);
|
/haiku/src/kits/interface/ |
H A D | ColumnTypes.cpp | 595 BBitmapField::BBitmapField(BBitmap* bitmap) argument 597 fBitmap(bitmap) 610 BBitmapField::SetBitmap(BBitmap* bitmap) argument 612 fBitmap = bitmap; 631 const BBitmap* bitmap = bitmapField->Bitmap(); local 633 if (bitmap != NULL) { 635 BRect r = bitmap->Bounds(); 652 // setup drawing mode according to bitmap color space, 655 if (bitmap->ColorSpace() == B_RGBA32 656 || bitmap [all...] |
H A D | TextView.cpp | 3122 BTextView::GetDragParameters(BMessage* drag, BBitmap** bitmap, BPoint* point, argument 3149 if (bitmap != NULL) 3150 *bitmap = NULL; 5158 //! Deletes the textview's offscreen bitmap, if any. 5169 /*! Creates a new offscreen bitmap, highlight the selection, and set the
|
/haiku/src/apps/showimage/ |
H A D | ShowImageWindow.cpp | 442 // to from the Be bitmap image format 539 BBitmap* bitmap = fImageView->Bitmap(); local 541 if (bitmap == NULL || !screen.IsValid()) 545 BRect r(bitmap->Bounds()); 1511 BBitmap* bitmap = fImageView->Bitmap(); local 1512 float imageWidth = bitmap->Bounds().Width() + 1.0; 1513 float imageHeight = bitmap->Bounds().Height() + 1.0; 1546 BRect bounds(bitmap->Bounds());
|
/haiku/headers/private/interface/ |
H A D | ColumnTypes.h | 199 BBitmapField(BBitmap* bitmap); 201 void SetBitmap(BBitmap* bitmap);
|
/haiku/src/apps/drivesetup/ |
H A D | PartitionList.cpp | 59 BBitmapStringField::BBitmapStringField(BBitmap* bitmap, const char* string) argument 62 fBitmap(bitmap) 74 BBitmapStringField::SetBitmap(BBitmap* bitmap) argument 77 fBitmap = bitmap; 106 const BBitmap* bitmap = bitmapField->Bitmap(); local 110 BRect r = bitmap ? bitmap->Bounds() : BRect(0, 0, 15, 15); 137 // draw the bitmap 138 if (bitmap) { 140 parent->DrawBitmap(bitmap, BPoin 175 const BBitmap* bitmap = bitmapField->Bitmap(); local [all...] |
/haiku/src/preferences/filetypes/ |
H A D | IconView.h | 56 status_t GetIcon(BBitmap* bitmap) const; 175 extern status_t icon_for_type(const BMimeType& type, BBitmap& bitmap,
|
H A D | IconView.cpp | 101 icon_for_type(const BMimeType& type, BBitmap& bitmap, icon_size size, argument 106 if (type.GetIcon(&bitmap, size) == B_OK) 116 if (preferredApp.GetIconForType(type.Type(), &bitmap, size) == B_OK) 126 if (superType.GetIcon(&bitmap, size) == B_OK) 135 &bitmap, size) == B_OK) 407 BBitmap* bitmap = new (nothrow) BBitmap(source); 408 if (bitmap == NULL || bitmap->InitCheck() != B_OK) { 409 delete bitmap; 413 *_bitmap = bitmap; 531 BBitmap* bitmap; local 1057 BBitmap* bitmap = NULL; local [all...] |
/haiku/src/apps/powerstatus/ |
H A D | PowerStatusView.cpp | 597 BBitmap* bitmap = NULL; local 608 bitmap = BTranslationUtils::GetBitmap(&memoryIO); 628 notification.SetIcon(bitmap); 630 delete bitmap;
|
/haiku/src/apps/deskcalc/ |
H A D | ExpressionTextView.cpp | 129 BBitmap** bitmap, BPoint* point, BHandler** handler) 131 InputTextView::GetDragParameters(dragMessage, bitmap, point, handler); 128 GetDragParameters(BMessage* dragMessage, BBitmap** bitmap, BPoint* point, BHandler** handler) argument
|
/haiku/src/apps/deskbar/ |
H A D | Switcher.cpp | 2333 // get the (cached) window icon bitmap 2335 const BBitmap* bitmap = app->FetchWindowIcon(local, minimized); local 2336 if (bitmap != NULL) 2337 iconWidth = bitmap->Bounds().Width(); 2342 if (bitmap != NULL) 2352 if (bitmap != NULL) { 2360 // center bitmap horizontally and move text past icon 2361 if (bitmap != NULL) { 2362 p.y -= (bitmap->Bounds().bottom - bitmap [all...] |
/haiku/src/kits/tracker/ |
H A D | PoseView.cpp | 141 // maximum size of the transparent drag bitmap, use a drag rect 4269 // handle simple bitmap clipping drag&drop message 4813 // bitmap, make into a clipping file 4833 message, B_TRANSLATE("Untitled bitmap"), targetPose == NULL, 4855 PRINT(("error writing bitmap into file %s\n", name)); 7631 // The bitmap is now always created (if DRAG_FRAME is not defined) 7688 // set the offset for the dragged bitmap (for the BView::DragMessage() call) 7694 BBitmap* bitmap = new BBitmap(rect, B_RGBA32, true); local 7695 bitmap->Lock(); 7696 BView* view = new BView(bitmap [all...] |
/haiku/headers/os/interface/ |
H A D | InterfaceDefs.h | 393 // disabled version of the specified bitmap 399 // transfer bitmap ownership to the view 405 // crop the bitmap to the not fully transparent area; may change the 475 status_t get_mouse_bitmap(BBitmap** bitmap, BPoint* hotspot);
|
/haiku/src/apps/haikudepot/ui/ |
H A D | PackageInfoView.cpp | 362 BitmapRef bitmap; local 364 package->Name(), BITMAP_SIZE_64, bitmap); 367 fIconView->SetBitmap(bitmap, BITMAP_SIZE_32); 1192 void SetScreenshotThumbnail(const BitmapRef& bitmap) argument 1194 fAboutView->SetScreenshotThumbnail(bitmap);
|
H A D | PackageListView.cpp | 389 // Scale the bitmap to 16x16 420 // draw the bitmap 430 const BBitmap* bitmap = bitmapRef->Bitmap(BITMAP_SIZE_16); local 431 if (bitmap != NULL && bitmap->IsValid()) { 434 parent->DrawBitmap(bitmap, bitmap->Bounds(), viewRect);
|
/haiku/src/apps/haikudepot/model/ |
H A D | PackageScreenshotRepository.h | 41 status_t LoadScreenshot(const ScreenshotCoordinate& coord, BitmapRef* bitmap); 43 BitmapRef* bitmap);
|
H A D | PackageScreenshotRepository.cpp | 43 PackageScreenshotRepository::LoadScreenshot(const ScreenshotCoordinate& coord, BitmapRef* bitmap) argument 45 if (bitmap == NULL) 46 debugger("expected the bitmap to be supplied"); 65 *bitmap = BitmapRef(new(std::nothrow)SharedBitmap(fileIo), true); 80 BitmapRef* bitmap) 82 if (bitmap == NULL) 83 debugger("expected the bitmap to be supplied"); 94 *bitmap = BitmapRef(new(std::nothrow)SharedBitmap(*data), true); 79 CacheAndLoadScreenshot(const ScreenshotCoordinate& coord, BitmapRef* bitmap) argument
|
H A D | PackageIconTarRepository.cpp | 235 BitmapRef& bitmap) 249 bitmap.SetTo(sDefaultIcon); 254 result = _CreateIconFromTarOffset(iconDataTarOffset, bitmap); 256 fIconCache.Put(key, bitmap); 263 bitmap.SetTo(fIconCache.Get(key).Get()); 291 HDFATAL("unsupported bitmap size"); 307 BitmapRef& bitmap) 317 bitmap.SetTo(new(std::nothrow)SharedBitmap(*fTarIo, header.Length())); 324 option. If there are only bitmap images to choose from then consider what 234 GetIcon(const BString& pkgName, BitmapSize size, BitmapRef& bitmap) argument 306 _CreateIconFromTarOffset(off_t offset, BitmapRef& bitmap) argument
|
/haiku/src/preferences/keymap/ |
H A D | KeyboardLayoutView.cpp | 465 BBitmap* bitmap = new BBitmap(rect, B_RGBA32, true); local 466 bitmap->Lock(); 469 bitmap->AddChild(view); 480 bitmap->Unlock(); 494 DragMessage(&drag, bitmap, B_OP_ALPHA, offset);
|
/haiku/src/apps/mail/ |
H A D | MailWindow.cpp | 160 // static bitmap cache 634 // Check for the bitmap in the cache first 651 BBitmap* bitmap = new BBitmap(BRect(BPoint(0, 0), 653 status_t status = BIconUtils::GetVectorIcon((uint8*)data, size, bitmap); 656 item->bm = bitmap; 659 return bitmap;
|