Searched refs:top (Results 151 - 175 of 658) sorted by relevance

1234567891011>>

/haiku/src/add-ons/translators/ppm/
H A DPPMMain.cpp74 if (o.y < f.top)
75 o.y = f.top;
/haiku/src/kits/interface/
H A DRegion.cpp134 return BRect(fBounds.left, fBounds.top,
142 return (clipping_rect){ fBounds.left, fBounds.top,
159 return BRect(r.left, r.top, r.right - 1, r.bottom - 1);
179 return (clipping_rect){ r.left, r.top, r.right - 1, r.bottom - 1 };
250 i, rect->left, rect->top, rect->right - 1, rect->bottom - 1);
491 return (clipping_rect){ (int)floorf(rect.left), (int)floorf(rect.top),
499 return (clipping_rect){ (int)floorf(rect.left), (int)floorf(rect.top),
507 return (clipping_rect){ rect.left, rect.top,
H A DBMCPrivate.cpp335 float left, top, right, bottom; local
336 GetItemMargins(&left, &top, &right, &bottom);
343 top = ceilf((Bounds().Height() - ceilf(fontHeight.ascent)
345 bottom = top - 1;
350 top++;
356 SetItemMargins(left, top,
H A DLayoutUtils.cpp173 frame.top += (int)((frame.Height() - maxSize.height)
175 frame.bottom = frame.top + maxSize.height;
203 frame.bottom = frame.top + std::max(frame.Height(), minHeight);
220 rect.top += (int)(((rect.Height() - size.height))
223 rect.bottom = rect.top + size.height;
232 If the rectangle is too wide/high to fully fit in the frame, its left/top
237 frame's left-top is (0, 0).
251 // enforce vertical limits; favor top edge
301 indent.String(), frame.left, frame.top, frame.right, frame.bottom,
353 indent.String(), frame.left, frame.top, fram
[all...]
H A DSeparatorView.cpp199 labelBounds.bottom = labelBounds.top + labelWidth;
203 labelBounds.top = labelBounds.bottom - labelWidth;
207 labelBounds.top = (labelBounds.top + labelBounds.bottom
209 labelBounds.bottom = labelBounds.top + labelWidth;
225 bounds.top = floorf((bounds.top + bounds.bottom + 1 - borderSize)
227 bounds.bottom = bounds.top + borderSize - 1;
256 labelBounds.top + ceilf(fontHeight.ascent)));
/haiku/src/add-ons/translators/shared/
H A DTranslatorWindow.cpp116 if (wndpt.y < frame.top)
117 wndpt.y = frame.top;
/haiku/src/servers/app/drawing/interface/virtual/
H A DDWindowBuffer.cpp77 int32 yOffset = info->window_bounds.top;
88 fHeight = info->window_bounds.bottom - info->window_bounds.top + 1;
89 // offset bits to left top corner of window
/haiku/src/apps/processcontroller/
H A DIconMenuItem.cpp82 loc.y = frame.top + (frame.bottom - frame.top - fIcon->Bounds().Height()) / 2;
/haiku/src/bin/screen_blanker/
H A DPasswordWindow.cpp46 bounds.top += 10.0;
73 screen.Frame().top + (screen.Frame().Height() - Bounds().Height()) / 2);
/haiku/src/add-ons/media/media-add-ons/radeon/
H A DCapture.cpp62 void CCapture::SetClip(int left, int top, int right, int bottom) argument
65 left, top, right, bottom));
67 fClip.SetTo(left, top, right, bottom);
79 void CCapture::SetVBIClip(int left, int top, int right, int bottom) argument
82 left, top, right, bottom));
84 fVBIClip.SetTo(left, top, right, bottom);
/haiku/src/apps/bootmanager/
H A DDefaultPartitionPage.cpp179 rect.top = fDescription->Frame().bottom + kTextDistance;
191 rect.top = fDefaultPartition->Frame().bottom + kTextDistance;
268 float top = fDescription->Frame().bottom + kTextDistance; local
270 fDefaultPartition->MoveTo(left, top);
271 top = fDefaultPartition->Frame().bottom + kTextDistance;
273 fTimeoutSlider->MoveTo(left, top);
/haiku/src/tests/kits/game/file_game_sound_test/
H A DFileSoundWindow.cpp41 BRect textBounds(appBounds.left + 10, appBounds.top + 10, appBounds.right - 70, appBounds.top + 20);
52 BRect browseBounds(textBounds.right + 5,textBounds.top, appBounds.right - 5, textBounds.bottom);
62 BRect pauseBounds(playBounds.right + 10,playBounds.top, playBounds.right + 60, playBounds.bottom);
67 BRect delayBounds(pauseBounds.right + 10, pauseBounds.top,pauseBounds.right + 150, pauseBounds.bottom);
78 BRect preloadBounds(loopBounds.right + 10,loopBounds.top, loopBounds.right + 150, loopBounds.bottom);
/haiku/src/tests/servers/app/newerClipping/
H A DClientLooper.cpp37 polygon[0].y = b.top;
41 polygon[1].y = b.top;
76 morph(&polygon[0].y, &polygon[0].direction_y, b.top, b.bottom);
77 morph(&polygon[1].y, &polygon[1].direction_y, b.top, b.bottom);
78 morph(&polygon[2].y, &polygon[2].direction_y, b.top, b.bottom);
79 morph(&polygon[3].y, &polygon[3].direction_y, b.top, b.bottom);
/haiku/src/servers/notification/
H A DAppGroupView.cpp52 bounds.bottom = bounds.top + fHeaderSize;
64 fCollapseRect.top = (fHeaderSize - kExpandSize) / 2;
67 fCollapseRect.bottom = fCollapseRect.top + kExpandSize;
70 fCloseRect.top = (fHeaderSize - kCloseSize) / 2;
75 fCloseRect.bottom = fCloseRect.top + kCloseSize;
96 float y = (bounds.top + bounds.bottom - ceilf(fontHeight.ascent)
/haiku/src/preferences/appearance/
H A DFakeScrollBar.cpp82 BRect buttonFrame(rect.left, rect.top, rect.left + rect.Height(),
92 rect.top);
97 buttonFrame.OffsetTo(rect.right - rect.Height(), rect.top);
112 BRect thumbRect(rect.left + less, rect.top, rect.right - less,
114 BRect leftOfThumb(rect.left, thumbRect.top, thumbRect.left - 1,
116 BRect rightOfThumb(thumbRect.right + 1, thumbRect.top, rect.right,
/haiku/src/servers/app/
H A DWorkspacesView.cpp153 frame.top = frame.top * factor;
159 rintf(frame.top + workspaceFrame.top));
230 if (tabFrame.bottom >= tabFrame.top) {
233 tabFrame.bottom = frame.top - 1;
234 tabFrame.top = tabFrame.bottom - tabHeight;
278 textOffset.y = rintf(frame.top + (frame.Height() - height) / 2
332 // We draw from top down and cut the window out of the clipping region
392 drawingEngine->StrokeLine(BPoint(frame.left, frame.top),
569 float top = rintf((where.y - workspaceFrame.top - fLeftTopOffset.y) local
[all...]
/haiku/src/tests/servers/app/transformation/
H A Dmain.cpp109 rect.top + rect.Height() / 2);
150 rect.top = (rect.Height() - fBitmap->Bounds().Height()) / 2;
152 rect.bottom = rect.top + fBitmap->Bounds().Height();
156 rect.top + rect.Height() / 2);
200 rect.top + rect.Height() / 2);
206 rgb_color top = (rgb_color){ 255, 255, 0, 255 }; local
210 gradient.AddColor(top, 0.0f);
239 rgb_color top = (rgb_color){ 255, 0, 0, 255 }; local
245 gradient.AddColor(top, 0.0f);
349 r.top
[all...]
/haiku/src/libs/print/libprint/
H A DPageSetupDlg.cpp100 margin.top -= paper.top;
282 swap(&paper_rect.left, &paper_rect.top);
284 swap(&physical_rect.left, &physical_rect.top);
293 printable_rect.top = paper_rect.top + margin.top;
298 printable_rect.top = max_c(printable_rect.top, physical_rect.top);
[all...]
/haiku/src/apps/diskprobe/
H A DDiskProbe.cpp139 settings.window_frame.top = B_LENDIAN_TO_HOST_FLOAT(
140 settings.window_frame.top);
186 settings.window_frame.top = B_HOST_TO_LENDIAN_FLOAT(
187 settings.window_frame.top);
345 float top = rect.top; local
346 if (top + rect.Height() > screenBorder.bottom)
347 top = 26;
349 rect.OffsetTo(BPoint(left, top));
350 window->MoveTo(BPoint(left, top));
[all...]
/haiku/src/tests/servers/app/painter/
H A DPainter.cpp503 BPoint a(r.left, r.top);
541 StraightLine(BPoint(r.left, r.top),
542 BPoint(r.right - 1, r.top), c);
543 StraightLine(BPoint(r.right, r.top),
548 BPoint(r.left, r.top + 1), c);
555 BPoint a(r.left, r.top);
575 // the rectangle ranges from the top-left (.0, .0)
598 int32 top = (int32)r.top; local
607 int32 y1 = max_c(fBaseRenderer->ymin(), top);
1358 double top = 0.0; local
[all...]
/haiku/src/apps/charactermap/
H A DCharacterView.cpp147 BView::ScrollTo(0.0f, frame.top);
161 int32 topBlock = _BlockAt(BPoint(Bounds().left, Bounds().top));
289 BView::ScrollTo(0, frame.top - fTopOffset);
349 float left, top, bottom, right; local
350 GetItemMargins(&left, &top, &bottom, &right);
351 SetItemMargins(left, top, bottom, left);
535 if (y + fCharacterHeight > updateRect.top
743 int32 top = (int32)Bounds().top; local
745 int32 i = _BlockAt(BPoint(0, top));
[all...]
/haiku/src/apps/deskbar/
H A DBarView.cpp132 TBarView::TBarView(BRect frame, bool vertical, bool left, bool top, argument
145 fTop(top),
174 menuFrame.bottom = menuFrame.top + fTabHeight - 1;
176 menuFrame.bottom = menuFrame.top + TeamMenuItemHeight();
272 StrokeLine(BPoint(frame.left, frame.top - 1),
273 BPoint(frame.right, frame.top -1));
356 // in always-on-top mode. In auto-raise mode click activates through
358 // activate Deskbar in always-on-top mode because Deskbar is
359 // already on top and we don't want to change the active window.
416 || whereScreen.y == screenFrame.top
758 ChangeState(int32 state, bool vertical, bool left, bool top, bool async) argument
780 bool top = message->FindBool("top"); local
[all...]
/haiku/src/tests/kits/interface/menu/menuworld/
H A DViewLayoutFactory.cpp144 viewLoc.Set(frame.left, frame.top);
147 viewLoc.Set(frame.right, frame.top);
153 viewLoc.Set(frame.left, average(frame.top, frame.bottom));
156 viewLoc.Set(average(frame.left, frame.right), frame.top);
188 moveLoc.y -= (r.bottom - r.top) / 2;
/haiku/docs/interface_guidelines/docbook-css/
H A Dstyles.css111 margin-top: 3em;
114 margin-top: 2em;
117 margin-top: 1em;
129 margin-top:.5em;
140 margin-top: 1em;
174 margin-top:.5em;
280 border-top-width: 2px;
284 border-top-color: #eeeecc;
313 border-top-color: #eeeeee;
390 padding-top
[all...]
/haiku/src/apps/pulse/
H A DMiniPulseView.cpp74 float top = 1, left = 1; local
75 float bottom = top + h;
95 StrokeRect(BRect(left - 1, top - 1, right + 1, bottom + 1));
98 FillRect(BRect(left, top, right, top + idle_height - 1));

Completed in 146 milliseconds

1234567891011>>