Searched refs:dataRect (Results 1 – 8 of 8) sorted by relevance
/haiku/src/apps/icon-o-matic/generic/gui/scrollview/ |
H A D | Scrollable.cpp | 65 Scrollable::SetDataRect(BRect dataRect, bool validateScrollOffset) in SetDataRect() argument 67 if (fDataRect != dataRect && dataRect.IsValid()) { in SetDataRect() 69 fDataRect = dataRect; in SetDataRect() 125 Scrollable::SetDataRectAndScrollOffset(BRect dataRect, BPoint offset) in SetDataRectAndScrollOffset() argument 127 if (fDataRect != dataRect && dataRect.IsValid()) { in SetDataRectAndScrollOffset() 130 fDataRect = dataRect; in SetDataRectAndScrollOffset() 161 Scrollable::ValidScrollOffsetFor(BPoint offset, const BRect& dataRect) const in ValidScrollOffsetFor() 163 float maxX = max_c(dataRect.left, dataRect.right - fVisibleWidth); in ValidScrollOffsetFor() 164 float maxY = max_c(dataRect.top, dataRect.bottom - fVisibleHeight); in ValidScrollOffsetFor() 166 if (offset.x < dataRect.left) in ValidScrollOffsetFor() [all …]
|
H A D | Scrollable.h | 21 void SetDataRect(BRect dataRect, 28 void SetDataRectAndScrollOffset(BRect dataRect, 33 const BRect& dataRect) const;
|
H A D | ScrollView.cpp | 751 BRect dataRect = DataRect(); in _UpdateScrollBars() local 754 dataRect.Set(0.0, 0.0, 0.0, 0.0); in _UpdateScrollBars() 758 / (dataRect.Width() + 1.0f)); in _UpdateScrollBars() 759 float hMaxValue = max_c(dataRect.left, in _UpdateScrollBars() 760 dataRect.right - visibleBounds.Width()); in _UpdateScrollBars() 762 / (dataRect.Height() + 1.0f)); in _UpdateScrollBars() 763 float vMaxValue = max_c(dataRect.top, in _UpdateScrollBars() 764 dataRect.bottom - visibleBounds.Height()); in _UpdateScrollBars() 768 fHScrollBar->SetRange(dataRect.left, hMaxValue); in _UpdateScrollBars() 781 fVScrollBar->SetRange(dataRect.top, vMaxValue); in _UpdateScrollBars() [all …]
|
H A D | Scroller.cpp | 65 Scroller::SetDataRect(BRect dataRect) in SetDataRect() argument 68 fScrollTarget->SetDataRect(dataRect); in SetDataRect()
|
H A D | Scroller.h | 23 void SetDataRect(BRect dataRect);
|
/haiku/src/apps/icon-o-matic/ |
H A D | CanvasView.cpp | 74 BRect dataRect = _LayoutCanvas(); in AttachedToWindow() local 75 SetDataRect(dataRect); in AttachedToWindow() 77 BPoint dataRectCenter((dataRect.left + dataRect.right) / 2, in AttachedToWindow() 78 (dataRect.top + dataRect.bottom) / 2); in AttachedToWindow() 277 BRect dataRect(_LayoutCanvas()); in VisibleSizeChanged() local 278 SetDataRect(dataRect); in VisibleSizeChanged() 625 BRect dataRect = _LayoutCanvas(); in _SetZoom() local 635 SetDataRectAndScrollOffset(dataRect, offset); in _SetZoom()
|
/haiku/src/apps/cortex/ParameterView/ |
H A D | ParameterContainerView.h | 62 BRect dataRect,
|
H A D | ParameterContainerView.cpp | 52 BRect dataRect, in ParameterContainerView() argument 60 m_dataRect(dataRect), in ParameterContainerView()
|