Searched refs:lineHeight (Results 1 - 16 of 16) sorted by relevance

/haiku/src/apps/debuganalyzer/gui/main_window/
H A DSchedulingPage.h41 float lineHeight; member in struct:MainWindow::SchedulingPage::FontInfo
H A DSchedulingPage.cpp307 return fFontInfo.lineHeight * CountLines();
312 int32 line = (int32)point.y / (int32)fFontInfo.lineHeight;
318 int32 lineHeight = (int32)fFontInfo.lineHeight; local
319 minLine = (int32)rect.top / lineHeight;
320 maxLine = ((int32)ceilf(rect.bottom) + lineHeight - 1) / lineHeight;
327 float y = (float)line * fFontInfo.lineHeight;
328 return BRect(0, y, Bounds().right, y + fFontInfo.lineHeight - 1);
529 float top = (float)index * fFontInfo.lineHeight;
[all...]
/haiku/src/apps/haikudepot/ui/
H A DUserUsageConditionsWindow.cpp69 const float lineHeight = fontHeight.ascent + fontHeight.descent; local
73 scrollView->SetExplicitMinSize(BSize(B_SIZE_UNSET, lineHeight * 6));
112 const float lineHeight = fontHeight.ascent + fontHeight.descent; local
116 workerIndicatorSize.SetHeight(lineHeight);
125 scrollView->SetExplicitMinSize(BSize(B_SIZE_UNSET, lineHeight * 6));
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DSourceView.cpp431 float height = LineCount() * fFontInfo->lineHeight - 1;
443 int32 line = (int32)yOffset / (int32)fFontInfo->lineHeight;
452 int32 lineHeight = (int32)fFontInfo->lineHeight; local
453 minLine = (int32)rect.top / lineHeight;
454 maxLine = ((int32)ceilf(rect.bottom) + lineHeight - 1) / lineHeight;
463 float y = (float)line * fFontInfo->lineHeight;
464 return BRect(0, y, Bounds().right, y + fFontInfo->lineHeight - 1);
980 float y = ((float)line + 0.5f) * fFontInfo->lineHeight;
[all...]
H A DSourceView.h76 float lineHeight; member in struct:SourceView::FontInfo
/haiku/src/kits/tracker/infowindow/
H A DGeneralInfoView.cpp210 float lineHeight = CurrentFontHeight(); local
216 GroupLayout()->SetInsets(sBorderMargin, lineHeight * lineCount,
830 float lineHeight = 0; local
835 lineHeight = CurrentFontHeight() + 5;
838 lineBase = lineHeight;
870 lineBase += lineHeight;
880 lineBase += lineHeight;
890 lineBase += lineHeight;
900 lineBase += lineHeight;
930 lineBase += lineHeight;
1079 float lineHeight = CurrentFontHeight() + 6; local
[all...]
/haiku/src/preferences/network/
H A DInterfaceListItem.cpp144 float lineHeight = ceilf(height.ascent) + ceilf(height.descent) local
148 fLineOffset = lineHeight;
156 SetHeight(std::max(2 * lineHeight + 4, fIcon->Bounds().Height() + 4));
H A DNetworkSettingsAddOn.cpp192 float lineHeight = ceilf(height.ascent) + ceilf(height.descent) local
198 SetHeight(lineHeight + 4);
/haiku/src/add-ons/screen_savers/message/
H A DMessage.cpp264 float lineHeight = fontHeight.ascent + fontHeight.descent local
273 BRect box(0, 0, stringWidth + 20, (lineHeight * count) + 20);
286 start.y += lineHeight;
/haiku/src/apps/bootmanager/
H A DDrivesPage.cpp243 float lineHeight = ceilf(fheight.ascent) + ceilf(fheight.descent) local
247 fSecondBaselineOffset = fBaselineOffset + lineHeight;
249 SetHeight(2 * lineHeight + 4);
/haiku/src/kits/interface/
H A DSlider.cpp1007 float lineHeight = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent) local
1015 baseLine += lineHeight;
1030 baseLine -= lineHeight;
1075 float lineHeight = height + ceilf(fontHeight.leading); local
1084 invalid.bottom -= lineHeight;
1731 float lineHeight = lineHeightNoLeading + ceilf(fontHeight.leading); local
1741 height += Label() ? lineHeight : lineHeightNoLeading;
1749 height += MinLimitLabel() ? lineHeight : lineHeightNoLeading;
H A DTextView.cpp2030 float lineHeight = TextHeight(lineNumber, lineNumber); local
2031 if (lineHeight == 0.0) {
2042 lineHeight = ceilf(fontHeight.ascent + fontHeight.descent) + 1;
2045 return lineHeight;
2154 float lineHeight = 0.0; local
2155 BPoint point = PointAt(offset, &lineHeight);
2179 else if (point.y + lineHeight > bounds.bottom
2181 scrollBy.y = point.y + lineHeight - bounds.bottom
2801 float lineHeight = ceilf(LineHeight(0)); local
2802 TRACE("line height: %.2f\n", lineHeight);
3650 float lineHeight; local
4667 float lineHeight; local
[all...]
H A DBox.cpp264 float lineHeight = fontHeight.ascent + fontHeight.descent; local
265 float yOffset = roundf(lineHeight / 6.0f);
/haiku/src/apps/cortex/TransportView/
H A DTransportView.cpp1300 float lineHeight = fh.ascent + fh.descent + fh.leading; local
1308 float row3_y = row2_y + lineHeight + _control_pad_y;
1309 // float row4_y = row3_y + lineHeight + _control_pad_y + _transport_pad_y;
1310 // float row5_y = row4_y + lineHeight + _control_pad_y;
1311 float viewHeight = row3_y + lineHeight + _control_pad_y + _edge_pad_y;
1340 columnWidth, lineHeight);
1349 columnWidth, lineHeight);
1356 // float regionControlHeight = lineHeight + 4.0;
/haiku/src/apps/mail/
H A DSignature.cpp428 float lineHeight = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent); local
433 BSize(fTextView->StringWidth("W") * 30, lineHeight * 6));
/haiku/src/apps/haikudepot/textview/
H A DParagraphLayout.h222 int lineIndex, float y, float& lineHeight);

Completed in 288 milliseconds