Searched refs:fCapReserve (Results 1 – 3 of 3) sorted by relevance
100 float fCapReserve = 0; in PerformLayout() local105 fCapReserve = caption->GetReserve(); in PerformLayout()106 if (fCapReserve <= 0) { in PerformLayout()109 fCapReserve = rtWidget.height - fCheckSize; in PerformLayout()111 fCapReserve = rtWidget.width - fCheckSize; in PerformLayout()128 m_rtCaption.width = fCapReserve; in PerformLayout()130 m_rtUI.width -= fCapReserve; in PerformLayout()131 m_rtUI.left += fCapReserve; in PerformLayout()135 m_rtCaption.height = fCapReserve; in PerformLayout()137 m_rtUI.height -= fCapReserve; in PerformLayout()[all …]
193 float fCapReserve = 0; in CapPlacement() local202 fCapReserve = caption->GetReserve(); in CapPlacement()219 if (fCapReserve <= 0 && pCapTextLayout) { in CapPlacement()225 fCapReserve = size.height; in CapPlacement()227 fCapReserve = size.width; in CapPlacement()237 m_rtCaption.width = fCapReserve; in CapPlacement()239 m_rtUI.width -= fCapReserve; in CapPlacement()240 m_rtUI.left += fCapReserve; in CapPlacement()244 m_rtCaption.height = fCapReserve; in CapPlacement()246 m_rtUI.top += fCapReserve; in CapPlacement()[all …]
647 float fCapReserve = caption->GetReserve(); in CalcCaptionSize() local650 const bool bReserveExit = fCapReserve > 0.01; in CalcCaptionSize()656 szCap.width = fCapReserve; in CalcCaptionSize()661 bVert ? szCap.height = fCapReserve : szCap.width = fCapReserve; in CalcCaptionSize()674 szCap.height = fCapReserve > 0 ? fCapReserve : fFontSize; in CalcCaptionSize()676 szCap.width = fCapReserve > 0 ? fCapReserve : 0; in CalcCaptionSize()1144 float fCapReserve = 0; in FindSplitPos() local1149 fCapReserve = caption->GetReserve(); in FindSplitPos()1152 fCalcHeight < fCapReserve + fTopInset) { in FindSplitPos()1157 m_pLayoutData->m_fWidgetHeight - fCapReserve - fBottomInset) { in FindSplitPos()[all …]