Searched refs:Width (Results 226 - 250 of 571) sorted by relevance

1234567891011>>

/haiku/src/add-ons/screen_savers/slideshowsaver/
H A DSlideShowSaver.cpp242 BRect destRect(0, 0, fBitmap->Bounds().Width(), fBitmap->Bounds().Height()),
245 if (destRect.Width() < vwBounds.Width()) {
246 destRect.OffsetBy((vwBounds.Width() - destRect.Width()) / 2, 0);
/haiku/src/tests/add-ons/print/ppd/ui/
H A DPPDConfigView.cpp330 return BRect(0, 0, fView->Bounds().Width(), fBounds.top);
343 box->ResizeTo(box->Bounds().Width(), builder.GetBounds().top + kBoxBottomMargin);
354 box->ResizeTo(box->Bounds().Width(), kBoxHeight);
444 SetScrollBar(scroller, builder.GetBounds().Width(), fDetails->Bounds().Width());
/haiku/src/apps/pulse/
H A DNormalPulseView.cpp261 9 + (fChipRect.Width() - fBrandLogo->Bounds().Width()) / 2,
266 MovePenTo(10 + (fChipRect.Width() - width) / 2, fChipRect.top + 20);
274 MovePenTo(10 + (fChipRect.Width() - width) / 2, fChipRect.top + 53);
287 MovePenTo(10 + (fChipRect.Width() - width) / 2, fChipRect.top + 62);
/haiku/src/kits/interface/
H A DTextControl.cpp411 if (bounds.Width() > fLayoutData->previous_width) {
417 } else if (bounds.Width() < fLayoutData->previous_width) {
447 fLayoutData->previous_width = bounds.Width();
450 TRACE("width: %.2f, height: %.2f\n", bounds.Width(), bounds.Height());
728 minWidth = max_c(minWidth, Bounds().Width());
1076 fLayoutData = new LayoutData(bounds.Width(), bounds.Height());
1092 fDivider = floorf(bounds.Width() / 2.0f);
1150 ResizeTo(Bounds().Width(), fLayoutData->min.height);
1173 fText->ResizeTo(frame.Width(), frame.Height());
1175 TRACE("width: %.2f, height: %.2f\n", Frame().Width(), Fram
[all...]
H A DMenuItem.cpp420 : fSuper->Frame().Width() - padding.left - padding.right;
724 float size = std::min(r.Height() - 2, r.Width());
779 where.x -= rect.Width() + 1;
786 where.x -= rect.Width() + 1;
793 where.x -= rect.Width() + 1;
800 where.x -= rect.Width() + 1;
H A DStatusBar.cpp142 ResizeTo(Bounds().Width(), height);
148 fTextDivider = Bounds().Width();
314 rect.Width());
452 ResizeTo(Bounds().Width(), height);
724 fTextDivider = Bounds().Width();
796 + (fCurrent * (barFrame.Width() + 3) / fMax));
H A DMenuField.cpp210 TRACE("frame.width: %.2f, height: %.2f\n", frame.Width(), frame.Height());
446 TRACE("width: %.2f, height: %.2f\n", Frame().Width(), Frame().Height());
448 float width = Bounds().Width();
455 width = item->Frame().Width() + kVMargin + _MenuBarOffset() + right;
461 TRACE("width: %.2f, height: %.2f\n", Frame().Width(), Frame().Height());
765 fMenuBar->Frame().Width(), fMenuBar->Frame().Height());
770 fMenuBar->Frame().Width(), fMenuBar->Frame().Height());
1021 fDivider = floorf(Frame().Width() / 2.0f);
1041 fMenuBar->Frame().Width(), fMenuBar->Frame().Height());
1187 ResizeTo(menuFrame.left + menuFrame.Width()
[all...]
/haiku/src/apps/cortex/DiagramView/
H A DDiagramView.cpp165 *width = m_dataRect.Width() + 10.0;
617 for (float x = 0; x < bounds.right; x += m_backgroundBitmap->Bounds().Width())
776 if (Bounds().Width() > m_dataRect.Width())
783 scrollBar->SetRange(m_dataRect.left, m_dataRect.right - Bounds().Width());
784 scrollBar->SetProportion(Bounds().Width() / m_dataRect.Width());
H A DDiagramItem.h136 { ResizeBy(width - Frame().Width(), height - Frame().Height()); }
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPJob.cpp252 imageableArea.Width(),
253 std::fmod(imageableArea.Width(), 72.) == 0.0 ? "whole inches" : "not whole inches",
280 int width = fPrintRect.Width() + 1;
323 int width = fPrintRect.Width() + 1;
397 GPJob::Width() function in class:GPJob
399 return fPrintRect.Width() + 1;
556 return job->Width();
/haiku/src/kits/shared/
H A DDateTimeEdit.cpp119 point.x += (bounds.Width() - StringWidth(field)) / 2;
138 point.x += (bounds.Width() - StringWidth(field)) / 2;
486 point.x += (bounds.Width() - StringWidth(field)) / 2;
508 point.x += (bounds.Width() - StringWidth(field)) / 2;
850 float width = (area.Width() -
866 float width = (area.Width() -
984 BPoint middle(floorf(fUpRect.left + fUpRect.Width() / 2),
/haiku/src/apps/cortex/ValControl/
H A DValControl.cpp77 _AllocBackBuffer(frame.Width(), frame.Height());
582 if (fBackBuffer && fBackBuffer->Bounds().Width() >= width
632 float fDisplacement = frame.Width() + entry.fPadding + 1;
638 frame.OffsetBy(Bounds().right - frame.Width(), 0.0);
644 frame.OffsetBy(fLayoutSet.back().frame.right - frame.Width(), 0.0); //+++++
692 float fWidth = e.frame.Width();
694 if (curFrame.Width() != fWidth
/haiku/src/apps/icon-o-matic/gui/
H A DGradientControl.cpp39 FrameResized(Bounds().Width(), Bounds().Height());
238 float x = r.left + r.Width() * step->offset;
258 (x - r.left) / r.Width());
362 float x = b.left + b.Width() * fDropOffset;
372 markerPos.x = b.left + (b.Width() * step->offset);
628 + (r.Width() * step->offset);
643 float offset = (where.x - r.left) / r.Width();
H A DSavePanel.cpp146 float minWindowWidth = textview->Bounds().Width()
147 + cancel->Bounds().Width()
148 + (insert ? insert->Bounds().Width() : 0.0)
388 // view->ResizeTo(rect.Width(), rect.Height());
/haiku/src/apps/cortex/MediaRoutingView/
H A DMediaNodePanel.cpp413 resizeTo(Frame().Width(), minHeight);
495 minWidth += m_bodyRect.Width();
498 if ((Frame().Width() < minWidth)
499 || ((Frame().Width() > minWidth)
509 float center = Frame().left + m_labelRect.left + (m_labelRect.Width() / 2.0);
542 inputOffset += jack->Frame().Width() + MediaJack::M_DEFAULT_GAP;
547 outputOffset += jack->Frame().Width() + MediaJack::M_DEFAULT_GAP;
856 float maxWidth = m_labelRect.Width() - (2.0 * M_LABEL_H_MARGIN) - 2.0;
865 m_labelOffset.x = m_labelRect.left + m_labelRect.Width() / 2.0 - fw / 2.0;
948 p.x = m_bodyRect.left + m_bodyRect.Width() / 2.
[all...]
/haiku/src/apps/deskbar/
H A DBarView.cpp558 statusLoc.x = screenFrame.right - fDragRegion->Bounds().Width();
621 expandoFrame.left = screenFrame.left + fBarMenuBar->Frame().Width();
622 expandoFrame.right = screenFrame.right - fDragRegion->Frame().Width() - 1;
627 fInlineScrollView->ResizeTo(expandoFrame.Width(), fVertical
629 fExpandoMenuBar->ResizeTo(expandoFrame.Width(), expandoFrame.Height());
650 windowWidth = screenFrame.Width();
677 windowWidth = fDragRegion->Frame().Width()
678 + fBarMenuBar->Frame().Width() + 1;
683 windowWidth = screenFrame.Width();
1241 frame.right = frame.left + rect.Width();
[all...]
/haiku/src/apps/tv/
H A DMainWin.cpp633 // ResizeWindow(Bounds().Width() + 1, Bounds().Height() + 1, true);
659 if (new_width != Bounds().Width() || new_height != Bounds().Height()) {
665 "%.0f, bounds height %.0f\n", new_width, new_height, Bounds().Width(),
711 fVideoView->Bounds().Width() + 1, fVideoView->Bounds().Height() + 1);
725 float max_width = fBackground->Bounds().Width() + 1.0f;
752 fVideoView->ResizeTo(fBackground->Bounds().Width(),
767 fVideoView->ResizeTo(fBackground->Bounds().Width(),
774 float max_width = Bounds().Width() + 1.0f;
866 ResizeTo(rect.Width(), rect.Height());
881 ResizeTo(fSavedFrame.Width(), fSavedFram
[all...]
/haiku/src/preferences/keymap/
H A DKeyboardLayoutView.cpp506 if (fOldSize != BSize(Bounds().Width(), Bounds().Height())) {
677 float factorX = Bounds().Width() / fLayout->Bounds().Width();
681 fOffset = BPoint(floorf((Bounds().Width() - fLayout->Bounds().Width()
690 fOldSize.width = Bounds().Width();
760 + (key->frame.Width() - key->second_row) * fFactor - fGap - 2);
851 view->TruncateString(&text, B_TRUNCATE_END, rect.Width());
853 BPoint(ceilf(rect.left + (rect.Width()
859 rect.left += rect.Width() /
[all...]
/haiku/src/kits/tracker/
H A DWidgetAttributeText.cpp293 ASSERT(fColumn->Width() > 0);
305 if (fDirty || fColumn->Width() != fOldWidth || CheckSettingsChanged()
367 WidgetAttributeText::Width(const BPoseView* pose) function in class:WidgetAttributeText
515 fOldWidth = fColumn->Width();
760 fOldWidth = fColumn->Width();
853 fOldWidth = fColumn->Width();
1021 fOldWidth = fColumn->Width();
1073 fOldWidth = fColumn->Width();
1290 fOldWidth = fColumn->Width();
1763 fOldWidth = fColumn->Width();
[all...]
/haiku/src/apps/launchbox/
H A DMainWindow.cpp403 ResizeTo(frame.Width(), frame.Height());
542 BPoint center(origin.x + frame.Width() / 2.0,
546 fScreenPosition.x = center.x / screenFrame.Width();
569 BPoint center(fScreenPosition.x * screenFrame.Width(),
571 BPoint frameCenter(frame.left + frame.Width() / 2.0,
597 ResizeTo(frame.Width(), frame.Height());
/haiku/src/apps/mediaplayer/interface/
H A DSubtitleBitmap.cpp125 fShadowTextView->ResizeTo(bounds.Width(), bounds.Height());
144 fTextView->ResizeTo(bounds.Width(), bounds.Height());
331 float fontSize = ceilf((fVideoBounds.Width() * 0.9) / fCharsPerLine);
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/
H A DAlphaSlider.cpp31 FrameResized(Bounds().Width(), Bounds().Height());
183 float pos = floorf(b.left + Value() * b.Width() / 255.0 + 0.5);
397 value = (int32)(255 * (where.x - r.left) / r.Width() + 0.5);
/haiku/src/servers/app/drawing/Painter/bitmap_painter/
H A DBitmapPainter.cpp50 fBitmap.attach(bitmap->Bits(), bitmap->Width(), bitmap->Height(),
197 fScaleX = (fDestinationRect.Width() + 1) / (sourceRect.Width() + 1);
/haiku/src/apps/bootmanager/
H A DDrivesPage.cpp161 owner->MovePenTo(frame.left + 8 + fIcon->Bounds().Width(),
173 BPoint namePosition(frame.left + 8 + fIcon->Bounds().Width(),
181 - (frame.left + 8 + fIcon->Bounds().Width()) - nameWidth
/haiku/src/preferences/locale/
H A DLanguageListView.cpp143 SetWidth(Width() + iconSize + be_control_look->DefaultLabelSpacing());
166 float iconSize = fIcon->Bounds().Width();
340 BRect dragRect(0.0, 0.0, Bounds().Width(), -1.0);
387 int32 width = (int32)dragBitmap->Bounds().Width() + 1;

Completed in 184 milliseconds

1234567891011>>