Searched refs:Width (Results 1 - 25 of 571) sorted by relevance

1234567891011>>

/haiku/src/tests/servers/app/newerClipping/drawing/
H A DRenderingBuffer.h20 virtual uint32 Width() const = 0;
29 Width() - 1,
/haiku/src/apps/packageinstaller/
H A DPackageImageViewer.cpp63 if (image.Width() > (frame.Width() - 100.0f))
64 image.right = frame.Width() - 100.0f;
68 ResizeTo(image.Width(), image.Height());
80 DrawString(message, BPoint((Bounds().Width() - width) / 2.0f, 30.0f));
104 ResizeTo(fBackground->Bounds().Width(), fBackground->Bounds().Height());
108 MoveTo((frame.Width() - Bounds().Width()) / 2.0f,
/haiku/src/servers/app/
H A DRenderingBuffer.h22 virtual uint32 Width() const = 0;
30 { return IntRect(0, 0, Width() - 1,
/haiku/src/tests/kits/interface/bprintjob/
H A DPrintTestView.cpp14 font.SetRotation(Bounds().Width()/10);
16 DrawString("Haiku", 8, BPoint(Bounds().Width()/2,Bounds().Height()/2));
/haiku/src/apps/haiku3d/texture/
H A DBitmapTexture.cpp41 (int) bitmap->Bounds().Width() + 1,
48 fId, (int32) bitmap->Bounds().Width(),
50 8 * bitmap->BytesPerRow() / (int)bitmap->Bounds().Width());
/haiku/src/apps/cortex/ValControl/
H A DValCtrlLayoutEntry.cpp56 e.pView->ResizeTo(e.frame.Width(), e.frame.Height());
/haiku/src/preferences/screen/
H A DRefreshWindow.cpp53 fRefreshSlider->ResizeTo(rect.Width(), height);
59 doneButton->MoveTo(Bounds().Width() - doneButton->Bounds().Width() - 8,
67 button->MoveBy(-button->Bounds().Width() - 10, 0);
72 width = stringView->Bounds().Width() + 100;
73 if (width < Bounds().Width())
74 width = Bounds().Width();
/haiku/src/apps/icon-o-matic/generic/gui/
H A DGroup.cpp33 FrameResized(Bounds().Width(), Bounds().Height());
53 *width = r.Width();
69 FrameResized(Bounds().Width(), Bounds().Height());
81 r.right = r.left + child->Bounds().Width() + 2 * fSpacing;
105 minWidth += child->Bounds().Width() + 1 + fSpacing;
114 child->Bounds().Width() + 1 + fInset * 2.0);
131 frame.left = (frame.left + frame.right) / 2.0 - view->Bounds().Width() / 2.0;
133 float width = resizeWidth ? frame.Width() : view->Bounds().Width();
/haiku/src/apps/cortex/ParameterView/
H A DParameterContainerView.cpp76 b.Width() + B_V_SCROLL_BAR_WIDTH,
130 // fprintf(stderr, "m: %.1f,%.1f c: %.1f,%.1f)\n", width, height, b.Width(),b.Height());
137 if(width > m_boundsRect.Width()) {
171 float width = Bounds().Width() - B_V_SCROLL_BAR_WIDTH;
174 D_INTERNAL((" -> dataRect.Width() = %f scrollView.Width() = %f\n", m_dataRect.Width(), width));
175 if (width > m_dataRect.Width()) {
183 m_hScroll->SetProportion(width / m_dataRect.Width());
/haiku/src/apps/deskbar/
H A DBarMenuTitle.cpp134 float widthOffset = rintf((frame.Width() - iconRect.Width()) / 2);
145 if (iconRect.Width() > frame.Width()) {
146 float diff = iconRect.Width() - frame.Width();
/haiku/src/apps/sudoku/
H A DProgressWindow.cpp44 fStatusBar->ResizeTo(rect.Width(), height);
53 button->MoveBy((rect.Width() - button->Bounds().Width()) / 2, 0);
59 ResizeTo(Bounds().Width(), height + 8);
80 MoveTo(frame.left + (frame.Width() - Bounds().Width()) / 2,
/haiku/src/apps/haikudepot/ui_generic/
H A DBitmapView.cpp41 if (bitmapBounds.Width() <= 0.0f || bitmapBounds.Height() <= 0.0f)
47 float hScale = bounds.Width() / bitmapBounds.Width();
53 float width = bitmapBounds.Width() * scale;
65 + (bounds.Width() - width) / 2.0f);
96 size.width = bounds.Width();
/haiku/src/apps/soundrecorder/
H A DDrawButton.cpp18 fOff.SetBits(off, (frame.Width() + 1) * (frame.Height() + 1), 0, B_CMAP8);
19 fOn.SetBits(on, (frame.Width() + 1) * (frame.Height() + 1), 0, B_CMAP8);
/haiku/src/servers/app/drawing/
H A DBitmapBuffer.cpp60 // Width
62 BitmapBuffer::Width() const function in class:BitmapBuffer
65 return fBitmap->Width();
H A DMallocBuffer.h22 virtual uint32 Width() const;
H A DBitmapBuffer.h21 virtual uint32 Width() const;
/haiku/src/apps/haikudepot/ui/
H A DGeneralContentScrollView.cpp27 Target()->ResizeTo(innerFrame.Width(), innerFrame.Height());
38 scrollBar->ResizeTo(rect.Width(), rect.Height());
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/hardware/
H A Dhwvalid.c334 * Width Number of bits
348 UINT32 Width)
364 Status = AcpiHwValidateIoRequest (Address, Width);
367 Status = AcpiOsReadPort (Address, Value, Width);
381 for (i = 0, *Value = 0; i < Width; i += 8)
409 * Width Number of bits
423 UINT32 Width)
438 Status = AcpiHwValidateIoRequest (Address, Width);
441 Status = AcpiOsWritePort (Address, Value, Width);
455 for (i = 0; i < Width;
345 AcpiHwReadPort( ACPI_IO_ADDRESS Address, UINT32 *Value, UINT32 Width) argument
420 AcpiHwWritePort( ACPI_IO_ADDRESS Address, UINT32 Value, UINT32 Width) argument
[all...]
/haiku/src/apps/gradients/
H A DGradientsWindow.cpp17 BRect field(10, 10, Bounds().Width() - 10, 30);
44 MoveTo((BScreen().Frame().Width() - Bounds().Width()) / 2,
/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);
/haiku/src/apps/processcontroller/
H A DPCWindow.cpp52 SetSizeLimits(rect.Width() + 21, rect.Width() + 21, 15 + 21, 15 + 21);
54 rect.OffsetTo((Bounds().Width() - 16) / 2, (Bounds().Height() - 16) / 2);
/haiku/src/apps/icon-o-matic/generic/gui/popup_control/
H A DPopupControl.cpp88 leftLocation.x -= fPopupWindow->Frame().Width() + 1.0;
90 float totalWidth = Bounds().Width() + fPopupWindow->Frame().Width();
101 if (frame.Width() > dest.Width())
102 frame.right = frame.left + dest.Width();
123 fPopupWindow->ResizeTo(frame.Width(), frame.Height());
/haiku/src/apps/resedit/
H A DImageEditor.cpp53 r.OffsetBy(r.Width() + 10, 0);
62 r.OffsetTo( (Bounds().Width() - r.Width()) / 2, fNameBox->Frame().bottom + 10);
80 fOK->MoveTo(Bounds().right - fOK->Bounds().Width() - 10,
84 r.OffsetBy(-r.Width() - 10, 0);
110 fImageView->ResizeTo(r.Width(), r.Height());
121 fImageView->MoveTo( (w - fImageView->Bounds().Width()) / 2,
/haiku/src/kits/tracker/
H A DDraggableContainerIcon.cpp61 SetExplicitMinSize(BSize(iconSize.Width() + 5, iconSize.Height()));
62 SetExplicitMaxSize(BSize(iconSize.Width() + 5, B_SIZE_UNSET));
127 BRect rect(0, 0, std::max(Bounds().Width(),
152 float hIconOffset = (rect.Width() - Bounds().Width()) / 2;
158 if (view->StringWidth(model->Name()) > rect.Width()) {
160 rect.Width() - 5);
165 - Bounds().Width()) / 2;
213 float iconOffsetX = (Bounds().Width() - fIconSize.Width()) /
[all...]
H A DBackgroundImage.cpp212 (viewBounds.Width() - bitmapBounds.Width()) / 2,
224 viewBounds.Width() + overlap, viewBounds.Height());
229 viewBounds.Width(), viewBounds.Height() + overlap);
243 (viewBounds.Width() - bitmapBounds.Width()) / 2,
261 return rect.Width() / rect.Height();
268 return ((hostRect.Height() / resizedRect.Height() * resizedRect.Width())
269 - hostRect.Width()) / 2;
276 return ((hostRect.Width() / resizedRec
[all...]

Completed in 165 milliseconds

1234567891011>>