Scrollable
Scrollable::SetScrollOffset(newOffset);
class CanvasView : public StateView, public Scrollable, public IconListener {
ScrollView::ScrollTargetChanged(Scrollable* /*oldTarget*/,
Scrollable* newTarget)
if (Scrollable* scrollable = dynamic_cast<Scrollable*>(child))
class Scrollable;
virtual void ScrollTargetChanged(Scrollable* oldTarget,
Scrollable* newTarget);
Scrollable::ScrollOffset() const
Scrollable::SetDataRectAndScrollOffset(BRect dataRect, BPoint offset)
Scrollable::Scrollable()
Scrollable::ValidScrollOffsetFor(BPoint offset) const
Scrollable::ValidScrollOffsetFor(BPoint offset, const BRect& dataRect) const
Scrollable::SetVisibleSize(float width, float height)
Scrollable::VisibleBounds() const
Scrollable::VisibleRect() const
Scrollable::DataRectChanged(BRect /*oldDataRect*/, BRect /*newDataRect*/)
Scrollable::ScrollOffsetChanged(BPoint /*oldOffset*/, BPoint /*newOffset*/)
Scrollable::~Scrollable()
Scrollable::VisibleSizeChanged(float /*oldWidth*/, float /*oldHeight*/,
Scrollable::ScrollSourceChanged(Scroller* /*oldSource*/,
Scrollable::SetScrollSource(Scroller* source)
Scrollable::ScrollSource() const
Scrollable::SetDataRect(BRect dataRect, bool validateScrollOffset)
Scrollable::DataRect() const
Scrollable::SetScrollOffset(BPoint offset)
class Scrollable {
Scrollable();
virtual ~Scrollable();
: Scrollable()
class ScrollableView : public Scrollable {
Scroller::ScrollTargetChanged(Scrollable* /*oldTarget*/,
Scrollable* /*newTarget*/)
Scroller::SetScrollTarget(Scrollable* target)
Scrollable* oldTarget = fScrollTarget;
Scrollable*
class Scrollable;
void SetScrollTarget(Scrollable* target);
Scrollable* ScrollTarget() const;
virtual void ScrollTargetChanged(Scrollable* oldTarget,
Scrollable* newTarget);
Scrollable* fScrollTarget;
friend class Scrollable;
Scrollable(),
public Scrollable,