Searched refs:bitmap (Results 1 - 25 of 295) sorted by last modified time

1234567891011>>

/haiku/src/servers/app/
H A DServerApp.cpp391 /*! \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 DBitmapManager.cpp44 //! 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 DView.h149 void SetViewBitmap(ServerBitmap* bitmap,
H A DView.cpp493 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 DServerWindow.cpp2041 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 DVideoConsumer.cpp691 VideoConsumer::LocalSave(char* filename, BBitmap* bitmap) argument
701 BBitmapStream input(bitmap);
713 input.DetachBitmap(&bitmap);
/haiku/src/kits/interface/
H A DColumnTypes.cpp595 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 DTextView.cpp3122 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 DShowImageWindow.cpp442 // 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 DColumnTypes.h199 BBitmapField(BBitmap* bitmap);
201 void SetBitmap(BBitmap* bitmap);
/haiku/src/apps/drivesetup/
H A DPartitionList.cpp59 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 DIconView.h56 status_t GetIcon(BBitmap* bitmap) const;
175 extern status_t icon_for_type(const BMimeType& type, BBitmap& bitmap,
H A DIconView.cpp101 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 DPowerStatusView.cpp597 BBitmap* bitmap = NULL; local
608 bitmap = BTranslationUtils::GetBitmap(&memoryIO);
628 notification.SetIcon(bitmap);
630 delete bitmap;
/haiku/src/apps/deskcalc/
H A DExpressionTextView.cpp129 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 DSwitcher.cpp2333 // 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 DPoseView.cpp141 // 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 DInterfaceDefs.h393 // 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 DPackageInfoView.cpp362 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 DPackageListView.cpp389 // 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 DPackageScreenshotRepository.h41 status_t LoadScreenshot(const ScreenshotCoordinate& coord, BitmapRef* bitmap);
43 BitmapRef* bitmap);
H A DPackageScreenshotRepository.cpp43 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 DPackageIconTarRepository.cpp235 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 DKeyboardLayoutView.cpp465 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 DMailWindow.cpp160 // 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;

Completed in 196 milliseconds

1234567891011>>