Searched refs:labelHeight (Results 1 - 9 of 9) sorted by relevance

/haiku/src/apps/deskbar/
H A DShowHideMenuItem.cpp80 float labelHeight = fTitleAscent + fTitleDescent; local
83 drawLoc.y = ((frame.Height() - labelHeight) / 2);
H A DWindowMenuItem.cpp97 float labelHeight = fLabelAscent + fLabelDescent; local
98 *height = (labelHeight > *height) ? labelHeight : *height;
H A DBarView.cpp1277 float labelHeight = fontHeight.ascent + fontHeight.descent; local
1278 labelHeight = labelHeight < kMinTeamItemHeight ? kMinTeamItemHeight
1279 : ceilf(labelHeight * 1.1f);
1287 return std::max(iconOnlyHeight, labelHeight);
1290 return ceilf(iconOnlyHeight + labelHeight);
1293 return labelHeight;
/haiku/src/apps/icon-o-matic/generic/gui/popup_control/
H A DPopupSlider.cpp62 float labelHeight = 2.0 + ceilf(fh.ascent + fh.descent) + 2.0; local
67 float height = labelHeight > sliderHeight + 2.0 ?
68 labelHeight : sliderHeight + 2.0;
/haiku/src/apps/cortex/MediaRoutingView/
H A DMediaRoutingView.cpp847 float labelHeight, bodyHeight; local
854 labelHeight = 2 * MediaNodePanel::M_LABEL_V_MARGIN
858 MediaNodePanel::M_DEFAULT_HEIGHT = labelHeight + bodyHeight;
890 float labelHeight, bodyHeight; local
896 labelHeight = 3 * MediaNodePanel::M_LABEL_V_MARGIN
901 MediaNodePanel::M_DEFAULT_HEIGHT = labelHeight > bodyHeight ? labelHeight : bodyHeight;
1481 float labelHeight, bodyHeight; local
1488 labelHeight = 2 * MediaNodePanel::M_LABEL_V_MARGIN
1492 MediaNodePanel::M_DEFAULT_HEIGHT = labelHeight
1504 float labelHeight, bodyHeight; local
[all...]
/haiku/src/kits/interface/
H A DBox.cpp770 float labelHeight = 0; // height of the label (pixel count) local
778 labelHeight = ceilf(fontHeight.ascent + fontHeight.descent) + 1;
783 labelHeight = size.height + 1;
802 if (label && labelHeight > fLayoutData->insets.top)
803 fLayoutData->insets.top = labelHeight;
H A DStatusBar.cpp209 float labelHeight = 0; local
213 labelHeight = ceilf(fontHeight.ascent + fontHeight.descent) + 6;
216 *_height = labelHeight + BarHeight();
H A DMenuItem.cpp414 float labelHeight; local
415 GetContentSize(&labelWidth, &labelHeight);
H A DColorControl.cpp131 float labelHeight = fontHeight.ascent + fontHeight.descent; local
132 textRect.bottom = labelHeight;

Completed in 95 milliseconds