Searched refs:_width (Results 1 - 25 of 98) sorted by last modified time

1234

/haiku/src/apps/stylededit/
H A DStatusView.cpp93 StatusView::GetPreferredSize(float* _width, float* _height) argument
97 if (_width)
98 *_width = fPreferredSize.width;
/haiku/src/apps/mediaplayer/
H A DInfoWin.cpp53 virtual void GetPreferredSize(float* _width, float* _height);
125 IconView::GetPreferredSize(float* _width, float* _height) argument
127 if (_width != NULL) {
128 *_width = fIconBitmap->Bounds().Width()
/haiku/src/apps/installer/
H A DInstallerWindow.cpp75 virtual void GetPreferredSize(float* _width,
127 LogoView::GetPreferredSize(float* _width, float* _height) argument
135 if (_width)
136 *_width = width;
/haiku/src/apps/diskprobe/
H A DProbeView.cpp169 virtual void GetContentSize(float* _width, float* _height);
847 TypeMenuItem::GetContentSize(float* _width, float* _height) argument
849 BMenuItem::GetContentSize(_width, _height);
851 if (_width)
852 *_width += Menu()->StringWidth(fType.String());
/haiku/src/apps/showimage/
H A DShowImageStatusView.cpp54 ShowImageStatusView::GetPreferredSize(float* _width, float* _height) argument
58 if (_width)
59 *_width = fPreferredSize.width;
H A DShowImageStatusView.h32 virtual void GetPreferredSize(float* _width, float* _height);
/haiku/src/preferences/filetypes/
H A DIconView.h87 virtual void GetPreferredSize(float* _width, float* _height);
H A DIconView.cpp794 IconView::GetPreferredSize(float* _width, float* _height) argument
796 if (_width)
797 *_width = fIconRect.Width();
/haiku/src/apps/terminal/
H A DTermWindow.cpp121 virtual void GetPreferredSize(float* _width, float* _height) argument
125 *_width = width + 2 * kTermViewOffset;
H A DTermView.cpp559 TermView::GetFontSize(float* _width, float* _height) argument
561 *_width = fFontWidth;
/haiku/src/kits/interface/
H A DStatusBar.cpp197 BStatusBar::GetPreferredSize(float* _width, float* _height) argument
199 if (_width) {
201 *_width = ceilf(StringWidth(fLabel.String()))
H A DMenu.cpp663 BMenu::GetPreferredSize(float* _width, float* _height) argument
667 if (_width)
668 *_width = fLayoutData->preferred.width;
2536 float* _width, float* _height)
2593 if (_width)
2594 *_width = size.width;
2535 _ComputeLayout(int32 index, bool bestFit, bool moveItems, float* _width, float* _height) argument
H A DOutlineListView.cpp594 BOutlineListView::GetPreferredSize(float* _width, float* _height) argument
610 if (_width != NULL)
611 *_width = maxWidth;
615 BView::GetPreferredSize(_width, _height);
H A DScrollView.cpp395 BScrollView::GetPreferredSize(float* _width, float* _height) argument
399 if (_width)
400 *_width = size.width;
H A DListView.cpp801 BListView::GetPreferredSize(float *_width, float *_height) argument
813 if (_width != NULL)
814 *_width = maxWidth;
818 BView::GetPreferredSize(_width, _height);
H A DTextView.cpp2639 BTextView::GetPreferredSize(float* _width, float* _height) argument
2645 if (_width) {
2651 *_width = width;
H A DMenuItem.cpp371 BMenuItem::GetContentSize(float* _width, float* _height) argument
380 if (_width)
381 *_width = (float)ceil(fCachedWidth);
H A DColorControl.cpp956 BColorControl::GetPreferredSize(float* _width, float* _height) argument
965 if (_width) {
966 *_width = rect.Width() + kTextFieldsHSpacing
/haiku/src/apps/deskbar/
H A DSwitcher.cpp2221 TWindowView::GetPreferredSize(float* _width, float* _height) argument
2238 *_width = Bounds().Width();
/haiku/headers/os/interface/
H A DOutlineListView.h79 virtual void GetPreferredSize(float* _width,
H A DListView.h66 virtual void GetPreferredSize(float *_width,
H A DTextView.h214 virtual void GetPreferredSize(float* _width, float* _height);
/haiku/src/preferences/keymap/
H A DStatusMenuField.h30 virtual void GetContentSize(float* _width, float* _height);
H A DStatusMenuField.cpp95 StatusMenuItem::GetContentSize(float* _width, float* _height) argument
102 if (_width != NULL)
103 *_width = Menu()->Bounds().Width() - IconRect().Width() - Spacing() * 4;
/haiku/src/apps/magnify/
H A DMagnify.cpp1230 TInfoView::GetPreferredSize(float* _width, float* _height) argument
1232 if (_width) {
1238 *_width = str1Width > str2Width ? str1Width : str2Width;

Completed in 198 milliseconds

1234