Lines Matching refs:target

29 BScrollView::BScrollView(const char* name, BView* target, uint32 resizingMode,
32 BView(BRect(), name, resizingMode, _ModifyFlags(flags, target, border)),
33 fTarget(target),
40 BScrollView::BScrollView(const char* name, BView* target, uint32 flags,
43 BView(name, _ModifyFlags(flags, target, border)),
44 fTarget(target),
60 // in a shallow archive, we may not have a target anymore. We must
63 // don't confuse our scroll bars with our (eventual) target
145 // search for our scroll bars and target
150 // We assume that the first non-scrollbar child view is the target.
151 // So the target view can't be a BScrollBar, but who would do that?
153 // in a shallow archive, we may not have a target anymore. We must
166 // Now connect the bars to the target, and make the target aware of them
591 BScrollView::SetTarget(BView* target)
593 if (fTarget == target)
603 fTarget = target;
605 fHorizontalScrollBar->SetTarget(target);
607 fVerticalScrollBar->SetTarget(target);
609 if (target != NULL) {
611 target->MoveTo((fBorders & BControlLook::B_LEFT_BORDER) != 0
615 target->ResizeTo(innerFrame.Width() - 1, innerFrame.Height() - 1);
616 target->TargetedByScrollView(this);
618 AddChild(target, ChildAt(0));
619 // This way, we are making sure that the target will
790 // layout target and add it
800 // no target specified
911 ScrollView will cover depending on the frame of its target
952 BScrollView::_ComputeFrame(BView *target, BScrollBar* horizontal,
955 return _ComputeFrame(target != NULL ? target->Frame()
978 BScrollView::_ModifyFlags(uint32 flags, BView* target, border_style border)
980 if (target != NULL && (target->Flags() & B_SUPPORTS_LAYOUT) != 0
981 && (target->Flags() & B_SCROLL_VIEW_AWARE) == 0)