Searched refs:left (Results 51 - 75 of 687) sorted by relevance

1234567891011>>

/haiku/src/bin/desklink/
H A DVolumeWindow.cpp59 if (screenFrame.left > windowRect.left - kMargin)
60 MoveBy(kMargin + screenFrame.left - windowRect.left, 0);
/haiku/src/preferences/filetypes/
H A DDropTargetListView.cpp37 rect.left++;
80 rect.right = rect.left + 1;
84 rect.left = rect.right - 1;
/haiku/src/tests/kits/interface/layout/widget_layout_test/
H A DWrapperView.cpp85 viewFrame.left += fInsets.left;
104 float horizontalInsets = fInsets.left + fInsets.right - 1;
/haiku/src/preferences/screensaver/
H A DUtility.h11 return BPoint(area.Width() * x + area.left, area.Height() * y + area.top);
18 return BRect(area.Width() * x1 + area.left, area.Height() * y1 + area.top,
19 area.Width()* x2 + area.left, area.Height() * y2 + area.top);
H A DScreenCornerSelector.cpp112 BPoint powerPos(outerRect.left + kMonitorBorderSize * 2, outerRect.bottom
190 rect.left = centerRect.left + (centerRect.Width() - size) / 2;
192 if (rect.left < centerRect.left || rect.top < centerRect.top) {
195 rect.left = centerRect.left + (centerRect.Width() - size) / 2;
197 rect.right = rect.left + size - 1;
225 BPoint origin(sizeX < 0 ? innerFrame.right : innerFrame.left,
246 float centerX = innerFrame.left
[all...]
/haiku/src/servers/app/drawing/Painter/bitmap_painter/
H A DDrawBitmapNoScale.h33 const int32 left = (int32)destinationRect.left; local
39 if (left - offset.x < 0
40 || left - offset.x >= (int32)bitmap.width()
48 left - offset.x, top - offset.y,
62 fRect.left = max_c(baseRenderer.xmin(), left);
64 if (fRect.left <= fRect.right) {
69 + fRect.left * 4;
72 + (fRect.left
[all...]
H A DBitmapPainter.cpp44 fBitmapBounds.OffsetBy(-fBitmapBounds.left, -fBitmapBounds.top);
68 fBitmapBounds.left, fBitmapBounds.top,
71 sourceRect.left, sourceRect.top,
74 destinationRect.left, destinationRect.top,
205 if (sourceRect.left < fBitmapBounds.left) {
206 float diff = fBitmapBounds.left - sourceRect.left;
207 fDestinationRect.left += diff * fScaleX;
208 sourceRect.left
[all...]
/haiku/src/bin/
H A Dlistport.c50 int32 max = 0, used = 0, left; local
58 left = max - used;
62 "left: %5" B_PRId32 "\n",
65 left);
/haiku/src/apps/cortex/ParameterView/
H A DParameterContainerView.cpp80 hsBounds.left--;
92 vsBounds.left = vsBounds.right + 1;
134 m_boundsRect.left, m_boundsRect.bottom, m_boundsRect.right, m_boundsRect.top+height));
139 m_boundsRect.right, m_boundsRect.top, m_boundsRect.left+width, m_boundsRect.bottom));
182 m_hScroll->SetRange(m_dataRect.left, m_dataRect.right - width);
/haiku/src/apps/cortex/DormantNodeView/
H A DDormantNodeListItem.cpp107 r.left += M_ICON_H_MARGIN;
109 r.right = r.left + B_MINI_ICON - 1.0;
117 r.left += 2 * M_ICON_H_MARGIN + B_MINI_ICON;
119 r.right = r.left + Width();
136 BPoint labelOffset(r.left + 1.0, r.bottom - m_fontHeight.descent);
200 r.right = r.left + B_MINI_ICON + 2 * M_ICON_H_MARGIN;
237 r.left += M_ICON_H_MARGIN;
239 r.right = r.left + B_MINI_ICON - 1.0;
244 r.left += 2 * M_ICON_H_MARGIN + B_MINI_ICON;
246 r.right = r.left
[all...]
/haiku/src/add-ons/accelerants/ati/
H A Drage128_overlay.cpp121 int32 left = x1; local
122 int32 tmp = (left & 0x0003ffff) + 0x00028000 + (horzInc << 3);
126 tmp = ((left >> 1) & 0x0001ffff) + 0x00028000 + (horzInc << 2);
150 left = 0;
151 OUTREG(R128_OV0_P1_X_START_END, (width - 1) | (left << 16));
153 OUTREG(R128_OV0_P2_X_START_END, (width - 1) | (left << 16));
154 OUTREG(R128_OV0_P3_X_START_END, (width - 1) | (left << 16));
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_crypto_wep.c90 int left, moff, noff, len, hdrlen; local
135 left = m0->m_pkthdr.len - moff;
137 while (left > 0) {
139 /* nothing left to copy from m */
150 if (left >= MINCLSIZE - IEEE80211_WEP_CRCLEN) {
155 if (n->m_len > left)
156 n->m_len = left;
167 left -= len;
209 int hdrlen, left, moff, noff, len; local
251 left
[all...]
/haiku/src/servers/app/decorator/
H A DTabDecorator.cpp76 frame.left, frame.top, frame.right, frame.bottom));
103 updateRect.left, updateRect.top, updateRect.right, updateRect.bottom));
269 // calculate left/top/right/bottom borders
271 // NOTE: no overlapping, the left and right border rects
273 fLeftBorder.Set(fFrame.left - fBorderWidth, fFrame.top,
274 fFrame.left - 1, fFrame.bottom);
279 fTopBorder.Set(fFrame.left - fBorderWidth, fFrame.top - fBorderWidth,
282 fBottomBorder.Set(fFrame.left - fBorderWidth, fFrame.bottom + 1,
324 // calculate left/top/right/bottom outline borders
325 // NOTE: no overlapping, the left an
[all...]
/haiku/src/apps/icon-o-matic/generic/support/
H A Dsupport_ui.cpp26 stroke_frame(BView* v, BRect r, rgb_color left, rgb_color top, argument
31 v->AddLine(BPoint(r.left, r.bottom),
32 BPoint(r.left, r.top), left); local
33 v->AddLine(BPoint(r.left + 1.0, r.top),
38 BPoint(r.left + 1.0, r.bottom), bottom);
94 // top or left border
164 if (frame.left < screenFrame.left)
165 frame.OffsetBy((screenFrame.left
[all...]
/haiku/src/preferences/appearance/
H A DColorPreview.cpp72 AddLine(BPoint(bounds.left, bounds.bottom),
73 BPoint(bounds.left, bounds.top), shadow);
74 AddLine(BPoint(bounds.left + 1.0, bounds.top),
79 BPoint(bounds.left + 1.0, bounds.bottom), light);
84 AddLine(BPoint(bounds.left, bounds.bottom),
85 BPoint(bounds.left, bounds.top), darkShadow);
86 AddLine(BPoint(bounds.left + 1.0, bounds.top),
91 BPoint(bounds.left + 1.0, bounds.bottom), background);
252 ++rect.left;
263 ++rect.left;
[all...]
/haiku/src/apps/terminal/
H A DColorPreview.cpp72 AddLine(BPoint(bounds.left, bounds.bottom),
73 BPoint(bounds.left, bounds.top), shadow);
74 AddLine(BPoint(bounds.left + 1.0, bounds.top),
79 BPoint(bounds.left + 1.0, bounds.bottom), light);
84 AddLine(BPoint(bounds.left, bounds.bottom),
85 BPoint(bounds.left, bounds.top), darkShadow);
86 AddLine(BPoint(bounds.left + 1.0, bounds.top),
91 BPoint(bounds.left + 1.0, bounds.bottom), background);
252 ++rect.left;
263 ++rect.left;
[all...]
/haiku/src/tests/kits/interface/flatten_picture/
H A DPictureTestCases.cpp27 int x = (int)(rect.left + rect.IntegerWidth() / 2);
39 view->MovePenTo(frame.left, frame.bottom - 5);
42 view->DrawChar('B', BPoint(frame.left + 20, frame.bottom - 5));
54 view->StrokeLine(BPoint(frame.left, baseline - 1), BPoint(frame.right, baseline -1));
57 view->DrawString("Haiku [������������]", BPoint(frame.left, baseline));
69 view->StrokeLine(BPoint(frame.left, baseline - 1), BPoint(frame.right, baseline -1));
72 view->DrawString("Haiku [������������]", 13, BPoint(frame.left, baseline));
85 view->StrokeLine(BPoint(frame.left, baseline - 1), BPoint(frame.right, baseline -1));
88 BPoint point(frame.left, baseline);
113 view->StrokeLine(BPoint(frame.left, baselin
[all...]
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPJob.cpp245 stp_get_imageable_area(fVariables, &imageableArea.left,
247 fprintf(stderr, "GPJob imageable area left %f, top %f, right %f, "
249 imageableArea.left, imageableArea.top, imageableArea.right,
261 // GPBand offset is relative to imageable area left, top
262 // but it has to be absolute to left, top of page
265 coordinateSystem.FromGutenprintCeiling(imageableArea.left,
278 int left = (int)fPrintRect.left; local
283 fprintf(stderr, "GPJob bitmap bands frame left %d, top %d, width %d, "
285 left, to
291 double left; local
321 int left = fPrintRect.left; local
[all...]
/haiku/src/add-ons/translators/wonderbrush/
H A DLayer.cpp67 int32 left, top, right, bottom; local
68 rect_to_int(r, left, top, right, bottom);
73 src += 4 * left + bpr * top;
74 dst += 4 * left + bpr * top;
83 for (int32 x = left; x <= right; x++) {
136 for (int32 x = left; x <= right; x++) {
163 for (int32 x = left; x <= right; x++) {
190 for (int32 x = left; x <= right; x++) {
209 for (int32 x = left; x <= right; x++) {
228 for (int32 x = left;
[all...]
/haiku/src/apps/showimage/
H A DSelectionBox.cpp87 if (where.x >= bounds.left)
90 bounds.left = where.x;
122 // rotate to left
151 view->StrokeLine(BPoint(r.left, r.top), BPoint(r.right, r.top),
155 view->StrokeLine(BPoint(r.left, r.bottom), BPoint(r.right, r.bottom),
157 view->StrokeLine(BPoint(r.left, r.top + 1), BPoint(r.left, r.bottom - 1),
/haiku/src/kits/textencoding/
H A Dutf8_conversions.cpp42 size_t left = 1; local
43 for (; left <= *inputLeft; left ++) {
50 size_t size = iconv(*conversion, &buffer, &left,
72 *inputBuffer += left;
73 *inputLeft -= left;
/haiku/src/system/libroot/posix/glibc/misc/
H A Defgcvt_r.c66 int left; variable
74 left = 0;
83 /* Rounding to the left of the decimal point. */
95 ++left;
141 if (left)
143 *decpt += left;
146 while (left-- > 0 && n < (ssize_t) len)
/haiku/src/kits/tracker/
H A DOverrideAlert.cpp35 // defines the status area drawn in the bottom left corner of a Tracker window
119 float midX = (desirableRect.left + desirableRect.right) / 2.0f;
122 desirableRect.left = midX - ceilf(width / 2.0f);
123 desirableRect.right = desirableRect.left+width;
130 float midX = (desirableRect.left + desirableRect.right) / 2.0f;
133 desirableRect.left = midX - ceilf(width / 2.0f);
134 desirableRect.right = desirableRect.left + width;
/haiku/src/preferences/bluetooth/
H A DDeviceListItem.cpp71 BPoint point = BPoint(itemRect.left + DeviceClass::PixelsForIcon
92 fClass.Draw(owner, BPoint(itemRect.left, itemRect.top));
101 owner->DrawBitmap(icon, iconRect, BRect(itemRect.left + INSETS,
102 itemRect.top + INSETS, itemRect.left + INSETS + PIXELS_FOR_ICON,
111 owner->DrawBitmap(icon, iconRect, BRect(itemRect.left + INSETS,
112 itemRect.top + INSETS, itemRect.left + INSETS + PIXELS_FOR_ICON,
/haiku/src/apps/icon-o-matic/generic/property/view/specific_properties/
H A DColorValueView.cpp63 b.left = floorf(b.left + (b.Width() / 2.0) - b.Height() / 2.0);
64 b.right = b.left + b.Height();

Completed in 176 milliseconds

1234567891011>>