/haiku/src/preferences/network/ |
H A D | InterfaceListItem.h | 40 BRect bounds, bool complete);
|
H A D | InterfaceListItem.cpp | 64 InterfaceListItem::DrawItem(BView* owner, BRect bounds, bool complete) argument 77 owner->FillRect(bounds); 84 // Set the initial bounds of item contents 85 BPoint iconPoint = bounds.LeftTop() 87 BPoint statePoint = bounds.RightTop() + BPoint(0, fFirstLineOffset) 90 BPoint namePoint = bounds.LeftTop() 128 BPoint linePoint = bounds.LeftTop()
|
/haiku/src/kits/interface/ |
H A D | Bitmap.cpp | 170 \param bounds The bitmap dimensions. 178 BBitmap::BBitmap(BRect bounds, uint32 flags, color_space colorSpace, argument 194 _InitObject(bounds, colorSpace, flags, bytesPerRow, screenID); 199 \param bounds The bitmap dimensions. 207 BBitmap::BBitmap(BRect bounds, color_space colorSpace, bool acceptsViews, argument 225 _InitObject(bounds, colorSpace, flags, B_ANY_BYTES_PER_ROW, 311 BBitmap::BBitmap(area_id area, ptrdiff_t areaOffset, BRect bounds, argument 328 _InitObject(bounds, colorSpace, flags, 380 BRect bounds; local 382 if (data->FindRect("_frame", &bounds) 1041 _InitObject(BRect bounds, color_space colorSpace, uint32 flags, int32 bytesPerRow, screen_id screenID, area_id area, ptrdiff_t areaOffset) argument [all...] |
H A D | Box.cpp | 321 BRect bounds(Bounds()); 330 BRect invalid(bounds); 331 if (fBounds.Width() < bounds.Width()) { 333 invalid.left = bounds.left + fBounds.right - borderSize; 334 invalid.right = bounds.left + fBounds.right; 337 } else if (fBounds.Width() > bounds.Width()) { 339 invalid.left = bounds.left + bounds.right - borderSize; 345 invalid = bounds; 346 if (fBounds.Height() < bounds [all...] |
H A D | TextControl.cpp | 409 BRect bounds = Bounds(); local 411 if (bounds.Width() > fLayoutData->previous_width) { 413 BRect rect = bounds; 417 } else if (bounds.Width() < fLayoutData->previous_width) { 419 BRect rect = bounds; 426 if (bounds.Height() > fLayoutData->previous_height) { 428 BRect rect = bounds; 433 rect = bounds; 436 } else if (bounds.Height() < fLayoutData->previous_height) { 438 BRect rect = bounds; [all...] |
/haiku/headers/os/interface/ |
H A D | Bitmap.h | 47 BBitmap(BRect bounds, uint32 flags, 51 BBitmap(BRect bounds, color_space colorSpace, 60 BRect bounds, uint32 flags, 139 void _InitObject(BRect bounds,
|
/haiku/src/preferences/keymap/ |
H A D | StatusMenuField.cpp | 127 BRect bounds(Menu()->Bounds()); 128 bounds.top += roundf(Spacing() / 2); // center inside menu field vertically 129 bounds.right -= Spacing() * 3; // move inside menu field horizontally 130 return BLayoutUtils::AlignInFrame(bounds, IconSize(),
|
/haiku/src/add-ons/translators/psd/ |
H A D | PSDWriter.cpp | 30 BRect bounds; local 31 bounds.left = B_BENDIAN_TO_HOST_FLOAT(header.bounds.left); 32 bounds.top = B_BENDIAN_TO_HOST_FLOAT(header.bounds.top); 33 bounds.right = B_BENDIAN_TO_HOST_FLOAT(header.bounds.right); 34 bounds.bottom = B_BENDIAN_TO_HOST_FLOAT(header.bounds.bottom); 54 fWidth = bounds [all...] |
/haiku/src/add-ons/screen_savers/ifs/ |
H A D | IFS.h | 39 clipping_rect bounds; member in struct:buffer_info 89 IFS(BRect bounds);
|
/haiku/src/preferences/printers/ |
H A D | JobListView.cpp | 276 BRect bounds = list->ItemFrame(list->IndexOf(this)); local 288 owner->FillRect(bounds); 293 BPoint iconPt(bounds.LeftTop() + BPoint(2.0, 2.0)); 299 BPoint leftTop(bounds.LeftTop() + BPoint(12.0 + iconHeight, 2.0)); 304 BPoint pagePt(bounds.RightTop() + BPoint(-x, fntheight)); 305 BPoint sizePt(bounds.RightTop() + BPoint(-x, fntheight * 2.0));
|
/haiku/src/kits/translation/ |
H A D | BitmapStream.cpp | 39 fHeader.bounds = fBitmap->Bounds(); 43 ((fHeader.bounds.Height() + 1) * fHeader.rowBytes); 141 && (fBitmap->Bounds() != fHeader.bounds 150 if (fHeader.bounds.left > 0.0 || fHeader.bounds.top > 0.0) 151 DEBUGGER("non-origin bounds!"); 152 fBitmap = new (std::nothrow )BBitmap(fHeader.bounds,
|
/haiku/src/servers/app/ |
H A D | BitmapManager.cpp | 78 \param bounds Size of the bitmap 87 HWInterface& hwInterface, BRect bounds, color_space space, uint32 flags, 97 if (!hwInterface.CheckOverlayRestrictions(bounds.IntegerWidth() + 1, 98 bounds.IntegerHeight() + 1, space)) 108 ServerBitmap* bitmap = new(std::nothrow) ServerBitmap(bounds, space, flags, 195 BRect bounds, color_space space, uint32 flags, int32 bytesPerRow) 200 BReference<ServerBitmap> bitmap(new(std::nothrow) ServerBitmap(bounds, space, flags, 86 CreateBitmap(ClientMemoryAllocator* allocator, HWInterface& hwInterface, BRect bounds, color_space space, uint32 flags, int32 bytesPerRow, int32 screen, uint8* _allocationFlags) argument 194 CloneFromClient(area_id clientArea, int32 areaOffset, BRect bounds, color_space space, uint32 flags, int32 bytesPerRow) argument
|
/haiku/src/apps/icon-o-matic/ |
H A D | CanvasView.cpp | 76 BRect bounds(Bounds()); 79 BPoint boundsCenter((bounds.left + bounds.right) / 2, 80 (bounds.top + bounds.bottom) / 2); 616 BRect bounds(Bounds()); 617 anchor.x = (bounds.left + bounds.right + 1) / 2.0; 618 anchor.y = (bounds.top + bounds [all...] |
/haiku/src/add-ons/screen_savers/slideshowsaver/ |
H A D | SlideShowSaver.cpp | 252 BRect border = destRect, bounds = view->Bounds(); local 254 view->FillRect(BRect(0, 0, bounds.right, border.top-1), B_SOLID_LOW); 258 view->FillRect(BRect(border.right+1, border.top, bounds.right, border.bottom), B_SOLID_LOW); 260 view->FillRect(BRect(0, border.bottom+1, bounds.right, bounds.bottom), B_SOLID_LOW); 474 BRect bounds(view->Bounds()); 480 pos.x = (bounds.left + bounds.right - width)/2; 482 pos.y = bounds.bottom - fontHeight.descent - 5;
|
/haiku/src/apps/mediaplayer/interface/ |
H A D | PlayPauseButton.cpp | 56 BRect bounds(Bounds()); 62 offset.x = (bounds.left + bounds.right) / 2; 63 offset.y = (bounds.top + bounds.bottom) / 2;
|
/haiku/src/apps/login/ |
H A D | LoginView.cpp | 137 BRect bounds = Window()->Bounds(); local 139 bounds.bottom = fLoginButton->Frame().bottom + spacing; 140 bounds.right = fLoginButton->Frame().right + spacing; 141 Window()->ResizeTo(bounds.Width(), bounds.Height());
|
/haiku/src/add-ons/print/drivers/gutenprint/ |
H A D | GPDriver.cpp | 234 BRect bounds = bitmap->Bounds(); local 237 rc.left = (int)bounds.left; 238 rc.top = (int)bounds.top; 239 rc.right = (int)bounds.right; 240 rc.bottom = (int)bounds.bottom;
|
/haiku/src/apps/soundrecorder/ |
H A D | ScopeView.cpp | 68 BRect bounds = Bounds(); local 74 FillRect(bounds); 78 x += (fMainTime - fLeftTime) * bounds.right 81 StrokeLine(BPoint(x, bounds.top), BPoint(x, bounds.bottom));
|
/haiku/src/tests/kits/interface/bbitmap/ |
H A D | BBitmapTester.cpp | 93 BBitmap(BRect bounds, color_space colorSpace, bool acceptsViews, 95 @case 1 acceptsViews = false, needsContiguous = false, valid bounds, 104 BRect bounds; member in struct:test_case 196 int32 width = testCase.bounds.IntegerWidth() + 1; 197 int32 height = testCase.bounds.IntegerHeight() + 1; 200 BBitmap bitmap(testCase.bounds, testCase.space); 204 CHK(bitmap.Bounds() == testCase.bounds);
|
/haiku/src/add-ons/translators/jpeg2000/ |
H A D | JPEG2000Translator.cpp | 891 BRect bounds; 892 bounds.left = B_BENDIAN_TO_HOST_FLOAT(header.bounds.left); 893 bounds.top = B_BENDIAN_TO_HOST_FLOAT(header.bounds.top); 894 bounds.right = B_BENDIAN_TO_HOST_FLOAT(header.bounds.right); 895 bounds.bottom = B_BENDIAN_TO_HOST_FLOAT(header.bounds.bottom); 899 int width = bounds [all...] |
/haiku/src/add-ons/print/drivers/canon_lips/lips4/ |
H A D | Lips4.cpp | 119 BRect bounds = bitmap->Bounds(); local 122 rc.left = (int)bounds.left; 123 rc.top = (int)bounds.top; 124 rc.right = (int)bounds.right; 125 rc.bottom = (int)bounds.bottom;
|
/haiku/src/add-ons/print/drivers/canon_lips/lips3/ |
H A D | Lips3.cpp | 108 BRect bounds = bitmap->Bounds(); local 111 rc.left = (int)bounds.left; 112 rc.top = (int)bounds.top; 113 rc.right = (int)bounds.right; 114 rc.bottom = (int)bounds.bottom;
|
/haiku/src/add-ons/print/drivers/pcl5/ |
H A D | PCL5.cpp | 95 BRect bounds = bitmap->Bounds(); local 98 rc.left = (int)bounds.left; 99 rc.top = (int)bounds.top; 100 rc.right = (int)bounds.right; 101 rc.bottom = (int)bounds.bottom;
|
/haiku/src/kits/tracker/ |
H A D | Utilities.cpp | 429 OffscreenBitmap::NewBitmap(BRect bounds) argument 432 fBitmap = new(std::nothrow) BBitmap(bounds, B_RGB32, true); 665 FlickerFreeStringView::FlickerFreeStringView(BRect bounds, const char* name, argument 668 BStringView(bounds, name, text, resizingMode, flags), 677 FlickerFreeStringView::FlickerFreeStringView(BRect bounds, const char* name, argument 680 BStringView(bounds, name, text, resizingMode, flags), 698 BRect bounds(Bounds()); 702 BView* offscreen = fBitmap->BeginUsing(bounds); 719 offscreen->DrawBitmap(fOriginalBitmap, Frame(), bounds); 721 offscreen->FillRect(bounds, B_SOLID_LO [all...] |
/haiku/src/kits/print/ |
H A D | PrintPanel.cpp | 221 BRect bounds(Bounds()); 223 MoveTo((frame.Width() - bounds.Width()) / 2.0, 224 (frame.Height() - bounds.Height()) / 2.0);
|