/haiku/src/tests/kits/game/chart/ |
H A D | ChartRender.cpp | 62 from a left, right, top or bottom clipping border. */ 229 /* Do the top and bottom clipping based on the pyramid of vision. */ 282 (s->v < buf->clip_bounds.top) || 295 (s->v >= r->top) && 314 box.top = s->v - 2; 321 (box.bottom < buf->clip_bounds.top) || 322 (box.top > buf->clip_bounds.bottom)) 354 /* Calculate the clipping on the top side of the rectangle. */ 355 delta = r->top-box.top; [all...] |
/haiku/src/apps/webpositive/autocompletion/ |
H A D | AutoCompleterDefaultImpl.cpp | 292 float yPos = frame.top + fontHeight.ascent; 297 owner->FillRect(BRect(xPos, frame.top, xPos + w - 1, frame.bottom), 306 owner->FillRect(BRect(xPos, frame.top, xPos + w - 1, frame.bottom), 315 owner->FillRect(BRect(xPos, frame.top, xPos + w - 1, frame.bottom), 397 listRect.bottom = listRect.top + listHeight - 1; 402 listRect.OffsetTo(pvRect.left, pvRect.top - listHeight); 405 // Moving here to cut off the scrollbar top 407 // Adding the 1 and 2 to cut-off the scroll-bar top, right and bottom 416 fWindow->MoveTo(listRect.left, listRect.top);
|
/haiku/src/servers/app/drawing/ |
H A D | AlphaMask.cpp | 203 -fPreviousMask->fBounds.left, -fPreviousMask->fBounds.top)); 209 int32 y = previousBounds.top; 243 for (; y < previousBounds.top + height; y++) { 295 const int32 offsetY = fBounds.top + maskOffset.y + fCanvasOrigin.y; 407 engine->SetRendererOffset(fBounds.left, fBounds.top); 482 boundingBox.top = floorf(boundingBox.top);
|
/haiku/src/servers/app/drawing/Painter/bitmap_painter/ |
H A D | DrawBitmapBilinear.h | 56 const int32 top = (int32)destinationRect.top; local 70 int32 y1 = max_c(baseRenderer.ymin(), top); 82 y1 -= top + filterData.fIndexOffsetY; 83 y2 -= top + filterData.fIndexOffsetY; 109 // left and right of top row 150 // left and right of top row 248 // cache the weight of the top and bottom row 252 // buffer offset into source (top row) 330 // cache the weight of the top an [all...] |
/haiku/src/apps/launchbox/ |
H A D | PadView.cpp | 71 AddLine(BPoint(r.left, r.bottom), BPoint(r.left, r.top), light); 72 AddLine(BPoint(r.left + 1.0, r.top), BPoint(r.right, r.top), light); 73 AddLine(BPoint(r.right, r.top + 1.0), BPoint(r.right, r.bottom), shadow); 79 // dots along top 90 r.top += 5.0; 197 r.top += 6.0; 249 || where.y == frame.top || where.y == frame.bottom) { 254 if (where.y >= windowFrame.top 262 // top o [all...] |
/haiku/src/tests/servers/app/newerClipping/drawing/ |
H A D | AccelerantHWInterface.cpp | 673 params[i].src_top = (uint16)sortedRectList[i].top; 676 params[i].dest_top = (uint16)sortedRectList[i].top + yOffset; 680 params[i].height = (uint16)(sortedRectList[i].bottom - sortedRectList[i].top); 849 (*params)[i].top = (uint16)r.top;
|
/haiku/headers/libs/alm/ |
H A D | ALMLayout.h | 97 Row* AddRow(YTab* top, YTab* bottom); 110 void SetInsets(float left, float top, float right, 112 void GetInsets(float* left, float* top, float* right, 136 virtual Area* AddView(BView* view, XTab* left, YTab* top, 143 YTab* top, XTab* right = NULL,
|
/haiku/src/tests/kits/interface/layout/widget_layout_test/ |
H A D | GroupView.cpp | 89 GroupView::SetInsets(float left, float top, float right, float bottom) argument 91 BRect newInsets(left, top, right, bottom); 154 location.y = fInsets.top; 318 fInsets.top + fInsets.bottom - 1 331 fInsets.top + fInsets.bottom - 1
|
/haiku/src/tests/apps/miniterminal/ |
H A D | Console.cpp | 60 Console::SetScrollRegion(int top, int bottom) argument 62 if (top < 0) 63 top = 0; 66 if (top > bottom) 69 fScrollTop = top; 103 // clear the top line 124 // we hit the top of our scroll region
|
/haiku/src/apps/screenshot/ |
H A D | Screenshot.cpp | 290 // so we'll just get the window frame of the top most window 342 fUtility->activeWindowFrame.top = windowInfo->window_top; 353 if (fUtility->activeWindowFrame.top < screenFrame.top) 354 fUtility->activeWindowFrame.top = screenFrame.top;
|
/haiku/src/add-ons/accelerants/intel_extreme/ |
H A D | engine.cpp | 323 blit.dest_top = params[i].top; 342 blit.dest_top = params[i].top; 357 uint16 top; member in struct:params 372 blit.dest_top = params[i].top; 374 blit.dest_bottom = params[i].top;
|
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/ |
H A D | ColorSlider.cpp | 168 FillRect(BRect(r.left, r.top, bounds.left - 1, r.bottom), 170 FillRect(BRect(bounds.right + 1, r.top, r.right, r.bottom), 173 BRect(bounds.left, r.top, bounds.right, bounds.top - 1), 200 StrokeLine(BPoint(x, bounds.top), 205 StrokeLine(BPoint(x + 1, bounds.top), 210 StrokeLine(BPoint(x + 3, bounds.top), 215 StrokeLine(BPoint(x + 4, bounds.top), 629 SetValue((int)(((where.y - b.top) / b.Height()) * 255.0));
|
/haiku/src/tests/servers/app/playground/ |
H A D | ObjectWindow.cpp | 130 b.bottom = b.top + 8; 144 b.top = menuBar->Bounds().bottom + 1; 182 b.top += controlGroup->InnerFrame().top; 183 b.bottom = b.top + 25.0; 314 b.bottom = b.top + 10.0;//35; 326 b.top += controlGroup->InnerFrame().top; 330 b.bottom = fDrawingModeMF->Frame().top - 10.0;
|
/haiku/src/kits/tracker/ |
H A D | Pose.cpp | 352 rect.top = rect.bottom - iconSize; 356 rect.top = location.y; 358 rect.bottom = rect.top + iconSize; 504 rect.top = location.y + poseView->IconSizeInt(); 505 rect.bottom = rect.top + poseView->FontHeight(); 869 bar.bottom = bar.top + barPos - 1; 874 bar.top = bar.bottom + 1; 925 rect.top = loc.y; 927 rect.bottom = rect.top + poseView->ListElemHeight(); 961 rect.top [all...] |
/haiku/src/kits/interface/ |
H A D | ScrollView.cpp | 311 scrollCorner.top = min_c( 337 rect.top += fPreviousHeight - border; 343 rect.top = rect.bottom - border; 572 Invalidate(BRect(bounds.left, bounds.top, bounds.right, bounds.top)); 573 Invalidate(BRect(bounds.left, bounds.top + 1, bounds.left, 575 Invalidate(BRect(bounds.right, bounds.top + 1, bounds.right, 620 // be added top most in the list (which is important 745 fTarget->MoveTo(innerFrame.left, innerFrame.top); 872 rect.top [all...] |
H A D | SplitLayout.cpp | 253 SetInsets(insets.left, insets.top, insets.right, insets.bottom); 269 BSplitLayout::SetInsets(float left, float top, float right, float bottom) argument 272 fTopInset = top; 281 BSplitLayout::GetInsets(float* left, float* top, float* right, argument 286 if (top) 287 *top = fTopInset; 1142 splitterFrame.top, 1150 splitterFrame.top, 1160 float top = splitterFrame.top local [all...] |
/haiku/src/apps/patchbay/ |
H A D | PatchView.cpp | 171 rect.top = rect.top + rect.bottom / 2; 190 rect.top = 10; 192 rect.bottom = rect.top + 31; 202 rect.top = ROW_TOP + index * ROW_HEIGHT; 204 rect.bottom = rect.top + 31;
|
/haiku/src/servers/notification/ |
H A D | NotificationWindow.cpp | 304 float topOffset = Frame().top - bounds.top + 1; 310 float y = Frame().top; 335 y = frame.top - height - bottomOffset; 341 y = frame.top - topOffset + 1; 345 y = frame.top - topOffset + 1;
|
/haiku/src/servers/app/drawing/Painter/ |
H A D | Painter.h | 365 rect.top = floorf(rect.top); 380 rect.top = floorf(rect.top); 408 rect.top = floorf(rect.top);
|
/haiku/src/apps/diskprobe/ |
H A D | DataView.cpp | 462 if (point.y < bounds.top) 463 point.y = bounds.top; 588 AddLine(BPoint(firstLine.left + 1, firstLine.top), firstLine.RightTop(), color); 589 AddLine(BPoint(firstLine.right, firstLine.top + 1), BPoint(firstLine.right, bottom), color); 625 AddLine(BPoint(rect.left + 1, rect.top), BPoint(right, rect.top), color); 634 AddLine(lastLine.RightBottom(), BPoint(lastLine.right, lastLine.top + 1), color); 637 AddLine(BPoint(lastLine.right, lastLine.top), BPoint(firstLine.right, lastLine.top), color); 754 // remove from the top [all...] |
/haiku/src/libs/print/libprint/ |
H A D | Preview.cpp | 114 return BRect(rect.top, rect.left, rect.bottom, rect.right); 122 rect.top /= factor; 658 float y = r.top + kShadowIndent; 735 FillRect(BRect(paperRect.left, paperRect.top, printRect.left 737 FillRect(BRect(paperRect.left, paperRect.top, paperRect.right 738 , printRect.top)); 739 FillRect(BRect(printRect.right, paperRect.top, paperRect.right 749 StrokeLine(BPoint(printRect.left, paperRect.top), 751 StrokeLine(BPoint(printRect.right, paperRect.top), 753 StrokeLine(BPoint(paperRect.left, printRect.top), [all...] |
/haiku/src/apps/deskbar/ |
H A D | StatusView.cpp | 1197 // align top 1224 if (view == NULL || view->Frame().top != rowRect.top) 1257 if (loc.y > fRightBottomReplicant.top 1258 || (loc.y == fRightBottomReplicant.top 1401 *height += 3; // add a pixel for an extra border on top 1403 *height += 2; // all other modes have a 1px border on top and bottom 1419 // vertical expando full or mini state, draw 2 lines at the top 1421 AddLine(BPoint(frame.left, frame.top + 1), 1422 BPoint(frame.right, frame.top [all...] |
/haiku/src/add-ons/accelerants/3dfx/ |
H A D | 3dfx_draw.cpp | 40 int y = list->top; 96 int y = list->top;
|
/haiku/src/add-ons/accelerants/s3/ |
H A D | savage_draw.cpp | 32 int y = pList->top; 103 int y = pList->top;
|
H A D | trio64_draw.cpp | 32 int y = pList->top; 94 int y = pList->top;
|