Searched refs:top (Results 126 - 150 of 658) sorted by relevance

1234567891011>>

/haiku/src/kits/interface/
H A DToolTipManager.cpp195 if (size.height > where.y - screenFrame.top
196 && where.y - screenFrame.top > screenFrame.Height() / 2) {
197 size.height = where.y - offset.y - screenFrame.top;
252 if (location.y < screenFrame.top) {
262 if (location.y < screenFrame.top)
263 location.y = screenFrame.top;
291 if (screenFrame.top > where.y) {
292 size.height -= where.y - screenFrame.top;
293 where.y = screenFrame.top;
H A DSeparatorItem.cpp101 menu->StrokeLine(BPoint(startLeft, bounds.top + 1.0f),
104 menu->StrokeLine(BPoint(startLeft + 1.0f, bounds.top + 1.0f),
107 const float startTop = bounds.top + (floor(bounds.Height())) / 2;
H A DPolygon.cpp200 if (fPoints[i].y < fBounds.top)
201 fBounds.top = fPoints[i].y;
218 point->y = (point->y - source.top) * destination.Height() / source.Height()
219 + destination.top;
/haiku/src/add-ons/print/drivers/postscript/
H A DPS.cpp160 const float topMargin = GetJobData()->GetPrintableRect().top;
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
215 rc.top = (int)bounds.top;
219 int height = rc.bottom - rc.top + 1;
239 rc.left, rc.top, rc.right, rc.bottom));
242 y += rc.top;
248 int height = rc.bottom - rc.top
[all...]
/haiku/src/apps/icon-o-matic/generic/support/
H A Dsupport.h52 int32& left, int32& top, int32& right, int32& bottom)
55 top = (int32)floorf(r.top);
51 rect_to_int(BRect r, int32& left, int32& top, int32& right, int32& bottom) argument
H A Dsupport_ui.h26 rgb_color left, rgb_color top,
/haiku/src/tests/servers/app/benchmark/
H A DBenchmark.cpp61 frame.top = (frame.top + frame.bottom - width) / 2;
63 frame.bottom = frame.top + height - 1;
H A DTest.cpp31 for (float y = grid.top; y < grid.bottom + 5; y += grid.Height() / 2) {
/haiku/src/system/libroot/posix/musl/math/
H A Dexp2.c73 uint64_t ki, idx, top, sbits; local
105 top = ki << (52 - EXP_TABLE_BITS);
108 sbits = T[idx + 1] + top;
/haiku/headers/libs/alm/
H A DRow.h50 YTab* top, YTab* bottom);
/haiku/headers/os/interface/
H A DGridLayoutBuilder.h31 BGridLayoutBuilder& SetInsets(float left, float top, float right,
/haiku/src/apps/cortex/support/
H A DScrollHelpers.h60 float yDelta = where.y - Bounds().top;
/haiku/src/apps/terminal/
H A DTermScrollView.cpp48 // Overlap one pixel at the top (if required) with the menu for
51 frame.top--;
/haiku/src/bin/network/telnet/
H A Dring.h61 *top, /* highest address+1 in buffer */ member in struct:__anon4448
/haiku/src/tests/add-ons/print/ppd/ui/
H A DPrinterSelection.cpp38 BRect listBounds(bounds.left + kLeftMargin, bounds.top + kTopMargin,
47 listBounds.top += label->Bounds().bottom + 5;
62 printerBounds.top = bounds.top + kTopMargin;
/haiku/src/apps/stylededit/
H A DColorMenuItem.cpp37 colorSquare.top += 2;
/haiku/src/tests/kits/interface/
H A DSliderTest.cpp26 rect.bottom = rect.top + view->Bounds().Height() + 10;
55 rect.bottom = rect.top + 30;
92 rect.bottom = rect.top + 100;
105 rect.top = 10;
/haiku/src/servers/app/drawing/Painter/bitmap_painter/
H A DDrawBitmapGeneric.h46 // -actualBitmapRect.top);
51 offset.x - destinationRect.left, offset.y - destinationRect.top);
54 destinationRect.top);
84 path.move_to(destinationRect.left, destinationRect.top);
85 path.line_to(destinationRect.right, destinationRect.top);
/haiku/src/apps/cortex/RouteApp/
H A DRouteWindow.cpp133 rvBounds.top = pMenuBar->Frame().bottom+1;
140 hsBounds.top = hsBounds.bottom + 1;
150 vsBounds.top--;
161 svBounds.top = svBounds.bottom + 1;
239 if(r.top < 0.0)
240 offset.y = -r.top;
243 if(r.top >= (sr.bottom - 20.0))
244 offset.y -= (r.top - (sr.Height()/2));
257 if(r.top < 0.0)
258 offset.y = (sr.Height()*.25) - r.top;
[all...]
/haiku/src/servers/app/decorator/
H A DDefaultDecorator.cpp84 rect.left, rect.top, rect.right, rect.bottom));
197 STRACE(("_DrawFrame(%f,%f,%f,%f)\n", rect.left, rect.top,
219 // top
227 BPoint(border.left + i, border.top + i),
228 BPoint(border.right - i, border.top + i),
251 BPoint(border.left + i, border.top + i),
277 BPoint(border.right - i, border.top + i),
288 // top
296 BPoint(border.left + i, border.top + i),
297 BPoint(border.right - i, border.top
[all...]
/haiku/src/apps/deskbar/
H A DBarWindow.cpp104 settings->top, settings->state, settings->width);
139 // raise Deskbar on menu open in auto-raise mode unless always-on-top
160 // unless another menu is open or always-on-top.
374 bool top = fBarView->Top(); local
382 if (left && top)
385 if (!left && top)
388 if (left && !top)
409 // left top and right top are the only two that
412 bool left = false, top local
496 bool top = fBarView->Top(); local
[all...]
/haiku/src/apps/switcher/
H A DLaunchButton.cpp387 AddLine(BPoint(r.left, r.bottom), BPoint(r.left, r.top), col1);
388 AddLine(BPoint(r.left + 1.0, r.top), BPoint(r.right, r.top), col1);
389 AddLine(BPoint(r.right, r.top + 1.0), BPoint(r.right, r.bottom), col2);
392 AddLine(BPoint(r.left, r.bottom), BPoint(r.left, r.top), col3);
393 AddLine(BPoint(r.left + 1.0, r.top), BPoint(r.right, r.top), col3);
394 AddLine(BPoint(r.right, r.top + 1.0), BPoint(r.right, r.bottom), col4);
/haiku/src/tests/servers/app/newerClipping/drawing/
H A DDrawingEngine.cpp76 int32 i = max_c(rect.top, y1);
98 if (rect.top <= y &&
183 node* top() function in struct:node
189 node* ret = top();
208 return (a.bottom < b.top);
285 node* n = inDegreeZeroNodes.top();
289 sortedRectList[nextSortedIndex].top = (int32)n->rect.top;
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/
H A DAlphaSlider.cpp187 StrokeLine(BPoint(pos - 2, b.top), BPoint(pos - 2, b.bottom));
191 StrokeLine(BPoint(pos - 1, b.top), BPoint(pos - 1, b.bottom));
195 StrokeLine(BPoint(pos + 1, b.top), BPoint(pos + 1, b.bottom));
199 StrokeLine(BPoint(pos + 2, b.top), BPoint(pos + 2, b.bottom));
202 float pos = floorf(b.top + Value() * b.Height() / 255.0 + 0.5);
204 if (pos - 2 >= b.top) {
208 if (pos - 1 >= b.top) {
299 // fill in top row with alpha gradient
319 // copy top row to rest of bitmap
399 value = (int32)(255 * (where.y - r.top) /
[all...]
/haiku/src/tests/servers/app/hide_and_show/
H A DHideAndShow.cpp41 rect.top = 100;
89 rect.top = 100;

Completed in 89 milliseconds

1234567891011>>