Searched refs:fontHeight (Results 1 - 25 of 97) sorted by path

1234

/haiku/headers/os/interface/
H A DCheckBox.h86 inline BRect _CheckBoxFrame(const font_height& fontHeight)
H A DRadioButton.h76 const font_height& fontHeight) const;
H A DStatusBar.h98 BRect _BarFrame(const font_height* fontHeight
/haiku/src/add-ons/decorators/WinDecorator/
H A DWinDecorator.cpp224 font_height fontHeight; local
225 fDrawState.Font().GetHeight(fontHeight);
227 float tabSize = ceilf(fontHeight.ascent + fontHeight.descent + 4.0);
378 font_height fontHeight; local
379 fDrawState.Font().GetHeight(fontHeight);
384 + fontHeight.ascent + fontHeight.descent) / 2.0
385 - fontHeight.descent + 0.5);
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/
H A DFolderConfigWindow.cpp136 font_height fontHeight; local
137 owner->GetFontHeight(&fontHeight);
138 BRect boxRect(0.0f, 2.0f, ceilf(3.0f + fontHeight.ascent),
139 ceilf(5.0f + fontHeight.ascent));
/haiku/src/add-ons/screen_savers/slideshowsaver/
H A DSlideShowSaver.cpp472 font_height fontHeight; local
477 font.GetHeight(&fontHeight);
478 height = fontHeight.ascent + fontHeight.descent;
482 pos.y = bounds.bottom - fontHeight.descent - 5;
487 rect.OffsetBy(-1, -1-fontHeight.ascent); // -1 for border
/haiku/src/add-ons/screen_savers/spider/
H A DSpiderView.cpp53 float fontHeight = fh.ascent + fh.descent + 5.0; local
54 frame.bottom = frame.top + fontHeight;
61 fontHeight = fh.ascent + fh.descent + 5.0;
63 frame.bottom = frame.top + fontHeight;
/haiku/src/apps/debuganalyzer/gui/
H A DHeaderView.cpp72 font_height fontHeight; local
73 view->GetFontHeight(&fontHeight);
74 return ceilf((fontHeight.ascent + fontHeight.descent) * 1.2f) + 2.0f;
/haiku/src/apps/debuganalyzer/gui/main_window/
H A DSchedulingPage.h40 font_height fontHeight; member in struct:MainWindow::SchedulingPage::FontInfo
/haiku/src/apps/debugger/user_interface/gui/inspector_window/
H A DMemoryView.cpp155 font_height fontHeight; local
156 be_fixed_font->GetHeight(&fontHeight);
157 fLineHeight = ceilf(fontHeight.ascent + fontHeight.descent
158 + fontHeight.leading);
/haiku/src/apps/debugger/user_interface/gui/team_settings_window/
H A DImageStopConfigView.cpp300 font_height fontHeight; local
301 be_plain_font->GetHeight(&fontHeight);
302 float minListHeight = 5 * (fontHeight.ascent + fontHeight.descent
303 + fontHeight.leading);
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DSourceView.cpp1219 BPoint linePoint(kLeftTextMargin, y + fFontInfo->fontHeight.ascent);
2045 fFontInfo.font.GetHeight(&fFontInfo.fontHeight);
2046 fFontInfo.lineHeight = ceilf(fFontInfo.fontHeight.ascent)
2047 + ceilf(fFontInfo.fontHeight.descent);
H A DSourceView.h75 font_height fontHeight; member in struct:SourceView::FontInfo
/haiku/src/apps/debugger/user_interface/gui/value/
H A DTableCellValueRendererUtils.cpp23 font_height fontHeight; local
24 view->GetFontHeight(&fontHeight);
54 + (rect.Height() - (fontHeight.ascent + fontHeight.descent
55 + fontHeight.leading)) / 2
56 + (fontHeight.ascent + fontHeight.descent) - 2;
/haiku/src/apps/deskbar/
H A DShowHideMenuItem.cpp60 font_height fontHeight; local
61 font.GetHeight(&fontHeight);
62 fTitleAscent = ceilf(fontHeight.ascent);
63 fTitleDescent = ceilf(fontHeight.descent + fontHeight.leading);
/haiku/src/apps/diskusage/
H A DInfoWindow.cpp130 float fontHeight = fh.ascent + fh.descent + fh.leading; local
144 float winHeight = 32.0 + 4.0 * kSmallVMargin + 5.0 * (fontHeight
172 y + fontHeight), NULL, (*i).first.c_str());
180 y + fontHeight), NULL, (*i).second.c_str());
184 y += fontHeight + kSmallVMargin;
/haiku/src/apps/haikudepot/textview/
H A DCharacterStyleData.cpp134 font_height fontHeight;
135 fFont.GetHeight(&fontHeight);
136 return fontHeight.ascent;
161 font_height fontHeight;
162 fFont.GetHeight(&fontHeight);
163 return fontHeight.descent;
/haiku/src/apps/haikudepot/ui_generic/
H A DLinkView.cpp63 font_height fontHeight; local
64 GetFontHeight(&fontHeight);
68 float y = (bounds.top + bounds.bottom - ceilf(fontHeight.ascent)
69 - ceilf(fontHeight.descent)) / 2.0 + ceilf(fontHeight.ascent);
/haiku/src/apps/mediaconverter/
H A DMediaFileInfoView.cpp182 font_height fontHeight; local
183 GetFontHeight(&fontHeight);
184 return ceilf(fontHeight.ascent + fontHeight.descent + fontHeight.leading);
/haiku/src/apps/mediaplayer/interface/
H A DDurationView.cpp67 font_height fontHeight; local
68 GetFontHeight(&fontHeight);
69 size.height = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent);
/haiku/src/apps/musiccollection/
H A DMusicFileListView.h77 float fontHeight = height.ascent + height.descent; local
80 bitmapView->DrawString(text, BPoint(latchRect.Width(), fontHeight));
/haiku/src/apps/soundrecorder/
H A DRecorderWindow.cpp396 float fontHeight = height.ascent + height.leading + height.descent; local
400 r.top = fontHeight + 6;
401 r.bottom = r.top + fontHeight + 3;
408 r.top += fontHeight;
409 r.bottom = r.top + fontHeight + 3;
415 r.top += fontHeight;
416 r.bottom = r.top + fontHeight + 3;
423 r.top += fontHeight;
424 r.bottom = r.top + fontHeight + 3;
430 r.top += fontHeight;
[all...]
/haiku/src/apps/switcher/
H A DWindowsView.cpp159 font_height fontHeight; local
160 owner->GetFontHeight(&fontHeight);
163 2 + (int32)ceilf(fontHeight.ascent + fontHeight.leading / 2));
165 SetHeight((int32)ceilf(fontHeight.ascent)
166 + (int32)ceilf(fontHeight.descent)
167 + (int32)ceilf(fontHeight.leading) + 4);
/haiku/src/apps/webpositive/autocompletion/
H A DAutoCompleterDefaultImpl.cpp288 font_height fontHeight; local
290 font.GetHeight(&fontHeight);
292 float yPos = frame.top + fontHeight.ascent;
/haiku/src/bin/desklink/
H A DVolumeControl.cpp48 font_height fontHeight; local
49 GetFontHeight(&fontHeight);
50 SetBarThickness(ceilf((fontHeight.ascent + fontHeight.descent) * 0.7));

Completed in 106 milliseconds

1234