Lines Matching refs:border

30 	uint32 flags, bool horizontal, bool vertical, border_style border)
32 BView(BRect(), name, resizingMode, _ModifyFlags(flags, target, border)),
34 fBorder(border)
41 bool horizontal, bool vertical, border_style border)
43 BView(name, _ModifyFlags(flags, target, border)),
45 fBorder(border)
56 int32 border;
57 fBorder = archive->FindInt32("_style", &border) == B_OK ?
58 (border_style)border : B_FANCY_BORDER;
304 float border = _BorderSize() - 1;
320 // invalidate the region between the old and the new right border
322 rect.left += fPreviousWidth - border;
326 // invalidate the region of the new right border
328 rect.left = rect.right - border;
335 // invalidate the region between the old and the new bottom border
337 rect.top += fPreviousHeight - border;
341 // invalidate the region of the new bottom border
343 rect.top = rect.bottom - border;
467 BScrollView::SetBorder(border_style border)
469 if (fBorder == border)
473 fBorder = border;
474 SetFlags(_ModifyFlags(Flags(), fTarget, border));
481 float offset = _BorderSize() - _BorderSize(border);
486 if (border == B_NO_BORDER || fBorder == B_NO_BORDER) {
488 verticalGap = border != B_NO_BORDER ? 1 : -1;
490 horizontalGap = border != B_NO_BORDER ? 1 : -1;
492 change = border != B_NO_BORDER ? -1 : 1;
497 fBorder = border;
522 SetFlags(_ModifyFlags(Flags(), fTarget, border));
912 and which border style is used.
917 BScrollBar* vertical, border_style border, uint32 borders)
934 _InsetBorders(frame, border, borders, true);
936 if (_BorderSize(border) == 0) {
949 BScrollBar* vertical, border_style border, uint32 borders)
952 : BRect(0, 0, 16, 16), horizontal, vertical, border, borders);
956 /*! This method returns the size of the specified border.
959 BScrollView::_BorderSize(border_style border)
961 if (border == B_FANCY_BORDER)
963 if (border == B_PLAIN_BORDER)
974 BScrollView::_ModifyFlags(uint32 flags, BView* target, border_style border)
981 // to draw a border.
982 if (border != B_NO_BORDER) {
992 BScrollView::_InsetBorders(BRect& frame, border_style border, uint32 borders, bool expand)
994 float borderSize = _BorderSize(border);