Searched refs:left (Results 176 - 200 of 687) sorted by relevance

1234567891011>>

/haiku/src/libs/print/libprint/
H A DPageSetupDlg.cpp101 margin.left -= paper.left;
282 swap(&paper_rect.left, &paper_rect.top);
284 swap(&physical_rect.left, &physical_rect.top);
292 printable_rect.left = paper_rect.left + margin.left;
297 printable_rect.left = max_c(printable_rect.left, physical_rect.left);
[all...]
/haiku/src/apps/diskprobe/
H A DDiskProbe.cpp137 settings.window_frame.left = B_LENDIAN_TO_HOST_FLOAT(
138 settings.window_frame.left);
184 settings.window_frame.left = B_HOST_TO_LENDIAN_FLOAT(
185 settings.window_frame.left);
341 float left = rect.left; local
342 if (left + rect.Width() > screenBorder.right)
343 left = 7;
349 rect.OffsetTo(BPoint(left, top));
350 window->MoveTo(BPoint(left, to
[all...]
/haiku/src/kits/interface/
H A DSeparatorView.cpp182 labelBounds.right = labelBounds.left + labelWidth;
186 labelBounds.left = labelBounds.right - labelWidth;
190 labelBounds.left = (labelBounds.left + labelBounds.right
192 labelBounds.right = labelBounds.left + labelWidth;
232 bounds.left = floorf((bounds.left + bounds.right + 1 - borderSize)
234 bounds.right = bounds.left + borderSize - 1;
255 DrawString(fLabel.String(), BPoint(labelBounds.left,
258 DrawString(fLabel.String(), BPoint(labelBounds.left
[all...]
H A DBox.cpp169 frame.left += fLayoutData->insets.left;
333 invalid.left = bounds.left + fBounds.right - borderSize;
334 invalid.right = bounds.left + fBounds.right;
339 invalid.left = bounds.left + bounds.right - borderSize;
610 frame.left += fLayoutData->insets.left;
701 AddLine(BPoint(rect.left, rec
[all...]
H A DLayoutUtils.cpp167 frame.left += (int)((frame.Width() - maxSize.width)
169 frame.right = frame.left + maxSize.width;
195 frame.right = frame.left + maxSize.width;
218 rect.left += (int)((rect.Width() - size.width)
222 rect.right = rect.left + size.width;
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).
245 // enforce horizontal limits; favor left edge
301 indent.String(), frame.left, frame.top, frame.right, frame.bottom,
353 indent.String(), frame.left, fram
[all...]
/haiku/src/libs/compat/freebsd_iflib/
H A Dnvlist.c857 size_t left, size; local
875 left = size;
877 ptr = nvlist_pack_header(nvl, ptr, &left);
884 ptr = nvpair_pack_header(nvp, ptr, &left);
889 ptr = nvpair_pack_null(nvp, ptr, &left);
892 ptr = nvpair_pack_bool(nvp, ptr, &left);
895 ptr = nvpair_pack_number(nvp, ptr, &left);
898 ptr = nvpair_pack_string(nvp, ptr, &left);
902 ptr = nvlist_pack_header(tmpnvl, ptr, &left);
911 ptr = nvpair_pack_nvlist_up(ptr, &left);
1102 size_t left; local
[all...]
/haiku/src/tests/servers/app/painter/
H A DPainter.cpp503 BPoint a(r.left, r.top);
541 StraightLine(BPoint(r.left, r.top),
546 BPoint(r.left + 1, r.bottom), c);
547 StraightLine(BPoint(r.left, r.bottom),
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)
597 int32 left = (int32)r.left; local
604 int32 x1 = max_c(fBaseRenderer->xmin(), left);
1357 double left = 0.0; local
[all...]
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DQuery.cpp176 Operator(Term* left, int8 op, Term* right);
894 Operator::Operator(Term* left, int8 op, Term* right)
897 fLeft(left),
900 if (left)
901 left->SetParent(this);
1013 Term* left = NULL;
1016 if (fLeft != NULL && (left = fLeft->Copy()) == NULL)
1019 delete left;
1023 Term* term = new(std::nothrow) Term(left, fOp, right);
1025 delete left;
[all...]
/haiku/src/kits/shared/
H A DDateTimeEdit.cpp853 area.left += index * (width + sepWidth);
854 area.right = area.left + width;
869 area.left += (index + 1) * width + index * sepWidth;
870 area.right = area.left + sepWidth;
978 bounds.left = bounds.right - kArrowAreaWidth;
980 fUpRect.Set(bounds.left + 3, bounds.top + 2, bounds.right,
984 BPoint middle(floorf(fUpRect.left + fUpRect.Width() / 2),
986 BPoint left(fUpRect.left + 3, fUpRect.bottom - 1);
987 BPoint right(left
[all...]
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_crypto_ccmp.c175 int hdrlen, left, moff, noff, len; local
228 left = m0->m_pkthdr.len - moff;
229 while (left > 0) {
231 /* nothing left to copy from m */
242 if (left >= MINCLSIZE - IEEE80211_CCMP_MICLEN) {
247 if (n->m_len > left)
248 n->m_len = left;
274 left -= len;
354 int hdrlen, left, moff, noff, len; local
417 left
[all...]
/haiku/src/apps/webpositive/tabview/
H A DTabManager.cpp81 symbolRect.left = (symbolRect.left + symbolRect.right) / 2 - 6;
83 symbolRect.right = symbolRect.left + 12;
150 frame.left++;
151 FillRoundRect(BRect(frame.left, frame.top + inset,
153 FillRoundRect(BRect(frame.left + inset, frame.top,
523 BPoint iconPos(frame.left + kIconInset - 1,
531 frame.left = frame.left + kIconSize + kIconInset * 2;
608 frame.left
[all...]
/haiku/src/add-ons/print/drivers/postscript/
H A DPS.cpp159 const float leftMargin = GetJobData()->GetPrintableRect().left;
162 // move origin from bottom left to top left
168 // move origin from bottom left to margin top and left
214 rc.left = (int)bounds.left;
239 rc.left, rc.top, rc.right, rc.bottom));
241 x = rc.left;
245 int width = rc.right - rc.left
[all...]
/haiku/src/apps/icon-o-matic/gui/
H A DGradientControl.cpp238 float x = r.left + r.Width() * step->offset;
241 // move step to the left
242 x = max_c(r.left, x - 1.0);
250 x = r.left;
258 (x - r.left) / r.Width());
302 // left of gradient rect
303 BRect lb(updateRect.left, updateRect.top, b.left - 1, b.bottom);
311 BRect bb(updateRect.left, b.bottom + 1, updateRect.right, updateRect.bottom);
362 float x = b.left
[all...]
/haiku/src/apps/debuganalyzer/gui/chart/
H A DChart.cpp33 Chart::AxisInfo::SetFrame(float left, float top, float right, float bottom) argument
35 frame.Set(left, top, right, bottom);
371 //printf("Chart::Draw((%f, %f) - (%f, %f))\n", updateRect.left, updateRect.top, updateRect.right, updateRect.bottom);
452 int32 left = 0; local
458 left = fLeftAxis.axis->PreferredSize(this, size).IntegerWidth() + 1;
468 fChartFrame = BRect(left, top, width - right - 1, height - bottom - 1);
470 //printf(" fChartFrame: (%f, %f) - (%f, %f)\n", fChartFrame.left, fChartFrame.top, fChartFrame.right, fChartFrame.bottom);
472 fLeftAxis.SetFrame(0, fChartFrame.top + 1, fChartFrame.left - 1,
476 fTopAxis.SetFrame(fChartFrame.left + 1, 0, fChartFrame.right - 1,
478 fBottomAxis.SetFrame(fChartFrame.left
[all...]
/haiku/src/add-ons/accelerants/et6x00/
H A DAcceleration.c171 uint16 left, top, right, bottom; local
225 left = list->left;
233 *((vuint16 *)(mmRegs+0x98)) = (right-left+1)*bpp - 1;
250 *((vuint32 *)(mmRegs+0xa0)) = (top * screenWidth + left) * bpp;
/haiku/src/apps/mediaplayer/interface/
H A DVolumeSlider.cpp79 // movement from right to left
83 // movement from left to right
113 rect.left = rect.left + rect.Width() * Position() - rect.Height() / 2;
114 rect.right = rect.left + rect.Height();
148 rect.left++;
262 * (BarFrame().Width() - 2) + BarFrame().left + 1);
/haiku/src/tests/kits/interface/menu/menuworld/
H A DViewLayoutFactory.cpp144 viewLoc.Set(frame.left, frame.top);
150 viewLoc.Set(frame.left, frame.bottom);
153 viewLoc.Set(frame.left, average(frame.top, frame.bottom));
156 viewLoc.Set(average(frame.left, frame.right), frame.top);
197 moveLoc.x -= (r.right - r.left) / 2;
/haiku/src/apps/icon-o-matic/generic/property/view/
H A DPropertyItemView.cpp77 FillRect(BRect(b.left, b.top, b.left + fLabelWidth, b.bottom), B_SOLID_LOW);
78 DrawString(truncated.String(), BPoint(b.left + 5.0,
91 StrokeLine(BPoint(b.left + fLabelWidth - 1.0, b.top),
92 BPoint(b.left + fLabelWidth - 1.0, b.bottom), B_SOLID_HIGH);
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dprintf_size.c192 if (!info->left && width > 0)
204 if (info->left && width > 0)
219 fp_info.left = info->left;
226 if (fp_info.left && fp_info.pad == L' ')
/haiku/src/preferences/appearance/
H A DFakeScrollBar.cpp82 BRect buttonFrame(rect.left, rect.top, rect.left + rect.Height(),
112 BRect thumbRect(rect.left + less, rect.top, rect.right - less,
114 BRect leftOfThumb(rect.left, thumbRect.top, thumbRect.left - 1,
/haiku/src/add-ons/kernel/file_systems/netfs/authentication_server/
H A DAuthenticationPanel.cpp132 nameFrame.right = nameFrame.left + frame.Width();
133 passFrame.right = passFrame.left + frame.Width();
230 center.x = screenFrame.left + screenFrame.Width() / 2.0;
232 frame.left = center.x - width / 2.0;
233 frame.right = frame.left + width;
/haiku/src/add-ons/kernel/drivers/network/ether/usb_davicom/
H A DDriver.cpp66 int left = -1; local
68 while ((right - left) > 1) {
69 int i = (left + right) / 2;
70 ((gSupportedDevices[i].Key() < id) ? left : right) = i;
76 TRACE_ALWAYS("Search for %#x failed %d-%d.\n", id, left, right);
/haiku/src/apps/terminal/
H A DSmartTabView.cpp56 buttonRect.left = frame.right - be_control_look->GetScrollBarWidth(B_VERTICAL) + 1;
75 SmartTabView::SetInsets(float left, float top, float right, float bottom) argument
77 fInsets.left = left;
137 - fInsets.left - fInsets.right,
/haiku/src/apps/processcontroller/
H A DUtilities.cpp160 frame.right = frame.left + width;
168 if (frame.left < screen.left)
169 window->MoveTo(screen.left, frame.top);
185 rect.left = frame.right - kMargin - kBarWidth;
/haiku/src/add-ons/input_server/devices/keyboard/
H A DTeamListItem.cpp86 frame.left += 4;
88 iconFrame.Set(iconFrame.left, iconFrame.top + 1,
89 iconFrame.left + fMiniIcon.Bounds().Width(),
96 frame.left += fMiniIcon.Bounds().Width();
109 owner->MovePenTo(frame.left + (fMiniIcon.Bounds().Width() / 2),

Completed in 210 milliseconds

1234567891011>>