Lines Matching refs:left

384 	nonfilledRect.left = progressPosition;
402 if (nonfilledRect.left < nonfilledRect.right) {
403 // shadow from fill bar, or left border
410 nonfilledRect.left++;
587 view->AddLine(BPoint(rect.left + 1, rect.bottom),
593 view->AddLine(BPoint(rect.left, rect.top + 1),
594 BPoint(rect.left, rect.bottom), borderColor);
596 view->AddLine(BPoint(rect.left, rect.top),
597 BPoint(rect.left, rect.bottom), highlightColor);
601 view->AddLine(BPoint(rect.left, rect.top),
604 view->AddLine(BPoint(rect.left + 1, rect.top),
697 // dark vertical line on left edge
701 rect.left++;
709 // vertical shadow line after left edge
713 rect.left++;
795 view->AddLine(BPoint(rect.left, rect.bottom),
796 BPoint(rect.left, rect.top), light);
797 view->AddLine(BPoint(rect.left + 1, rect.top),
802 BPoint(rect.left + 1, rect.bottom), dark2);
822 float hcenter = rect.left + rect.Width() / 2;
834 if (rect.left + 3 < hcenter - spacer) {
877 BPoint(rect.left + middle - 3, rect.top + 2),
878 BPoint(rect.left + middle - 3, rect.bottom - 2),
881 BPoint(rect.left + middle, rect.top + 2),
882 BPoint(rect.left + middle, rect.bottom - 2),
885 BPoint(rect.left + middle + 3, rect.top + 2),
886 BPoint(rect.left + middle + 3, rect.bottom - 2),
889 BPoint(rect.left + middle - 2, rect.top + 2),
890 BPoint(rect.left + middle - 2, rect.bottom - 2),
893 BPoint(rect.left + middle + 1, rect.top + 2),
894 BPoint(rect.left + middle + 1, rect.bottom - 2),
897 BPoint(rect.left + middle + 4, rect.top + 2),
898 BPoint(rect.left + middle + 4, rect.bottom - 2),
907 BPoint(rect.left + 2, rect.top + middle - 3),
911 BPoint(rect.left + 2, rect.top + middle),
915 BPoint(rect.left + 2, rect.top + middle + 3),
919 BPoint(rect.left + 2, rect.top + middle - 2),
923 BPoint(rect.left + 2, rect.top + middle + 1),
927 BPoint(rect.left + 2, rect.top + middle + 4),
950 scrollCornerFillRect.left = horizontalScrollBarFrame.right + 1;
970 rect.right = verticalScrollBarFrame.left;
1001 // do not overdraw the left edge
1002 verticalScrollBarFrame.left += 2;
1013 scrollCornerFillRect.left++;
1041 tri1.Set(rect.left + 1, rect.bottom + 1);
1042 tri2.Set(rect.left + 1 + rect.Width() / 1.33,
1044 tri3.Set(rect.left + 1, rect.top);
1047 tri1.Set(rect.left, rect.bottom);
1048 tri2.Set((rect.left + rect.right + 1) / 2,
1054 tri1.Set(rect.left, rect.top + 1);
1055 tri2.Set((rect.left + rect.right + 1) / 2,
1060 tri1.Set(rect.left, rect.bottom);
1061 tri2.Set(rect.left, rect.top);
1065 tri1.Set(rect.left + 1, rect.top);
1072 tri3.Set(rect.left + 1, rect.bottom);
1076 tri2.Set(rect.left, rect.bottom);
1077 tri3.Set(rect.left, rect.top);
1126 sliderPosition = floorf(rect.left + 2 + (rect.Width() - 2)
1129 rightBarSide.left = sliderPosition;
1166 leftCorner.right = leftCorner.left + leftCorner.Height();
1167 rightCorner.left = rightCorner.right - rightCorner.Height();
1168 barRect.left += ceilf(barRect.Height() / 2);
1352 originalRect.left++;
1361 rect.left = floorf((rect.left + rect.right) / 2);
1362 rect.right = rect.left + 1;
1458 float centerh = (rect.left + rect.right) / 2;
1463 shape.MoveTo(BPoint(rect.left + 0.5, rect.bottom + 0.5));
1467 shape.LineTo(BPoint(rect.left + 0.5, rect.bottom - 1 + 0.5));
1472 shape.LineTo(BPoint(rect.left + 0.5, centerv + 0.5));
1492 shape.MoveTo(BPoint(rect.left, rect.bottom + 1));
1498 shape.LineTo(BPoint(rect.left, centerv + 0.5));
1542 startPos = rect.left + 1;
1564 view->AddLine(BPoint(rect.left, pos),
1565 BPoint(rect.left + 4, pos), darkColor);
1566 view->AddLine(BPoint(rect.left, pos + 1),
1567 BPoint(rect.left + 4, pos + 1), lightColor);
1649 rect.left = floorf(rect.left);
1692 // left top corner dimensions
1694 leftTopCorner.right = floorf(leftTopCorner.left + kRoundCornerRadius);
1699 rightTopCorner.left = floorf(rightTopCorner.right - kRoundCornerRadius);
1702 // left bottom corner dimensions
1704 leftBottomCorner.right = floorf(leftBottomCorner.left + kRoundCornerRadius);
1709 rightBottomCorner.left = floorf(rightBottomCorner.right
1720 // draw the left top corner
1734 // draw the left bottom corner
1748 // draw the left top corner
1752 // draw the left bottom corner
1799 rect.left++;
1877 rect.left += 4;
1878 background.right = rect.left;
1884 background.left = rect.right;
1913 rect.left++;
1948 // background on left/right
1950 rect.left = floorf((rect.left + rect.right) / 2.0 - 0.5);
1951 rect.right = rect.left + 1;
1991 // background on left/right
2379 BPoint location(alignedRect.left + textOffset,
2584 // draw left top rounded corner
2585 BRect leftTopCorner(floorf(rect.left), floorf(rect.top),
2586 floorf(rect.left + leftTopRadius),
2609 // draw left bottom rounded corner
2610 BRect leftBottomCorner(floorf(rect.left),
2612 floorf(rect.left + leftBottomRadius), floorf(rect.bottom));
2692 HaikuControlLook::_DrawFrame(BView* view, BRect& rect, const rgb_color& left,
2700 BPoint(rect.left, rect.bottom),
2701 BPoint(rect.left, rect.top), left);
2702 rect.left++;
2706 BPoint(rect.left, rect.top),
2718 BPoint(rect.left, rect.bottom),
2728 HaikuControlLook::_DrawFrame(BView* view, BRect& rect, const rgb_color& left,
2737 BPoint(rect.left, rect.top),
2744 BPoint(rect.left, rect.top),
2752 BPoint(rect.left, rect.top),
2753 BPoint(rect.left, rect.bottom - 1), left);
2755 BPoint(rect.left, rect.bottom),
2756 BPoint(rect.left, rect.bottom), leftBottom);
2757 rect.left++;
2762 BPoint(rect.left, rect.bottom),
2827 indicatorRect.left = rect.right + 3;
2864 // draw left top rounded corner
2865 BRect leftTopCorner(floorf(rect.left), floorf(rect.top),
2866 floorf(rect.left + leftTopRadius - 2.0),
2890 // draw left bottom rounded corner
2891 BRect leftBottomCorner(floorf(rect.left),
2893 floorf(rect.left + leftBottomRadius - 2.0),
2920 // shadow along left/top borders
2922 view->AddLine(BPoint(rect.left, rect.top),
2923 BPoint(rect.left, rect.bottom), bevelLightColor);
2924 rect.left++;
2927 view->AddLine(BPoint(rect.left, rect.top),
2932 // softer shadow along left/top borders
2934 view->AddLine(BPoint(rect.left, rect.top),
2935 BPoint(rect.left, rect.bottom), bevelShadowColor);
2936 rect.left++;
2939 view->AddLine(BPoint(rect.left, rect.top),
2955 indicatorRect.left = rect.right + 3;
2975 view->AddLine(BPoint(indicatorRect.left - 2, indicatorRect.top),
2976 BPoint(indicatorRect.left - 2, indicatorRect.bottom),
2978 view->AddLine(BPoint(indicatorRect.left - 1, indicatorRect.top),
2979 BPoint(indicatorRect.left - 1, indicatorRect.bottom),
3003 BPoint center(roundf((rect.left + rect.right) / 2.0),
3045 rightRect.left = rightRect.right - (indicatorWidth - spacing * 2);
3057 // draw a line on the left of the popup frame
3060 BPoint leftTopCorner(floorf(rightRect.left - spacing),
3062 BPoint leftBottomCorner(floorf(rightRect.left - spacing),
3133 // draw left top rounded corner
3134 BRect leftTopCorner(floorf(rect.left), floorf(rect.top),
3135 floorf(rect.left + leftTopRadius - 2.0),
3144 ellipseRect.right = ellipseRect.left + ellipseRect.Width() * 2;
3172 ellipseRect.left = ellipseRect.right - ellipseRect.Width() * 2;
3198 // draw left bottom rounded corner
3199 BRect leftBottomCorner(floorf(rect.left),
3201 floorf(rect.left + leftBottomRadius - 2.0),
3210 ellipseRect.right = ellipseRect.left + ellipseRect.Width() * 2;
3247 ellipseRect.left = ellipseRect.right - ellipseRect.Width() * 2;
3306 ellipseRect.right = ellipseRect.left + ellipseRect.Width() * 2;
3314 cornerRect.left++;
3320 cornerRect.left++;
3338 ellipseRect.right = ellipseRect.left + ellipseRect.Width() * 2;
3386 ellipseRect.left = ellipseRect.right - ellipseRect.Width() * 2;
3430 ellipseRect.left = ellipseRect.right - ellipseRect.Width() * 2;
3482 ellipseRect.right = ellipseRect.left + ellipseRect.Width() * 2;
3494 cornerRect.left++;
3508 cornerRect.left++;
3526 ellipseRect.right = ellipseRect.left + ellipseRect.Width() * 2;
3574 ellipseRect.left = ellipseRect.right - ellipseRect.Width() * 2;
3606 ellipseRect.left = ellipseRect.right - ellipseRect.Width() * 2;
3644 rect.left += leftInset;
3660 rect.left += leftInset;