Searched refs:right (Results 126 - 150 of 627) sorted by relevance

1234567891011>>

/haiku/src/apps/switcher/
H A DLaunchButton.cpp388 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);
390 AddLine(BPoint(r.right - 1.0, r.bottom), BPoint(r.left + 1.0, r.bottom), col2);
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);
395 AddLine(BPoint(r.right - 1.0, r.bottom), BPoint(r.left + 1.0, r.bottom), col4);
/haiku/src/tests/servers/app/hide_and_show/
H A DHideAndShow.cpp40 rect.right -= 20;
88 rect.right -= 20;
/haiku/src/add-ons/screen_savers/gravity/
H A DRainbowItem.cpp58 colorRect.right = colorRect.left + floorf(colorRect.Height() * M_PHI);
78 owner->MovePenTo(colorRect.right + spacer, frame.top + BaselineOffset());
/haiku/src/add-ons/translators/ppm/
H A DPPMMain.cpp76 if (o.x > f.right)
77 o.x = f.right;
/haiku/src/add-ons/kernel/drivers/graphics/vesa/
H A Dvga.cpp44 int32 left, int32 top, int32 right, int32 bottom)
71 for (; x <= right; x++) {
43 vga_planar_blit(vesa_shared_info *info, uint8 *src, int32 srcBPR, int32 left, int32 top, int32 right, int32 bottom) argument
/haiku/src/preferences/appearance/
H A DColorWhichItem.cpp58 colorRect.right = colorRect.left + floorf(colorRect.Height() * M_PHI);
64 owner->MovePenTo(colorRect.right + spacer, frame.top + BaselineOffset());
/haiku/src/add-ons/translators/shared/
H A DTranslatorWindow.cpp118 if (wndpt.x > frame.right)
119 wndpt.x = frame.right;
/haiku/src/kits/shared/
H A DColorItem.cpp59 colorRect.right = colorRect.left + floorf(colorRect.Height() * M_PHI);
70 owner->MovePenTo(colorRect.right + spacer, frame.top + BaselineOffset());
/haiku/src/add-ons/media/media-add-ons/videowindow/
H A DVideoAddOn.cpp88 size.right = info->in_formats[0].u.raw_video.display.line_width;
90 size.right = 320;
/haiku/src/apps/networkstatus/
H A DWirelessNetworkMenuItem.cpp93 bounds.left = bounds.right - 4 - bounds.Height();
94 bounds.right -= 4;
/haiku/src/kits/interface/
H A DHaikuControlLook.cpp381 filledRect.right = progressPosition - 1;
402 if (nonfilledRect.left < nonfilledRect.right) {
478 rect.right++;
588 BPoint(rect.right, rect.bottom), borderColor);
589 view->AddLine(BPoint(rect.right, rect.top + 1),
590 BPoint(rect.right, rect.bottom - 1), borderColor);
602 BPoint(rect.right, rect.top), highlightColor);
605 BPoint(rect.right, rect.top), borderColor);
703 // dark vertical line on right edge
707 rect.right
2692 _DrawFrame(BView* view, BRect& rect, const rgb_color& left, const rgb_color& top, const rgb_color& right, const rgb_color& bottom, uint32 borders) argument
2713 BPoint(rect.right, rect.bottom), right); local
2728 _DrawFrame(BView* view, BRect& rect, const rgb_color& left, const rgb_color& top, const rgb_color& right, const rgb_color& bottom, const rgb_color& rightTop, const rgb_color& leftBottom, uint32 borders) argument
2770 BPoint(rect.right, rect.top), right); local
[all...]
H A DToolTipManager.cpp169 /*! Tries to find the right frame to show the tool tip in, trying to use the
192 && size.width > screenFrame.right - where.x) {
193 // There is no space to put the tip to the left or the right of the
223 } else if (location.x + size.width > screenFrame.right) {
224 location.x = screenFrame.right - size.width;
231 if (location.x + size.width > screenFrame.right) {
232 location.x = screenFrame.right - size.width;
288 } else if (screenFrame.right < where.x + size.width)
289 size.width = screenFrame.right - where.x;
H A DLayoutUtils.cpp169 frame.right = frame.left + maxSize.width;
195 frame.right = frame.left + maxSize.width;
222 rect.right = rect.left + size.width;
246 if (rect.right > frameSize.width)
247 leftTop.x -= rect.right - frameSize.width;
301 indent.String(), frame.left, frame.top, frame.right, frame.bottom,
353 indent.String(), frame.left, frame.top, frame.right, frame.bottom,
/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/libs/print/libprint/
H A DHalftone.cpp141 const uchar *right = left + 0x0F; local
145 if (pos >= right)
342 // (left) 3 5 1 (right)
344 int* right = &errorTable[x+1]; local
345 current_error = (*right) + 7 * error;
346 *right = 1 * error;
348 int* middle = right - 1;
H A DPreview.cpp114 return BRect(rect.top, rect.left, rect.bottom, rect.right);
123 rect.right /= factor;
533 r.right += kPreviewLeftMargin + kPreviewRightMargin;
620 if ((paperRect.right + 2 * offsetX) < rect.right)
621 offsetX = (rect.right - (paperRect.right + 2 * offsetX)) / 2;
655 float x = r.right + 1;
656 float right = x + kShadowWidth; local
659 FillRect(BRect(x, y, right, botto
[all...]
/haiku/src/tests/servers/app/newerClipping/
H A DClientLooper.cpp40 polygon[1].x = b.right;
44 polygon[2].x = b.right;
72 morph(&polygon[0].x, &polygon[0].direction_x, b.left, b.right);
73 morph(&polygon[1].x, &polygon[1].direction_x, b.left, b.right);
74 morph(&polygon[2].x, &polygon[2].direction_x, b.left, b.right);
75 morph(&polygon[3].x, &polygon[3].direction_x, b.left, b.right);
/haiku/src/apps/pulse/
H A DMiniPulseView.cpp77 float right = bar_width + left; local
95 StrokeRect(BRect(left - 1, top - 1, right + 1, bottom + 1));
98 FillRect(BRect(left, top, right, top + idle_height - 1));
101 FillRect(BRect(left, bottom - bar_height, right, bottom - bar_height));
104 FillRect(BRect(left, bottom - bar_height + 1, right, bottom));
107 right += bar_width + 2;
/haiku/src/tests/kits/interface/pictureprint/
H A DPreview.cpp97 r.left *= f; r.right *= f; r.top *= f; r.bottom *= f;
209 r.right = r.IntegerWidth() - B_V_SCROLL_BAR_WIDTH; r.left = 0;
216 left = fNext->Frame().right + 10;
221 left = fPrev->Frame().right + 10;
226 left = fZoomIn->Frame().right + 10;
231 left = fZoomOut->Frame().right + 10;
/haiku/src/tests/kits/game/direct_window_test/
H A DStarWindow.cpp324 window_area = (info->window_bounds.right-info->window_bounds.left+1)*
334 cx = (info->window_bounds.right+info->window_bounds.left+1)/2;
340 clipping_bound.right = info->clip_bounds.right - cx;
349 clipping_list[i].right = info->clip_list[i].right - cx;
397 if ((x < clipping_bound.left) || (x > clipping_bound.right) ||
404 if ((x >= r->left) && (x <= r->right) &&
539 // get the right to do direct screen access.
579 if ((x < w->clipping_bound.left) || (x > w->clipping_bound.right) ||
[all...]
/haiku/src/add-ons/control_look/FlatControlLook/
H A DFlatControlLook.cpp333 BPoint(rect.right, rect.bottom), borderColor);
334 view->AddLine(BPoint(rect.right, rect.top + 1),
335 BPoint(rect.right, rect.bottom - 1), borderColor);
347 BPoint(rect.right, rect.top), highlightColor);
350 BPoint(rect.right, rect.top), borderColor);
534 if (rect.right - 3 > hcenter + spacer) {
601 BPoint(rect.right - 2, rect.top + middle - 3),
605 BPoint(rect.right - 2, rect.top + middle),
609 BPoint(rect.right - 2, rect.top + middle + 3),
613 BPoint(rect.right
[all...]
/haiku/src/tests/servers/app/painter/
H A DPainter.cpp504 BPoint b(r.right, r.bottom);
542 BPoint(r.right - 1, r.top), c);
543 StraightLine(BPoint(r.right, r.top),
544 BPoint(r.right, r.bottom - 1), c);
545 StraightLine(BPoint(r.right, r.bottom),
556 BPoint b(r.right, r.bottom);
576 // to the bottom-right (.9999, .9999) corner of pixels
599 int32 right = (int32)r.right; local
605 int32 x2 = min_c(fBaseRenderer->xmax(), right);
1359 double right = -1.0; local
[all...]
/haiku/src/apps/diskprobe/
H A DDataView.cpp411 location.x - kHorizontalSpace / 2 + Bounds().right,
459 else if (point.x > bounds.right)
460 point.x = bounds.right;
551 firstLine.right += spacing;
564 block.right += spacing;
569 lastLine.right += spacing;
589 AddLine(BPoint(firstLine.right, firstLine.top + 1), BPoint(firstLine.right, bottom), color);
607 rect.right = lastLine.right;
622 float right = firstLine.left; local
[all...]
/haiku/src/add-ons/decorators/MacDecorator/
H A DMacDecorator.cpp68 frame.left, frame.top, frame.right, frame.bottom));
224 ((fFrame.right - fFrame.left) < 32.0 ?
225 fFrame.left + 32.0 : fFrame.right) + fBorderWidth,
235 tab->zoomRect.left = tab->zoomRect.right - 12;
254 - tab->closeRect.right - 10)) {
255 // start with offset from closerect.right
257 - (tab->closeRect.right + 5)) / 2);
261 tab->textOffset += int(tab->closeRect.right + 5
264 tab->textOffset = int(tab->closeRect.right) + 5;
331 // Draw the right sid
528 float right; local
[all...]
/haiku/src/apps/deskbar/
H A DStatusView.cpp203 fTime->MoveTo(Bounds().right - fTime->Bounds().Width() - fTrayPadding, 2);
261 if (!fTime->IsHidden(fTime) && Bounds().right - fTrayPadding - 2
263 < fRightBottomReplicant.right + fClockMargin) {
264 width = fRightBottomReplicant.right + fClockMargin
267 width = fRightBottomReplicant.right + sIconGap + kGutter;
1178 * replicant. replicant will flow to the right on its own
1207 fTime->MoveTo(Bounds().right - fTime->Bounds().Width() - fTrayPadding,
1218 rowRect.right -= fClockMargin + fTime->Frame().Width();
1228 replicantRect.left = view->Frame().right + sIconGap + 1;
1232 // right positio
[all...]

Completed in 245 milliseconds

1234567891011>>