/haiku/src/apps/cortex/RouteApp/ |
H A D | RouteWindow.cpp | 133 rvBounds.top = pMenuBar->Frame().bottom+1; 135 rvBounds.bottom -= B_H_SCROLL_BAR_HEIGHT; 140 hsBounds.top = hsBounds.bottom + 1; 142 hsBounds.bottom = b.bottom + 1; 152 vsBounds.bottom++; 161 svBounds.top = svBounds.bottom + 1; 162 svBounds.bottom = b.bottom + 1; 243 if(r.top >= (sr.bottom [all...] |
/haiku/src/kits/interface/ |
H A D | HaikuControlLook.cpp | 479 rect.bottom++; 587 view->AddLine(BPoint(rect.left + 1, rect.bottom), 588 BPoint(rect.right, rect.bottom), borderColor); 590 BPoint(rect.right, rect.bottom - 1), borderColor); 594 BPoint(rect.left, rect.bottom), borderColor); 597 BPoint(rect.left, rect.bottom), highlightColor); 727 // dark vertical line on bottom edge 731 rect.bottom--; 795 view->AddLine(BPoint(rect.left, rect.bottom), 800 BPoint(rect.right, rect.bottom), dark 2692 _DrawFrame(BView* view, BRect& rect, const rgb_color& left, const rgb_color& top, const rgb_color& right, const rgb_color& bottom, uint32 borders) argument 2719 BPoint(rect.right, rect.bottom), bottom); local 2728 _DrawFrame(BView* view, BRect& rect, const rgb_color& left, const rgb_color& top, const rgb_color& right, const rgb_color& bottom, const rgb_color& rightTop, const rgb_color& leftBottom, uint32 borders) argument 2763 BPoint(rect.right, rect.bottom), bottom); local [all...] |
H A D | Box.cpp | 172 frame.bottom -= fLayoutData->insets.bottom; 348 invalid.top = bounds.top + fBounds.bottom - borderSize; 349 invalid.bottom = bounds.top + fBounds.bottom; 354 invalid.top = bounds.top + bounds.bottom - borderSize; 361 fBounds.bottom = height; 613 frame.bottom -= fLayoutData->insets.bottom; 701 AddLine(BPoint(rect.left, rect.bottom), [all...] |
H A D | LayoutUtils.cpp | 175 frame.bottom = frame.top + maxSize.height; 203 frame.bottom = frame.top + std::max(frame.Height(), minHeight); 223 rect.bottom = rect.top + size.height; 252 if (rect.bottom > frameSize.height) 253 leftTop.y -= rect.bottom - frameSize.height; 301 indent.String(), frame.left, frame.top, frame.right, frame.bottom, 353 indent.String(), frame.left, frame.top, frame.right, frame.bottom,
|
H A D | BMCPrivate.cpp | 335 float left, top, right, bottom; local 336 GetItemMargins(&left, &top, &right, &bottom); 345 bottom = top - 1; 351 bottom--; 357 right + (fShowPopUpMarker ? kPopUpIndicatorWidth : 0), bottom);
|
H A D | ScrollView.cpp | 197 // bottom right edge of a window with the B_DOCUMENT_LOOK to 204 || bounds.bottom - _BorderSize() != windowBounds.bottom) { 313 fVerticalScrollBar->Frame().bottom + 1); 335 // invalidate the region between the old and the new bottom border 338 rect.bottom--; 341 // invalidate the region of the new bottom border 343 rect.top = rect.bottom - border; 574 bounds.bottom - 1)); 576 bounds.bottom [all...] |
/haiku/src/tests/kits/game/direct_window_test/ |
H A D | StarWindow.cpp | 325 (info->window_bounds.bottom-info->window_bounds.top+1); 335 cy = (info->window_bounds.bottom+info->window_bounds.top+1)/2; 342 clipping_bound.bottom = info->clip_bounds.bottom - cy; 351 clipping_list[i].bottom = info->clip_list[i].bottom - cy; 398 (y < clipping_bound.top) || (y > clipping_bound.bottom)) 405 (y >= r->top) && (y <= r->bottom)) 580 (y < w->clipping_bound.top) || (y > w->clipping_bound.bottom)) 598 (y >= r->top) && (y <= r->bottom)) [all...] |
/haiku/src/system/libroot/posix/glibc/extensions/ |
H A D | getopt.c | 315 int bottom = first_nonopt; 347 while (top > middle && middle > bottom) 349 if (top - middle > middle - bottom) 352 int len = middle - bottom; 358 tem = argv[bottom + i]; 359 argv[bottom + i] = argv[top - (middle - bottom) + i]; 360 argv[top - (middle - bottom) + i] = tem; 361 SWAP_FLAGS (bottom + i, top - (middle - bottom) 312 int bottom = first_nonopt; local [all...] |
/haiku/src/add-ons/print/drivers/postscript/ |
H A D | PS.cpp | 162 // move origin from bottom left to top left 168 // move origin from bottom left to margin top and left 173 // y values increase from top to bottom 217 rc.bottom = (int)bounds.bottom; 219 int height = rc.bottom - rc.top + 1; 230 rc.bottom = height - 1; 239 rc.left, rc.top, rc.right, rc.bottom)); 248 int height = rc.bottom - rc.top + 1; 279 for (int i = rc.top; i <= rc.bottom; [all...] |
/haiku/src/add-ons/control_look/FlatControlLook/ |
H A D | FlatControlLook.cpp | 332 view->AddLine(BPoint(rect.left + 1, rect.bottom), 333 BPoint(rect.right, rect.bottom), borderColor); 335 BPoint(rect.right, rect.bottom - 1), borderColor); 339 BPoint(rect.left, rect.bottom), borderColor); 342 BPoint(rect.left, rect.bottom), highlightColor); 556 if (rect.bottom - 3 > vmiddle + spacer) { 571 BPoint(rect.left + middle - 3, rect.bottom - 2), 575 BPoint(rect.left + middle, rect.bottom - 2), 579 BPoint(rect.left + middle + 3, rect.bottom - 2), 583 BPoint(rect.left + middle - 2, rect.bottom [all...] |
/haiku/src/tests/servers/app/painter/ |
H A D | Painter.cpp | 504 BPoint b(r.right, r.bottom); 544 BPoint(r.right, r.bottom - 1), c); 545 StraightLine(BPoint(r.right, r.bottom), 546 BPoint(r.left + 1, r.bottom), c); 547 StraightLine(BPoint(r.left, r.bottom), 556 BPoint b(r.right, r.bottom); 576 // to the bottom-right (.9999, .9999) corner of pixels 600 int32 bottom = (int32)r.bottom; local 608 int32 y2 = min_c(fBaseRenderer->ymax(), bottom); 1360 double bottom = -1.0; local [all...] |
/haiku/src/add-ons/print/drivers/gutenprint/ |
H A D | GPJob.cpp | 246 &imageableArea.right, &imageableArea.bottom, &imageableArea.top); 248 "bottom %f\n", 250 imageableArea.bottom); 300 double bottom; local 301 coordinateSystem.ToGutenprintCeiling(fPrintRect.right, fPrintRect.bottom, 302 right, bottom); 305 if (bottom > imageableArea.bottom) 306 bottom = imageableArea.bottom; [all...] |
/haiku/src/servers/app/ |
H A D | WorkspacesView.cpp | 110 rect.bottom = frame.bottom; 154 frame.bottom = frame.bottom * factor; 161 frame.bottom = rintf(frame.bottom); 230 if (tabFrame.bottom >= tabFrame.top) { 233 tabFrame.bottom = frame.top - 1; 234 tabFrame.top = tabFrame.bottom - tabHeight; 397 drawingEngine->StrokeLine(BPoint(frame.left, rect.bottom), [all...] |
/haiku/src/apps/charactermap/ |
H A D | CharacterView.cpp | 162 int32 bottomBlock = _BlockAt(BPoint(Bounds().right, Bounds().bottom)); 327 box.bottom -= (box.Height() - fontHeight.ascent 330 menu->DrawString(Label(), BPoint(box.left, box.bottom)); 349 float left, top, bottom, right; local 350 GetItemMargins(&left, &top, &bottom, &right); 351 SetItemMargins(left, top, bottom, left); 523 if (y > updateRect.bottom) 536 && y < updateRect.bottom) { 698 fDataRect.bottom = 0; 705 fTitleTops[i] = (int32)ceilf(fDataRect.bottom); [all...] |
/haiku/src/apps/deskbar/ |
H A D | InlineScrollView.cpp | 201 FillTriangle(BPoint(middle, frame.bottom - (kScrollerDimension / 2) + 3), 202 BPoint(middle + 5, frame.bottom - (kScrollerDimension / 2) - 2), 203 BPoint(middle - 5, frame.bottom - (kScrollerDimension / 2) - 2)); 264 float middle = Bounds().bottom / 2; 328 float middle = Bounds().bottom / 2; 480 BRect(0, frame.bottom - 2 * kScrollerDimension + 1, frame.right, 481 frame.bottom - kScrollerDimension)); 493 frame.left + kScrollerDimension - 1, frame.bottom)); 500 frame.right, frame.bottom));
|
/haiku/src/apps/icon-o-matic/gui/ |
H A D | SwatchGroup.cpp | 50 fBottomSwatchViews = new Group(frame, "bottom swatch group"); 113 fTopSwatchViews->Frame().bottom + 1); 129 fColorField->MoveTo(0, fBottomSwatchViews->Frame().bottom + 3); 130 fColorSlider->MoveTo(0, fColorField->Frame().bottom + 1); 131 fAlphaSlider->MoveTo(0, fColorSlider->Frame().bottom + 1); 135 ResizeTo(width, fAlphaSlider->Frame().bottom + 4);
|
/haiku/src/apps/mediaplayer/playlist/ |
H A D | ListViews.cpp | 176 updateRect.top = r.bottom + 1.0; 243 dragRect.bottom += ceilf( item->Height() ) + 1.0; 246 dragRect.bottom = MAX_DRAG_HEIGHT; 257 itemBounds.bottom = 0.0; 262 itemBounds.bottom = itemBounds.top + ceilf( item->Height() ); 263 if ( itemBounds.bottom > dragRect.bottom ) 264 itemBounds.bottom = dragRect.bottom; 266 itemBounds.top = itemBounds.bottom [all...] |
/haiku/src/kits/tracker/ |
H A D | DialogPane.cpp | 104 point.y = (bounds.top + bounds.bottom 126 AddLine(BPoint(bounds.left + 2, bounds.bottom - 1), 127 BPoint(bounds.right - 2, bounds.bottom - 1), markColor); 128 AddLine(BPoint(bounds.left + 2, bounds.bottom), 129 BPoint(bounds.right - 2, bounds.bottom), kWhite);
|
/haiku/src/servers/app/drawing/ |
H A D | HWInterface.cpp | 402 _CopyToFront(srcOffset, srcBPR, r.left, r.top, r.right, r.bottom); 476 fCursorAreaBackup->right, fCursorAreaBackup->bottom); 555 int32 height = area.bottom - area.top + 1; 589 fCursorAreaBackup->bottom = area.bottom; 594 for (int32 y = area.top; y <= area.bottom; y++) { 622 for (int32 y = area.top; y <= area.bottom; y++) { 645 area.bottom); 659 int32 right, int32 bottom) const 677 for (; y <= bottom; [all...] |
/haiku/src/tests/add-ons/print/ppd/ui/ |
H A D | PrinterSelection.cpp | 39 bounds.right / 3.0 - kHorizontalSpace / 2, bounds.bottom - kBottomMargin); 41 listBounds.bottom -= B_H_SCROLL_BAR_HEIGHT; 47 listBounds.top += label->Bounds().bottom + 5;
|
/haiku/src/apps/icon-o-matic/generic/gui/ |
H A D | Group.cpp | 88 r.bottom = r.top + child->Bounds().Height() + 2 * fSpacing; 90 r.top = r.bottom + 1.0 - fSpacing; 128 frame.top = (frame.top + frame.bottom) / 2.0 - view->Bounds().Height() / 2.0;
|
/haiku/src/tests/kits/interface/flatten_picture/ |
H A D | PictureTestWindow.cpp | 64 b.top = mb->Bounds().bottom + 1; 72 b.top = fHeader->Frame().bottom + 1; 75 b.bottom -= B_H_SCROLL_BAR_HEIGHT;
|
/haiku/src/servers/app/drawing/Painter/bitmap_painter/ |
H A D | DrawBitmapGeneric.h | 77 destinationRect.bottom++; 86 path.line_to(destinationRect.right, destinationRect.bottom); 87 path.line_to(destinationRect.left, destinationRect.bottom);
|
H A D | DrawBitmapNearestNeighbor.h | 90 const int32 bottom = (int32)destinationRect.bottom; local 105 int32 y2 = min_c(baseRenderer.ymax(), bottom);
|
/haiku/src/apps/icon-o-matic/transformable/ |
H A D | TransformBoxStates.cpp | 92 fOldHeight = box.top - box.bottom; 94 origin.y = box.bottom; 100 fOldHeight = box.top - box.bottom; 102 origin.y = box.bottom; 106 fYOffsetFromCorner = origin.y - box.bottom; 108 fOldHeight = box.bottom - box.top; 114 fYOffsetFromCorner = origin.y - box.bottom; 116 fOldHeight = box.bottom - box.top; 322 fOldSideDist = box.top - box.bottom; 323 origin.y = box.bottom; [all...] |