/haiku/headers/os/interface/ |
H A D | Size.h | 17 class BSize { 22 inline BSize(); 23 inline BSize(const BSize& other); 24 inline BSize(float width, float height); 39 inline bool operator==(const BSize& other) const; 40 inline bool operator!=(const BSize& other) const; 42 inline BSize& operator=(const BSize& other); 47 BSize::BSize() in BSize() function 55 BSize::BSize(const BSize& other) in BSize() function 63 BSize::BSize(float width, float height) in BSize() function [all …]
|
H A D | SpaceLayoutItem.h | 13 BSpaceLayoutItem(BSize minSize, BSize maxSize, 14 BSize preferredSize, BAlignment alignment); 22 virtual BSize MinSize(); 23 virtual BSize MaxSize(); 24 virtual BSize PreferredSize(); 27 virtual void SetExplicitMinSize(BSize size); 28 virtual void SetExplicitMaxSize(BSize size); 29 virtual void SetExplicitPreferredSize(BSize size); 59 BSize fMinSize; 60 BSize fMaxSize; [all …]
|
H A D | AbstractLayoutItem.h | 19 virtual BSize MinSize(); 20 virtual BSize MaxSize(); 21 virtual BSize PreferredSize(); 24 virtual void SetExplicitMinSize(BSize size); 25 virtual void SetExplicitMaxSize(BSize size); 26 virtual void SetExplicitPreferredSize(BSize size); 29 virtual BSize BaseMinSize(); 30 virtual BSize BaseMaxSize(); 31 virtual BSize BasePreferredSize(); 67 BSize fMinSize; [all …]
|
H A D | LayoutUtils.h | 33 static void FixSizeConstraints(BSize& min, BSize& max, 34 BSize& preferred); 36 static BSize ComposeSize(BSize size, BSize layoutSize); 40 static BRect AlignInFrame(BRect frame, BSize maxSize, 43 static BRect AlignOnRect(BRect rect, BSize size, BAlignment alignment); 44 static BRect MoveIntoFrame(BRect rect, BSize frameSize);
|
H A D | AbstractLayout.h | 18 virtual BSize MinSize(); 19 virtual BSize MaxSize(); 20 virtual BSize PreferredSize(); 23 virtual void SetExplicitMinSize(BSize size); 24 virtual void SetExplicitMaxSize(BSize size); 25 virtual void SetExplicitPreferredSize(BSize size); 28 virtual BSize BaseMinSize(); 29 virtual BSize BaseMaxSize(); 30 virtual BSize BasePreferredSize();
|
H A D | LayoutItem.h | 28 virtual BSize MinSize() = 0; 29 virtual BSize MaxSize() = 0; 30 virtual BSize PreferredSize() = 0; 33 virtual void SetExplicitMinSize(BSize size) = 0; 34 virtual void SetExplicitMaxSize(BSize size) = 0; 35 virtual void SetExplicitPreferredSize(BSize size) = 0; 36 void SetExplicitSize(BSize size);
|
/haiku/docs/user/interface/ |
H A D | Size.dox | 18 \brief BSize class definition and related enum definition. 42 \class BSize 52 \var BSize::width 60 \var BSize::height 68 \fn inline BSize::BSize() 69 \brief Initializes a BSize object with both dimensions set to \c B_SIZE_UNSET. 71 \see BSize::Set() 78 \fn inline BSize::BSize(float width, float height) 79 \brief Initializes a BSize object with the specified \a width and 90 \fn inline BSize::BSize(const BSize& other) [all …]
|
/haiku/src/tests/kits/interface/layout/widget_layout_test/ |
H A D | TestView.h | 14 TestView(BSize minSize, BSize maxSize, 15 BSize preferredSize); 17 virtual BSize MinSize(); 18 virtual BSize MaxSize(); 19 virtual BSize PreferredSize(); 24 BSize fMinSize; 25 BSize fMaxSize; 26 BSize fPreferredSize;
|
H A D | GroupView.h | 23 virtual BSize MinSize(); 24 virtual BSize MaxSize(); 25 virtual BSize PreferredSize(); 39 BSize _AddInsetsAndSpacing(BSize size); 40 BSize _SubtractInsetsAndSpacing(BSize size); 78 virtual BSize MinSize(); 79 virtual BSize MaxSize(); 82 BSize fSize;
|
H A D | TestView.cpp | 9 TestView::TestView(BSize minSize, BSize maxSize, BSize preferredSize) in TestView() 20 BSize 27 BSize 34 BSize
|
H A D | WrapperView.h | 21 virtual BSize MinSize(); 22 virtual BSize MaxSize(); 23 virtual BSize PreferredSize(); 35 BSize _FromViewSize(BSize size) const;
|
H A D | GroupView.cpp | 99 BSize 103 return _AddInsetsAndSpacing(BSize(fMinWidth - 1, fMinHeight - 1)); in MinSize() 107 BSize 111 return _AddInsetsAndSpacing(BSize(fMaxWidth - 1, fMaxHeight - 1)); in MaxSize() 115 BSize 119 return _AddInsetsAndSpacing(BSize(fPreferredWidth - 1, in PreferredSize() 146 BSize size = _SubtractInsetsAndSpacing(Size()); in Layout() 162 BSize(columnInfo.size - 1, fRowInfos[row].size - 1)); in Layout() 203 BSize min = child->MinSize(); in _ValidateMinMax() 204 BSize max = child->MaxSize(); in _ValidateMinMax() [all …]
|
H A D | WrapperView.cpp | 28 BSize 35 BSize 42 BSize 101 BSize 102 WrapperView::_FromViewSize(BSize size) const in _FromViewSize() 106 return BSize(BLayoutUtils::AddDistances(size.width, horizontalInsets), in _FromViewSize()
|
/haiku/src/kits/interface/ |
H A D | SpaceLayoutItem.cpp | 23 BSize& ComposeSpacingInPlace(BSize& size) in ComposeSpacingInPlace() 32 BSpaceLayoutItem::BSpaceLayoutItem(BSize minSize, BSize maxSize, in BSpaceLayoutItem() 33 BSize preferredSize, BAlignment alignment) in BSpaceLayoutItem() 69 BSize(-1, -1), in CreateGlue() 70 BSize(B_SIZE_UNLIMITED, B_SIZE_UNLIMITED), in CreateGlue() 71 BSize(-1, -1), in CreateGlue() 80 BSize(width, -1), in CreateHorizontalStrut() 81 BSize(width, B_SIZE_UNLIMITED), in CreateHorizontalStrut() 82 BSize(width, -1), in CreateHorizontalStrut() 91 BSize(-1, height), in CreateVerticalStrut() [all …]
|
H A D | AbstractLayout.cpp | 37 virtual BSize MinSize() const = 0; 38 virtual void SetMinSize(const BSize&) = 0; 40 virtual BSize MaxSize() const = 0; 41 virtual void SetMaxSize(const BSize&) = 0; 43 virtual BSize PreferredSize() const = 0; 44 virtual void SetPreferredSize(const BSize&) = 0; 77 BSize MinSize() const in MinSize() 82 void SetMinSize(const BSize& min) in SetMinSize() 87 BSize MaxSize() const in MaxSize() 92 void SetMaxSize(const BSize& max) in SetMaxSize() [all …]
|
H A D | AbstractLayoutItem.cpp | 51 BSize 58 BSize 65 BSize 80 BAbstractLayoutItem::SetExplicitMinSize(BSize size) in SetExplicitMinSize() 87 BAbstractLayoutItem::SetExplicitMaxSize(BSize size) in SetExplicitMaxSize() 94 BAbstractLayoutItem::SetExplicitPreferredSize(BSize size) in SetExplicitPreferredSize() 107 BSize 110 return BSize(0, 0); in BaseMinSize() 114 BSize 117 return BSize(B_SIZE_UNLIMITED, B_SIZE_UNLIMITED); in BaseMaxSize() [all …]
|
H A D | ViewLayoutItem.h | 17 virtual BSize MinSize(); 18 virtual BSize MaxSize(); 19 virtual BSize PreferredSize(); 22 virtual void SetExplicitMinSize(BSize size); 23 virtual void SetExplicitMaxSize(BSize size); 24 virtual void SetExplicitPreferredSize(BSize size);
|
H A D | LayoutUtils.cpp | 125 BLayoutUtils::FixSizeConstraints(BSize& min, BSize& max, BSize& preferred) in FixSizeConstraints() 133 BSize 134 BLayoutUtils::ComposeSize(BSize size, BSize layoutSize) in ComposeSize() 162 BLayoutUtils::AlignInFrame(BRect frame, BSize maxSize, BAlignment alignment) in AlignInFrame() 186 BSize maxSize = view->MaxSize(); in AlignInFrame() 216 BLayoutUtils::AlignOnRect(BRect rect, BSize size, BAlignment alignment) in AlignOnRect() 241 BLayoutUtils::MoveIntoFrame(BRect rect, BSize frameSize) in MoveIntoFrame() 291 BSize min = view->MinSize(); in _GetLayoutTreeDump() 292 BSize max = view->MaxSize(); in _GetLayoutTreeDump() 293 BSize preferred = view->PreferredSize(); in _GetLayoutTreeDump() [all …]
|
/haiku/src/kits/tracker/ |
H A D | IconCache.h | 164 void SetIcon(BBitmap* bitmap, IconDrawMode mode, BSize size); 166 bool HaveIconBitmap(IconDrawMode mode, BSize size) const; 167 bool CanConstructBitmap(IconDrawMode mode, BSize size) const; 169 IconDrawMode &alternate, BSize size); 172 BSize size, LazyBitmapAllocator*); 173 BBitmap* ConstructBitmap(IconDrawMode requestedMode, BSize size, 177 bool IconHitTest(BPoint, IconDrawMode, BSize) const; 190 BBitmap* IconForMode(IconDrawMode mode, BSize size) const; 191 void SetIconForMode(BBitmap* bitmap, IconDrawMode mode, BSize size); 214 BSize size, bool async = false) = 0; [all …]
|
/haiku/src/tests/libs/alm/ |
H A D | ComplexButtons.cpp | 36 button1->SetExplicitMaxSize(BSize(500, 500)); in ComplexButtonsWindow() 37 button1->SetExplicitPreferredSize(BSize(10 + kOffset, B_SIZE_UNSET)); in ComplexButtonsWindow() 41 button2->SetExplicitMaxSize(BSize(500, 500)); in ComplexButtonsWindow() 42 button2->SetExplicitPreferredSize(BSize(10 + kOffset, B_SIZE_UNSET)); in ComplexButtonsWindow() 46 button3->SetExplicitMaxSize(BSize(500, 500)); in ComplexButtonsWindow() 47 button3->SetExplicitPreferredSize(BSize(40 + kOffset, B_SIZE_UNSET)); in ComplexButtonsWindow() 51 button4->SetExplicitMaxSize(BSize(500, 500)); in ComplexButtonsWindow() 52 button4->SetExplicitPreferredSize(BSize(160 + kOffset, B_SIZE_UNSET)); in ComplexButtonsWindow() 56 button5->SetExplicitMaxSize(BSize(500, 500)); in ComplexButtonsWindow() 57 button5->SetExplicitPreferredSize(BSize(30 + kOffset, B_SIZE_UNSET)); in ComplexButtonsWindow() [all …]
|
H A D | OperatorLayout.cpp | 29 button1->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, B_SIZE_UNLIMITED)); in OperatorWindow() 30 button2->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, B_SIZE_UNLIMITED)); in OperatorWindow() 31 button3->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, B_SIZE_UNLIMITED)); in OperatorWindow() 32 button4->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, B_SIZE_UNLIMITED)); in OperatorWindow() 33 button5->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, B_SIZE_UNLIMITED)); in OperatorWindow() 47 BSize min = layout->MinSize(); in OperatorWindow() 48 BSize max = layout->MaxSize(); in OperatorWindow()
|
/haiku/src/apps/debuganalyzer/gui/chart/ |
H A D | LegendChartAxis.cpp | 33 BSize size; 35 LegendInfo(ChartLegend* legend, double value, BSize size) in LegendInfo() 65 float BSize::* sizeField) in _FilterLegends() 189 BSize 190 LegendChartAxis::PreferredSize(BView* view, BSize maxSize) in PreferredSize() 196 BSize spacing(hSpacing, vSpacing); in PreferredSize() 208 float BSize::* sizeField; in PreferredSize() 209 float BSize::* otherSizeField; in PreferredSize() 211 sizeField = &BSize::height; in PreferredSize() 212 otherSizeField = &BSize::width; in PreferredSize() [all …]
|
/haiku/headers/libs/alm/ |
H A D | Area.h | 70 BSize ShrinkPenalties() const; 71 BSize GrowPenalties() const; 72 void SetShrinkPenalties(BSize shrink); 73 void SetGrowPenalties(BSize grow); 115 void _UpdateMinSizeConstraint(BSize min); 116 void _UpdateMaxSizeConstraint(BSize max); 135 BSize fShrinkPenalties; 136 BSize fGrowPenalties; 138 BSize fLeftTopInset; 139 BSize fRightBottomInset;
|
/haiku/src/apps/haikudepot/ui_generic/ |
H A D | BitmapView.cpp | 90 BSize 93 BSize size(0.0f, 0.0f); in MinSize() 105 BSize 108 BSize size = MinSize(); in PreferredSize() 113 BSize 116 BSize size = MinSize(); in MaxSize() 127 BSize size = MinSize(); in SetBitmap() 130 BSize newSize = MinSize(); in SetBitmap()
|
/haiku/src/apps/haikudepot/textview/ |
H A D | TextView.cpp | 52 BSize 55 return BSize(50.0f, 0.0f); in MinSize() 59 BSize 62 return BSize(B_SIZE_UNLIMITED, B_SIZE_UNLIMITED); in MaxSize() 66 BSize 69 return BSize(B_SIZE_UNLIMITED, B_SIZE_UNLIMITED); in PreferredSize()
|