/haiku/src/kits/interface/ |
H A D | ToolTipManager.cpp | 195 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 D | SeparatorItem.cpp | 101 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 D | Polygon.cpp | 200 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 D | PS.cpp | 160 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 D | support.h | 52 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 D | support_ui.h | 26 rgb_color left, rgb_color top,
|
/haiku/src/tests/servers/app/benchmark/ |
H A D | Benchmark.cpp | 61 frame.top = (frame.top + frame.bottom - width) / 2; 63 frame.bottom = frame.top + height - 1;
|
H A D | Test.cpp | 31 for (float y = grid.top; y < grid.bottom + 5; y += grid.Height() / 2) {
|
/haiku/src/system/libroot/posix/musl/math/ |
H A D | exp2.c | 73 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 D | Row.h | 50 YTab* top, YTab* bottom);
|
/haiku/headers/os/interface/ |
H A D | GridLayoutBuilder.h | 31 BGridLayoutBuilder& SetInsets(float left, float top, float right,
|
/haiku/src/apps/cortex/support/ |
H A D | ScrollHelpers.h | 60 float yDelta = where.y - Bounds().top;
|
/haiku/src/apps/terminal/ |
H A D | TermScrollView.cpp | 48 // Overlap one pixel at the top (if required) with the menu for 51 frame.top--;
|
/haiku/src/bin/network/telnet/ |
H A D | ring.h | 61 *top, /* highest address+1 in buffer */ member in struct:__anon4448
|
/haiku/src/tests/add-ons/print/ppd/ui/ |
H A D | PrinterSelection.cpp | 38 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 D | ColorMenuItem.cpp | 37 colorSquare.top += 2;
|
/haiku/src/tests/kits/interface/ |
H A D | SliderTest.cpp | 26 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 D | DrawBitmapGeneric.h | 46 // -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 D | RouteWindow.cpp | 133 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 D | DefaultDecorator.cpp | 84 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 D | BarWindow.cpp | 104 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 D | LaunchButton.cpp | 387 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 D | DrawingEngine.cpp | 76 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 D | AlphaSlider.cpp | 187 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 D | HideAndShow.cpp | 41 rect.top = 100; 89 rect.top = 100;
|