Home
last modified time | relevance | path

Searched refs:totalHeight (Results 1 – 3 of 3) sorted by relevance

/haiku/src/libs/print/libprint/
H A DMarginView.cpp109 float totalHeight = frame.Height(); in Draw() local
115 if (pageHeight > totalHeight) { in Draw()
116 pageHeight = totalHeight; in Draw()
117 pageWidth = totalHeight * fPageWidth / fPageHeight; in Draw()
123 offset.y = static_cast<int>((totalHeight - pageHeight) / 2); in Draw()
/haiku/src/apps/icon-o-matic/generic/gui/popup_control/
H A DPopupControl.cpp91 float totalHeight = Bounds().Height() + fPopupWindow->Frame().Height(); in ShowPopup() local
93 leftLocation.y += fHPopupAlignment * totalHeight; in ShowPopup()
/haiku/src/apps/debugger/user_interface/gui/inspector_window/
H A DMemoryView.cpp718 float totalHeight = 0.0; in _RecalcScrollBars() local
725 totalHeight = lineCount * fLineHeight; in _RecalcScrollBars()
726 if (totalHeight > 0.0) { in _RecalcScrollBars()
728 max = totalHeight - bounds.Height(); in _RecalcScrollBars()
729 scrollBar->SetProportion(bounds.Height() / totalHeight); in _RecalcScrollBars()