Searched refs:fCapReserve (Results 1 – 3 of 3) sorted by relevance
96 FX_FLOAT fCapReserve = 0; in PerformLayout() local101 fCapReserve = caption.GetReserve(); in PerformLayout()102 if (fCapReserve <= 0) { in PerformLayout()105 fCapReserve = rtWidget.height - fCheckSize; in PerformLayout()107 fCapReserve = rtWidget.width - fCheckSize; in PerformLayout()121 m_rtCaption.width = fCapReserve; in PerformLayout()123 m_rtUI.width -= fCapReserve; in PerformLayout()124 m_rtUI.left += fCapReserve; in PerformLayout()127 m_rtCaption.height = fCapReserve; in PerformLayout()129 m_rtUI.height -= fCapReserve; in PerformLayout()[all …]
174 FX_FLOAT fCapReserve = 0; in CapPlacement() local183 fCapReserve = caption.GetReserve(); in CapPlacement()198 if (fCapReserve <= 0 && pCapTextLayout) { in CapPlacement()205 fCapReserve = size.height; in CapPlacement()207 fCapReserve = size.width; in CapPlacement()215 m_rtCaption.width = fCapReserve; in CapPlacement()217 m_rtUI.width -= fCapReserve; in CapPlacement()218 m_rtUI.left += fCapReserve; in CapPlacement()221 m_rtCaption.height = fCapReserve; in CapPlacement()223 m_rtUI.top += fCapReserve; in CapPlacement()[all …]
721 FX_FLOAT fCapReserve = caption.GetReserve(); in CalcCaptionSize() local724 const bool bReserveExit = fCapReserve > 0.01; in CalcCaptionSize()730 szCap.width = fCapReserve; in CalcCaptionSize()735 bVert ? szCap.height = fCapReserve : szCap.width = fCapReserve; in CalcCaptionSize()745 szCap.height = fCapReserve > 0 ? fCapReserve : fFontSize; in CalcCaptionSize()747 szCap.width = fCapReserve > 0 ? fCapReserve : 0; in CalcCaptionSize()1192 FX_FLOAT fCapReserve = 0; in FindSplitPos() local1197 fCapReserve = caption.GetReserve(); in FindSplitPos()1200 fCalcHeight < fCapReserve + fTopInset) { in FindSplitPos()1205 m_pLayoutData->m_fWidgetHeight - fCapReserve - fBottomInset) { in FindSplitPos()[all …]