/haiku/src/tests/kits/interface/menu/menuworld/ |
H A D | TestMenuBuilder.cpp | 80 float left, top; local 88 top = i*itemHeight; 89 frame.Set(left, top, left + itemWidth - 1, 90 top + itemHeight - 1);
|
/haiku/headers/os/interface/ |
H A D | SplitLayoutBuilder.h | 27 BSplitLayoutBuilder& SetInsets(float left, float top, float right,
|
/haiku/src/apps/haikudepot/ui_generic/ |
H A D | BitmapView.cpp | 72 bounds.top = floorf(bounds.bottom - height); 76 bounds.top = floorf(bounds.top 82 bounds.bottom = ceilf(bounds.top + height);
|
/haiku/src/apps/cortex/DormantNodeView/ |
H A D | DormantNodeWindow.cpp | 179 if (windowRect.top < screenRect.top) { 180 windowRect.top = screenRect.top + 5.0;
|
H A D | DormantNodeListItem.cpp | 108 r.top += (frame.Height() / 2.0) - (B_MINI_ICON / 2.0); 110 r.bottom = r.top + B_MINI_ICON - 1.0; 118 r.top += (frame.Height() / 2.0) - (m_fontHeight.ascent / 2.0); 120 r.bottom = r.top + m_fontHeight.ascent + m_fontHeight.descent; 238 r.top += (m_frame.Height() / 2.0) - (B_MINI_ICON / 2.0); 240 r.bottom = r.top + B_MINI_ICON - 1.0; 245 r.top += (m_frame.Height() / 2.0) - (m_fontHeight.ascent / 2.0); 247 r.bottom = r.top + m_fontHeight.ascent + m_fontHeight.descent;
|
/haiku/src/preferences/input/ |
H A D | InputTouchpadPrefView.cpp | 178 else if (point.y < fPadRect.top) 181 fYScrollRange = point.y - fPadRect.top; 206 BRect rightRect(fPadRect.left + fXScrollRange, fPadRect.top, 210 BRect bottomRect(fPadRect.left, fPadRect.top + fYScrollRange, 221 view->StrokeLine(BPoint(fPadRect.left + fXScrollRange, fPadRect.top), 225 fPadRect.top - dragSize, fPadRect.left + fXScrollRange + dragSize, 228 fPadRect.top - dragSize, fPadRect.left + fXScrollRange + dragSize, 229 fPadRect.top + dragSize); 238 view->StrokeLine(BPoint(fPadRect.left, fPadRect.top + fYScrollRange), 239 BPoint(fPadRect.right, fPadRect.top [all...] |
/haiku/src/preferences/screensaver/ |
H A D | ScreenCornerSelector.cpp | 191 rect.top = centerRect.top + (centerRect.Height() - size) / 2; 192 if (rect.left < centerRect.left || rect.top < centerRect.top) { 194 rect.top = centerRect.top; 198 rect.bottom = rect.top + size - 1; 226 sizeY < 0 ? innerFrame.bottom : innerFrame.top); 247 float centerY = innerFrame.top + innerFrame.Height() / 2;
|
/haiku/src/apps/processcontroller/ |
H A D | Utilities.cpp | 161 frame.bottom = frame.top + height; 169 window->MoveTo(screen.left, frame.top); 170 if (frame.top < screen.top) 171 window->MoveBy(0, screen.top-frame.top); 182 rect.top = frame.top + (frame.Height() - barHeight) / 2; 183 rect.bottom = frame.top + (frame.Height() + barHeight) / 2;
|
/haiku/src/libs/icon/transformer/ |
H A D | PerspectiveTransformer.cpp | 225 double left, top, right, bottom; local 226 agg::bounding_rect(*fSource, pathID, 0, 1, &left, &top, &right, &bottom); 227 BRect newFromBox = BRect(left, top, right, bottom); 239 double x = fFromBox.left; double y = fFromBox.top; 243 x = fFromBox.right; y = fFromBox.top; 278 fFromBox.left, fFromBox.top, 282 fFromBox.left, fFromBox.top, 307 w = fFromBox.left * w0 + fFromBox.top * w1 + w2; 311 w = fFromBox.right * w0 + fFromBox.top * w1 + w2;
|
/haiku/src/kits/debugger/dwarf/ |
H A D | DwarfExpressionEvaluator.cpp | 408 int64 top = (int64)_Pop(); local 410 _Push(top != 0 ? second / top : 0); 416 target_addr_t top = _Pop(); local 417 _Push(_Pop() - top); 425 target_addr_t top = _Pop(); local 427 _Push(top != 0 ? second % top : 0); 462 target_addr_t top = _Pop(); local 463 _Push(_Pop() << top); 469 target_addr_t top = _Pop(); local 476 target_addr_t top = _Pop(); local 511 int64 top = (int64)_Pop(); local 518 int64 top = (int64)_Pop(); local 525 int64 top = (int64)_Pop(); local 532 int64 top = (int64)_Pop(); local [all...] |
/haiku/src/tests/servers/app/newerClipping/ |
H A D | WindowLayer.cpp | 66 // the top layer is special, it has a coordinate system 69 // as expected, since the top layer has no "parent" but has 71 fTopLayer = new(nothrow) ViewLayer(fFrame, "top view", B_FOLLOW_ALL, 0, 191 region->Set(BRect(fFrame.left - 4, fFrame.top - 4, 194 region->Include(BRect(fFrame.left - 4, fFrame.top - 20, 195 ceilf((fFrame.left + fFrame.right) / 2), fFrame.top - 5)); 203 fBorderRegion.Set(BRect(fFrame.left - 4, fFrame.top - 20, 204 ceilf((fFrame.left + fFrame.right) / 2), fFrame.top - 5)); 205 fBorderRegion.Include(BRect(fFrame.left - 4, fFrame.top - 4, 206 fFrame.right + 4, fFrame.top [all...] |
/haiku/src/libs/alm/ |
H A D | Area.cpp | 56 * Gets the top tab of the area. 114 * Sets the top tab of the area. 117 Area::SetTop(BReference<YTab> top) argument 119 fTop = top; 148 * Gets the row that defines the top and bottom tabs. 241 Area::GetInsets(float* left, float* top, float* right, float* bottom) const argument 245 if (top) 246 *top = fLeftTopInset.Height(); 269 * Gets top inset between area and its content. 337 Area::SetInsets(float left, float top, floa argument 369 SetTopInset(float top) argument 536 _Init(LinearSpec* ls, XTab* left, YTab* top, XTab* right, YTab* bottom, RowColumnManager* manager) argument [all...] |
/haiku/src/libs/print/libprint/ |
H A D | MarginView.cpp | 136 r.top += (fMargins.top / fPageHeight) * pageHeight; 298 float top = atof(fTop->Text()); local 307 top *= kInchUnits; 314 top *= kCMUnits; 323 margin.Set(left, top, right, bottom); 394 // top 395 str << fMargins.top/fUnitValue; 396 fTop = new BTextControl("top", "Top:", str.String(), NULL); 531 float top local 591 str << top; local [all...] |
/haiku/headers/libs/alm/ |
H A D | ALMGroup.h | 42 XTab* left = NULL, YTab* top = NULL, 54 BReference<XTab> left, BReference<YTab> top,
|
/haiku/src/add-ons/media/media-add-ons/radeon/ |
H A D | Capture.h | 52 void SetClip(int left, int top, int right, int bottom); 56 void SetVBIClip(int left, int top, int right, int bottom);
|
/haiku/src/apps/cortex/ValControl/ |
H A D | ValCtrlLayoutEntry.h | 110 frame.top < b.frame.top;
|
/haiku/src/apps/icon-o-matic/generic/gui/ |
H A D | SwatchView.cpp | 75 // left/top 87 BPoint(r.left, r.top), kDottedBig); 88 StrokeLine(BPoint(r.left + 1, r.top), 89 BPoint(r.right, r.top), kDottedBig); 100 StrokeLine(BPoint(r.right, r.top + 1), 244 AddLine(BPoint(r.left, r.bottom - 1), BPoint(r.left, r.top), leftTop); 245 AddLine(BPoint(r.left + 1, r.top), BPoint(r.right, r.top), leftTop); 246 AddLine(BPoint(r.right, r.top + 1), BPoint(r.right, r.bottom),
|
/haiku/src/bin/network/telnet/ |
H A D | ring.c | 79 #define ring_increment(d,a,c) (((a)+(c) < (d)->top)? \ 112 ring->top = ring->bottom+ring->size; 184 else if (ring->consume + count > ring->top && 186 ring->bottom + ((ring->consume + count) - ring->top)) 222 * return distance to the top 224 return ring_subtract(ring, ring->top, ring->supply); 260 return ring_subtract(ring, ring->top, ring->consume); 266 return ring_subtract(ring, ring->top, ring->consume); 305 (*encryptor)(c, ring->top - c);
|
/haiku/src/bin/rc/tests/ |
H A D | builtin.rdef | 16 float top,
|
/haiku/src/kits/interface/ |
H A D | GridLayoutBuilder.cpp | 103 BGridLayoutBuilder::SetInsets(float left, float top, float right, float bottom) argument 105 fLayout->SetInsets(left, top, right, bottom);
|
H A D | SplitLayoutBuilder.cpp | 86 BSplitLayoutBuilder::SetInsets(float left, float top, float right, float bottom) argument 88 fView->SetInsets(left, top, right, bottom);
|
H A D | ControlLook.cpp | 81 dest.top = dest.bottom = points[0].y; 85 dest.top = std::min(dest.top, points[i].y); 90 dest.top = floorf(dest.top); 113 float left, top, right, bottom; local 114 GetBackgroundInsets(backgroundType, flags, left, top, right, bottom); 117 _top += top;
|
/haiku/src/tests/servers/app/benchmark/ |
H A D | RandomLineTest.cpp | 52 float vMiddle = (fViewBounds.top + fViewBounds.bottom) / 2; 59 a.y = random_number_between(fViewBounds.top, vMiddle);
|
/haiku/src/tests/servers/app/newerClipping/drawing/ |
H A D | DirectWindowBuffer.cpp | 74 int32 yOffset = info->window_bounds.top; 85 fHeight = info->window_bounds.bottom - info->window_bounds.top + 1;
|
/haiku/src/tests/add-ons/print/pdf/bezierbounds/ |
H A D | BezierBounds.cpp | 41 bounds.top = min_c(bounds.top, points->y);
|