Searched refs:fBitmap (Results 1 - 25 of 134) sorted by last modified time

123456

/haiku/src/apps/diskprobe/
H A DProbeView.cpp83 BBitmap* fBitmap; member in class:IconView
236 fBitmap(NULL)
240 if (fBitmap != NULL)
241 SetExplicitSize(fBitmap->Bounds().Size());
247 delete fBitmap;
261 if (fBitmap == NULL)
265 DrawBitmap(fBitmap, updateRect, updateRect);
273 if (fBitmap == NULL) {
274 fBitmap = new BBitmap(BRect(BPoint(0, 0), be_control_look->ComposeIconSize(B_LARGE_ICON)),
278 if (fBitmap !
[all...]
H A DTypeEditors.cpp134 BBitmap* fBitmap; member in class:ImageView
850 fBitmap(NULL),
897 delete fBitmap;
942 if (fBitmap != NULL) {
944 DrawBitmap(fBitmap, BPoint((Bounds().Width() - fBitmap->Bounds().Width()) / 2, 0));
970 if (fBitmap != NULL && (fEditor.Type() == B_MINI_ICON_TYPE
973 fBitmap->SetBits(data, fEditor.FileSize(), 0, B_CMAP8);
977 if (fBitmap != NULL && fEditor.Type() == B_VECTOR_ICON_TYPE
978 && fScaleSlider->Value() * 8 - 1 == fBitmap
[all...]
/haiku/src/apps/codycam/
H A DVideoConsumer.cpp83 fBitmap[j] = NULL;
303 fBitmap[j] = new BBitmap(BRect(0, 0, (xSize - 1), (ySize - 1)),
305 if (fBitmap[j]->IsValid()) {
307 if ((info.area = area_for(fBitmap[j]->Bits())) == B_ERROR)
310 info.size = (size_t)fBitmap[j]->BitsLength();
365 if (fBitmap[j]->IsValid()) {
366 delete fBitmap[j];
367 fBitmap[j] = NULL;
597 memcpy(fBitmap[index]->Bits(), buffer->Data(),
598 fBitmap[inde
[all...]
/haiku/src/kits/interface/
H A DColumnTypes.cpp597 fBitmap(bitmap)
605 return fBitmap;
612 fBitmap = bitmap;
/haiku/headers/private/interface/
H A DColumnTypes.h204 BBitmap* fBitmap; member in class:BBitmapField
/haiku/src/apps/drivesetup/
H A DPartitionList.cpp62 fBitmap(bitmap)
69 delete fBitmap;
76 delete fBitmap;
77 fBitmap = bitmap;
/haiku/src/kits/tracker/
H A DUtilities.cpp409 fBitmap(NULL)
417 fBitmap(NULL)
424 delete fBitmap;
431 delete fBitmap;
432 fBitmap = new(std::nothrow) BBitmap(bounds, B_RGB32, true);
433 if (fBitmap != NULL && fBitmap->Lock()) {
434 BView* view = new BView(fBitmap->Bounds(), "", B_FOLLOW_NONE, 0);
435 fBitmap->AddChild(view);
442 fBitmap
[all...]
H A DUtilities.h207 BBitmap* fBitmap; member in class:BPrivate::OffscreenBitmap
236 OffscreenBitmap* fBitmap; member in class:BPrivate::FlickerFreeStringView
265 BBitmap* fBitmap; member in class:BPrivate::DraggableIcon
H A DIconCache.cpp1848 fBitmap(NULL),
1859 delete fBitmap;
1866 if (fBitmap == NULL)
1867 fBitmap = new BBitmap(BRect(BPoint(0, 0), fSize), fColorSpace);
1869 return fBitmap;
1876 if (fBitmap == NULL)
1879 BBitmap* bitmap = fBitmap;
1880 fBitmap = NULL;
/haiku/src/servers/notification/
H A DNotificationView.cpp72 fBitmap(NULL),
77 fBitmap = new BBitmap(fNotification->Icon());
121 delete fBitmap;
175 if ((strcmp(property, "icon") == 0) && fBitmap) {
177 if (fBitmap->Archive(&archive) == B_OK)
220 delete fBitmap;
221 fBitmap = new BBitmap(&archive);
266 if (fBitmap) {
277 DrawBitmapAsync(fBitmap, fBitmap
[all...]
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DBPlusTree.cpp123 uint8* fBitmap; member in class:BFS::BitmapArray
3026 fBitmap = (uint8*)calloc(fSize, 1);
3033 free(fBitmap);
3040 return fBitmap != NULL ? B_OK : B_NO_MEMORY;
3051 return (fBitmap[byteIndex] & (1UL << (index & 0x7))) != 0;
3063 fBitmap[byteIndex] |= 1UL << (index & 0x7);
3066 fBitmap[byteIndex] &= ~(1UL << (index & 0x7));
/haiku/src/apps/overlayimage/
H A DOverlayView.cpp34 fBitmap = NULL;
67 fBitmap = new BBitmap(archive);
73 delete fBitmap;
83 if (fBitmap)
84 DrawBitmap(fBitmap, B_ORIGIN);
102 delete fBitmap;
103 fBitmap = BTranslationUtils::GetBitmap(path.Path());
105 if (fBitmap != NULL) {
111 BRect rect = fBitmap->Bounds();
155 if (fBitmap) {
[all...]
H A DOverlayView.h44 BBitmap *fBitmap; member in class:OverlayView
/haiku/src/apps/deskbar/
H A DWindowMenuItem.cpp65 fBitmap(NULL),
85 *width += fBitmap->Bounds().Width() + sLabelOffset;
96 *height = (fID >= 0) ? fBitmap->Bounds().Height() : 0.0f;
163 const float bitmapWidth = fBitmap->Bounds().Width(),
164 bitmapHeight = fBitmap->Bounds().Height();
176 menu->DrawBitmapAsync(fBitmap);
273 fBitmap = app->FetchWindowIcon(fIsLocal, fIsMinimized);
/haiku/src/apps/showimage/
H A DShowImageView.cpp179 fBitmap(NULL),
295 msg.AddInt32("width", fBitmap->Bounds().IntegerWidth() + 1);
296 msg.AddInt32("height", fBitmap->Bounds().IntegerHeight() + 1);
298 msg.AddInt32("colors", fBitmap->ColorSpace());
329 if (fDisplayBitmap != fBitmap)
336 delete fBitmap;
339 fBitmap = NULL;
382 fBitmap = bitmap;
389 if (fBitmap != NULL) {
391 if (fBitmap
[all...]
H A DShowImageView.h187 BBitmap* fBitmap; member in class:ShowImageView
/haiku/src/libs/icon/
H A DIconRenderer.h93 BBitmap* fBitmap; member in class:IconRenderer
H A DIconRenderer.cpp398 : fBitmap(bitmap),
453 _Render(fBitmap->Bounds(), showReferences);
455 _Render(fBitmap->Bounds());
468 _Render(fBitmap->Bounds() & area, showReferences);
470 _Render(fBitmap->Bounds() & area);
503 uint8* bits = (uint8*)fBitmap->Bits();
504 uint32 bpr = fBitmap->BytesPerRow();
505 uint32 width = fBitmap->Bounds().IntegerWidth() + 1;
506 uint32 height = fBitmap->Bounds().IntegerHeight() + 1;
545 memcpy(fBitmap
[all...]
/haiku/src/apps/resedit/
H A DResFields.cpp34 fBitmap = bitmap;
40 delete fBitmap;
47 if (fBitmap) {
48 // Scale the fBitmap down to completely fit within the field's height
49 BRect drawrect(fBitmap->Bounds().OffsetToCopy(rect.LeftTop()));
53 (fBitmap->Bounds().Width() *
54 (rect.Height() / fBitmap->Bounds().Height()));
58 parent->DrawBitmap(fBitmap, fBitmap->Bounds(), drawrect);
63 fBitmap
[all...]
/haiku/src/apps/magnify/
H A DMagnify.cpp1915 fBitmap = NULL;
1924 delete fBitmap;
1943 delete fBitmap;
1945 fBitmap = new BBitmap(bitsRect, fColorSpace);
1948 fOldBits = (char*)malloc(fBitmap->BitsLength());
1997 DrawBitmap(fBitmap, srcRect, destRect);
2031 memcpy(fOldBits, fBitmap->Bits(), fBitmap->BitsLength());
2033 screen.ReadBitmap(fBitmap, false, &srcRect);
2036 return memcmp(fBitmap
[all...]
/haiku/src/bin/bfs_tools/lib/
H A DBitmap.cpp20 fBitmap(NULL),
30 fBitmap(NULL),
41 free(fBitmap);
49 free(fBitmap);
56 fBitmap = (uint32 *)malloc(fByteSize);
57 if (!fBitmap)
74 if ((size = disk->ReadAt(disk->BlockSize(), fBitmap, fByteSize)) < B_OK) {
75 free(fBitmap);
76 fBitmap = NULL;
89 if (compare & fBitmap[
[all...]
/haiku/src/apps/tv/
H A DVideoNode.cpp85 , fBitmap(0)
351 if (fBitmap) {
354 if (B_OK == fBitmap->LockBits()) {
356 // memcpy(fBitmap->Bits(), buffer->Data(), fBitmap->BitsLength());
358 // fBitmap->SetBits(buffer->Data(), fBitmap->BitsLength(), 0,
361 overlay_copy(fBitmap->Bounds().IntegerHeight() + 1,
362 fBitmap->Bits(), fBitmap
[all...]
/haiku/src/apps/soundrecorder/
H A DTrackSlider.cpp28 fBitmap(NULL),
50 delete fBitmap;
67 if (fBitmap != NULL) {
69 fBitmap->RemoveChild(fBitmapView);
72 delete fBitmap;
77 fBitmap = new BBitmap(rect, BScreen().ColorSpace(), true);
80 fBitmap->AddChild(fBitmapView);
103 if (fBitmap->Lock()) {
105 fBitmap->Unlock();
113 DrawBitmapAsync(fBitmap, BPoin
[all...]
/haiku/src/add-ons/media/media-add-ons/videowindow/
H A DVideoNode.cpp34 , fBitmap(0)
53 , fBitmap(0)
267 fInput.format.u.raw_video.display.format = fBitmap->ColorSpace();
333 if (fBitmap && fWindow && fVideoView) {
336 if (B_OK == fBitmap->LockBits()) {
337 memcpy(fBitmap->Bits(), buffer->Data(), fBitmap->BitsLength());
338 fBitmap->UnlockBits();
341 memcpy(fBitmap->Bits(), buffer->Data(), fBitmap
[all...]
/haiku/src/apps/icon-o-matic/gui/
H A DIconView.cpp20 fBitmap(new BBitmap(frame.OffsetToCopy(B_ORIGIN), 0, B_RGB32)),
22 fRenderer(new IconRenderer(fBitmap)),
23 fDirtyIconArea(fBitmap->Bounds()),
40 delete fBitmap;
65 DrawBitmap(fBitmap, B_ORIGIN);
117 fDirtyIconArea = fBitmap->Bounds();

Completed in 215 milliseconds

123456